Files
gallery3/core/views/admin_dashboard_blocks.html.php
T
Bharat Mediratta b19729435c Dashboard blocks are now data driven, and you can add new blocks to
both the sidebar and the center content area from a dropdown at the
top of the dashboard sidebar.
2009-01-12 07:39:53 +00:00

26 lines
625 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<div id="gAdminDashboardBlocks">
<table border="1">
<tr>
<th> <?= t("Main") ?> </th>
<th> <?= t("Sidebar") ?> </th>
</tr>
<? foreach ($available as $module_name => $block_list): ?>
<? foreach ($block_list as $id => $title): ?>
<tr>
<td>
<?= $title ?>
</td>
<td>
<option>
</option>
</td>
</tr>
<? endforeach ?>
<? endforeach ?>
</table>
</div>
<? printf("<pre>%s</pre>",print_r($available,1));flush(); ?>
<? printf("<pre>%s</pre>",print_r($displayed,1));flush(); ?>