[dev] [ingo-patch] editor title

Francois Marier francois at nit.ca
Tue Jul 27 16:45:53 PDT 2004


Here's a trivial fix to the title of the editor page.

Instead of displaying "New Rule" when you edit an existing rule, it
now displays the name of the rule.

Francois
-------------- next part --------------
diff -rpuN -X ../ignorelist ../build/ingo/rule.php ingo/rule.php
--- ../build/ingo/rule.php	Sat Jan 17 17:57:16 2004
+++ ingo/rule.php	Tue Jul 27 19:41:15 2004
@@ -133,7 +133,7 @@ if ($registry->hasMethod('mail/createFol
     Horde::addScriptFile('new_folder.js');
 }
 
-$title = _("New Rule");
+$title = $rule['name'];
 require INGO_TEMPLATES . '/common-header.inc';
 Ingo::menu();
 require INGO_TEMPLATES . '/rule/header.inc';


More information about the dev mailing list