|
|
|
@ -395,7 +395,6 @@ class Template extends Smarty { |
|
|
|
|
if (SHOW_TEXT_NEAR_ICONS == true) { |
|
|
|
|
//hack in order to fix the actions buttons |
|
|
|
|
$css_file_to_string .= '<style> |
|
|
|
|
|
|
|
|
|
.td_actions a { |
|
|
|
|
float:left; |
|
|
|
|
width:100%; |
|
|
|
@ -571,8 +570,10 @@ class Template extends Smarty { |
|
|
|
|
function set_plugin_block($plugin_block) { |
|
|
|
|
if (!empty($plugin_block)) { |
|
|
|
|
$block_content = $this->plugin->load_block($plugin_block, $this); |
|
|
|
|
//Assigning the plugin with the smarty template |
|
|
|
|
$this->assign('plugin_'.$plugin_block, $block_content); |
|
|
|
|
if (!empty($block_content)) { |
|
|
|
|
//Assigning the plugin with the smarty template |
|
|
|
|
$this->assign('plugin_'.$plugin_block, $block_content); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
return null; |
|
|
|
|
} |
|
|
|
|