[Tutos-commits] tutos/php/layout theme_base.pinc,1.10,1.11
Projects / CRM / PLM / Calendar / Tasks / SCRUM / Test / Inventory
Brought to you by:
gokohnert
|
From: Gero K. <gok...@us...> - 2008-03-12 08:37:09
|
Update of /cvsroot/tutos/tutos/php/layout In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv5702/php/layout Modified Files: theme_base.pinc Log Message: updates Index: theme_base.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/layout/theme_base.pinc,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- theme_base.pinc 5 Apr 2007 10:48:30 -0000 1.10 +++ theme_base.pinc 12 Mar 2008 08:37:11 -0000 1.11 @@ -27,6 +27,7 @@ define ('delete',17); define ('view',18); define ('perm',19); +define ('task',20); /** * @@ -70,8 +71,12 @@ $fn = $tutos['base'] ."/html/". $this->name ."/". $fn .".gif"; } else if ( file_exists(getcwd()."/".$tutos['base'] ."/html/". $this->name ."/". $fn .".jpg") ) { $fn = $tutos['base'] ."/html/". $this->name ."/". $fn .".jpg"; + } else if ( file_exists(getcwd()."/".$tutos['base'] ."/html/". $fn .".png") ) { + $fn = $tutos['base'] ."/html/". $fn .".png"; } else if ( file_exists(getcwd()."/".$tutos['base'] ."/html/". $fn .".gif") ) { $fn = $tutos['base'] ."/html/". $fn .".gif"; + } else if ( file_exists(getcwd()."/".$tutos['base'] ."/html/". $fn .".jpg") ) { + $fn = $tutos['base'] ."/html/". $fn .".jpg"; } else { return ""; } @@ -96,6 +101,7 @@ $this->i[delete] = $this->findImage('delete'); $this->i[view] = $this->findImage('view'); $this->i[perm] = $this->findImage('perm'); + $this->i[task] = $this->findImage('task'); $this->a[up] = "UP"; $this->a[down] = "DOWN"; @@ -132,4 +138,4 @@ # return "@ $type @"; } } -?> \ No newline at end of file +?> |