summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorlaetzer <laetzer@users.sourceforge.net>2008-09-12 00:39:08 +0000
committerlaetzer <laetzer@users.sourceforge.net>2008-09-12 00:39:08 +0000
commit03de4bc012a14da7b8303e6329a4b8991303b430 (patch)
tree49847c81b625b00a25306e5c919858ddb5396c21 /modules
parented86a4dafaf93f565375c19121e669f0fb902b8a (diff)
downloadfisheye-03de4bc012a14da7b8303e6329a4b8991303b430.tar.gz
fisheye-03de4bc012a14da7b8303e6329a4b8991303b430.tar.bz2
fisheye-03de4bc012a14da7b8303e6329a4b8991303b430.zip
allow custom title
Diffstat (limited to 'modules')
-rw-r--r--modules/mod_images.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/mod_images.php b/modules/mod_images.php
index c5fc4df..1d529f9 100644
--- a/modules/mod_images.php
+++ b/modules/mod_images.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/modules/mod_images.php,v 1.12 2008/04/30 14:24:04 bitweaver Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/modules/mod_images.php,v 1.13 2008/09/12 00:39:08 laetzer Exp $
* @package fisheye
* @subpackage modules
*/
@@ -51,7 +51,7 @@ if( $display ) {
$images = $image->getList( $listHash );
- if( empty( $module_title ) && $images ) {
+ if( empty( $title ) && $images ) {
$moduleTitle = '';
if( !empty( $module_params['sort_mode'] ) ) {
if( $module_params['sort_mode'] == 'random' ) {
@@ -77,7 +77,7 @@ if( $display ) {
$listHash['sort_mode'] = $sort_mode;
$gBitSmarty->assign( 'moduleTitle', $moduleTitle );
} else {
- $gBitSmarty->assign( 'moduleTitle', (!empty( $module_title ) ? $module_title : '') );
+ $gBitSmarty->assign( 'moduleTitle', $title );
}
$gBitSmarty->assign( 'imageSort', $sort_mode );