Revision 2552,
601 bytes
checked in by pedroerp, 14 years ago
(diff) |
Ticket #993 - Migrando mais parâmetros para a classe Settings.
|
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[795] | 1 | <?php |
---|
| 2 | /** |
---|
| 3 | * Insere código que referencia arquivos de javascript responsáveis pela funcionalidade. |
---|
| 4 | * @package Smarty |
---|
| 5 | * @subpackage wf_plugins |
---|
| 6 | * @param array $params Array de parametros (vazio) |
---|
| 7 | * @param object &$smarty Instância do objeto smarty em uso |
---|
| 8 | * @return string $output codigo com referencias aos javascripts. |
---|
| 9 | * @access public |
---|
| 10 | */ |
---|
| 11 | function smarty_function_wf_generic_select_init($params, &$smarty) |
---|
| 12 | { |
---|
[2552] | 13 | $jsFile = WF_BASE_URL . SEP . 'js' . SEP . 'jscode' . SEP . 'generic_select.js'; |
---|
[795] | 14 | $output = <<<EOF |
---|
| 15 | <script language="javascript1.2" src="$jsFile"></script> |
---|
| 16 | EOF; |
---|
| 17 | return $output; |
---|
| 18 | } |
---|
| 19 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.