diff options
| author | Andy Staudacher <andy.st@gmail.com> | 2009-02-09 07:29:24 +0000 |
|---|---|---|
| committer | Andy Staudacher <andy.st@gmail.com> | 2009-02-09 07:29:24 +0000 |
| commit | fa1f49d99a30a029d1a4e09b820c639d639f6283 (patch) | |
| tree | 3e4d10b152456f0d5f1a944c66affa3cd94e4b09 /core/views/scaffold.html.php | |
| parent | af944f94334139d6b49b9344795652510a62bae0 (diff) | |
Adding translation UI. Not backed by any model yet (submissions are ignored).
The code is based on the l10n_client module from Drupal 6, by Gabor Hojtsy (http://drupal.org/user/4166).
Diffstat (limited to 'core/views/scaffold.html.php')
| -rw-r--r-- | core/views/scaffold.html.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/views/scaffold.html.php b/core/views/scaffold.html.php index 2dd256c2..b54e6cd2 100644 --- a/core/views/scaffold.html.php +++ b/core/views/scaffold.html.php @@ -440,6 +440,13 @@ <?= html::anchor("scaffold/session/debug?value=1", "on") ?> <b>off</b> <? endif ?> </li> + <li> Translation Mode: + <? if (Session::instance()->get("l10n_mode", false)): ?> + <b>on</b> <?= html::anchor("scaffold/session/l10n_mode?value=0", "off") ?> + <? else: ?> + <?= html::anchor("scaffold/session/l10n_mode?value=1", "on") ?> <b>off</b> + <? endif ?> + </li> </ul> </div> |
