mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 04:32:01 +02:00
Show bbcodes in submitnews
This commit is contained in:
parent
fd6b4b5b0e
commit
b075f1c25d
@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/submitnews.php,v $
|
||||
| $Revision: 1.1.1.1 $
|
||||
| $Date: 2006-12-02 04:33:09 $
|
||||
| $Author: mcfly_e107 $
|
||||
| $Revision: 1.2 $
|
||||
| $Date: 2007-02-11 19:39:07 $
|
||||
| $Author: e107steved $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
require_once("class2.php");
|
||||
@ -165,6 +165,10 @@ if ($pref['subnews_htmlarea'])
|
||||
require_once(e_HANDLER . "tiny_mce/wysiwyg.php");
|
||||
echo wysiwyg("item");
|
||||
}
|
||||
else
|
||||
{
|
||||
require_once(e_HANDLER."ren_help.php");
|
||||
}
|
||||
|
||||
$insertjs = (!$pref['subnews_htmlarea'])?"rows='15' onselect='storeCaret(this);' onclick='storeCaret(this);' onkeyup='storeCaret(this);'" : "rows='25' ";
|
||||
$text .= "
|
||||
@ -172,8 +176,12 @@ $text .= "
|
||||
<tr>
|
||||
<td style='width:20%' class='forumheader3'>" . LAN_135 . "</td>
|
||||
<td style='width:80%' class='forumheader3'>
|
||||
<textarea class='tbox' id='item' name='item' cols='80' style='width:95%' $insertjs></textarea>
|
||||
</td>
|
||||
<textarea class='tbox' id='item' name='item' cols='80' style='width:95%' $insertjs></textarea>";
|
||||
if (!$pref['subnews_htmlarea'])
|
||||
{
|
||||
$text .= display_help("helpb", 'news');
|
||||
}
|
||||
$text .= " </td>
|
||||
</tr>\n";
|
||||
if ($pref['subnews_attach'] && $pref['upload_enabled'] && check_class($pref['upload_class']) && FILE_UPLOADS)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user