[Phpslash-commit] CVS: phpslash-ft/class Block_render_skin.class,1.3,1.4
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2002-02-07 21:19:59
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory usw-pr-cvs1:/tmp/cvs-serv18613/phpslash-ft/class Modified Files: Block_render_skin.class Log Message: skin name and template path fix Index: Block_render_skin.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/Block_render_skin.class,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Block_render_skin.class 6 Feb 2002 18:47:43 -0000 1.3 --- Block_render_skin.class 7 Feb 2002 21:19:54 -0000 1.4 *************** *** 61,66 **** // remove "skin" from templatedir ! $templatedir = str_replace( $skin, "" , $this->psl['templatedir']); ! // $tpl = ""; // disable template option if( empty($tpl) ) { --- 61,66 ---- // remove "skin" from templatedir ! $templatedir = substr( $this->psl['templatedir'], 0, strrpos($this->psl['templatedir'], "/") ); ! // $tpl = ""; // disable template option if( empty($tpl) ) { |