Changeset 289 for branches/1.1dev/templates
- Timestamp:
- Nov 3, 2007 1:35:13 AM (17 years ago)
- Location:
- branches/1.1dev/templates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.1dev/templates/adm_admin_list.ihtml
r185 r289 1 1 2 2 <?php include 'form_error_header.ihtml'; ?> 3 <form action="<?php echo oTxt($_SERVER['PHP_SELF']); ?>" method=" post">3 <form action="<?php echo oTxt($_SERVER['PHP_SELF']); ?>" method="get"> 4 4 <?php $carry_queries = array('search_query', 'filter_admin_priv'); ?> 5 5 <?php printHiddenSession(false); ?> … … 44 44 <td class="padleft nowrap"><?php echo gethostbyaddr($list[$i]['last_login_ip']); ?> </td> 45 45 <td class="padleft right nowrap"> 46 <a title="<?php printf(_("Delete %s"), oTxt($list[$i]['username'])) ?>" href="<?php echo ohref($CFG->admin_url . '/admins.php?op=del&admin_id=' . $list[$i]['admin_id']); ?>" on Click="javascript:return confirm('<?php printf(_("Are you sure you want to delete %s? This action is permanent and cannot be undone."), oTxt($list[$i]['username'])) ?>')"><img src="<?php echo $CFG->admin_url; ?>/_widgets/delete.gif" alt="Delete" width="16" height="17" border="0"></a>46 <a title="<?php printf(_("Delete %s"), oTxt($list[$i]['username'])) ?>" href="<?php echo ohref($CFG->admin_url . '/admins.php?op=del&admin_id=' . $list[$i]['admin_id']); ?>" onclick="javascript:return confirm('<?php printf(_("Are you sure you want to delete %s? This action is permanent and cannot be undone."), oTxt($list[$i]['username'])) ?>')"><img src="<?php echo $CFG->admin_url; ?>/_widgets/delete.gif" alt="Delete" width="16" height="17" border="0"></a> 47 47 </td> 48 48 </tr> -
branches/1.1dev/templates/adm_log_list.ihtml
r185 r289 24 24 <?php if (!preg_match($no_download_files, $l['filename'])) { ?><span class="commanditem"><a href="<?php echo ohref("$CFG->admin_url/logs.php?op=download&log=" . $l['filename']); ?>"><?php echo _("Download"); ?></a></span><?php } ?> 25 25 <?php if (!preg_match($no_archive_files, $l['filename'])) { ?><span class="commanditem"><a href="<?php echo ohref("$CFG->admin_url/logs.php?op=archive&log=" . $l['filename']); ?>"><?php echo _("Archive"); ?></a></span><?php } ?> 26 <?php if (!preg_match($no_clear_files, $l['filename'])) { ?><span class="commanditem"><a href="<?php echo ohref("$CFG->admin_url/logs.php?op=clear&log=" . $l['filename']); ?>" on Click="javascript:return confirm('<?php printf(_("Are you sure you want to clear the log file %s? This will empty this file of its contents. This action is not reversable."), $l['filename'])?>')"><?php echo _("Clear"); ?></a></span><?php } ?>27 <?php if (!preg_match($no_delete_files, $l['filename'])) { ?><span class="commanditem"><a href="<?php echo ohref("$CFG->admin_url/logs.php?op=delete&log=" . $l['filename']); ?>" on Click="javascript:return confirm('<?php printf(_("Are you sure you want to delete the log file %s? This will remove this log file permanently. This action is not reversable."), $l['filename'])?>')"><?php echo _("Delete"); ?></a></span><?php } ?>26 <?php if (!preg_match($no_clear_files, $l['filename'])) { ?><span class="commanditem"><a href="<?php echo ohref("$CFG->admin_url/logs.php?op=clear&log=" . $l['filename']); ?>" onclick="javascript:return confirm('<?php printf(_("Are you sure you want to clear the log file %s? This will empty this file of its contents. This action is not reversable."), $l['filename'])?>')"><?php echo _("Clear"); ?></a></span><?php } ?> 27 <?php if (!preg_match($no_delete_files, $l['filename'])) { ?><span class="commanditem"><a href="<?php echo ohref("$CFG->admin_url/logs.php?op=delete&log=" . $l['filename']); ?>" onclick="javascript:return confirm('<?php printf(_("Are you sure you want to delete the log file %s? This will remove this log file permanently. This action is not reversable."), $l['filename'])?>')"><?php echo _("Delete"); ?></a></span><?php } ?> 28 28 </td> 29 29 </tr><?php
Note: See TracChangeset
for help on using the changeset viewer.