Changeset 480:fb49141a31de for admin/index.php
- Timestamp:
- 07/01/11 22:15:56 (13 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/index.php
r471 r480 177 177 $core->callBehavior('adminDashboardItems', $core, $__dashboard_items); 178 178 179 # Dashboard content 180 $dashboardContents = ''; 181 $__dashboard_contents = new ArrayObject(array(new ArrayObject,new ArrayObject)); 182 $core->callBehavior('adminDashboardContents', $core, $__dashboard_contents); 183 179 184 /* DISPLAY 180 185 -------------------------------------------------------- */ … … 337 342 } 338 343 344 foreach ($__dashboard_contents as $i) 345 { 346 if ($i->count() > 0) 347 { 348 $dashboardContents .= '<div>'; 349 foreach ($i as $v) { 350 $dashboardContents .= $v; 351 } 352 $dashboardContents .= '</div>'; 353 } 354 } 355 echo ($dashboardContents ? '<div id="dashboard-contents">'.$dashboardContents.'</div>' : ''); 356 339 357 echo '</div>'; 340 358
Note: See TracChangeset
for help on using the changeset viewer.