diff --git a/e107_admin/prefs.php b/e107_admin/prefs.php index 40c4f3c33..e5a663f2a 100644 --- a/e107_admin/prefs.php +++ b/e107_admin/prefs.php @@ -313,7 +313,7 @@ $text .= "
".$tp->parseTemplate("{IMAGESELECTOR={$parms $sLogo = siteinfo_shortcodes::sc_logo(); */ -$text .= $frm->imagepicker('sitebutton',$pref['sitebutton'],'_common','help=Used by Facebook and others. Should be a square image.'); +$text .= $frm->imagepicker('sitebutton',$pref['sitebutton'],'_common','help=Used by Facebook and others. Should be a square image of at least 144px in width and height.'); $text .= " diff --git a/e107_core/shortcodes/batch/news_shortcodes.php b/e107_core/shortcodes/batch/news_shortcodes.php index 937e9629a..9f8ce47f3 100644 --- a/e107_core/shortcodes/batch/news_shortcodes.php +++ b/e107_core/shortcodes/batch/news_shortcodes.php @@ -375,12 +375,12 @@ class news_shortcodes extends e_shortcode break; case 'tag': - return ""; + return ""; break; case 'url': default: - return "news_item)."'>"; + return "news_item)."'>"; break; } } diff --git a/e107_core/templates/header_default.php b/e107_core/templates/header_default.php index 8c8e9e66f..09b742089 100644 --- a/e107_core/templates/header_default.php +++ b/e107_core/templates/header_default.php @@ -217,6 +217,15 @@ if (is_array($pref['e_meta_list'])) unset($ret); } +// -------- Generate Apple Touch Icon --------- + +if(isset($pref['sitebutton'])) +{ + $appleIcon = $tp->thumbUrl($pref['sitebutton'],'w=144&h=144&crop=1',true); + echo "\n"; + unset($appleIcon); +} + // Register Plugin specific CSS diff --git a/e107_core/templates/nextprev_template.php b/e107_core/templates/nextprev_template.php index b6e5d6d21..ef9765070 100644 --- a/e107_core/templates/nextprev_template.php +++ b/e107_core/templates/nextprev_template.php @@ -42,7 +42,7 @@ $NEXTPREV_TEMPLATE['default_separator'] = ' '; /* ****************** Default when Bootstrap is enabled ************** */ -$NEXTPREV_TEMPLATE['bootstrap_start'] = "\n"; $DOWNLOAD_TEMPLATE['mirror']['start'] = " +
@@ -636,6 +641,7 @@ $DOWNLOAD_TEMPLATE['mirror']['item'] = " $DOWNLOAD_TEMPLATE['mirror']['end'] = "
+
"; diff --git a/news.php b/news.php index cf38f4bd3..3364c162e 100644 --- a/news.php +++ b/news.php @@ -292,7 +292,7 @@ if ($action == 'cat' || $action == 'all' || vartrue($_GET['tag'])) $NEWSLISTTITLE = str_replace("{NEWSCATEGORY}",$tp->toHTML($category_name,FALSE,'TITLE'),$NEWSLISTTITLE); } - $text .= ""; + $text .= ""; ob_start(); $ns->tablerender($NEWSLISTTITLE, $text, 'news');