[Slashdotjp-dev 1484] [1015] fix html title for edituser page

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 2月 19日 (木) 14:22:56 JST


Revision: 1015
          http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=1015
Author:   tach
Date:     2009-02-19 14:22:56 +0900 (Thu, 19 Feb 2009)

Log Message:
-----------
fix html title for edituser page

Modified Paths:
--------------
    slashjp/trunk/themes/slashcode/htdocs/users.pl


-------------- next part --------------
Modified: slashjp/trunk/themes/slashcode/htdocs/users.pl
===================================================================
--- slashjp/trunk/themes/slashcode/htdocs/users.pl	2009-02-18 13:45:54 UTC (rev 1014)
+++ slashjp/trunk/themes/slashcode/htdocs/users.pl	2009-02-19 05:22:56 UTC (rev 1015)
@@ -413,7 +413,12 @@
 			adminmenu => $ops->{$op}{adminmenu} || 'admin',
 			tab_selected => $ops->{$op}{tab_selected},
 		};
-		header(getMessage('user_header'), '', $data) or return;
+
+		if ($op =~ /^edit\w+$/) {
+			header(getMessage('useredit_header', { op => $op }), '', $data) or return;
+		} else {
+			header(getMessage('user_header'), '', $data) or return;
+		}
 		# This is a hardcoded position, bad idea and should be fixed -Brian
 		# Yeah, we should pull this into a template somewhere...
 		print getMessage('note', { note => $errornote }) if defined $errornote;



Slashdotjp-dev メーリングリストの案内
Back to archive index