Changeset 558231
- Timestamp:
- 06/14/2012 11:28:16 PM (14 years ago)
- Location:
- templ33t/branches/01_02_handling_posts
- Files:
-
- 2 edited
-
plugs/templ33t_plugin.php (modified) (1 diff)
-
templ33t_object.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
templ33t/branches/01_02_handling_posts/plugs/templ33t_plugin.php
r453652 r558231 38 38 */ 39 39 var $default; 40 41 /** 42 * Plugin weight order 43 * @var int 44 */ 45 var $weight; 40 46 41 47 /** -
templ33t/branches/01_02_handling_posts/templ33t_object.php
r558161 r558231 2285 2285 } 2286 2286 2287 // order group items 2288 foreach($groups as $key => $val) { 2289 $order = array(); 2290 foreach($val as $key2 => $val2) { 2291 $order[$key2] = $val2->weight; 2292 } 2293 asort($order, SORT_STRING); 2294 $old = $val; 2295 $groups[$key] = array(); 2296 foreach($order as $key2 => $val2) { 2297 $groups[$key][$key2] = $old[$key2]; 2298 } 2299 } 2300 2287 2301 //print_r($groups); 2288 2302
Note: See TracChangeset
for help on using the changeset viewer.