⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 admin.config.html.php

📁 mambo的cms源代码
💻 PHP
📖 第 1 页 / 共 3 页
字号:
		<tr>			<td colspan="3"><?php echo $adminLanguage->A_COMP_CONF_CONTROL;?><br/><br/></td>		</tr>		<tr>			<td width="200"><?php echo $adminLanguage->A_COMP_CONF_LINK_TITLES;?>:</td>			<td width="120"><?php echo $lists['link_titles']; ?></td>			<td><?php				$tip = $adminLanguage->A_COMP_CONF_HYPER;				echo mosToolTip( $tip );			?></td>		</tr>		<tr>			<td width="200"><?php echo $adminLanguage->A_COMP_CONF_MORE_LINK;?>:</td>			<td width="100"><?php echo $lists['readmore']; ?></td>			<td><?php				$tip = $adminLanguage->A_COMP_CONF_MORE_LINK_TIP;				echo mosToolTip( $tip );			?></td>		</tr>		<tr>			<td><?php echo $adminLanguage->A_COMP_CONF_RATE_VOTE;?>:</td>			<td><?php echo $lists['vote']; ?></td>			<td><?php				$tip = $adminLanguage->A_COMP_CONF_RATE_VOTE_TIP;				echo mosToolTip( $tip );			?></td>		</tr>		<tr>			<td><?php echo $adminLanguage->A_COMP_CONF_AUTHOR;?>:</td>			<td><?php echo $lists['hideauthor']; ?></td>			<td><?php				$tip = $adminLanguage->A_COMP_CONF_AUTHOR_TIP;				echo mosToolTip( $tip );			?></td>		</tr>		<tr>			<td><?php echo $adminLanguage->A_COMP_CONF_CREATED;?>:</td>			<td><?php echo $lists['hidecreate']; ?></td>			<td><?php				$tip = $adminLanguage->A_COMP_CONF_CREATED_TIP;				echo mosToolTip( $tip );			?></td>		</tr>		<tr>			<td><?php echo $adminLanguage->A_COMP_CONF_MOD_DATE;?>:</td>			<td><?php echo $lists['hidemodify']; ?></td>			<td><?php				$tip = $adminLanguage->A_COMP_CONF_MOD_DATE_TIP;				echo mosToolTip( $tip );			?></td>		</tr>		<tr>			<td><?php echo $adminLanguage->A_COMP_CONF_HITS;?>:</td>			<td><?php echo $lists['hits']; ?></td>			<td><?php				$tip = $adminLanguage->A_COMP_CONF_HITS_TIP;				echo mosToolTip( $tip );			?></td>		</tr>		<tr>			<td><?php echo $adminLanguage->A_COMP_CONF_PDF;?>:</td>			<td><?php echo $lists['hidepdf']; ?></td><?php			if (!is_writable( "$mosConfig_absolute_path/media/" )) {				echo "<td align=\"left\">";				echo mosToolTip( $adminLanguage->A_COMP_CONF_OPT_MEDIA );				echo "</td>";			} else {?>				<td>&nbsp;</td><?php			}?>		</tr>		<tr>			<td><?php echo $adminLanguage->A_COMP_CONF_PRINT_ICON;?>:</td>			<td><?php echo $lists['hideprint']; ?></td>			<td>&nbsp;</td>		</tr>		<tr>			<td><?php echo $adminLanguage->A_COMP_CONF_EMAIL_ICON;?>:</td>			<td><?php echo $lists['hideemail']; ?></td>			<td>&nbsp;</td>		</tr>		<tr>			<td><?php echo $adminLanguage->A_COMP_CONF_ICONS;?>:</td>			<td><?php echo $lists['icons']; ?></td>			<td><?php echo mosToolTip( $adminLanguage->A_COMP_CONF_USE_OR_TEXT ); ?></td>		</tr>		<tr>			<td><?php echo $adminLanguage->A_COMP_CONF_TBL_CONTENTS;?>:</td>			<td><?php echo $lists['multipage_toc']; ?></td>			<td>&nbsp;</td>		</tr>		<tr>			<td><?php echo $adminLanguage->A_COMP_CONF_BACK_BUTTON;?>:</td>			<td><?php echo $lists['back_button']; ?></td>			<td>&nbsp;</td>		</tr>		<tr>			<td><?php echo $adminLanguage->A_COMP_CONF_CONTENT_NAV;?>:</td>			<td><?php echo $lists['item_navigation']; ?></td>			<td>&nbsp;</td>		</tr><!-- prepared for future releases		<tr>			<td>Multi lingual content support:</td>			<td><?php //echo $lists['ml_support']; ?></td>			<td><?php //echo mosToolTip('In order to use multi lingual content you MUST have installed the MambelFish component.'); ?></td>		</tr>-->		<input type="hidden" name="config_ml_support" value="<?php echo $row->config_ml_support?>">		</table><?php		$tabs->endTab();		$tabs->startTab($adminLanguage->A_COMP_CONF_DB_NAME, "db-page" );?>		<table class="adminform">		<tr>			<td width="185"><?php echo $adminLanguage->A_COMP_CONF_HOSTNAME;?>:</td>			<td><input class="text_area" type="text" name="config_host" size="25" value="<?php echo $row->config_host; ?>"/></td>		</tr>		<tr>			<td>MySQL <?php echo $adminLanguage->A_COMP_CONF_DB_USERNAME;?>:</td>			<td><input class="text_area" type="text" name="config_user" size="25" value="<?php echo $row->config_user; ?>"/></td>		</tr>		<tr>			<td>MySQL <?php echo $adminLanguage->A_COMP_CONF_DB_PW;?>:</td>			<td><input class="text_area" type="text" name="config_password" size="25" value="<?php echo $row->config_password; ?>"/></td>		</tr>		<tr>			<td>MySQL <?php echo $adminLanguage->A_COMP_CONF_DB_NAME;?>:</td>			<td><input class="text_area" type="text" name="config_db" size="25" value="<?php echo $row->config_db; ?>"/></td>		</tr>		<tr>			<td>MySQL <?php echo $adminLanguage->A_COMP_CONF_DB_PREFIX;?>:</td>			<td>			<input class="text_area" type="text" name="config_dbprefix" size="10" value="<?php echo $row->config_dbprefix; ?>"/>			&nbsp;<?php echo mosWarning( $adminLanguage->A_COMP_CONF_NOT_CH ); ?>			</td>		</tr>		</table><?php		$tabs->endTab();		$tabs->startTab($adminLanguage->A_COMP_CONF_SERVER, "server-page" );?>		<table class="adminform">		<tr>			<td width="185"><?php echo $adminLanguage->A_COMP_CONF_ABS_PATH;?>:</td>			<td width="450"><strong><?php echo $row->config_path; ?></strong></td>			<td>&nbsp;</td>		</tr>		<tr>			<td><?php echo $adminLanguage->A_COMP_CONF_LIVE;?>:</td>			<td><strong><?php echo $row->config_live_site; ?></strong></td>			<td>&nbsp;</td>		</tr>		<tr>			<td><?php echo $adminLanguage->A_COMP_CONF_SECRET;?>:</td>			<td><strong><?php echo $row->config_secret; ?></strong></td>			<td>&nbsp;</td>		</tr>		<tr>			<td><?php echo $adminLanguage->A_COMP_CONF_GZIP;?>:</td>			<td>			<?php echo $lists['gzip']; ?>			<?php echo mosToolTip( $adminLanguage->A_COMP_CONF_CP_BUFFER ); ?>			</td>			<td>&nbsp;</td>		</tr>		<tr>			<td><?php echo $adminLanguage->A_COMP_CONF_SESSION_TIME;?>:</td>			<td>			<input class="text_area" type="text" name="config_lifetime" size="10" value="<?php echo $row->config_lifetime; ?>"/>			&nbsp;<?php echo $adminLanguage->A_COMP_CONF_SEC;?>&nbsp;			<?php echo mosToolTip( $adminLanguage->A_COMP_CONF_AUTO_LOGOUT ); ?>			</td>			<td>&nbsp;</td>		</tr>		<tr>			<td><?php echo $adminLanguage->A_COMP_CONF_ERR_REPORT;?>:</td>			<td><?php echo $lists['error_reporting']; ?></td>			<td>&nbsp;</td>		</tr>		<tr>			<td><?php echo $adminLanguage->A_COMP_CONF_HELP_SERVER;?>:</td>			<td><input class="text_area" type="text" name="config_helpurl" size="50" value="<?php echo $row->config_helpurl; ?>"/></td>		</tr>		<tr><?php	$mode = 0;	$flags = 0644;	if ($row->config_fileperms!='') {		$mode = 1;		$flags = octdec($row->config_fileperms);	} // if?>			<td valign="top"><?php echo $adminLanguage->A_COMP_CONF_FILE_CREATION;?>:</td>	        <td>	            <fieldset><legend><?php echo $adminLanguage->A_COMP_CONF_FILE_PERM;?></legend>	                <table cellpadding="1" cellspacing="1" border="0">	                    <tr>	                        <td><input type="radio" id="filePermsMode0" name="filePermsMode" value="0" onclick="changeFilePermsMode(0)"<?php if (!$mode) echo ' checked="checked"'; ?>/></td>	                        <td><label for="filePermsMode0"><?php echo $adminLanguage->A_COMP_CONF_FILE_DONT_CHMOD;?></label></td>	                    </tr>	                    <tr>	                        <td><input type="radio" id="filePermsMode1" name="filePermsMode" value="1" onclick="changeFilePermsMode(1)"<?php if ($mode) echo ' checked="checked"'; ?>/></td>	                        <td>								<label for="filePermsMode1"><?php echo $adminLanguage->A_COMP_CONF_FILE_CHMOD;?></label>								<span id="filePermsValue"<?php if (!$mode) echo ' style="display:none"'; ?>>								to:	<input class="text_area" type="text" readonly="readonly" name="config_fileperms" size="4" value="<?php echo $row->config_fileperms; ?>"/>								</span>								<span id="filePermsTooltip"<?php if ($mode) echo ' style="display:none"'; ?>>								&nbsp;<?php echo mosToolTip($adminLanguage->A_COMP_CONF_FILE_CHMOD_TIP); ?>								</span>							</td>	                    </tr>	                    <tr id="filePermsFlags"<?php if (!$mode) echo ' style="display:none"'; ?>>	                        <td>&nbsp;</td>	                        <td>	                            <table cellpadding="0" cellspacing="1" border="0">	                                <tr>	                                    <td style="padding:0px"><?php echo $adminLanguage->A_COMP_CONF_USER;?>:</td>	                                    <td style="padding:0px"><input type="checkbox" id="filePermsUserRead" name="filePermsUserRead" value="1" onclick="saveFilePerms()"<?php if ($flags & 0400) echo ' checked="checked"'; ?>/></td>	                                    <td style="padding:0px"><label for="filePermsUserRead"><?php echo $adminLanguage->A_COMP_CONF_READ;?></label></td>	                                    <td style="padding:0px"><input type="checkbox" id="filePermsUserWrite" name="filePermsUserWrite" value="1" onclick="saveFilePerms()"<?php if ($flags & 0200) echo ' checked="checked"'; ?>/></td>	                                    <td style="padding:0px"><label for="filePermsUserWrite"><?php echo $adminLanguage->A_COMP_CONF_WRITE;?></label></td>	                                    <td style="padding:0px"><input type="checkbox" id="filePermsUserExecute" name="filePermsUserExecute" value="1" onclick="saveFilePerms()"<?php if ($flags & 0100) echo ' checked="checked"'; ?>/></td>	                                    <td style="padding:0px" colspan="3"><label for="filePermsUserExecute"><?php echo $adminLanguage->A_COMP_CONF_EXECUTE;?></label></td>	                                </tr>	                                <tr>	                                    <td style="padding:0px"><?php echo $adminLanguage->A_COMP_CONF_GROUP;?>:</td>	                                    <td style="padding:0px"><input type="checkbox" id="filePermsGroupRead" name="filePermsGroupRead" value="1" onclick="saveFilePerms()"<?php if ($flags & 040) echo ' checked="checked"'; ?>/></td>	                                    <td style="padding:0px"><label for="filePermsGroupRead"><?php echo $adminLanguage->A_COMP_CONF_READ;?></label></td>	                                    <td style="padding:0px"><input type="checkbox" id="filePermsGroupWrite" name="filePermsGroupWrite" value="1" onclick="saveFilePerms()"<?php if ($flags & 020) echo ' checked="checked"'; ?>/></td>	                                    <td style="padding:0px"><label for="filePermsGroupWrite"><?php echo $adminLanguage->A_COMP_CONF_WRITE;?></label></td>	                                    <td style="padding:0px"><input type="checkbox" id="filePermsGroupExecute" name="filePermsGroupExecute" value="1" onclick="saveFilePerms()"<?php if ($flags & 010) echo ' checked="checked"'; ?>/></td>	                                    <td style="padding:0px" width="70"><label for="filePermsGroupExecute"><?php echo $adminLanguage->A_COMP_CONF_EXECUTE;?></label></td>										<td><input type="checkbox" id="applyFilePerms" name="applyFilePerms" value="1"/></td>	                                    <td nowrap="nowrap">											<label for="applyFilePerms">												<?php echo $adminLanguage->A_COMP_CONF_APPLY_FILE;?>												&nbsp;<?php												echo mosWarning($adminLanguage->A_COMP_CONF_APPLY_FILE_TIP);?>											</label>										</td>	                                </tr>	                                <tr>	                                    <td style="padding:0px"><?php echo $adminLanguage->A_COMP_CONF_WORLD;?>:</td>	                                    <td style="padding:0px"><input type="checkbox" id="filePermsWorldRead" name="filePermsWorldRead" value="1" onclick="saveFilePerms()"<?php if ($flags & 04) echo ' checked="checked"'; ?>/></td>	                                    <td style="padding:0px"><label for="filePermsWorldRead"><?php echo $adminLanguage->A_COMP_CONF_READ;?></label></td>	                                    <td style="padding:0px"><input type="checkbox" id="filePermsWorldWrite" name="filePermsWorldWrite" value="1" onclick="saveFilePerms()"<?php if ($flags & 02) echo ' checked="checked"'; ?>/></td>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -