From b7f6cceaea464df81fac872d2d7b863bd02746de Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 24 Apr 2015 22:37:22 +0200 Subject: provide block titles in blocklist --- include/conversation.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/conversation.php b/include/conversation.php index 19c5bda14..42ce140a6 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1200,6 +1200,7 @@ function status_editor($a, $x, $popup = false) { '$shortnoloc' => t('clear location'), '$title' => ((x($x, 'title')) ? htmlspecialchars($x['title'], ENT_COMPAT,'UTF-8') : ''), '$placeholdertitle' => t('Title (optional)'), + '$hidetitle' => ((x($x, 'hidetitle')) ? $x['hidetitle'] : false), '$catsenabled' => ((feature_enabled($x['profile_uid'], 'categories') && (! $webpage)) ? 'categories' : ''), '$category' => "", '$placeholdercategory' => t('Categories (optional, comma-separated list)'), -- cgit v1.2.3 From cc3c1107bd3104e2e40772caef670ce42e0ddb70 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 24 Apr 2015 22:41:56 +0200 Subject: add widget class to blocks again by default. we have the wrap variable now to remove the div wrapper if necessary. --- include/comanche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/comanche.php b/include/comanche.php index e0d3af985..c1a98ed6c 100644 --- a/include/comanche.php +++ b/include/comanche.php @@ -155,7 +155,7 @@ function comanche_block($s) { dbesc($name) ); if($r) { - $o .= (($var['wrap'] == 'none') ? '' : '
'); + $o .= (($var['wrap'] == 'none') ? '' : '
'); if($r[0]['title']) $o .= '

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

'; -- cgit v1.2.3