summaryrefslogtreecommitdiff
path: root/themes/admin_wind/views/block.html.php
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-09-24 22:08:08 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-09-24 22:08:08 -0600
commit639c9c2d55164eab8ef1f8c21a7f9b69b54686ff (patch)
tree0bbb2e33006198d6e30975dc6ba8f9e3e34b2fc0 /themes/admin_wind/views/block.html.php
parent16c97eb6ebd8c5514dff8ed9242d7eb0a4e7178a (diff)
parente204e18b3c6a4b4b1aa76b6d4a5392bd238490eb (diff)
Merge branch 'master' of 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>