Zikula_Template_Plugins
[ class tree: Zikula_Template_Plugins ] [ index: Zikula_Template_Plugins ] [ all elements ]

Procedural File: function.html_select_modules.php

Source Location: /system/pnRender/plugins/function.html_select_modules.php



Page Details:

Zikula Application Framework



Tags:

version:  $Id: outputfilter.pagevars.php 19321 2006-06-29 13:15:10Z markwest $
copyright:  (c) 2004, Zikula Development Team
link:  http://www.zikula.org
filesource:  Source Code for this file
license:  GNU/GPL








smarty_function_html_select_modules [line 40]

string smarty_function_html_select_modules( array $params, object &$smarty)

Smarty function to display a list box with a list of active modules either user or admin capable or all modules

Available parameters:

  • name: Name for the control (optional) if not present then only the option tags are output
  • id: ID for the control
  • selected: Selected value
  • type: Type of modules to show (all = All modules, user = user capable modules, admin = admin capable modules)
  • assign: If set, the results are assigned to the corresponding variable instead of printed out
Example

<!--[html_select_modules name=mod selected=$mymod]-->

<select name="mod"> <option value="">&bsp;</option> <!--[html_select_modules selected=$mythemechoice]--> </select>




Tags:

return:  a drop down containing a list of modules
author:  Mark West
see:  function.html_select_modules.php::smarty_function_html_select_modules()
since:  10/01/04


Parameters

array   $params   All attributes passed to this function from the template
object   &$smarty   Reference to the Smarty object
[ Top ]



Documentation generated on Fri, 18 Jul 2008 21:45:23 +0200 by phpDocumentor 1.4.1