mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 17:44:37 +02:00
TinyMce changes. - no longer need to declare the ID of the textarea element. Just include the class e-wysiwyg. eg. <textarea class='e-wysiwyg tbox' ..... />
This commit is contained in:
@@ -11,14 +11,14 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/forum/forum_post.php,v $
|
||||
| $Revision: 1.35 $
|
||||
| $Date: 2009-01-25 19:19:36 $
|
||||
| $Author: mcfly_e107 $
|
||||
| $Revision: 1.36 $
|
||||
| $Date: 2009-07-14 11:05:53 $
|
||||
| $Author: e107coders $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
require_once('../../class2.php');
|
||||
$e_wysiwyg = 'post';
|
||||
|
||||
$lan_file = e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/lan_forum_post.php';
|
||||
include(file_exists($lan_file) ? $lan_file : e_PLUGIN.'forum/languages/English/lan_forum_post.php');
|
||||
|
||||
|
@@ -78,7 +78,7 @@ class forum_post_shortcodes
|
||||
{
|
||||
global $post, $pref;
|
||||
$rows = (e_WYSIWYG) ? 15 : 10;
|
||||
$ret = "<textarea class='tbox' id='post' name='post' cols='70' rows='{$rows}' style='width:95%' onselect='storeCaret(this);' onclick='storeCaret(this);' onkeyup='storeCaret(this);'>$post</textarea>\n<br />\n";
|
||||
$ret = "<textarea class='e-wysiwyg tbox' id='post' name='post' cols='70' rows='{$rows}' style='width:95%' onselect='storeCaret(this);' onclick='storeCaret(this);' onkeyup='storeCaret(this);'>$post</textarea>\n<br />\n";
|
||||
if(!e_WYSIWYG)
|
||||
{
|
||||
$ret .= display_help('helpb', 'forum');
|
||||
|
Reference in New Issue
Block a user