[geeklog-cvs] geeklog: Cosmetics - better fake

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Mon Jan 5 05:06:37 EST 2009


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/83b0e1e24d5b
changeset: 6606:83b0e1e24d5b
user:      Dirk Haun <dirk at haun-online.de>
date:      Sun Dec 28 20:12:04 2008 +0100
description:
Cosmetics - better fake

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
public_html/admin/plugins.php |    4 ++--

diffs (21 lines):

diff -r 61917ffc519d -r 83b0e1e24d5b public_html/admin/plugins.php
--- a/public_html/admin/plugins.php	Sun Dec 28 20:06:56 2008 +0100
+++ b/public_html/admin/plugins.php	Sun Dec 28 20:12:04 2008 +0100
@@ -2,7 +2,7 @@
 
 /* Reminder: always indent with 4 spaces (no tabs). */
 // +---------------------------------------------------------------------------+
-// | Geeklog 1.5                                                               |
+// | Geeklog 1.6                                                               |
 // +---------------------------------------------------------------------------+
 // | plugins.php                                                               |
 // |                                                                           |
@@ -1049,7 +1049,7 @@
 
     if (empty($retval)) {
         // give up and fake it
-        $retval = strtoupper($plugin{0}) . substr($plugin, 1);
+        $retval = ucwords(str_replace('_', ' ', $plugin));
     }
 
     return $retval;



More information about the geeklog-cvs mailing list