1
0
mirror of https://github.com/e107inc/e107.git synced 2025-05-02 02:07:52 +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).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/calendar_menu/e_bb.php,v $
| $Revision: 1.1 $
| $Date: 2007-09-04 21:09:47 $
| $Revision: 1.2 $
| $Date: 2008-01-12 16:09:33 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
BBCode template for calendar menu (pretend we're custom page)
*/
$BBCODE_TEMPLATE_CPAGE = "
$temp['event'] = "
{BB_HELP=ec_event}<br />
{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}

View File

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