Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Converted User and Messages links into tabbed modals.
  • Loading branch information
Christopher Brown committed Dec 12, 2007
1 parent 68ed430 commit 31a8e62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions themes/slashcode/templates/prefs_titlebar;misc;default
Expand Up @@ -20,7 +20,7 @@ PROCESS titlebar title=title;

user_link = '/users.pl?op=edituser';
IF constants.modal_prefs_active;
user_link = user_link _ "\" onclick=\"getModalPrefs('user', 'User')\; return false";
user_link = user_link _ "\" onclick=\"getModalPrefs('user', 'User', 1)\; return false";
END;

tabs = [
Expand All @@ -31,7 +31,7 @@ tabs = [
IF constants.plugin.Messages;
messages_link = "/my/messages";
IF constants.modal_prefs_active;
messages_link = messages_link _ "\" onclick=\"getModalPrefs('messages', 'Messages')\; return false";
messages_link = messages_link _ "\" onclick=\"getModalPrefs('messages', 'Messages', 1)\; return false";
END;
tabs.push(
{ link = messages_link, label = "Messages", sel_label = "messages" },
Expand Down

0 comments on commit 31a8e62

Please sign in to comment.