{$variable|jrCore_format_string:$item.profile_quota_id}
{$variable|jrCore_format_string:$item.profile_quota_id|jrAction_convert_hash_tags|jrCore_convert_at_tags|jrEmbed_embed|jrCore_clickable_urls|jrForum_bbcode|nl2br}
$_tmp = array(
'wl' => 'click_urls',
'label' => 'Make URLs Clickable',
'help' => 'If active, URLs entered into the text will be hyperlinked so they are clickable.'
);
jrCore_register_module_feature('jrCore', 'format_string', 'jrCore', 'jrCore_format_string_clickable_urls', $_tmp);
/**
* Registered core string formatter - Clickable URLs
* @param string $string String to format
* @param int $quota_id Quota ID for Profile ID
* @return string
*/
function jrCore_format_string_clickable_urls($string, $quota_id = 0)
{
// Convert URL strings
return jrCore_string_to_url($string);
}
{$variable|jrCore_format_string:$item.profile_quota_id:"bbcode"}
{$variable|jrCore_format_string:$item.profile_quota_id:false:"bbcode"}
/**
* jrSmiley_config
*/
function jrSmiley_config()
{
// Set smiley size
$_sz = array(
'10' => '10px',
'12' => '12px',
'14' => '14px',
'16' => '16px',
'18' => '18px',
'20' => '20px',
'24' => '24px',
'28' => '28px',
'32' => '32px',
'36' => '36px',
'40' => '40px',
'48' => '48px',
'56' => '56px',
'64' => '64px',
);
$_tmp = array(
'name' => 'size',
'type' => 'select',
'default' => '14',
'options' => $_sz,
'validate' => 'printable',
'label' => 'Smiley Size',
'help' => 'Select smiley size'
);
jrCore_register_setting('jrSmiley',$_tmp);
return true;
}