first commit
This commit is contained in:
22
admin/class/smarty_plugins/function.find_module.php
Normal file
22
admin/class/smarty_plugins/function.find_module.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Smarty plugin.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Smarty {find_module} plugin.
|
||||
*
|
||||
* Type: function<br>
|
||||
* Name: url<br>
|
||||
* Purpose: finding module
|
||||
*
|
||||
* @param array $params parameters
|
||||
* @param Smarty_Internal_Template $smarty
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function smarty_function_find_module($params, &$smarty)
|
||||
{
|
||||
return findModule($params['name']);
|
||||
}
|
||||
Reference in New Issue
Block a user