function zen_image_submit2($image, $alt = '', $parameters = '') {
global $template, $current_page_base, $zco_notifier;
$zco_notifier->notify('PAGE_OUTPUT_IMAGE_SUBMIT');
$image_submit = '<input type="image" src="' . zen_output_string($template->get_template_dir($image, DIR_WS_TEMPLATE, $current_page_base, 'buttons/' . $_SESSION['language'] . '/') . $image) . '" alt="' . zen_output_string($alt) . '"';
if (zen_not_null($alt)) $image_submit .= ' title=" ' . zen_output_string($alt) . ' "';
if (zen_not_null($parameters)) $image_submit .= ' ' . $parameters;
$image_submit .= ' />';
return $image_submit;
}
输出图像提交按钮函数
zen_image_submit2
转载于:https://www.cnblogs.com/hidepeng/archive/2011/04/23/2025788.html