Issue updated
Due in version: 1.1.0 => 1.2.0
Rework Layout class
The JAS backend is starting to have a nice collection of HTML layout functions that should probably be available generically:
- function menuItem($menu, $content, $action=false, $title=false, $icon=false, $properties=false)
- function menu($menu, $class=false)
- function tableRow($table, $header=false, $properties=false)
- function tableColumn($table, $content, $action=false, $title=false, $properties=false)
- function table($table, $class=false)
- function cms(&$d, $url=false, $config=false)
- function cmsOptions(&$d, $options=false, $menu=false, $vars=Array())
- function field($title, $input, $options=false)
- function form($content, $url=false)
- function confirm($properties=false)
- function url($path=false, $args=false)
- function link($content, $action, $title=false, $icon=false, $properties=false)
- function tooltip($tool, $tip)
- function icon($icon, $class=false)
Additionally it should support things like:
- doctype
- meta description / keywords / content / pragma+expires
- stylesheets
- javascript (JAS script?)
- head / body / footer