Changeset 4035
- Timestamp:
- 02/07/12 21:13:55 (16 months ago)
- Location:
- trunk/catalog/admin/includes
- Files:
-
- 1 added
- 2 modified
- 3 moved
-
gabarit/adminNotif (added)
-
gabarit/adminNotif/display_view.config.gab (moved) (moved from trunk/catalog/admin/includes/gabarit/adminNotif.config.gab)
-
gabarit/adminNotif/display_view.listing.gab (moved) (moved from trunk/catalog/admin/includes/gabarit/adminNotif.listing.gab) (3 diffs)
-
gabarit/adminNotif/display_view.view.gab (moved) (moved from trunk/catalog/admin/includes/gabarit/adminNotif.view.gab)
-
header.php (modified) (2 diffs)
-
modules/pages/adminNotif.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/catalog/admin/includes/gabarit/adminNotif/display_view.listing.gab
r3687 r4035 1 1 <?php 2 2 /** 3 @licence GPL 2005-201 1The osCSS developers - osCSS Open Source E-commerce3 @licence GPL 2005-2012 The osCSS developers - osCSS Open Source E-commerce 4 4 @portion code Copyright (c) 2002 osCommerce 5 5 @package osCSS-2 <www http://www.oscss.org> 6 @version 2.1. 07 @date 11/04/11, 10:346 @version 2.1.1 7 @date 09/12/2012, 10:34 8 8 @author oscim <mail aurelien@oscim.fr> <www http://www.oscim.fr> 9 9 @encode UTF-8 … … 30 30 <tfoot> 31 31 <tr> 32 <td colspan="2"> </td>32 <td colspan="2"><?php echo tep_draw_checkbox_field('select_all', 'select_all' ); ?></td> 33 33 <td colspan="4"><?php printf(CsrtAction::getButton('button_action', IMAGE_DELETE, 'delete'), '', ' name="delete" ' ); ?></td> 34 34 </tr> … … 37 37 <?php foreach(adminNotif::$list as $notif): ?> 38 38 <tr class="view parent dataTableRow <?php if ((!isset($_GET['mID'])) || ($_GET['mID'] == $notif['admin_id']) ) echo "Selected"; ?>" > 39 <td><?php echo tep_draw_checkbox_field('multi['.$notif['notif_id'].']', 'multi_'.$notif['notif_id'] ); ?></td>39 <td><?php echo tep_draw_checkbox_field('multi['.$notif['notif_id'].']', 'multi_'.$notif['notif_id'] ,'','','','class="multi"' ); ?></td> 40 40 <td><?php echo $notif['notif_id']; ?></td> 41 41 <td><?php echo ($notif['notif_type']==0)? __('type user') : __('type group') ; ?></td> -
trunk/catalog/admin/includes/header.php
r4017 r4035 5 5 @package osCSS-2 <www http://www.oscss.org> 6 6 @version 2.1.1 7 @date 0 1/01/2012, 18:177 @date 09/12/2012, 18:17 8 8 @author oscim <mail aurelien@oscim.fr> <www http://www.oscim.fr> 9 9 @encode UTF-8 … … 89 89 90 90 // simple_tooltip("input","tooltip"); 91 92 // Multi in datatable, for select all rows 93 $("#select_all").click(function(){ 94 var checked_status = $("#select_all").is(':checked'); 95 $("input[type='checkbox'].multi").each(function(){ 96 if(checked_status == true) 97 this.checked = true; 98 else 99 this.checked = false; 100 }); 101 }); 91 102 } 92 103 -
trunk/catalog/admin/includes/modules/pages/adminNotif.php
r3954 r4035 1 1 <?php if (!defined('HTTP_SERVER')) die('You can not access this file directly!'); 2 2 /** 3 @licence GPL 2005-201 1The osCSS developers - osCSS Open Source E-commerce3 @licence GPL 2005-2012 The osCSS developers - osCSS Open Source E-commerce 4 4 @portion code Copyright (c) 2002 osCommerce 5 5 @package osCSS-2 <www http://www.oscss.org> 6 6 @version 2.1.1 7 @date 14/12/11, 14:497 @date 09/12/2012, 10:34 8 8 @author oscim <mail aurelien@oscim.fr> <www http://www.oscim.fr> 9 9 @encode UTF-8 … … 113 113 } 114 114 115 public function get_header(){ return false; }115 public function get_header(){ return false;} 116 116 117 117 public static function load_db_values($ID){ … … 135 135 case 'configdelete': 136 136 case 'config': 137 self::loadConfigUser();138 return tep_get_include_contents(self::$code.'.config');137 self::loadConfigUser(); 138 return tep_get_include_contents(self::$code.'/display_view.config'); 139 139 break; 140 140 141 141 case 'view': 142 return tep_get_include_contents(self::$code.'.view');142 return tep_get_include_contents(self::$code.'/display_view.view'); 143 143 break; 144 144 default: 145 self::loadNotifUser();146 return tep_get_include_contents(self::$code.'.listing');145 self::loadNotifUser(); 146 return tep_get_include_contents(self::$code.'/display_view.listing'); 147 147 } 148 148 }