mirror of
https://github.com/e107inc/e107.git
synced 2025-08-22 14:13:03 +02:00
Newsfeeds: Fixes #1495. Admin-area rewrite using admin-ui. Newsfeed class is now compatible with PHP7.
This commit is contained in:
@@ -363,6 +363,13 @@ $text .= "<div class='field-spacer'>".$tp->parseTemplate("{IMAGESELECTOR={$parms
|
||||
$sLogo = siteinfo_shortcodes::sc_logo();
|
||||
*/
|
||||
|
||||
if(!empty($pref['sitebutton']) && strpos($pref['sitebutton'],'{')===false && file_exists(e_IMAGE.$pref['sitebutton']))
|
||||
{
|
||||
$pref['sitebutton'] = '{e_IMAGE}'.$pref['sitebutton'];
|
||||
}
|
||||
|
||||
|
||||
|
||||
$text .= $frm->imagepicker('sitebutton',$pref['sitebutton'],'','help='.PRFLAN_225);
|
||||
|
||||
$text .= "
|
||||
|
Reference in New Issue
Block a user