summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-08-05 10:25:23 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-08-05 10:25:23 -0700
commit7b1cca168cb9b29fcccdcdce9e32efb190e4575e (patch)
tree1dd6668463cecb755325f0644945897bdbe98423 /themes
parent9f396178cedc96abb282e72ff0e843e255c8225a (diff)
Revert "Revert "Allow a theme to override the page refresh mechanism. Create a new""
This reverts commit 9f396178cedc96abb282e72ff0e843e255c8225a.
Diffstat (limited to 'themes')
-rw-r--r--themes/admin_default/views/admin.html.php2
-rw-r--r--themes/default/views/page.html.php2
2 files changed, 4 insertions, 0 deletions
diff --git a/themes/admin_default/views/admin.html.php b/themes/admin_default/views/admin.html.php
index d27f9260..63fc45b5 100644
--- a/themes/admin_default/views/admin.html.php
+++ b/themes/admin_default/views/admin.html.php
@@ -21,6 +21,8 @@
<?= $theme->script("jquery.form.js") ?>
<?= $theme->script("jquery-ui.js") ?>
<?= $theme->script("gallery.common.js") ?>
+ <? /* Themes can override this to provide custom refresh handling */ ?>
+ <?= $theme->script("gallery.reload.js") ?>
<? /* MSG_CANCEL is required by gallery.dialog.js */ ?>
<script type="text/javascript">
var MSG_CANCEL = "<?= t('Cancel') ?>";
diff --git a/themes/default/views/page.html.php b/themes/default/views/page.html.php
index 66282bae..5865e4cc 100644
--- a/themes/default/views/page.html.php
+++ b/themes/default/views/page.html.php
@@ -49,6 +49,8 @@
<?= $theme->script("jquery.form.js") ?>
<?= $theme->script("jquery-ui.js") ?>
<?= $theme->script("gallery.common.js") ?>
+ <? /* Themes can override this to provide custom refresh handling */ ?>
+ <?= $theme->script("gallery.reload.js") ?>
<? /* MSG_CANCEL is required by gallery.dialog.js */ ?>
<script type="text/javascript">
var MSG_CANCEL = "<?= t('Cancel') ?>";