From 676e956a72354ed944d85581ad1b7b9d8cd69f60 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 8 Apr 2017 19:44:42 +0200 Subject: [PATCH] some more spaces Signed-off-by: Roland Haeder --- include/contact_widgets.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/contact_widgets.php b/include/contact_widgets.php index 3e9854b9f0..e1c34b8d8f 100644 --- a/include/contact_widgets.php +++ b/include/contact_widgets.php @@ -2,7 +2,7 @@ function follow_widget($value = "") { - return replace_macros(get_markup_template('follow.tpl'),array( + return replace_macros(get_markup_template('follow.tpl'), array( '$connect' => t('Add New Contact'), '$desc' => t('Enter address or web location'), '$hint' => t('Example: bob@example.com, http://example.com/barbara'), @@ -25,7 +25,7 @@ function findpeople_widget() { } } - return replace_macros(get_markup_template('peoplefind.tpl'),array( + return replace_macros(get_markup_template('peoplefind.tpl'), array( '$findpeople' => t('Find People'), '$desc' => t('Enter name or interest'), '$label' => t('Connect/Follow'), @@ -120,7 +120,7 @@ function networks_widget($baseurl, $selected = '') { return ''; } - return replace_macros(get_markup_template('nets.tpl'),array( + return replace_macros(get_markup_template('nets.tpl'), array( '$title' => t('Networks'), '$desc' => '', '$sel_all' => (($selected == '') ? 'selected' : ''), @@ -147,7 +147,7 @@ function fileas_widget($baseurl, $selected = '') { $matches = false; $terms = array(); - $cnt = preg_match_all('/\[(.*?)\]/', $saved, $matches,PREG_SET_ORDER); + $cnt = preg_match_all('/\[(.*?)\]/', $saved, $matches, PREG_SET_ORDER); if ($cnt) { foreach ($matches as $mtch) { $unescaped = xmlify(file_tag_decode($mtch[1])); @@ -155,7 +155,7 @@ function fileas_widget($baseurl, $selected = '') { } } - return replace_macros(get_markup_template('fileas_widget.tpl'),array( + return replace_macros(get_markup_template('fileas_widget.tpl'), array( '$title' => t('Saved Folders'), '$desc' => '', '$sel_all' => (($selected == '') ? 'selected' : ''), @@ -189,7 +189,7 @@ function categories_widget($baseurl, $selected = '') { } } - return replace_macros(get_markup_template('categories_widget.tpl'),array( + return replace_macros(get_markup_template('categories_widget.tpl'), array( '$title' => t('Categories'), '$desc' => '', '$sel_all' => (($selected == '') ? 'selected' : ''),