[geeklog-cvs] Geeklog-1.x/plugins/links functions.inc,1.96,1.97
Dirk Haun
dhaun at qs1489.pair.com
Tue Jan 1 07:33:50 EST 2008
Update of /cvsroot/geeklog/Geeklog-1.x/plugins/links
In directory qs1489.pair.com:/tmp/cvs-serv90553/plugins/links
Modified Files:
functions.inc
Log Message:
Removed category redirect via portal.php. There's no hits counter for categories, so what's the point?
Index: functions.inc
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/links/functions.inc,v
retrieving revision 1.96
retrieving revision 1.97
diff -C2 -d -r1.96 -r1.97
*** functions.inc 31 Dec 2007 17:56:52 -0000 1.96
--- functions.inc 1 Jan 2008 12:33:48 -0000 1.97
***************
*** 34,38 ****
* @version 2.0
* @since GL 1.4.0
! * @copyright Copyright © 2005-2007
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @author Trinity Bays <trinity93 AT steubentech DOT com>
--- 34,38 ----
* @version 2.0
* @since GL 1.4.0
! * @copyright Copyright © 2005-2008
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @author Trinity Bays <trinity93 AT steubentech DOT com>
***************
*** 1488,1493 ****
if ($cid != $c) {
$content = stripslashes($A['category']);
! $url = $_CONF['site_url'] . '/links/portal.php?what=category&item=' . urlencode($A['cid']);
! $breadcrumb = COM_createLink($content, $url) . $separator . $breadcrumb;
} else {
$breadcrumb = $A['category'] . $breadcrumb;
--- 1488,1495 ----
if ($cid != $c) {
$content = stripslashes($A['category']);
! $url = $_CONF['site_url'] . '/links/index.php?category='
! . urlencode($A['cid']);
! $breadcrumb = COM_createLink($content, $url) . $separator
! . $breadcrumb;
} else {
$breadcrumb = $A['category'] . $breadcrumb;
***************
*** 1564,1568 ****
$A = DB_fetchArray($result);
$content = stripslashes($A['category']);
! $url = $_CONF['site_url'] . '/links/portal.php?what=category&item=' . urlencode($A['cid']);
$retval .= COM_createLink($content, $url) . '<br' . XHTML . '>';
}
--- 1566,1571 ----
$A = DB_fetchArray($result);
$content = stripslashes($A['category']);
! $url = $_CONF['site_url'] . '/links/index.php?category='
! . urlencode($A['cid']);
$retval .= COM_createLink($content, $url) . '<br' . XHTML . '>';
}
More information about the geeklog-cvs
mailing list