1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

Bug #4161 - partial fix for popup issue.

This commit is contained in:
CaMer0n
2007-11-13 07:54:33 +00:00
parent 607775b955
commit 88d6f9064c
3 changed files with 18 additions and 11 deletions

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/ren_help.php,v $
| $Revision: 1.3 $
| $Date: 2007-08-16 19:30:49 $
| $Author: e107steved $
| $Revision: 1.4 $
| $Date: 2007-11-13 07:54:30 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
@@ -65,6 +65,7 @@ function display_help($tagid="helpb", $mode = 1, $addtextfunc = "addtext", $help
}
$temp['news'] = $BBCODE_TEMPLATE_NEWSPOST;
$temp['submitnews'] = $BBCODE_TEMPLATE_SUBMITNEWS;
$temp['extended'] = $BBCODE_TEMPLATE_NEWSPOST;
$temp['admin'] = $BBCODE_TEMPLATE_ADMIN;
$temp['mailout'] = $BBCODE_TEMPLATE_ADMIN."{BB=shortcode}";

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_themes/templates/bbcode_template.php,v $
| $Revision: 1.3 $
| $Date: 2007-01-05 23:02:25 $
| $Author: e107steved $
| $Revision: 1.4 $
| $Date: 2007-11-13 07:54:33 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
// How to register your own BBcode button.
@@ -32,6 +32,11 @@ $BBCODE_TEMPLATE = "
// $sc_style['BB_HELP']['pre'] = "<div style='text-align:center'>";
// $sc_style['BB_HELP']['post'] = "</div>";
$BBCODE_TEMPLATE_SUBMITNEWS = "
{BB_HELP}<br />
{BB=link}{BB=b}{BB=i}{BB=u}{BB=img}{BB=center}{BB=left}{BB=right}
{BB=bq}{BB=code}{BB=list}{BB=fontcol}{BB=fontsize}{BB=emotes}{BB=flash}
";
// -------- Admin Templates ----------------------

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/submitnews.php,v $
| $Revision: 1.4 $
| $Date: 2007-04-15 20:56:28 $
| $Author: e107steved $
| $Revision: 1.5 $
| $Date: 2007-11-13 07:54:30 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
require_once("class2.php");
@@ -176,10 +176,11 @@ $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>";
<textarea class='tbox' id='item' name='item' cols='80' style='max-width:95%' $insertjs></textarea><br />";
if (!$pref['subnews_htmlarea'])
{
$text .= display_help("helpb", 'news');
$text .= display_help("helpb","submitnews");
}
$text .= " </td>
</tr>\n";