
August 30th, 2006, 05:33 PM
|
|
|
|
Join Date: Apr 2007
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
add link to ltwmonthdisplay.php
howdy,
i've been using the ltwcalendar with no problems until now. I want to add a link next to the "DB" link for all users who have admin access. But being a newbie to PHP, I can't make the code work, nor understand the whole segment.
I want to add "projectlist.php" to the code in the ltwmonthdisplay.php file, next to "DB", but it ain't working. I haven't found a solution in the forum, et.al., and have given up.
Could anyone tell me how to do it right? the code is below
php Code:
Original
- php Code |
|
|
|
if ( $this->auth->user->getPrivledge(UPADMIN) ){ $this->_popup_link ("admin", $this-> php_self. "?display=admin&task=categories", "<font class="cal-admin- link">categories</font>"); $this->_popup_link ("admin", $this-> php_self. "?display=admin&task=users", "<font class="cal-admin- link">users</font>"); $this->_popup_link ("admin", $this-> php_self. "?display=admin&task=dbmaint", "<font class="cal-admin- link">db</font>"); $this->_popup_link ("admin", $this-> "projectList.php", "<font class="cal-admin- link">Projects</font>"); }
|