From 57d520e69fcb34a69f8e94038a23c8d52251bfc5 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 24 May 2015 15:09:30 +0200 Subject: logic has changed - this is not needed anymore --- include/comanche.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/include/comanche.php b/include/comanche.php index fad499649..65f64be5c 100644 --- a/include/comanche.php +++ b/include/comanche.php @@ -170,15 +170,10 @@ function comanche_block($s, $class = '') { if($r) { $o .= (($var['wrap'] == 'none') ? '' : '
'); - if($r[0]['title'] && trim($r[0]['title']) != '$content') { + if($r[0]['title'] && trim($r[0]['body']) != '$content') { $o .= '

' . $r[0]['title'] . '

'; } - if($r[0]['title'] && trim($r[0]['title']) === '$content' && get_app()->data['webpage'][0]['title']) { - $o .= '

' . get_app()->page['title'] . '

'; - } - - if(trim($r[0]['body']) === '$content') { $o .= get_app()->page['content']; } -- cgit v1.2.3