Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

In top menu, use "~Me (1)" instead of just "Me".

  • Loading branch information...
commit 8e363f85e192a733a7138b30932ffd708a24f404 1 parent 8fab3a4
@jamiemccarthy jamiemccarthy authored
Showing with 3 additions and 1 deletion.
  1. +2 −0  sql/mysql/upgrades
  2. +1 −1  themes/slashcode/sql/mysql/datadump.sql
View
2  sql/mysql/upgrades
@@ -950,3 +950,5 @@ INSERT INTO tzcodes (tz, off_set, description, dst_region, dst_tz, dst_off_set)
# already saw a CVS conflict on Anchor.pm getSectionColors() and figured
# something was up. :)
+UPDATE menus SET label=CONCAT('~', label, ' ([% user.uid %])') WHERE menu='users' AND sel_label='me';
+
View
2  themes/slashcode/sql/mysql/datadump.sql
@@ -118,7 +118,7 @@ INSERT INTO discussions (id, sid, title, url, ts, topic, uid, commentcount, flag
INSERT INTO menus (menu, label, sel_label, value, seclev, showanon, menuorder) VALUES ('users','Logout','logout','/my/logout',1,0,10);
INSERT INTO menus (menu, label, sel_label, value, seclev, showanon, menuorder) VALUES ('users','Preferences','preferences','/users.pl?op=edituser',1,0,20);
INSERT INTO menus (menu, label, sel_label, value, seclev, showanon, menuorder) VALUES ('users','Password','password','/users.pl?op=changepasswd',1,0,40);
-INSERT INTO menus (menu, label, sel_label, value, seclev, showanon, menuorder) VALUES ('users','[% USE Slash; user.nickname | strip_literal %]','me','/~[% USE Slash; user.nickname | strip_literal %]',1,0,50);
+INSERT INTO menus (menu, label, sel_label, value, seclev, showanon, menuorder) VALUES ('users','~[% USE Slash; user.nickname | strip_literal %] ([% user.uid %])','me','/~[% USE Slash; user.nickname | strip_literal %]',1,0,50);
#
# Dumping data for table 'metamodlog'
Please sign in to comment.
Something went wrong with that request. Please try again.