1<?php 2// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project 3// 4// All Rights Reserved. See copyright.txt for details and a complete list of authors. 5// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. 6// $Id$ 7 8/* {set var=$name value=$value} 9 * do the same than assign but accept a varaible as var name 10 */ 11function smarty_function_set($params, $smarty) 12{ 13 $smarty->assign($params['var'], $params['value']); 14} 15