[geeklog-cvs] geeklog-1.3/public_html/admin story.php,1.127,1.128
dhaun at iowaoutdoors.org
dhaun at iowaoutdoors.org
Mon Aug 23 08:38:54 EDT 2004
Update of /var/cvs/geeklog-1.3/public_html/admin
In directory www:/tmp/cvs-serv13863/public_html/admin
Modified Files:
story.php
Log Message:
Found a few more places where we did not properly use the article URL when URL rewriting is on.
Index: story.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/admin/story.php,v
retrieving revision 1.127
retrieving revision 1.128
diff -C2 -d -r1.127 -r1.128
*** story.php 22 Aug 2004 17:53:22 -0000 1.127
--- story.php 23 Aug 2004 12:38:51 -0000 1.128
***************
*** 594,597 ****
--- 594,600 ----
$curtime = COM_getUserDateTimeFormat($A['unixdate']);
$story_templates->set_var('story_id', $A['sid']);
+ $story_templates->set_var ('article_url',
+ COM_buildUrl ($_CONF['site_url'] . '/article.php?story='
+ . $A['sid']));
$story_templates->set_var('row_num', $scount);
$A['title'] = str_replace('$', '$', $A['title']);
More information about the geeklog-cvs
mailing list