Quick Search:

View

Revision:

Diff

Diff from 1845 to:

Annotations

Annotate by Age | Author | Mixed | None
/fisheye/browse/osCommerce/branches/hpdl/oscommerce/admin/templates/pages/administrators/delete.php

Annotated File View

hpdl
1200
1 <?php
2 /*
3   $Id: $
4
5   osCommerce, Open Source E-Commerce Solutions
6   http://www.oscommerce.com
7
hpdl
1446
8   Copyright (c) 2007 osCommerce
hpdl
1200
9
hpdl
1497
10   This program is free software; you can redistribute it and/or modify
11   it under the terms of the GNU General Public License v2 (1991)
12   as published by the Free Software Foundation.
hpdl
1200
13 */
14
15   $osC_ObjectInfo = new osC_ObjectInfo(osC_Administrators_Admin::getData($_GET['aID']));
16 ?>
17
hpdl
1405
18 <h1><?php echo osc_link_object(osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), $osC_Template->getPageTitle()); ?></h1>
hpdl
1200
19
20 <?php
21   if ($osC_MessageStack->size($osC_Template->getModule()) > 0) {
hpdl
1845
22     echo $osC_MessageStack->get($osC_Template->getModule());
hpdl
1200
23   }
24 ?>
25
hpdl
1475
26 <div class="infoBoxHeading"><?php echo osc_icon('trash.png') . ' ' . $osC_ObjectInfo->get('user_name'); ?></div>
hpdl
1200
27 <div class="infoBoxContent">
hpdl
1405
28   <form name="aDelete" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '&page=' . $_GET['page'] . '&aID=' . $osC_ObjectInfo->get('id') . '&action=delete'); ?>" method="post">
hpdl
1200
29
hpdl
1446
30   <p><?php echo $osC_Language->get('introduction_delete_administrator'); ?></p>
hpdl
1200
31
32   <p><?php echo '<b>' . $osC_ObjectInfo->get('user_name') . '</b>'; ?></p>
33
hpdl
1475
34   <p align="center"><?php echo osc_draw_hidden_field('subaction', 'confirm') . '<input type="submit" value="' . $osC_Language->get('button_delete') . '" class="operationButton" /> <input type="button" value="' . $osC_Language->get('button_cancel') . '" onclick="document.location.href=\'' . osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '&page=' . $_GET['page']) . '\';" class="operationButton" />'; ?></p>
hpdl
1200
35
36   </form>
37 </div>