wrote this file. * As long as you retain this notice you can do whatever you want with this * software. If we meet some day, and you think this stuff is worth it, you can * buy me a beer in return. * Sandino Araico Sánchez * --END LICENSE--------------------------------------------------------------- * --LICENCIA EN ESPAÑOL MEXICANO---------------------------------------------- * "LA LICENCIA BEER-WARE" (traducción al español de la revisión 42-sandino-3): * Sandino Araico Sánchez escribió éste archivo. * Siempre y cuando usted retenga éste aviso (en español y en inglés) usted * puede hacer cualquier cosa con éste software. Si algún día nos encontramos y * usted piensa que éste software vale la pena, usted puede invitarme una * cerveza en recompensa. * Sandino Araico Sánchez * --FIN DE LICENCIA----------------------------------------------------------- */ # Changelog: # 2000-10-18 Sandino Araico Sánchez - To safely expand functions inside a template # uses function_exists() (PHP3 >= 3.0.7, PHP4 ) if(!defined("__HOPP_TEMPLATE_FUNCTION")) { define ("__HOPP_TEMPLATE_FUNCTION",1); #--------------------------------------------------------------------- include __HOPP_INCLUDE_PATH."s.inc"; #--------------------------------------------------------------------- function hopp_template_function_probe($function_name, $params) { s_log("Trying to use function $function_name"); if(function_exists($function_name)) $function_name($params); } #--------------------------------------------------------------------- } //__HOPP_TEMPLATE_FUNCTION ?>