logic has changed - this is not needed anymore
This commit is contained in:
parent
125cd5e32b
commit
57d520e69f
@ -170,15 +170,10 @@ function comanche_block($s, $class = '') {
|
|||||||
if($r) {
|
if($r) {
|
||||||
$o .= (($var['wrap'] == 'none') ? '' : '<div class="' . $class . '">');
|
$o .= (($var['wrap'] == 'none') ? '' : '<div class="' . $class . '">');
|
||||||
|
|
||||||
if($r[0]['title'] && trim($r[0]['title']) != '$content') {
|
if($r[0]['title'] && trim($r[0]['body']) != '$content') {
|
||||||
$o .= '<h3>' . $r[0]['title'] . '</h3>';
|
$o .= '<h3>' . $r[0]['title'] . '</h3>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if($r[0]['title'] && trim($r[0]['title']) === '$content' && get_app()->data['webpage'][0]['title']) {
|
|
||||||
$o .= '<h3>' . get_app()->page['title'] . '</h3>';
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if(trim($r[0]['body']) === '$content') {
|
if(trim($r[0]['body']) === '$content') {
|
||||||
$o .= get_app()->page['content'];
|
$o .= get_app()->page['content'];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user