[geeklog-cvs] Geeklog-1.x/plugins/links functions.inc,1.92,1.93
Dirk Haun
dhaun at qs1489.pair.com
Sat Dec 29 14:04:37 EST 2007
Update of /cvsroot/geeklog/Geeklog-1.x/plugins/links
In directory qs1489.pair.com:/tmp/cvs-serv49038/plugins/links
Modified Files:
functions.inc
Log Message:
Fixed warnings etc. Some source code cosmetics.
Index: functions.inc
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/links/functions.inc,v
retrieving revision 1.92
retrieving revision 1.93
diff -C2 -d -r1.92 -r1.93
*** functions.inc 29 Dec 2007 16:12:49 -0000 1.92
--- functions.inc 29 Dec 2007 19:04:35 -0000 1.93
***************
*** 3,7 ****
// Reminder: always indent with 4 spaces (no tabs).
// +---------------------------------------------------------------------------+
! // | Links Plugin 1.0.1 functions.inc |
// +---------------------------------------------------------------------------+
// | |
--- 3,7 ----
// Reminder: always indent with 4 spaces (no tabs).
// +---------------------------------------------------------------------------+
! // | Links Plugin 2.0 functions.inc |
// +---------------------------------------------------------------------------+
// | |
***************
*** 32,36 ****
* @package Links
* @filesource
! * @version 1.0.1
* @since GL 1.4.0
* @copyright Copyright © 2005-2007
--- 32,36 ----
* @package Links
* @filesource
! * @version 2.0
* @since GL 1.4.0
* @copyright Copyright © 2005-2007
***************
*** 1206,1210 ****
break;
case 'category':
! $indent = ($A['indent']-1) * 20;
$cat = COM_createLink(
$A['category'],
--- 1206,1214 ----
break;
case 'category':
! if (isset($A['indent'])) {
! $indent = ($A['indent'] - 1) * 20;
! } else {
! $indent = 0;
! }
$cat = COM_createLink(
$A['category'],
***************
*** 1254,1265 ****
);
$retval = "<span style=\"padding-left:{$indent}px;\">$cat</span>";
- break;
- case 'delete';
- if ($access == 3) {
- $retval = COM_createLink(
- $icon_arr['delete'],
- "{$_CONF['site_admin_url']}/plugins/links/category.php?mode=delete&cid={$A['cid']}"
- );
- }
break;
case 'addchild';
--- 1258,1261 ----
More information about the geeklog-cvs
mailing list