2006-12-22 18:45:32 +00:00
|
|
|
<?php
|
|
|
|
/*
|
2009-11-17 10:46:35 +00:00
|
|
|
* e107 website system
|
|
|
|
*
|
2009-11-18 01:06:08 +00:00
|
|
|
* Copyright (C) 2008-2009 e107 Inc (e107.org)
|
2009-11-17 10:46:35 +00:00
|
|
|
* Released under the terms and conditions of the
|
|
|
|
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*
|
2011-06-07 12:57:55 +00:00
|
|
|
* $URL$
|
|
|
|
* $Id$
|
2009-11-17 10:46:35 +00:00
|
|
|
*/
|
2006-12-22 18:45:32 +00:00
|
|
|
|
|
|
|
if (!defined('e107_INIT')) { exit; }
|
|
|
|
|
2012-04-30 20:35:59 +00:00
|
|
|
if(e_WYSIWYG || strpos(e_SELF,"tinymce/admin_config.php") )
|
2006-12-22 18:45:32 +00:00
|
|
|
{
|
|
|
|
require_once(e_PLUGIN."tinymce/wysiwyg.php");
|
2009-10-12 06:38:01 +00:00
|
|
|
if(deftrue('TINYMCE_CONFIG'))
|
|
|
|
{
|
2011-06-07 12:57:55 +00:00
|
|
|
$wy = new wysiwyg(TINYMCE_CONFIG);
|
2009-10-12 06:38:01 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2011-06-07 12:57:55 +00:00
|
|
|
$wy = new wysiwyg();
|
2009-10-12 06:38:01 +00:00
|
|
|
}
|
2012-04-30 20:35:59 +00:00
|
|
|
|
|
|
|
if(!strpos(e_SELF,e_ADMIN_ABS."image.php"))
|
|
|
|
{
|
|
|
|
$wy -> render();
|
|
|
|
}
|
|
|
|
|
2006-12-22 18:45:32 +00:00
|
|
|
}
|
2011-06-07 12:57:55 +00:00
|
|
|
|
2006-12-22 18:45:32 +00:00
|
|
|
|
2007-09-09 06:58:46 +00:00
|
|
|
?>
|