[Phpslash-commit] CVS: phpslash-ft/class Block_render_skin.class,1.5,1.6
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2002-05-30 16:00:20
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory usw-pr-cvs1:/tmp/cvs-serv7746/phpslash-ft/class Modified Files: Block_render_skin.class Log Message: QUERY_STRING tweaks Index: Block_render_skin.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/Block_render_skin.class,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Block_render_skin.class 5 Mar 2002 16:50:57 -0000 1.5 --- Block_render_skin.class 30 May 2002 16:00:17 -0000 1.6 *************** *** 73,76 **** --- 73,82 ---- } + if( !empty($GLOBALS['QUERY_STRING'])) { + $QUERY_STRING = $GLOBALS['QUERY_STRING']. $this->psl['amp']; + } else { + $QUERY_STRING = ''; + } + $template = new Template($templatedir . "/" . $skin); $template->debug = 0; *************** *** 80,83 **** --- 86,90 ---- $template->set_block ("block", "each_skin", "skin_block"); $template->set_var (array ( + 'QUERYSTRING' => $QUERY_STRING, 'SKIN' => "", 'ROOTDIR' => $this->psl['rooturl'], |