[geeklog-cvs] geeklog: Fixed errors reported by phpDocumentor
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sat Mar 7 18:19:43 EST 2009
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/4b2e44478dd1
changeset: 6823:4b2e44478dd1
user: Dirk Haun <dirk at haun-online.de>
date: Sat Mar 07 17:41:43 2009 +0100
description:
Fixed errors reported by phpDocumentor
diffstat:
5 files changed, 9 insertions(+), 11 deletions(-)
public_html/admin/moderation.php | 2 +-
public_html/admin/plugins/links/index.php | 6 +++---
public_html/links/index.php | 4 ++--
public_html/links/portal.php | 4 ++--
system/lib-security.php | 4 +---
diffs (92 lines):
diff -r b043e9fea72a -r 4b2e44478dd1 public_html/admin/moderation.php
--- a/public_html/admin/moderation.php Sat Mar 07 17:22:44 2009 +0100
+++ b/public_html/admin/moderation.php Sat Mar 07 17:41:43 2009 +0100
@@ -72,7 +72,7 @@
/**
* Prints the command & control block at the top
*
-* TODO: The moderation items should be displayed with the help of <ul><li>
+* TODO: The moderation items should be displayed with the help of ul/li
* instead of div's.
*
*/
diff -r b043e9fea72a -r 4b2e44478dd1 public_html/admin/plugins/links/index.php
--- a/public_html/admin/plugins/links/index.php Sat Mar 07 17:22:44 2009 +0100
+++ b/public_html/admin/plugins/links/index.php Sat Mar 07 17:41:43 2009 +0100
@@ -32,6 +32,9 @@
// | |
// +---------------------------------------------------------------------------+
+require_once '../../../lib-common.php';
+require_once '../../auth.inc.php';
+
/**
* Geeklog links administration page.
*
@@ -48,9 +51,6 @@
* @author Blaine Lang <langmail at sympatico.ca>
* @author Dirk Haun <dirk at haun-online.de>
*/
-
-require_once '../../../lib-common.php';
-require_once '../../auth.inc.php';
// Uncomment the lines below if you need to debug the HTTP variables being passed
// to the script. This will sometimes cause errors but it will allow you to see
diff -r b043e9fea72a -r 4b2e44478dd1 public_html/links/index.php
--- a/public_html/links/index.php Sat Mar 07 17:22:44 2009 +0100
+++ b/public_html/links/index.php Sat Mar 07 17:41:43 2009 +0100
@@ -34,6 +34,8 @@
// | |
// +---------------------------------------------------------------------------+
+require_once '../lib-common.php';
+
/**
* This is the links page
*
@@ -52,8 +54,6 @@
* @author Dirk Haun <dirk AT haun-online DOT de>
*
*/
-
-require_once '../lib-common.php';
if (!in_array('links', $_PLUGINS)) {
echo COM_refresh($_CONF['site_url'] . '/index.php');
diff -r b043e9fea72a -r 4b2e44478dd1 public_html/links/portal.php
--- a/public_html/links/portal.php Sat Mar 07 17:22:44 2009 +0100
+++ b/public_html/links/portal.php Sat Mar 07 17:41:43 2009 +0100
@@ -32,6 +32,8 @@
// | |
// +---------------------------------------------------------------------------+
+require_once '../lib-common.php';
+
/**
* Geeklog portal page that tracks link click throughs.
*
@@ -49,8 +51,6 @@
* @author Dirk Haun <dirk AT haun-online DOT de>
*
*/
-
-require_once '../lib-common.php';
if (!in_array('links', $_PLUGINS)) {
echo COM_refresh($_CONF['site_url'] . '/index.php');
diff -r b043e9fea72a -r 4b2e44478dd1 system/lib-security.php
--- a/system/lib-security.php Sat Mar 07 17:22:44 2009 +0100
+++ b/system/lib-security.php Sat Mar 07 17:41:43 2009 +0100
@@ -87,10 +87,8 @@
* be used once at the beginning of a page. The resulting array $_GROUPS can then be
* used through out the page.
*
-* @return array Array of group ID's user belongs to
-*
* @param int $uid User ID to get information for. If empty current user.
-* @return array Associative Array grp_name -> ug_main_grp_id
+* @return array Associative Array grp_name -> ug_main_grp_id of group ID's user belongs to
*
*/
function SEC_getUserGroups($uid='')
More information about the geeklog-cvs
mailing list