mirror of
https://github.com/e107inc/e107.git
synced 2025-09-02 02:42:40 +02:00
Fixed imageselector to work in both admin->prefs and admin->newspost. Now uses it's own preview shortcode.
This commit is contained in:
@@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_admin/newspost.php,v $
|
||||
| $Revision: 1.11 $
|
||||
| $Date: 2008-02-19 19:33:45 $
|
||||
| $Author: mcfly_e107 $
|
||||
| $Revision: 1.12 $
|
||||
| $Date: 2008-03-18 00:38:53 $
|
||||
| $Author: e107coders $
|
||||
+---------------------------------------------------------------+
|
||||
|
||||
*/
|
||||
@@ -557,6 +557,7 @@ class newspost
|
||||
$parms .= "&click_prefix=[img][[e_IMAGE]]newspost_images/";
|
||||
$parms .= "&click_postfix=[/img]";
|
||||
|
||||
|
||||
$text .= $tp->parseTemplate("{IMAGESELECTOR={$parms}}");
|
||||
|
||||
$text .= "</div>
|
||||
|
@@ -11,8 +11,8 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_admin/prefs.php,v $
|
||||
| $Revision: 1.11 $
|
||||
| $Date: 2008-01-16 10:52:30 $
|
||||
| $Revision: 1.12 $
|
||||
| $Date: 2008-03-18 00:38:53 $
|
||||
| $Author: e107coders $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
@@ -205,6 +205,7 @@ $text = "<script type=\"text/javascript\">
|
||||
$parms .= "&label=-- No Image --";
|
||||
$parms .= "&subdirs=1";
|
||||
|
||||
|
||||
$text .= $tp->parseTemplate("{IMAGESELECTOR={$parms}}");
|
||||
|
||||
$text .= "
|
||||
|
Reference in New Issue
Block a user