1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-29 17:19:56 +02:00

Media-Manager bbcode correction.

This commit is contained in:
Cameron
2013-05-31 15:54:14 -07:00
parent c27c5ea403
commit 0ed759d0c7
3 changed files with 5 additions and 4 deletions

View File

@@ -935,6 +935,7 @@ class media_admin_ui extends e_admin_ui
$file = (substr($cat,-5) == "_file") ? TRUE : FALSE;
$mes = e107::getMessage();
$mes->addDebug("For:".$cat);
$mes->addDebug("Bbcode: ".$this->getQuery('bbcode'));
if($file)
@@ -1128,7 +1129,7 @@ class media_admin_ui extends e_admin_ui
$text .= "<div style='text-align:right;padding:5px'>
<button type='submit' class='btn btn-success submit e-dialog-save e-dialog-close' data-target='".$this->getQuery('tagid')."' name='save_image' value='Save it' >
<button type='submit' class='btn btn-success submit e-dialog-save e-dialog-close' data-bbcode='".$options['bbcode']."' data-target='".$this->getQuery('tagid')."' name='save_image' value='Save it' >
<span>Save</span>
</button>
<button type='submit' class='btn submit e-dialog-close' name='cancel_image' value='Cancel' >