Web elements.lua: Difference between revisions

From Alpine Linux
(Category:Lua)
(Added Obsolete box: refers to legacy 2012 version.)
 
Line 1: Line 1:
{{Obsolete|This version relates to the legacy Alpine Configuration Framework (ACF) (2012}}
=== render_table ===
=== render_table ===
'''INPUT:'''<BR>
'''INPUT:'''<BR>

Latest revision as of 04:10, 3 January 2026

This material is obsolete ...

This version relates to the legacy Alpine Configuration Framework (ACF) (2012 (Discuss)

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