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

renamed get_function_name() changed to sc_function_name() for shortcode functions. Removing confusion with get_userdata, get_userclasses and other get_ functions built into PHP.

This commit is contained in:
CaMer0n
2009-07-21 06:31:23 +00:00
parent e2de6db7a8
commit 03715cc464
6 changed files with 78 additions and 77 deletions

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/bbcode_shortcodes.php,v $
| $Revision: 1.11 $
| $Date: 2009-07-07 07:32:59 $
| $Revision: 1.12 $
| $Date: 2009-07-21 06:31:23 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
@@ -26,7 +26,7 @@ register_shortcode('bbcode_shortcodes', $codes);
class bbcode_shortcodes
{
function get_bb($parm)
function sc_bb($parm)
{
//FIXME - cachevars/getcachedvars!
global $pref, $eplug_bb, $bbcode_func, $bbcode_help, $bbcode_filedir, $bbcode_imagedir, $bbcode_helpactive, $bbcode_helptag, $register_bb;
@@ -130,7 +130,7 @@ class bbcode_shortcodes
return $text;
}
function get_bb_help($parm)
function sc_bb_help($parm)
{
if(defsettrue('e_WYSIWYG')) { return; }
global $bbcode_helpactive,$bbcode_helptag;
@@ -141,7 +141,7 @@ class bbcode_shortcodes
return "<input id='{$bbcode_helptag}' class='tbox large helpbox' type='text' name='{$bbcode_helptag}' size='90' readonly='readonly' />";
}
function get_bb_preimagedir($parm)
function sc_bb_preimagedir($parm)
{
if(defsettrue('e_WYSIWYG')) { return; }
global $bbcode_imagedir;