1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 00:27:45 +02:00

Code cleanup

This commit is contained in:
Cameron
2015-02-15 02:37:36 -08:00
parent 5be1cbe67f
commit 027a74f5b0
55 changed files with 211 additions and 174 deletions

View File

@@ -86,7 +86,7 @@ class plugin_forum_post_shortcodes extends e_shortcode
global $post;
return e107::getForm()->bbarea('post',$post,'forum');
/*
$rows = (e107::wysiwyg()==true) ? 15 : 10;
$ret = "<textarea class='e-wysiwyg tbox form-control' id='post' name='post' cols='70' rows='{$rows}' style='width:95%' onselect='storeCaret(this);' onclick='storeCaret(this);' onkeyup='storeCaret(this);'>$post</textarea>\n<br />\n";
// if(!e_WYSIWYG)
@@ -94,6 +94,7 @@ class plugin_forum_post_shortcodes extends e_shortcode
// $ret .= display_help('helpb', 'forum');
}
return $ret;
*/
}
function sc_buttons()

View File

@@ -83,7 +83,7 @@ class plugin_forum_view_shortcodes extends e_shortcode
".LAN_FORUM_2037.": {$info['deldate']}<br />
".LAN_FORUM_2038.": {$info['delreason']}
";
$ret = '<pre>'.print_r($info, true).'</pre>';
// $ret = '<pre>'.print_r($info, true).'</pre>';
}
}