diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/nav.php | 3 | ||||
-rw-r--r-- | include/photos.php | 2 | ||||
-rw-r--r-- | include/text.php | 4 |
3 files changed, 6 insertions, 3 deletions
diff --git a/include/nav.php b/include/nav.php index 92ddc6583..30f5fd9b8 100644 --- a/include/nav.php +++ b/include/nav.php @@ -334,7 +334,7 @@ function nav($template = 'default') { '$channel_menu' => get_pconfig(App::$profile_uid, 'system', 'channel_menu', get_config('system', 'channel_menu')), '$channel_thumb' => ((App::$profile) ? App::$profile['thumb'] : ''), '$channel_apps' => $channel_apps, - '$addapps' => t('Add Apps'), + '$addapps' => t('Apps'), '$apps' => t('Apps'), '$channelapps' => t('Channel Apps'), '$sysapps' => t('System Apps'), @@ -343,6 +343,7 @@ function nav($template = 'default') { '$settings_url' => $settings_url, '$name' => App::$profile['channel_name'], '$thumb' => App::$profile['thumb'], + '$form_security_token' => get_form_security_token('pconfig') ]); if (x($_SESSION, 'reload_avatar') && $observer) { diff --git a/include/photos.php b/include/photos.php index 967acf955..c83b4585c 100644 --- a/include/photos.php +++ b/include/photos.php @@ -872,6 +872,8 @@ function photos_create_item($channel, $creator_hash, $photo, $visible = false) { // Create item container +hz_syslog(print_r($photo,true)); + $item_hidden = (($visible) ? 0 : 1 ); $uuid = item_message_id(); diff --git a/include/text.php b/include/text.php index 841abdbd3..e0910f83e 100644 --- a/include/text.php +++ b/include/text.php @@ -1610,7 +1610,7 @@ function format_hashtags(&$item) { if($s) $s .= ' '; - $s .= '<span class="badge badge-pill badge-info"><i class="fa fa-hashtag"></i> <a class="text-white" href="' . zid($t['url']) . '" >' . $term . '</a></span>'; + $s .= '<span class="badge rounded-pill bg-info"><i class="fa fa-hashtag"></i> <a class="text-white" href="' . zid($t['url']) . '" >' . $term . '</a></span>'; } } @@ -1633,7 +1633,7 @@ function format_mentions(&$item) { continue; if($s) $s .= ' '; - $s .= '<span class="badge badge-pill badge-success"><i class="fa fa-at"></i> <a class="text-white" href="' . zid($t['url']) . '" >' . $term . '</a></span>'; + $s .= '<span class="badge rounded-pill bg-success"><i class="fa fa-at"></i> <a class="text-white" href="' . zid($t['url']) . '" >' . $term . '</a></span>'; } } |