Commit in phpslash-dev on MAIN
CHANGES+6-11.159 -> 1.160
include/modules/story/Story.class+13-41.11 -> 1.12
+19-5
2 modified files
Story.class - added imageurl and rooturl tags for story.tpl,storyIndex.tpl and the story text itself.

phpslash-dev
CHANGES 1.159 -> 1.160
diff -u -r1.159 -r1.160
--- CHANGES	1 Dec 2004 18:24:08 -0000	1.159
+++ CHANGES	16 Dec 2004 22:05:36 -0000	1.160
@@ -1,4 +1,4 @@
-$Id: CHANGES,v 1.159 2004/12/01 18:24:08 lems1 Exp $
+$Id: CHANGES,v 1.160 2004/12/16 22:05:36 joestewart Exp $
 
 Changes Legend...
 
@@ -12,6 +12,11 @@
  W - General Work on something
  9 - Removal of something (kill -9 :)
 
+
+2004-December 16  Joe Stewart <joe@php-slash.org>
+[F] - Story.class - added imageurl and rooturl tags for story.tpl, 
+      storyIndex.tpl and the story text itself. 
+
 2004-November 30  Luis Mondesi <lemsx1@php-slash.org> 
 [F] - config_setup.php wizard now supports gzipped files
 

phpslash-dev/include/modules/story
Story.class 1.11 -> 1.12
diff -u -r1.11 -r1.12
--- Story.class	26 Oct 2004 19:46:06 -0000	1.11
+++ Story.class	16 Dec 2004 22:05:38 -0000	1.12
@@ -1,6 +1,6 @@
 <?php
 
-/* $Id: Story.class,v 1.11 2004/10/26 19:46:06 joestewart Exp $ */
+/* $Id: Story.class,v 1.12 2004/12/16 22:05:38 joestewart Exp $ */
 
 /* 
  * Class:   Story 
@@ -362,6 +362,10 @@
 
          $this->template->set_var(array(
 	         'SKIN'        => $this->psl['skin'],
+            'IMAGEURL'    => $this->psl['imageurl'],
+            'IMAGEDIR'    => $this->psl['imageurl'],
+            'ROOTDIR'     => $this->psl['rooturl'],
+            'ROOTURL'     => $this->psl['rooturl'],
             'STORY_ID'    => $story_id,
             'TITLEBAR'    => $titlebar,
             'TITLE'       => $ary['title'],
@@ -639,9 +643,14 @@
             }
 
             $this->template->set_var(array(
-               'STORY_ID'       => $link_argv,
-               'ROOTDIR2'       => $this->psl['rooturl'], // This is a hack: ROOTDIR disappears in comment_block
-               'THESTORY'       => $thestory
+               'STORY_ID'    => $link_argv,
+               'ROOTDIR2'    => $this->psl['rooturl'], // This is a hack: ROOTDIR disappears in comment_block
+               'SKIN'        => $this->psl['skin'],
+               'IMAGEURL'    => $this->psl['imageurl'],
+               'IMAGEDIR'    => $this->psl['imageurl'],
+               'ROOTDIR'     => $this->psl['rooturl'],
+               'ROOTURL'     => $this->psl['rooturl'],
+               'THESTORY'    => $thestory
             ));
 
             $cmtcount = $stories_ary[$i]['cmtcount'];
CVSspam 0.2.10