summaryrefslogtreecommitdiff
path: root/themes/admin_wind/views/block.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-09-23 15:06:17 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-09-23 15:06:17 -0700
commit65051a4bf77321518a0cf80bc328a7ed609dfc90 (patch)
treec6377d72dc07ab92ccd153d5eb1e1bd736502843 /themes/admin_wind/views/block.html.php
parent3efaf4b1a11fbc7ef1cfd265086e92a9b1ef4eb8 (diff)
Rename the default themes to wind and admin_wind. Change xss_data.txt file to reflect this move. Not completely moved yet, but the git st is rather large so lets commit this now as a base for the cleanup.
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>