summaryrefslogtreecommitdiff
path: root/themes/admin_wind/views/block.html.php
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-11-15 19:44:47 -0800
committerAndy Staudacher <andy.st@gmail.com>2009-11-15 19:44:47 -0800
commit0733dc37fda27a5ba35f9020edf3c66aa41a95a0 (patch)
tree6877946232f1b01b1c8709054c689f6658cef34f /themes/admin_wind/views/block.html.php
parent218493c50be9362d4abed6900a816308fee5d978 (diff)
parent9379308f91a476f790fb8d444536719535c584e4 (diff)
Merge commit 'upstream/master'
Conflicts: modules/gallery/tests/xss_data.txt
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..d1d2d088
--- /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="g-block ui-widget">
+ <div class="ui-dialog-titlebar ui-widget-header ui-helper-clearfix ui-icon-right">
+ <? if ($css_id != "g-block-adder"): ?>
+ <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="g-block-content">
+ <?= $content ?>
+ </div>
+</div>