📄 admin_webpages.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_webpages" method="POST"><input type="hidden" name="webspace_id" value="<?php if (isset($webspace['webspace_id'])) { echo $webspace['webspace_id'];}?>" /><div id="am_core_area"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td width="240" valign="top"> <div class="box"> <h1><?php echo $lang['hdr_webpages'];?></h1> <p> <?php echo $lang['txt_create_webpage'];?><br /> </p> <ul> <li><a href="index.php?ws=<?php echo $webspace['webspace_id'];?>&t=connect"><?php echo $lang['href_return_to_start'];?></a></li> </ul> </div> <div class="box"> <h1><?php echo $lang['hdr_default_webpage'];?></h1> <p> <?php echo $lang['txt_default_webpage'];?><br /> </p> </div> <div class="box"> <h1><?php echo $lang['hdr_delete_webpages'];?></h1> <p> <?php echo $lang['txt_delete_webpages'];?><br /> </p> </div> </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"> <h1><?php echo $lang['hdr_manage_webpages'];?></h1> <?php if (isset($webpages) && isset($display_confirm_delete)) { ?> <p> <?php echo $lang['txt_confirm_delete'];?><br /> </p> <table cellspacing="2" cellpadding="2" border="0" width="100%"> <?php foreach ($webpages as $key => $i): ?> <tr> <td valign="top"> <input type="hidden" name="webpage_ids[]" value="<?php echo $i['webpage_id'];?>" /> <?php echo $i['webpage_name'];?><br /> </td> <td valign="top"> <?php echo $i['webpage_title'];?><br /> </td> <td valign="top"> <?php echo strftime("%d %b %G", $i['webpage_create_datetime']);?><br /> </td> </tr> <?php endforeach; ?> </table> <p align="right"> <input type="submit" name="cancel_delete_webpages" value="<?php echo $lang['sub_cancel_delete'];?>" class="input_submit" /> <input type="submit" name="confirm_delete_webpages" value="<?php echo $lang['sub_confirm_delete'];?>" class="input_submit" /> </p> <?php } elseif (isset($webpages)) { ?> <table cellspacing="2" cellpadding="2" border="0" width="100%"> <tr> <td valign="top"> <b><?php echo $lang['txt_label_name'];?></b><br /> </td> <td valign="top"> <b><?php echo $lang['txt_label_title'];?></b><br /> </td> <td valign="top"> <b><?php echo $lang['txt_label_created'];?></b><br /> </td> <td valign="top"> <b><?php echo $lang['txt_label_start'];?></b><br /> </td> <td valign="top" align="right"> <b><?php echo $lang['txt_label_delete'];?></b><br /> </td> </tr> <?php foreach ($webpages as $key => $i): ?> <tr> <td valign="top"> <a href="index.php?ws=<?php echo $webspace['webspace_id'];?>&wp=<?php echo $i['webpage_id'];?>"><?php echo $i['webpage_name'];?></a><br /> </td> <td valign="top"> <?php echo $i['webpage_title'];?><br /> </td> <td valign="top"> <?php echo am_strftime($i['webpage_create_datetime']);?><br /> </td> <td valign="top"> <?php $selected=""; if ($webspace['default_webpage_id'] == $i['webpage_id']) { $selected=" checked=\"checked\""; } ?> <input type="radio" name="default_webpage_id" value="<?php echo $i['webpage_id'];?>"<?php echo $selected;?> /><br /> </td> <td valign="top" align="right"> <?php // we are not allowed to delete the default page if ($i['webpage_id'] != $webspace['default_webpage_id']) { ?> <input type="checkbox" name="webpage_ids[]" value="<?php echo $i['webpage_id'];?>" /> <?php }?> <br /> </td> </tr> <?php endforeach; ?> </table> <p align="right"> <input type="submit" name="request_delete_webpages" value="<?php echo $lang['sub_delete'];?>" class="input_submit" /> <input type="submit" name="set_default_webpage" value="<?php echo $lang['sub_set_default'];?>" class="input_submit" /><br /> </p> <?php }?> </td> </tr> </table></div></form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -