mirror of
https://github.com/e107inc/e107.git
synced 2025-08-08 07:36:32 +02:00
Cleaned up the Default Image Size in Media-Manager Preference area. Remove 'width=' from [img] when it matches the default size.
This commit is contained in:
@@ -189,6 +189,9 @@ TEMPL;
|
||||
{
|
||||
// echo $_POST['content'];
|
||||
global $pref, $tp;
|
||||
|
||||
e107::getBB()->setClass($_SESSION['media_category']);
|
||||
|
||||
$content = stripslashes($content);
|
||||
|
||||
if(check_class($pref['post_html'])) // Plain HTML mode.
|
||||
@@ -216,6 +219,7 @@ TEMPL;
|
||||
|
||||
$text = str_replace('[html]<p></p>[/html]','',$text); // cleanup.
|
||||
|
||||
e107::getBB()->clearClass();
|
||||
return $text;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user