Enable gettext.
authorJan Schneider <jan@horde.org>
Thu, 9 Dec 2010 10:33:59 +0000 (11:33 +0100)
committerJan Schneider <jan@horde.org>
Thu, 9 Dec 2010 10:33:59 +0000 (11:33 +0100)
vilma/domains/index.php
vilma/users/index.php
vilma/virtuals/index.php

index 5391d13..4810289 100644 (file)
@@ -35,6 +35,7 @@ foreach ($domains as $id => $domain) {
 
 /* Set up the template fields. */
 $template = $injector->createInstance('Horde_Template');
+$template->setOption('gettext', true);
 $template->set('domains', $domains, true);
 $template->set('menu', Vilma::getMenu('string'));
 
index 17469aa..4e1a5bc 100644 (file)
@@ -123,6 +123,7 @@ $url = Horde::url('virtuals/edit.php');
 
 /* Set up the template fields. */
 $template = $injector->createInstance('Horde_Template');
+$template->setOption('gettext', true);
 $template->set('addresses', $addresses, true);
 $template->set('maxusers', $maxusers, true);
 $template->set('menu', Vilma::getMenu('string'));
index 6f7d0a5..fe34721 100644 (file)
@@ -38,6 +38,7 @@ foreach ($virtuals as $id => $virtual) {
 }
 
 $template = $injector->createInstance('Horde_Template');
+$template->setOption('gettext', true);
 $template->set('virtuals', $virtuals, true);
 
 /* Set up the template action links. */