[geeklog-cvs] geeklog: Merge with Dirk's changes.

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Wed Mar 10 09:14:43 EST 2010


changeset 7777:542470fa726d
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/542470fa726d
user: Tom <websitemaster at cogeco.net>
date: Wed Mar 10 09:13:29 2010 -0500
description:
Merge with Dirk's changes.

diffstat:

 plugins/links/functions.inc |  15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r 7e8f25e5d425 -r 542470fa726d plugins/links/functions.inc
--- a/plugins/links/functions.inc	Wed Mar 10 08:57:23 2010 -0500
+++ b/plugins/links/functions.inc	Wed Mar 10 09:13:29 2010 -0500
@@ -1256,15 +1256,24 @@
 
 /*
 * Build selection list
+*
+* @param    int     $access access permissions (3 = read/edit, 2 = read only)
+* @param    string  $sel    current selection
+* @return   string          HTML for select list
+*
 */
-function links_select_box ($access, $sel = '')
+function links_select_box($access, $sel = '')
 {
     global $_CONF, $LANG_LINKS, $_LI_CONF;
 
     // set root value
-    $menu = '<option value="' . $_LI_CONF['root'] . '">' . $LANG_LINKS['root'] . '</option>';
+    $menu = '<option value="' . $_LI_CONF['root'] . '">' . $LANG_LINKS['root']
+          . '</option>';
+
     // get option values
-    $list = links_select_box_recursive($menu, $_LI_CONF['root'], $sel, '  ', $access);
+    $list = links_select_box_recursive($menu, $_LI_CONF['root'], $sel,
+                                       '  ', $access);
+
     // return list of options
     return $list;
 }



More information about the geeklog-cvs mailing list