Update of /cvsroot/phpslash/phpslash-ft/class
In directory usw-pr-cvs1:/tmp/cvs-serv21234/phpslash-ft/class
Modified Files:
Block_render_cal.class
Log Message:
removed deprecated variables
Index: Block_render_cal.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/Block_render_cal.class,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Block_render_cal.class 2002/02/03 02:49:39 1.3
--- Block_render_cal.class 2002/02/06 20:46:52 1.4
***************
*** 8,16 ****
--- 8,20 ----
var $type;
var $output;
+ var $psl;
/* constructor */
function Block_render_cal() {
+ global $_PSL;
+
$this->type = "cal"; /* set the 'type' */
$this->output = ""; /* clear the output */
+ $this->psl = $_PSL;
}
***************
*** 22,28 ****
function parse($block_info) {
// TODO: Make this class use $_PSL
- global $templatedir;
! $templ = new Template($templatedir);
$templ->set_file(array(
'calendar' => "calendar.tpl"
--- 26,31 ----
function parse($block_info) {
// TODO: Make this class use $_PSL
! $templ = new Template($this->psl['templatedir']);
$templ->set_file(array(
'calendar' => "calendar.tpl"
|