* -------------------------------------------------------------------- *
* Kurzbeschreibung : Spezielle Funktion fuer rallye-Erweiterung *
* -------------------------------------------------------------------- *
- * $Revision:: 856 $ *
- * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009) $ *
+ * $Revision:: $ *
+ * $Date:: $ *
* $Tag:: 0.2.1-FINAL $ *
- * $Author:: stelzi $ *
+ * $Author:: $ *
* Needs to be in all Files and every File needs "svn propset *
* svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
$OUT = ""; $ral = array();
$BASE = sprintf("%stemplates/%s/html/rallye/", constant('PATH'), GET_LANGUAGE());
$dir = opendir($BASE);
- while ($read = readdir($dir))
- {
+ while ($read = readdir($dir)) {
// If it is no dir (so a file)
- if (!is_dir($BASE.$read))
- {
+ if (!isDirectory($BASE.$read)) {
// Accept only templates matching with rallye_????.tpl.xx
if (eregi("^rallye_.*\.tpl", $read))
{