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:
@@ -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";
|
||||
|
Reference in New Issue
Block a user