Update of /cvsroot/phpslash/phpslash-ft/public_html
In directory usw-pr-cvs1:/tmp/cvs-serv13956/phpslash-ft/public_html
Modified Files:
article.php3
Log Message:
breadcrumb in article page
Index: article.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/article.php3,v
retrieving revision 1.58
retrieving revision 1.59
diff -C2 -d -r1.58 -r1.59
*** article.php3 3 Feb 2002 22:09:12 -0000 1.58
--- article.php3 11 Feb 2002 18:24:56 -0000 1.59
***************
*** 24,27 ****
--- 24,32 ----
}
+ // correction for register_globals OFF
+ $story_id = $ary['story_id'];
+ $submit = $ary['submit'];
+
+
if ((!$section) AND (!$section)) {
$section = $_PSL[site_homesection];
***************
*** 79,95 ****
default:
! if (!isset($parent_id)) {
! $parent_id = 0;
}
$t->set_file(article, "article.tpl");
!
$_PSL['metatags']['object'] = $xsiteobject;
// override description metatag to include first 150 chars of article
$_PSL['metatags']['description'] = substr(strip_tags($story->story_ary["intro_text"]), 0, 150);
- // $header = getHeader($ttitle,$_PSL['metatags']);
- // $footer = getFooter();
-
// $titlebar = getTitlebar("100%", $title); // here if you need it.
--- 84,99 ----
default:
! if (!isset($ary['parent_id'])) {
! $ary['parent_id'] = 0;
}
$t->set_file(article, "article.tpl");
!
! $breadcrumb = breadcrumb($ary);
!
$_PSL['metatags']['object'] = $xsiteobject;
// override description metatag to include first 150 chars of article
$_PSL['metatags']['description'] = substr(strip_tags($story->story_ary["intro_text"]), 0, 150);
// $titlebar = getTitlebar("100%", $title); // here if you need it.
***************
*** 128,135 ****
/* Now the comments */
! $cmtary['mode'] = $mode;
! $cmtary['order'] = $order;
! $cmtary['story_id'] = $story_id;
! $cmtary['parent_id'] = $parent_id;
$cmt = new Comment($cmtary);
$comments = $cmt->getAllComments($cmtary);
--- 132,139 ----
/* Now the comments */
! $cmtary['mode'] = $ary['mode'];
! $cmtary['order'] = $ary['order'];
! $cmtary['story_id'] = $ary['story_id'];
! $cmtary['parent_id'] = $ary['parent_id'];
$cmt = new Comment($cmtary);
$comments = $cmt->getAllComments($cmtary);
|