git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11385
7612ce4b-ef26-0410-bec9-
ea0150e637f0
**/
function list_css_files($cssdir,$cssroot) {
if (!$cssroot OR !$cssdir) return false;
**/
function list_css_files($cssdir,$cssroot) {
if (!$cssroot OR !$cssdir) return false;
if ($dh = opendir($cssdir)) {
while (($file = readdir($dh)) !== false) {
if ((strlen($file)>3) AND strtolower(substr($file,strlen($file)-3,3))=='css') {
if ($dh = opendir($cssdir)) {
while (($file = readdir($dh)) !== false) {
if ((strlen($file)>3) AND strtolower(substr($file,strlen($file)-3,3))=='css') {
// sort($files);
return $files;
}
// sort($files);
return $files;
}
+ * Revision 1.2 2006/07/09 22:37:35 vanmer
+ * - added variable initalization and check on variable
+ *
* Revision 1.1 2006/07/09 22:23:03 vanmer
* - intial revision of a template to display CSS links at the top of the page
*
* Revision 1.1 2006/07/09 22:23:03 vanmer
* - intial revision of a template to display CSS links at the top of the page
*