[Phpslash-commit] [CVS phpslash-dev] code cleanups
Brought to you by:
joestewart,
nhruby
From: Luis M <le...@us...> - 2005-04-28 05:21:00
|
Commit in phpslash-dev/include/modules/story on MAIN Story.class +4 -4 1.15 -> 1.16 <pre class="comment"> code cleanups </pre> <hr /><a name="file1" /><div class="file"> <span class="pathname">phpslash-dev/include/modules/story<br /></span> <div class="fileheader"><big><b>Story.class</b></big> <small id="info">1.15 -> 1.16</small></div> <pre class="diff"><small id="info">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 @@ </small></pre><pre class="diff" id="context"> <?php </pre><pre class="diff" id="removed">-/* $Id: Story.class,v 1.1<span id="removedchars">5 2005/04/28 04:36:34</span> lems1 Exp $ */ </pre><pre class="diff" id="added">+/* $Id: Story.class,v 1.1<span id="addedchars">6 2005/04/28 05:20:49</span> lems1 Exp $ */ </pre><pre class="diff" id="context"> /* * Class: Story </pre><pre class="diff"><small id="info">@@ -225,7 +225,7 @@ </small></pre><pre class="diff" id="context"> $arrows .= "<a href=\"$turl\">$prevtitle</a> | "; } if ($this->psl['module']['Comment']) { </pre><pre class="diff" id="removed">- $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> "; </pre><pre class="diff" id="added">+ <span id="addedchars"> </span>$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> "; </pre><pre class="diff" id="context"> } if (isset($nexttitle)) { $turl = $this->psl['phpself'] . "?story_id=$nextsid" . $link_argv; </pre><pre class="diff"><small id="info">@@ -365,7 +365,7 @@ </small></pre><pre class="diff" id="context"> $titlebar = getTitleBar("100%", $ary['title']); $this->template->set_var(array( </pre><pre class="diff" id="removed">- <span id="removedchars"> </span>'SKIN' => $this->psl['skin'], </pre><pre class="diff" id="added">+ 'SKIN' => $this->psl['skin'], </pre><pre class="diff" id="context"> 'IMAGEURL' => $this->psl['imageurl'], 'IMAGEDIR' => $this->psl['imageurl'], 'ROOTDIR' => $this->psl['rooturl'], </pre><pre class="diff"><small id="info">@@ -437,7 +437,7 @@ </small></pre><pre class="diff" id="context"> 'RELATED' => $related )); } </pre><pre class="diff" id="removed">- if ( $this->psl['article_updatehits'] <span id="removedchars">== "true" </span>) </pre><pre class="diff" id="added">+ if ( $this->psl['article_updatehits'] ) </pre><pre class="diff" id="context"> { $sql_article_update_hits = "UPDATE psl_story set hits=hits+1 where story_id=$story_id"; $this->db->query($sql_article_update_hits); </pre></div> http://www.badgers-in-foil.co.uk/projects/cvsspam/ - CVSspam - 0.2.10 |