📄 admin.config.html.php
字号:
<td style="padding:0px"><label for="filePermsWorldWrite"><?php echo $adminLanguage->A_COMP_CONF_WRITE;?></label></td> <td style="padding:0px"><input type="checkbox" id="filePermsWorldExecute" name="filePermsWorldExecute" value="1" onclick="saveFilePerms()"<?php if ($flags & 01) echo ' checked="checked"'; ?>/></td> <td style="padding:0px" colspan="4"><label for="filePermsWorldExecute"><?php echo $adminLanguage->A_COMP_CONF_EXECUTE;?></label></td> </tr> </table> </td> </tr> </table> </fieldset> </td> <td> </td> </tr> <tr><?php $mode = 0; $flags = 0755; if ($row->config_dirperms!='') { $mode = 1; $flags = octdec($row->config_dirperms); } // if?> <td valign="top"><?php echo $adminLanguage->A_COMP_CONF_DIR_CREATION;?>:</td> <td> <fieldset><legend><?php echo $adminLanguage->A_COMP_CONF_DIR_PERM;?></legend> <table cellpadding="1" cellspacing="1" border="0"> <tr> <td><input type="radio" id="dirPermsMode0" name="dirPermsMode" value="0" onclick="changeDirPermsMode(0)"<?php if (!$mode) echo ' checked="checked"'; ?>/></td> <td><label for="dirPermsMode0"><?php echo $adminLanguage->A_COMP_CONF_DIR_DONT_CHMOD;?></label></td> </tr> <tr> <td><input type="radio" id="dirPermsMode1" name="dirPermsMode" value="1" onclick="changeDirPermsMode(1)"<?php if ($mode) echo ' checked="checked"'; ?>/></td> <td> <label for="dirPermsMode1"><?php echo $adminLanguage->A_COMP_CONF_DIR_CHMOD;?></label> <span id="dirPermsValue"<?php if (!$mode) echo ' style="display:none"'; ?>> to: <input class="text_area" type="text" readonly="readonly" name="config_dirperms" size="4" value="<?php echo $row->config_dirperms; ?>"/> </span> <span id="dirPermsTooltip"<?php if ($mode) echo ' style="display:none"'; ?>> <?php echo mosToolTip($adminLanguage->A_COMP_CONF_DIR_CHMOD_TIP); ?> </span> </td> </tr> <tr id="dirPermsFlags"<?php if (!$mode) echo ' style="display:none"'; ?>> <td> </td> <td> <table cellpadding="1" cellspacing="0" border="0"> <tr> <td style="padding:0px"><?php echo $adminLanguage->A_COMP_CONF_USER;?>:</td> <td style="padding:0px"><input type="checkbox" id="dirPermsUserRead" name="dirPermsUserRead" value="1" onclick="saveDirPerms()"<?php if ($flags & 0400) echo ' checked="checked"'; ?>/></td> <td style="padding:0px"><label for="dirPermsUserRead"><?php echo $adminLanguage->A_COMP_CONF_READ;?></label></td> <td style="padding:0px"><input type="checkbox" id="dirPermsUserWrite" name="dirPermsUserWrite" value="1" onclick="saveDirPerms()"<?php if ($flags & 0200) echo ' checked="checked"'; ?>/></td> <td style="padding:0px"><label for="dirPermsUserWrite"><?php echo $adminLanguage->A_COMP_CONF_WRITE;?></label></td> <td style="padding:0px"><input type="checkbox" id="dirPermsUserSearch" name="dirPermsUserSearch" value="1" onclick="saveDirPerms()"<?php if ($flags & 0100) echo ' checked="checked"'; ?>/></td> <td style="padding:0px" colspan="3"><label for="dirPermsUserSearch"><?php echo $adminLanguage->A_COMP_CONF_SEARCH;?></label></td> </tr> <tr> <td style="padding:0px"><?php echo $adminLanguage->A_COMP_CONF_GROUP;?>:</td> <td style="padding:0px"><input type="checkbox" id="dirPermsGroupRead" name="dirPermsGroupRead" value="1" onclick="saveDirPerms()"<?php if ($flags & 040) echo ' checked="checked"'; ?>/></td> <td style="padding:0px"><label for="dirPermsGroupRead"><?php echo $adminLanguage->A_COMP_CONF_READ;?></label></td> <td style="padding:0px"><input type="checkbox" id="dirPermsGroupWrite" name="dirPermsGroupWrite" value="1" onclick="saveDirPerms()"<?php if ($flags & 020) echo ' checked="checked"'; ?>/></td> <td style="padding:0px"><label for="dirPermsGroupWrite"><?php echo $adminLanguage->A_COMP_CONF_WRITE;?></label></td> <td style="padding:0px"><input type="checkbox" id="dirPermsGroupSearch" name="dirPermsGroupSearch" value="1" onclick="saveDirPerms()"<?php if ($flags & 010) echo ' checked="checked"'; ?>/></td> <td style="padding:0px" width="70"><label for="dirPermsGroupSearch"><?php echo $adminLanguage->A_COMP_CONF_SEARCH;?></label></td> <td><input type="checkbox" id="applyDirPerms" name="applyDirPerms" value="1"/></td> <td nowrap="nowrap"> <label for="applyDirPerms"> <?php echo $adminLanguage->A_COMP_CONF_APPLY_DIR;?> <?php echo mosWarning($adminLanguage->A_COMP_CONF_APPLY_DIR_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="dirPermsWorldRead" name="dirPermsWorldRead" value="1" onclick="saveDirPerms()"<?php if ($flags & 04) echo ' checked="checked"'; ?>/></td> <td style="padding:0px"><label for="dirPermsWorldRead"><?php echo $adminLanguage->A_COMP_CONF_READ;?></label></td> <td style="padding:0px"><input type="checkbox" id="dirPermsWorldWrite" name="dirPermsWorldWrite" value="1" onclick="saveDirPerms()"<?php if ($flags & 02) echo ' checked="checked"'; ?>/></td> <td style="padding:0px"><label for="dirPermsWorldWrite"><?php echo $adminLanguage->A_COMP_CONF_WRITE;?></label></td> <td style="padding:0px"><input type="checkbox" id="dirPermsWorldSearch" name="dirPermsWorldSearch" value="1" onclick="saveDirPerms()"<?php if ($flags & 01) echo ' checked="checked"'; ?>/></td> <td style="padding:0px" colspan="3"><label for="dirPermsWorldSearch"><?php echo $adminLanguage->A_COMP_CONF_SEARCH;?></label></td> </tr> </table> </td> </tr> </table> </fieldset> </td> <td> </td> </tr> </table><?php $tabs->endTab(); $tabs->startTab($adminLanguage->A_COMP_CONF_METADATA, "metadata-page" );?> <table class="adminform"> <tr> <td width="185" valign="top"><?php echo $adminLanguage->A_COMP_CONF_META_DESC;?>:</td> <td><textarea class="text_area" cols="50" rows="3" style="width:500px; height:50px" name="config_metadesc"><?php echo htmlspecialchars($row->config_metadesc, ENT_QUOTES); ?></textarea></td> </tr> <tr> <td valign="top"><?php echo $adminLanguage->A_COMP_CONF_META_KEY;?>:</td> <td><textarea class="text_area" cols="50" rows="3" style="width:500px; height:50px" name="config_metakeys"><?php echo htmlspecialchars($row->config_metakeys, ENT_QUOTES); ?></textarea></td> </tr> <tr> <td valign="top"><?php echo $adminLanguage->A_COMP_CONF_META_TITLE;?>:</td> <td> <?php echo $lists['metatitle']; ?> <?php echo mosToolTip( $adminLanguage->A_COMP_CONF_META_ITEMS ); ?> </td> </tr> <tr> <td valign="top"><?php echo $adminLanguage->A_COMP_CONF_META_AUTHOR;?>:</td> <td> <?php echo $lists['metaauthor']; ?> <?php echo mosToolTip( $adminLanguage->A_COMP_CONF_META_AUTHOR_TIP ); ?> </td> </tr> </table><?php $tabs->endTab(); $tabs->startTab($adminLanguage->A_COMP_CONF_EMAIL, "mail-page" );?> <table class="adminform"> <tr> <td width="185"><?php echo $adminLanguage->A_COMP_CONF_MAIL;?>:</td> <td><?php echo $lists['mailer']; ?></td> </tr> <tr> <td><?php echo $adminLanguage->A_COMP_CONF_MAIL_FROM;?>:</td> <td><input class="text_area" type="text" name="config_mailfrom" size="50" value="<?php echo $row->config_mailfrom; ?>"/></td> </tr> <tr> <td><?php echo $adminLanguage->A_COMP_CONF_MAIL_FROM_NAME;?>:</td> <td><input class="text_area" type="text" name="config_fromname" size="50" value="<?php echo $row->config_fromname; ?>"/></td> </tr> <tr> <td><?php echo $adminLanguage->A_COMP_CONF_MAIL_SENDMAIL_PATH;?>:</td> <td><input class="text_area" type="text" name="config_sendmail" size="50" value="<?php echo $row->config_sendmail; ?>"/></td> </tr> <tr> <td><?php echo $adminLanguage->A_COMP_CONF_MAIL_SMTP_AUTH;?>:</td> <td><?php echo $lists['smtpauth']; ?></td> </tr> <tr> <td><?php echo $adminLanguage->A_COMP_CONF_MAIL_SMTP_USER;?>:</td> <td><input class="text_area" type="text" name="config_smtpuser" size="50" value="<?php echo $row->config_smtpuser; ?>"/></td> </tr> <tr> <td><?php echo $adminLanguage->A_COMP_CONF_MAIL_SMTP_PASS;?>:</td> <td><input class="text_area" type="text" name="config_smtppass" size="50" value="<?php echo $row->config_smtppass; ?>"/></td> </tr> <tr> <td><?php echo $adminLanguage->A_COMP_CONF_MAIL_SMTP_HOST;?>:</td> <td><input class="text_area" type="text" name="config_smtphost" size="50" value="<?php echo $row->config_smtphost; ?>"/></td> </tr> </table><?php $tabs->endTab(); $tabs->startTab($adminLanguage->A_COMP_CONF_CACHE_TAB, "cache-page" );?> <table class="adminform" border="0"> <?php if (is_writeable($row->config_cachepath)) { ?> <tr> <td width="185"><?php echo $adminLanguage->A_COMP_CONF_CACHE;?>:</td> <td width="500"><?php echo $lists['caching']; ?></td> <td> </td> </tr> <?php } ?> <tr> <td><?php echo $adminLanguage->A_COMP_CONF_CACHE_FOLDER;?>:</td> <td> <input class="text_area" type="text" name="config_cachepath" size="50" value="<?php echo $row->config_cachepath; ?>"/><?php if (is_writeable($row->config_cachepath)) { echo mosToolTip( $adminLanguage->A_COMP_CONF_CACHE_DIR ." <b>". $adminLanguage->A_COMP_CONF_WRT ."</b>"); } else { echo mosWarning( $adminLanguage->A_COMP_CONF_CACHE_DIR_UNWRT ); }?> </td> <td> </td> </tr> <tr> <td><?php echo $adminLanguage->A_COMP_CONF_CACHE_TIME; ?>:</td> <td><input class="text_area" type="text" name="config_cachetime" size="5" value="<?php echo $row->config_cachetime; ?>"/> <?php echo $adminLanguage->A_COMP_CONF_SEC;?></td> <td> </td> </tr> </table> <?php $tabs->endTab(); $tabs->startTab($adminLanguage->A_MENU_STATISTICS, "stats-page" ); ?> <table class="adminform"> <tr> <td width="185"><?php echo $adminLanguage->A_COMP_CONF_STATS;?>:</td> <td width="120"><?php echo $lists['enable_stats']; ?></td> <td><?php echo mostooltip($adminLanguage->A_COMP_CONF_STATS_ENABLE); ?></td> </tr> <tr> <td><?php echo $adminLanguage->A_COMP_CONF_STATS_LOG_HITS;?>:</td> <td><?php echo $lists['log_items']; ?></td> <td><span class="error"><?php echo mosWarning($adminLanguage->A_COMP_CONF_STATS_WARN_DATA); ?></span></td> </tr> <tr> <td><?php echo $adminLanguage->A_COMP_CONF_STATS_LOG_SEARCH;?>:</td> <td><?php echo $lists['log_searches']; ?></td> <td> </td> </tr> </table> <?php $tabs->endTab(); $tabs->startTab($adminLanguage->A_COMP_CONF_SEO_LBL, "seo-page" ); ?> <table class="adminform"> <tr> <td width="200"><strong><?php echo $adminLanguage->A_COMP_CONF_SEO;?></strong></td> <td width="120"> </td> <td> </td> </tr> <tr> <td><?php echo $adminLanguage->A_COMP_CONF_SEO_SEFU;?>:</td> <td><?php echo $lists['sef']; ?> </td> <td><span class="error"><?php echo mosWarning($adminLanguage->A_COMP_CONF_SEO_APACHE); ?></span></td> </tr> <tr> <td><?php echo $adminLanguage->A_COMP_CONF_SEO_DYN;?>:</td> <td><?php echo $lists['pagetitles']; ?></td> <td><?php echo mosToolTip($adminLanguage->A_COMP_CONF_SEO_DYN_TITLE); ?></td> </tr> </table><?php $tabs->endTab(); $tabs->endPane();?> <input type="hidden" name="option" value="<?php echo $option; ?>"/> <input type="hidden" name="config_path" value="<?php echo $row->config_path; ?>"/> <input type="hidden" name="config_live_site" value="<?php echo $row->config_live_site; ?>"/> <input type="hidden" name="config_secret" value="<?php echo $row->config_secret; ?>"/> <input type="hidden" name="task" value=""/> </form> <script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/includes/js/overlib_mini.js"></script><?php }}?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -