summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorlaetzer <laetzer@users.sourceforge.net>2008-09-02 05:26:59 +0000
committerlaetzer <laetzer@users.sourceforge.net>2008-09-02 05:26:59 +0000
commit3e616704ab53addac2e091067908564468b9a8b6 (patch)
tree8d5163349011a1833ec9f6ee8483fac865b9024e /modules
parent43d87405ca4ed691bc27e463130e63979112fdee (diff)
downloadliberty-3e616704ab53addac2e091067908564468b9a8b6.tar.gz
liberty-3e616704ab53addac2e091067908564468b9a8b6.tar.bz2
liberty-3e616704ab53addac2e091067908564468b9a8b6.zip
strange title overruling disabled
Diffstat (limited to 'modules')
-rw-r--r--modules/mod_top_authors.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/mod_top_authors.php b/modules/mod_top_authors.php
index 0a5de4b..89292f1 100644
--- a/modules/mod_top_authors.php
+++ b/modules/mod_top_authors.php
@@ -1,5 +1,5 @@
<?php
-// $Header: /cvsroot/bitweaver/_bit_liberty/modules/mod_top_authors.php,v 1.6 2008/07/25 08:20:37 bitweaver Exp $
+// $Header: /cvsroot/bitweaver/_bit_liberty/modules/mod_top_authors.php,v 1.7 2008/09/02 05:26:59 laetzer Exp $
/**
* Params:
* - content_type_guid : if set, show only those content_type_guid's
@@ -10,6 +10,7 @@
global $gQueryUser, $gBitUser, $gLibertySystem, $moduleParams;
extract( $moduleParams );
+/* this doesn't work as expected. without it, the user can fill in the title himself
if( empty( $module_title ) ) {
if( !empty( $module_params['content_type_guid'] ) && !empty( $gLibertySystem->mContentTypes[$module_params['content_type_guid']] ) ) {
$title = tra( "Top Authors" ).': '.tra( $gLibertySystem->mContentTypes[$module_params['content_type_guid']]['content_description'] );
@@ -19,7 +20,7 @@ if( empty( $module_title ) ) {
}
$gBitSmarty->assign( 'moduleTitle', $title );
}
-
+*/
$listHash = $_REQUEST;
if( !empty( $module_params['content_type_guid'] ) ) {