Update of /cvsroot/phpslash/phpslash-ft/class
In directory usw-pr-cvs1:/tmp/cvs-serv31653/phpslash-ft/class
Modified Files:
Story.class functions.inc
Log Message:
STORY_ID available to storyIndex.tpl
Index: Story.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/Story.class,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** Story.class 2001/12/14 03:58:18 1.26
--- Story.class 2002/01/11 16:30:22 1.27
***************
*** 305,309 ****
$this->template->set_var(array(
! TITLEBAR => $titlebar,
TITLE => $ary[title],
INTRO_TEXT => $ary[intro_text],
--- 305,311 ----
$this->template->set_var(array(
! SKIN => $this->psl[skin],
! STORY_ID => $story_id,
! TITLEBAR => $titlebar,
TITLE => $ary[title],
INTRO_TEXT => $ary[intro_text],
***************
*** 456,459 ****
--- 458,462 ----
$this->template->set_var(array(
+ SKIN => $this->psl[skin],
TITLEBAR => $titlebar,
TITLE => $stories_ary[$i][title],
Index: functions.inc
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/functions.inc,v
retrieving revision 1.87
retrieving revision 1.88
diff -C2 -d -r1.87 -r1.88
*** functions.inc 2002/01/05 20:45:44 1.87
--- functions.inc 2002/01/11 16:30:22 1.88
***************
*** 148,157 ****
$stempl->set_var(array(
! IMAGEDIR => $_PSL[imageurl]
! ));
!
! $stempl->set_var(array(
! WIDTH => $width,
! TITLE => $title
));
$stempl->parse(TITLE, "titlebar");
--- 148,155 ----
$stempl->set_var(array(
! SKIN => $_PSL[skin],
! IMAGEDIR => $_PSL[imageurl],
! WIDTH => $width,
! TITLE => $title
));
$stempl->parse(TITLE, "titlebar");
***************
*** 209,212 ****
--- 207,211 ----
$templ->set_var(array(
+ SKIN => $_PSL[skin],
WIDTH => $width,
ALIGN => $align,
|