1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 07:36:32 +02:00

Make BBCode help work

This commit is contained in:
e107steved
2008-01-12 16:09:33 +00:00
parent 9e7199b330
commit a20520096c
2 changed files with 12 additions and 8 deletions

View File

@@ -11,14 +11,14 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_plugins/calendar_menu/e_bb.php,v $ | $Source: /cvs_backup/e107_0.8/e107_plugins/calendar_menu/e_bb.php,v $
| $Revision: 1.1 $ | $Revision: 1.2 $
| $Date: 2007-09-04 21:09:47 $ | $Date: 2008-01-12 16:09:33 $
| $Author: e107steved $ | $Author: e107steved $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
BBCode template for calendar menu (pretend we're custom page) BBCode template for calendar menu (pretend we're custom page)
*/ */
$BBCODE_TEMPLATE_CPAGE = " $temp['event'] = "
{BB_HELP=ec_event}<br /> {BB_HELP=ec_event}<br />
{BB=link}{BB=b}{BB=i}{BB=u}{BB=img}{BB=center}{BB=left}{BB=right} {BB=link}{BB=b}{BB=i}{BB=u}{BB=img}{BB=center}{BB=left}{BB=right}
{BB=bq}{BB=list}{BB=fontcol}{BB=fontsize}{BB=emotes} {BB=bq}{BB=list}{BB=fontcol}{BB=fontsize}{BB=emotes}

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_plugins/calendar_menu/event.php,v $ | $Source: /cvs_backup/e107_0.8/e107_plugins/calendar_menu/event.php,v $
| $Revision: 1.4 $ | $Revision: 1.5 $
| $Date: 2007-12-15 22:15:30 $ | $Date: 2008-01-12 16:09:33 $
| $Author: e107steved $ | $Author: e107steved $
| |
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
@@ -605,8 +605,12 @@ if ($action == "ne" || $action == "ed")
switch ($pref['eventpost_editmode']) switch ($pref['eventpost_editmode'])
{ {
case 1 : $insertjs = "rows='15' onselect='storeCaret(this);' onclick='storeCaret(this);' onkeyup='storeCaret(this);'"; case 1 :
case 2 : $insertjs = "rows='25' "; $insertjs = "rows='15' onselect='storeCaret(this);' onclick='storeCaret(this);' onkeyup='storeCaret(this);'";
break;
case 2 :
$insertjs = "rows='25' ";
break;
default : $insertjs = "rows='15' "; default : $insertjs = "rows='15' ";
} }
@@ -621,7 +625,7 @@ if ($action == "ne" || $action == "ed")
{ {
// Show help // Show help
require_once(e_HANDLER."ren_help.php"); require_once(e_HANDLER."ren_help.php");
$text .= "<br />".display_help("helpb", 'cpage'); $text .= "<br />".display_help("helpb", 'event');
} }
$text .= "</td></tr>"; $text .= "</td></tr>";