function smarty_modifier_auto_link($string, $type = 'url', $text = 'URL') { // URL形式のチェック用文字列(正規表現) $regstr = "https?://[a-zA-Z0-9.-]{2,}(:[0-9]+)?(/[_.!~*a-zA-Z0-9;/?:@&=+$,%#-]+)?/?"; switch ($type) { case 'url': return preg_replace($regstr,"\\0", $string); break; case 'text': return preg_replace($regstr,"[ {$text} ]", $string); break; default: return $string; } }
Fatal error: Smarty error: [in view.html line 8]: [plugin] function smarty_modifier_auto_link() not found in plugins/modifier.auto_link.php (core.load_plugins.php, line 73) in /home/beppin/beppin-yukata.com/public_html/smarty/Smarty.class.php on line 1092