mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 11:36:08 +02:00
Sign page refinements and some bbecode work.
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
//$code_text = str_replace("\r\n", " ", $code_text);
|
||||
//$code_text = html_entity_decode($code_text, ENT_QUOTES, CHARSET);
|
||||
$code_text = str_replace("\r\n", " ", $code_text);
|
||||
$code_text = html_entity_decode($code_text, ENT_QUOTES, CHARSET);
|
||||
return $code_text;
|
||||
|
@@ -54,6 +54,18 @@ class bbcode_shortcodes extends e_shortcode
|
||||
return $text;
|
||||
}
|
||||
|
||||
function bb_newpage($id)
|
||||
{
|
||||
// $data = "[table]\n[tr]\n\t[td]Cell 1[/td]\n\t[td]Cell 2[/td]\n[/tr]\n[/table]"; // works with jquery, but not onclick.
|
||||
$data = "[newpage]";
|
||||
$event = $this->getEvent('addtext',$data,LANHELP_34,1);
|
||||
$text = "<a {$event} class='e-bb e-tabs-add' id='{$id}' data-url='".e_SELF."?mode=dialog&action=dialog&iframe=1' data-function='add' href='#{$this->var['tagid']}' title='Insert a table' data-bbcode='{$data}'>";
|
||||
$text .= "<img class='bbcode_buttons e-pointer' src='".e_IMAGE_ABS."bbcode/newpage.png' alt='' /></a>";
|
||||
return $text;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function bb_list($id)
|
||||
{
|
||||
|
||||
@@ -149,6 +161,7 @@ class bbcode_shortcodes extends e_shortcode
|
||||
|
||||
function bb_fontcol($id)
|
||||
{
|
||||
return '';
|
||||
// $bbcode['fontcol'] = array("e-expandit","col_selector_".$rand, LANHELP_21,"fontcol.png","Color_Select",'col_selector_'.$rand);
|
||||
|
||||
$formid = $id."_";
|
||||
|
@@ -158,9 +158,11 @@
|
||||
<core name="signup_maxip">3</core>
|
||||
<core name="signup_option_class">1</core>
|
||||
<core name="signup_option_customtitle">0</core>
|
||||
<core name="signup_option_image">1</core>
|
||||
<core name="signup_option_email_confirm">0</core>
|
||||
<core name="signup_option_image">0</core>
|
||||
<core name="signup_option_realname">1</core>
|
||||
<core name="signup_option_signature">1</core>
|
||||
<core name="signup_option_signature">0</core>
|
||||
<core name="signup_option_hideemail">0</core>
|
||||
<core name="signup_pass_len">4</core>
|
||||
<core name="signup_remote_emailcheck">0</core>
|
||||
<core name="signup_text"></core>
|
||||
|
Reference in New Issue
Block a user