1<?php 2/** 3 * template_lite string_format modifier plugin 4 * 5 * Type: modifier 6 * Name: string_format 7 * Purpose: Wrapper for the PHP 'vsprintf' function 8 */ 9function tpl_modifier_string_format() 10{ 11 $_args = func_get_args(); 12 $string = array_shift($_args); 13 return vsprintf($string, $_args); 14} 15?>