Revert "Revert "Allow a theme to override the page refresh mechanism. Create a new""

This reverts commit 9f396178ce.
This commit is contained in:
Tim Almdal
2009-08-05 10:25:23 -07:00
parent 9f396178ce
commit 7b1cca168c
12 changed files with 66 additions and 44 deletions

View File

@@ -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') ?>";