1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-29 01:00:20 +02:00

Issue #4350 theme.php class must now use init() and tablestyle() (not __construct() )

This commit is contained in:
Cameron
2021-01-17 07:27:28 -08:00
parent 06888f1fcf
commit f97dd307af
5 changed files with 25 additions and 8 deletions

View File

@@ -17,11 +17,10 @@ if(!defined('e107_INIT'))
}
class theme implements e_theme_render
{
function __construct()
public function init()
{
e107::meta('viewport',"width=device-width, initial-scale=1.0");
@@ -40,6 +39,8 @@ class theme implements e_theme_render
}
/**
* @param string $caption
* @param string $text
@@ -51,6 +52,7 @@ class theme implements e_theme_render
{
$style = is_string($info['setStyle']) ? $info['setStyle'] : ''; // global $style; // no longer needed.
echo "<!-- tablestyle: style=".$style." id=".$id." -->\n\n";