diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-15 16:38:37 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-15 16:38:37 +0100 |
| commit | 0ef0a7243fb712183321fdb6bb886fb5d79b0eb4 (patch) | |
| tree | 445fe4fcdafc2742992c225f8bfdd38654cf3b55 /templates | |
| parent | f495ecf3dafc02d138d0f9282bfd4f0761e5512d (diff) | |
| download | fisheye-0ef0a7243fb712183321fdb6bb886fb5d79b0eb4.tar.gz fisheye-0ef0a7243fb712183321fdb6bb886fb5d79b0eb4.tar.bz2 fisheye-0ef0a7243fb712183321fdb6bb886fb5d79b0eb4.zip | |
Namespace fixes
Diffstat (limited to 'templates')
| -rwxr-xr-x | templates/center_image_comments.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/center_image_comments.php b/templates/center_image_comments.php index 4de7b87..2d93e20 100755 --- a/templates/center_image_comments.php +++ b/templates/center_image_comments.php @@ -9,6 +9,7 @@ * A specialized version of liberty/modules/mod_last_comments.php for fisheye */ use Bitweaver\Liberty\LibertyComment; +use Bitweaver\KernelTools; global $gQueryUser, $gBitUser, $gLibertySystem, $moduleParams; $params = $moduleParams['module_params']; @@ -34,7 +35,7 @@ if (!empty($params['pigeonholes'])) { if( !empty( $params['root_content_type_guid'] ) ) { if( empty($moduleTitle) && is_string( $params['root_content_type_guid'] ) ) { - $moduleTitle = $gLibertySystem->getContentTypeName( $params['root_content_type_guid'] ).' '.tra( 'Comments' ); + $moduleTitle = $gLibertySystem->getContentTypeName( $params['root_content_type_guid'] ).' '.KernelTools::tra( 'Comments' ); } $listHash['root_content_type_guid'] = $params['root_content_type_guid']; } else { |
