summaryrefslogtreecommitdiff
path: root/modules/gallery/views
diff options
context:
space:
mode:
authorjhilden <jakobhilden@gmail.com>2009-08-29 14:21:53 -0400
committerjhilden <jakobhilden@gmail.com>2009-08-29 14:21:53 -0400
commit8d256898c7533f2d61e2c0672f70314c68cd0187 (patch)
treea114e30899da8aac4704d47a7f217d059d2a93c4 /modules/gallery/views
parent1527f149a90a46428c48b4b811d4b8ecc10b9d2c (diff)
improved translation interface so that it now can be closed without going to the admin
Diffstat (limited to 'modules/gallery/views')
-rw-r--r--modules/gallery/views/l10n_client.html.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/gallery/views/l10n_client.html.php b/modules/gallery/views/l10n_client.html.php
index c73719ca..5ee7eca3 100644
--- a/modules/gallery/views/l10n_client.html.php
+++ b/modules/gallery/views/l10n_client.html.php
@@ -1,7 +1,10 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<div id="l10n-client" class="hidden">
<div class="labels">
- <span id="l10n-client-toggler">X</span>
+ <span id="l10n-client-toggler">
+ <a id="gMinimizeL10n">_</a>
+ <a id="gCloseL10n" href="<?= url::site("l10n_client/toggle_l10n_mode?csrf=".access::csrf_token()) ?>">X</a>
+ </span>
<div class="label strings"><h2><?= t("Page Text") ?>
<? if (!Input::instance()->get('show_all_l10n_messages')): ?>
<a style="background-color:#fff" href="<?= url::site("admin/languages?show_all_l10n_messages=1") ?>"><?= t("(Show All)") ?></a>