1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-27 16:20:13 +02:00

Added option to use a custom plugin folder for media-manager image uploads. ie. writeParms => array('path'=>'plugin');

This commit is contained in:
Cameron
2016-12-06 19:24:48 -08:00
parent b9a331f15f
commit f203ed7bd5
4 changed files with 52 additions and 19 deletions

View File

@@ -1103,7 +1103,7 @@ class media_admin_ui extends e_admin_ui
}
$text = "<h4>".IMALAN_145."</h4>";
$text .= '<div id="uploader" data-max-size="'.str_replace('M','mb',$maxFileSize).'" rel="'.e_JS.'plupload/upload.php?for='.$this->getQuery('for').'">
$text .= '<div id="uploader" data-max-size="'.str_replace('M','mb',$maxFileSize).'" rel="'.e_JS.'plupload/upload.php?for='.$this->getQuery('for').'&path='.$this->getQuery('path').'">
<p>'.IMALAN_146.'</p>
</div>';
$text .= '<hr />';