Files
gallery3/themes/admin_default/views/block.html.php
Bharat Mediratta 8ec0e8471f Drag and drop in the admin dashboard now saves the location.
* Make block_adder a real block
* Suppress the "close" link on block_adder
* Move the drag/drop JS into the core code out of the admin theme
2009-01-18 09:06:46 +00:00

16 lines
552 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<div block_id="<?= $id ?>" id="<?= $css_id ?>" class="gBlock ui-widget-dialog">
<div class="ui-dialog-titlebar ui-widget-header">
<? if ($css_id != "gBlockAdder"): ?>
<a href="<?= url::site("admin/dashboard/remove_block/$id?csrf=" . access::csrf_token()) ?>"
class="ui-dialog-titlebar-close">
<span class="ui-icon ui-icon-closethick">remove</span>
</a>
<? endif ?>
<?= $title ?>
</div>
<div class="gBlockContent">
<?= $content ?>
</div>
</div>