mirror of
https://github.com/e107inc/e107.git
synced 2025-02-06 06:59:07 +01:00
titles from template FIX for #1340
This commit is contained in:
parent
042172096c
commit
10f417b0f4
@ -78,7 +78,9 @@ class gallery
|
|||||||
|
|
||||||
$text .= e107::getParser()->parseTemplate($template['cat_end'], true, $sc);
|
$text .= e107::getParser()->parseTemplate($template['cat_end'], true, $sc);
|
||||||
|
|
||||||
e107::getRender()->tablerender(LAN_PLUGIN_GALLERY_TITLE, $text);
|
$caption = $tp->parseTemplate($template['cat_caption'], true, $sc);
|
||||||
|
|
||||||
|
e107::getRender()->tablerender($caption, $text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -117,7 +119,9 @@ class gallery
|
|||||||
$text .= $inner;
|
$text .= $inner;
|
||||||
$text .= $tp->parseTemplate($template['list_end'], true, $sc);
|
$text .= $tp->parseTemplate($template['list_end'], true, $sc);
|
||||||
|
|
||||||
e107::getRender()->tablerender(LAN_PLUGIN_GALLERY_TITLE, $mes->render() . $text);
|
$caption = $tp->parseTemplate($template['list_caption'], true, $sc);
|
||||||
|
|
||||||
|
e107::getRender()->tablerender($caption, $mes->render() . $text);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user