Skip to content

Commit

Permalink
TWEAK: Tidied up admin menubar
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/phpsurveyor@2056 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Sep 5, 2006
1 parent 98ebacf commit 0a227cd
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions common.php
Expand Up @@ -199,6 +199,9 @@ function showadminmenu()
."title=''" ."align='left'></a>\n"
. "\t\t\t\t\t<img src='$imagefiles/blank.gif' alt='' width='2' align='left'>\n";

$adminmenu .= "\t\t\t\t\t<img src='$imagefiles/blank.gif' alt='' width='11' align='left'>\n"
. "\t\t\t\t\t<img src='$imagefiles/seperator.gif' alt='' align='left'>\n";

// if not logged in show login icon
if(!isset($_SESSION['loginID']))
{
Expand All @@ -217,9 +220,6 @@ function showadminmenu()
"<img src='$imagefiles/logout.png' name='Logout'"
." title='' alt='"._("Logout")."' align='left'></a>";
}

$adminmenu .= "\t\t\t\t\t<img src='$imagefiles/blank.gif' alt='' width='11' align='left'>\n"
. "\t\t\t\t\t<img src='$imagefiles/seperator.gif' alt='' align='left'>\n";

// edit users
$adminmenu .= "\t\t\t\t\t<a href=\"#\" onClick=\"window.open('$scriptname?action=editusers', '_top')\"" .
Expand Down Expand Up @@ -291,8 +291,6 @@ function showadminmenu()
. "onmouseover=\"showTooltip(event,'"._("Edit/Add Label Sets")."');return false\">" .
"<img src='$imagefiles/labels.png' align='left' name='LabelsEditor' title='"
. _("Edit/Add Label Sets")."' alt='". _("Edit/Add Label Sets")."'></a>\n"
. "\t\t\t\t\t<img src='$imagefiles/seperator.gif' alt='' align='left' border='0' hspace='0'>\n"
. "\t\t\t\t\t<img src='$imagefiles/blank.gif' alt='' width='40' align='left'>\n"
. "\t\t\t\t\t<img src='$imagefiles/seperator.gif' alt='' align='left' border='0' hspace='0'>\n";
}
if(isset($_SESSION['USER_RIGHT_CREATE_TEMPLATE']))
Expand Down

0 comments on commit 0a227cd

Please sign in to comment.