Jump to content

ATK UI: Difference between revisions

From NusaATK
Kucerar (talk | contribs)
No edit summary
Kucerar (talk | contribs)
Line 10: Line 10:


== The top-level scripts and their purpose ==
== The top-level scripts and their purpose ==
;app.php: Generate a frameset.  This is used for frames-based applications.  The GUI is constructed from src= calls to dispatch.php for nodes and menus within the frameset definition.
;app.php: Generate a frameset.  This is used for frames-based applications.  The GUI is constructed from src= calls to '''dispatch.php''' for nodes and menus within the frameset definition.


;index.php: Decide whether to use fullscreen(constructs a UI),  frameset(calls app.php),  or generate full index page(constructs a UI).  Depends on the theme setting of useframes attribute.
;index.php: Decide whether to use fullscreen(constructs a UI),  frameset(calls '''app.php'''),  or generate full index page(constructs a UI).  Depends on the theme setting of useframes attribute.


;dispatch.php: Session mgmt.  Call either login handling or dispatch to node given in parameters.
;dispatch.php: Session mgmt.  Call either login handling or dispatch to node given in parameters.

Revision as of 21:55, 27 February 2008

Themes

ATK Theme Templates

Smarty

themedef.inc settings

Premade Themes

The top-level scripts and their purpose

app.php
Generate a frameset. This is used for frames-based applications. The GUI is constructed from src= calls to dispatch.php for nodes and menus within the frameset definition.
index.php
Decide whether to use fullscreen(constructs a UI), frameset(calls app.php), or generate full index page(constructs a UI). Depends on the theme setting of useframes attribute.
dispatch.php
Session mgmt. Call either login handling or dispatch to node given in parameters.