diff options
Diffstat (limited to 'themes/admin_default')
| -rw-r--r-- | themes/admin_default/views/admin.html.php | 4 |
1 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 fed1afe6..36deea9e 100644 --- a/themes/admin_default/views/admin.html.php +++ b/themes/admin_default/views/admin.html.php @@ -21,6 +21,10 @@ <?= $theme->script("lib/jquery.form.js") ?> <?= $theme->script("lib/jquery-ui.js") ?> <?= $theme->script("lib/gallery.common.js") ?> + <? /* MSG_CANCEL is required by gallery.dialog.js */ ?> + <script type="text/javascript"> + var MSG_CANCEL = "<?= t('Cancel') ?>"; + </script> <?= $theme->script("lib/gallery.dialog.js") ?> <?= $theme->script("lib/superfish/js/superfish.js") ?> <?= $theme->theme_script("js/jquery.dropshadow.js") ?> |
