mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 00:54:49 +02:00
News: {NEWS_VISIBILITY} shortcode added - returns text version of userclass for use in CSS class styling if needed.
This commit is contained in:
@@ -1335,7 +1335,7 @@ class news_admin_ui extends e_admin_ui
|
||||
|
||||
if($mediaData = $this->processSubmittedMedia($row['submitnews_media']))
|
||||
{
|
||||
$data['news_body'] .= "\n\n".$mediaData;
|
||||
$data['news_body'] .= "\n\n---\n\n".$mediaData;
|
||||
}
|
||||
|
||||
if(e107::getPref('wysiwyg',false)!==false)
|
||||
@@ -1343,6 +1343,7 @@ class news_admin_ui extends e_admin_ui
|
||||
$data['news_body'] = nl2br($data['news_body']);
|
||||
}
|
||||
|
||||
$data['news_author'] = $row['submitnews_user'];
|
||||
|
||||
$data['news_thumbnail'] = $row['submitnews_file']; // implode(",",$thumbs);
|
||||
$data['news_sef'] = eHelper::dasherize($data['news_title']);
|
||||
|
Reference in New Issue
Block a user