summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-15 16:38:37 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-15 16:38:37 +0100
commit0ef0a7243fb712183321fdb6bb886fb5d79b0eb4 (patch)
tree445fe4fcdafc2742992c225f8bfdd38654cf3b55 /templates
parentf495ecf3dafc02d138d0f9282bfd4f0761e5512d (diff)
downloadfisheye-0ef0a7243fb712183321fdb6bb886fb5d79b0eb4.tar.gz
fisheye-0ef0a7243fb712183321fdb6bb886fb5d79b0eb4.tar.bz2
fisheye-0ef0a7243fb712183321fdb6bb886fb5d79b0eb4.zip
Namespace fixes
Diffstat (limited to 'templates')
-rwxr-xr-xtemplates/center_image_comments.php3
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 {