Difference between revisions of "Web elements.lua"

From Alpine Linux
Jump to: navigation, search
 
(Category:Lua)
 
Line 36: Line 36:
 
** HTML formated output/elements
 
** HTML formated output/elements
 
** <span style="color:red;">The output is partially generated by html.lua</span>
 
** <span style="color:red;">The output is partially generated by html.lua</span>
 +
 +
[[Category:Lua]]

Latest revision as of 09:07, 12 March 2012

render_table

INPUT:
This library function required the following inputs/parameters.

  • Element
    • The element should be type 'table'
    • Element could be: group, label, html, log, link, form
  • Level
    • Level should be a 'number'

OUTPUT:
This library function deliverers the following output/parameters.

  • HTML
    • HTML formated output/elements
    • The output is partially generated by html.lua

render_mainmenu

INPUT:
This library function required the following inputs/parameters.

  • menu
  • prefix
  • controller
  • action

OUTPUT:
This library function deliverers the following output/parameters.

  • MainMenu (HTML)
    • HTML formated output/elements
    • The output is partially generated by html.lua

render_submenu

INPUT:
This library function required the following inputs/parameters.

  • menu
  • group
  • cat
  • subcat

OUTPUT:
This library function deliverers the following output/parameters.

  • SubMenu (HTML)
    • HTML formated output/elements
    • The output is partially generated by html.lua