Commit in phpslash-dev/include/modules/story on MAIN
Story.class+4-41.15 -> 1.16
code cleanups

phpslash-dev/include/modules/story
Story.class 1.15 -> 1.16
diff -u -r1.15 -r1.16
--- Story.class	28 Apr 2005 04:36:34 -0000	1.15
+++ Story.class	28 Apr 2005 05:20:49 -0000	1.16
@@ -1,6 +1,6 @@
 <?php
 
-/* $Id: Story.class,v 1.15 2005/04/28 04:36:34 lems1 Exp $ */
+/* $Id: Story.class,v 1.16 2005/04/28 05:20:49 lems1 Exp $ */
 
 /* 
  * Class:   Story 
@@ -225,7 +225,7 @@
                $arrows .= "<a href=\"$turl\">$prevtitle</a> | ";
             }
             if ($this->psl['module']['Comment']) {
-            $arrows .= "<a href=\"" . $this->psl['rooturl'] . "/index.php?submit=post" . $this->psl['amp'] . "story_id=$story_id" . $this->psl['amp'] . "parent_id=0\"><b>" . pslgetText("Reply") . "</b></a> ";
+               $arrows .= "<a href=\"" . $this->psl['rooturl'] . "/index.php?submit=post" . $this->psl['amp'] . "story_id=$story_id" . $this->psl['amp'] . "parent_id=0\"><b>" . pslgetText("Reply") . "</b></a> ";
             }
             if (isset($nexttitle)) {
                $turl = $this->psl['phpself'] . "?story_id=$nextsid" . $link_argv;
@@ -365,7 +365,7 @@
          $titlebar = getTitleBar("100%", $ary['title']);
 
          $this->template->set_var(array(
-	         'SKIN'        => $this->psl['skin'],
+	    'SKIN'        => $this->psl['skin'],
             'IMAGEURL'    => $this->psl['imageurl'],
             'IMAGEDIR'    => $this->psl['imageurl'],
             'ROOTDIR'     => $this->psl['rooturl'],
@@ -437,7 +437,7 @@
             'RELATED' => $related
          ));
       }
-      if ( $this->psl['article_updatehits'] == "true" )
+      if ( $this->psl['article_updatehits'] )
       {
         $sql_article_update_hits = "UPDATE psl_story set hits=hits+1 where story_id=$story_id";
         $this->db->query($sql_article_update_hits);
CVSspam 0.2.10