diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-08-13 22:03:40 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-08-13 22:03:40 +0000 |
| commit | 7f0e5d8c62ccfbe82048f53ee7f8f0e0aaff0828 (patch) | |
| tree | a6a807d3bb4a6ab95816280b5a9c6ec85908fa7f /index.php | |
| parent | 4158723e57dcfa5f659b09109e83d2b7ce04071f (diff) | |
| download | articles-7f0e5d8c62ccfbe82048f53ee7f8f0e0aaff0828.tar.gz articles-7f0e5d8c62ccfbe82048f53ee7f8f0e0aaff0828.tar.bz2 articles-7f0e5d8c62ccfbe82048f53ee7f8f0e0aaff0828.zip | |
more work on getting articles going
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -1,5 +1,5 @@ <?php -// $Header: /cvsroot/bitweaver/_bit_articles/index.php,v 1.1 2005/06/30 01:10:45 bitweaver Exp $ +// $Header: /cvsroot/bitweaver/_bit_articles/index.php,v 1.2 2005/08/13 22:03:39 squareing Exp $ // Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al. // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. @@ -17,13 +17,10 @@ if (!empty($_REQUEST['article_id'])) { header("location: ".ARTICLES_PKG_URL."read.php?article_id=".((int)$_REQUEST['article_id'])); } -/*require_once( ARTICLES_PKG_PATH.'lookup_article_inc.php' ); +require_once( ARTICLES_PKG_PATH.'lookup_article_inc.php' ); $articles = $gContent->getList($_REQUEST); -$smarty->assign_by_ref('articles', $articles); - -*/ - +$smarty->assign_by_ref('articles', $articles['data']); // Display the template $gBitSystem->display( 'bitpackage:articles/center_list_articles.tpl', tra('Articles') ); |
