[geeklog-cvs] Geeklog-1.x/public_html/links index.php,1.28,1.29
Dirk Haun
dhaun at qs1489.pair.com
Tue Jan 1 07:44:59 EST 2008
Update of /cvsroot/geeklog/Geeklog-1.x/public_html/links
In directory qs1489.pair.com:/tmp/cvs-serv90976/public_html/links
Modified Files:
index.php
Log Message:
Hide "Report Broken Links" option from people with 'links.edit' permissions since they can fix the problem themselves right away.
Index: index.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/links/index.php,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** index.php 31 Dec 2007 17:56:53 -0000 1.28
--- index.php 1 Jan 2008 12:44:57 -0000 1.29
***************
*** 330,334 ****
$html = COM_createLink($content, $url, $attr);
$template->set_var ('link_html', $html);
! if (isset ($_USER['uid']) && ($_USER['uid'] > 1)) {
$reporturl = $_CONF['site_url']
. '/links/index.php?mode=report&lid=' . $A['lid'];
--- 330,334 ----
$html = COM_createLink($content, $url, $attr);
$template->set_var ('link_html', $html);
! if (!COM_isAnonUser() && !SEC_hasRights('links.edit')) {
$reporturl = $_CONF['site_url']
. '/links/index.php?mode=report&lid=' . $A['lid'];
More information about the geeklog-cvs
mailing list