summaryrefslogtreecommitdiff
path: root/list_topics.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2005-09-02 20:57:50 +0000
committerMax Kremmel <xing@synapse.plus.com>2005-09-02 20:57:50 +0000
commitd60da47b0732a2b8a0e6019f54326895076253a3 (patch)
tree3fb589e4861e027e152a88634def0b43a18652eb /list_topics.php
parent3e7d9c4354f1006c444ac17912f901b95adc4cc2 (diff)
downloadarticles-d60da47b0732a2b8a0e6019f54326895076253a3.tar.gz
articles-d60da47b0732a2b8a0e6019f54326895076253a3.tar.bz2
articles-d60da47b0732a2b8a0e6019f54326895076253a3.zip
topics list page used to filter articles by topic
Diffstat (limited to 'list_topics.php')
-rw-r--r--list_topics.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/list_topics.php b/list_topics.php
new file mode 100644
index 0000000..d824142
--- /dev/null
+++ b/list_topics.php
@@ -0,0 +1,16 @@
+<?php
+// $Header: /cvsroot/bitweaver/_bit_articles/list_topics.php,v 1.1 2005/09/02 20:57:50 squareing Exp $
+require_once( '../bit_setup_inc.php' );
+
+include_once( ARTICLES_PKG_PATH.'BitArticle.php' );
+include_once( ARTICLES_PKG_PATH.'lookup_article_topic_inc.php' );
+
+// Is package installed and enabled
+$gBitSystem->verifyPackage( 'articles' );
+
+$topics = BitArticleTopic::listTopics();
+
+$gBitSmarty->assign( 'topics', $topics );
+
+$gBitSystem->display( 'bitpackage:articles/list_topics.tpl', tra( 'List Topics' ) );
+?>