summaryrefslogtreecommitdiff
path: root/themes/admin_wind/views/block.html.php
diff options
context:
space:
mode:
authorjhilden <jakobhilden@gmail.com>2009-09-26 11:27:45 -0400
committerjhilden <jakobhilden@gmail.com>2009-09-26 11:27:45 -0400
commit21341d552f7e56341b29c020e1149d9c41182c84 (patch)
tree70502de8e6784d749b47b445838d8719f21af6bf /themes/admin_wind/views/block.html.php
parent4345e96d1db63c8488eb7a35cdc8e42987ba53f5 (diff)
parent0abd6f63bc8a1976a62bc4b57bbabe10d62b5c8d (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'themes/admin_wind/views/block.html.php')
-rw-r--r--themes/admin_wind/views/block.html.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/themes/admin_wind/views/block.html.php b/themes/admin_wind/views/block.html.php
new file mode 100644
index 00000000..6cbea76e
--- /dev/null
+++ b/themes/admin_wind/views/block.html.php
@@ -0,0 +1,18 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<? if ($anchor): ?>
+<a name="<?= $anchor ?>"></a>
+<? endif ?>
+<div block_id="<?= $id ?>" id="<?= $css_id ?>" class="gBlock ui-widget">
+ <div class="ui-dialog-titlebar ui-widget-header ui-helper-clearfix ui-icon-right">
+ <? if ($css_id != "gBlockAdder"): ?>
+ <a href="<?= url::site("admin/dashboard/remove_block/$id?csrf=$csrf") ?>"
+ class="ui-dialog-titlebar-close ui-corner-all">
+ <span class="ui-icon ui-icon-closethick">remove</span>
+ </a>
+ <? endif ?>
+ <?= $title ?>
+ </div>
+ <div class="gBlockContent">
+ <?= $content ?>
+ </div>
+</div>