summaryrefslogtreecommitdiff
path: root/edit.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-01-27 21:54:47 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-01-27 21:54:47 +0000
commit083b84aece5643d7f4c708a0a455556051786ad9 (patch)
tree2547c15d3e363521f5cbd6b00373d25183fc7de5 /edit.php
parent0b9692b002b4562fb5e360335c562c4696a8af5c (diff)
downloadarticles-083b84aece5643d7f4c708a0a455556051786ad9.tar.gz
articles-083b84aece5643d7f4c708a0a455556051786ad9.tar.bz2
articles-083b84aece5643d7f4c708a0a455556051786ad9.zip
replace old code with new versions - we need to stop babysitting outdated code
Diffstat (limited to 'edit.php')
-rw-r--r--edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/edit.php b/edit.php
index 31848df..bc0ee37 100644
--- a/edit.php
+++ b/edit.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_articles/edit.php,v 1.18 2006/01/14 19:53:53 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_articles/edit.php,v 1.19 2006/01/27 21:54:47 squareing Exp $
* @package article
* @subpackage functions
*/
@@ -90,7 +90,7 @@ $gBitSmarty->assign_by_ref( 'topics', $topics );
$types = BitArticleType::getTypeList();
$gBitSmarty->assign_by_ref( 'types', $types );
-/*if ( $feature_cms_templates == 'y' && $bit_p_use_content_templates == 'y' ) {
+/*if ( $gBitSystem->isFeatureActive( 'feature_cms_templates' ) && $gBitUser->hasPermission( 'bit_p_use_content_templates ) ) {
$templates = $tikilib->list_templates( 'cms', 0, -1, 'name_asc', '' );
}*/
$gBitSmarty->assign_by_ref( 'templates', $templates["data"] );