Hi, I am Wim and relatively new on this forum and I made a small customization to display a "Staff Login" on the Home Page so you don't have to type the "/scp/admin.php" every time in your browser. Also in the last step Modify the Left-upper Logo on the Staff page to bring you back to the main page.
1. in file /include/client/header.inc.php
*1 - Change:
<?
if($thisclient && is_object($thisclient) && $thisclient->isValid()) {?>
*1 - To:
Staff Login
<?
if($thisclient && is_object($thisclient) && $thisclient->isValid()) {?>
2. in file /scp/css/main.css
*2 - Change:
#nav a.staff { background(../images/icons/list_groups.gif) 0 5px no-repeat #ececec; }
#nav a.user { background(../images/icons/list_users.gif) 0 5px no-repeat #ececec; }
*2 - To:
#nav a.staff { background(../images/icons/list_groups.gif) 0 5px no-repeat #ececec; }
#nav a.login_staff { background(../images/staff_login.gif) 0 5px no-repeat; }
#nav a.user { background(../images/icons/list_users.gif) 0 5px no-repeat #ececec; }
3. in file /styles/main.css
*3 - Change:
#nav a.home { background(../images/home.gif) 0 5px no-repeat; }
#nav a.new_ticket { background(../images/new_ticket.gif) 0 5px no-repeat; }
*3 - To:
#nav a.home { background(../images/home.gif) 0 5px no-repeat; }
#nav a.login_staff { background(../images/staff_login.gif) 0 5px no-repeat; }
#nav a.new_ticket { background(../images/new_ticket.gif) 0 5px no-repeat; }
4. in folder /images
add staff_login.gif
5. in file /include/staff/header.inc.php
*5 - Change:
Welcome back, <?=$thisuser->getUsername()?>
*5 - To:
Welcome back, <?=$thisuser->getUsername()?>