[Phpcms-plugins-cvs] admin4phpCMS/modules/phpcms class.module_phpcms.php,1.4,1.5
Brought to you by:
mjahn
From: Martin J. <mj...@us...> - 2004-10-01 07:09:11
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30538/modules/phpcms Modified Files: class.module_phpcms.php Log Message: basic code for tagfile-editor Index: class.module_phpcms.php =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/class.module_phpcms.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- class.module_phpcms.php 29 Sep 2004 20:10:45 -0000 1.4 +++ class.module_phpcms.php 1 Oct 2004 07:08:51 -0000 1.5 @@ -1,4 +1,4 @@ -<?php +<?php /** * Managment of the phpCMS-related administration part * @@ -28,9 +28,8 @@ /* * $Log$ -* Revision 1.4 2004/09/29 20:10:45 mjahn -* completed phpCMS-config-part [...1057 lines suppressed...] + /** * Callback function for sorting the array with the cache-entries **/ - function _sortCacheList ($a, $b) { - $dira = strpos ($a, '/') !== false; - $dirb = strpos ($b, '/') !== false; + function _sortCacheList($a, $b) { + $dira = strpos($a, '/') !== false; + $dirb = strpos($b, '/') !== false; if ($dira && !$dirb) { return -1; } if (!$dira && $dirb) { return 1; } - return strcmp ($a, $b); + return strcmp($a, $b); } // function sortCacheList } |