summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php26
1 files changed, 1 insertions, 25 deletions
diff --git a/index.php b/index.php
index 821f89b..64a9fe2 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_blogs/index.php,v 1.7 2007/03/18 18:49:58 wjames5 Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_blogs/index.php,v 1.8 2007/05/16 16:47:07 wjames5 Exp $
* @package blogss
* @subpackage functions
@@ -15,33 +15,9 @@
require_once( '../bit_setup_inc.php' );
require_once( BLOGS_PKG_PATH.'lookup_blog_inc.php');
-//"DEPRECATED - Slated for removal
-/*
-if (defined("CATEGORIES_PKG_PATH")) {
- include_once( CATEGORIES_PKG_PATH.'categ_lib.php');
-}
-*/
-
$gBitSystem->verifyPackage( 'blogs' );
$gBitSystem->verifyPermission( 'p_blogs_view' );
-//"DEPRECATED - Slated for removal
-/*
-if ($gBitSystem->isPackageActive( 'categories' )) {
- if (isset($_REQUEST['addcateg']) and $_REQUEST['addcateg'] and isset($_REQUEST['post_id']) and $_REQUEST['post_id']) {
- $categlib->categorize_blog_post($_REQUEST['post_id'],$_REQUEST['addcateg'],true);
- } elseif (isset($_REQUEST['delcategs']) and isset($_REQUEST['post_id']) and $_REQUEST['post_id']) {
- $categlib->uncategorize('blogpost',$_REQUEST['post_id']);
- }
-
- $categs = $categlib->list_all_categories(0, -1, 'name_asc', '', '', 0);
- $gBitSmarty->assign('categs',$categs['data']);
- $gBitSmarty->assign('page','index.php');
- $choosecateg = str_replace('"',"'",$gBitSmarty->fetch('bitpackage:blogs/popup_categs.tpl'));
- $gBitSmarty->assign('choosecateg',$choosecateg);
-}
-*/
-
$gBitSmarty->assign( 'showEmpty', TRUE );
$gDefaultCenter = 'bitpackage:blogs/center_list_blog_posts.tpl';
$gBitSmarty->assign_by_ref( 'gDefaultCenter', $gDefaultCenter );