📄 admin_webspace.tpl.php
字号:
<?php// -----------------------------------------------------------------------// This file is part of AROUNDMe// // Copyright (C) 2003-2007 Barnraiser// http://www.barnraiser.org/// info@barnraiser.org// // This program is free software: you can redistribute it and/or modify// it under the terms of the GNU General Public License as published by// the Free Software Foundation, either version 3 of the License, or// (at your option) any later version.// // This program is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the// GNU General Public License for more details.// // You should have received a copy of the GNU General Public License// along with this program; see the file COPYING.txt. If not, see// <http://www.gnu.org/licenses/>// -----------------------------------------------------------------------?><form action="index.php?ws=<?php echo $webspace['webspace_id'];?>&t=admin_webspace" method="POST"><input type="hidden" name="webspace_id" value="<?php if (isset($edit_webspace['webspace_id'])) { echo $edit_webspace['webspace_id'];}?>" /><div id="am_core_area"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td width="240" valign="top"> <h1><?php echo $lang['hdr_webspace_intro'];?></h1> <p> <?php echo $lang['txt_admin_intro'];?><br /> </p> <ul> <li><a href="index.php?ws=<?php echo $edit_webspace['webspace_id'];?>&t=connect"><?php echo $lang['href_return_to_start'];?></a></li> </ul> </td> <td width="30" style="border-right: 1px solid #333"> <img src="<?php echo $template_path_core;?>img/pixel.png" width="30" height="1" border="0" alt="" /><br /> </td> <td width="40"> <img src="<?php echo $template_path_core;?>img/pixel.png" width="40" height="1" border="0" alt="" /><br /> </td> <td valign="top" width="390"> <h1><?php echo $lang['hdr_edit_webspace'];?></h1> <p> <label for="id_webspace_title"><?php echo $lang['txt_webspace_title'];?></label><br /> <input type="text" name="webspace_title" id="id_webspace_title" value="<?php if (isset($edit_webspace['webspace_title'])) { echo $edit_webspace['webspace_title'];}?>" style="width:390px;" /> </p> <?php if (count($core_config['language']['pack']) > 1) { ?> <p> <label for="id_language_code"><?php echo $lang['txt_language'];?></label><br /> <?php echo $lang['txt_input_language'];?><br /> <select name="language_code" id="id_language_code"> <?php foreach($core_config['language']['pack'] as $key => $i): $selected = ""; if ($edit_webspace['language_code'] == $i) { $selected = " selected=\"selected\""; } ?> <option value="<?php echo $i;?>"<?php echo $selected;?>><?php echo ucfirst(strtolower($lang['arr_language'][$i]));?></option> <?php endforeach; ?> </select> </p> <?php }?> <p> <label for="id_webspace_description"><?php echo $lang['txt_webspace_description'];?></label><br /> <?php echo $lang['txt_input_description'];?><br /> <textarea name="webspace_description" id="id_webspace_description" cols="50" rows="3" style="width:390px;" onKeyPress="javascript:inputMaxLength(this, 200, 'description_input_indicator');"><?php if (isset($edit_webspace['webspace_description'])) { echo $edit_webspace['webspace_description'];}?></textarea> <span id="description_input_indicator" class="input_indicator"></span> </p> <p> <label for="id_webspace_keywords"><?php echo $lang['txt_webspace_keywords'];?></label><br /> <?php echo $lang['txt_input_keywords'];?><br /> <textarea name="webspace_keywords" id="id_webspace_keywords" cols="50" rows="3" style="width:390px;" onKeyPress="javascript:inputMaxLength(this, 200, 'keywords_input_indicator');"><?php if (isset($edit_webspace['webspace_keywords'])) { echo $edit_webspace['webspace_keywords'];}?></textarea> <span id="keywords_input_indicator" class="input_indicator"></span> </p> <table cellspacing="2" cellpadding="2" border="0" width="100%"> <tr style="cursor: pointer;" onclick="check_uncheck('id_webspace_lock', 'null')"> <td valign="top"> <label for="id_webspace_lock"><?php echo $lang['txt_lock_webspace'];?></label><br /> <?php echo $lang['txt_input_locked'];?><br /> </td> <td valign="bottom" align="right" width="40"> <input onclick="check_uncheck('id_webspace_lock', 'null')" type="checkbox" name="webspace_locked" id="id_webspace_lock" value="1"<?php if (!empty($edit_webspace['webspace_locked'])) { echo " checked=\"checked\"";}?> /><br /> </td> </tr> </table> <p align="right"> <input type="submit" name="update_webspace" value="<?php echo $lang['sub_save'];?>" class="input_submit" /><br /> </p> </td> </tr> </table></div></form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -