1
0
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:
CaMer0n
2008-03-18 00:39:02 +00:00
parent 089d734839
commit 99b74405d9
5 changed files with 40 additions and 17 deletions

View File

@@ -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>

View File

@@ -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 .= "