2007-02-28: webgen 0.4.2 released! Bugs fixed and some feature added! More...
2007-01-12: webgen 0.4.1 released! Bug fix for running webgen on Windows and other small updates! More...
2007-01-05: webgen 0.4.0 released! Major update to the core and plugins and many new features added! More...
Plugin name: | Tag/Resource (Tag/Default) |
---|---|
Author: | Thomas Leitner <t_leitner@gmx.at> |
Summary: | Used for referencing resources |
Description: | This tag can be used to output the path to a resource or the resource itself. |
Parameters: | insert: :path name (=default mandatory parameter): nil |
Handled tags: | resource |
The resource tag is used to include a resource either verbatim (i.e. its content is copied) or by its path. For more information about resources have a look at the Core/ResourceManager.
This tag is mostly used in templates to include the webgen CSS and JS resources.
Usage | Output |
---|---|
{resource: webgen-logo} | ../../../images/webgen-logo.png |
{resource: w3c-valid-xhtml11} | ../../../images/w3c-valid-xhtml11.png |
{resource: {name: webgen-css, insert: data}} | /* START webgen download tag */ .webgen-file-icon, .webgen-download-icon { vertical-align: middle; } /* STOP webgen download tag */ /* START webgen horizontal dropdown menu style */ .webgen-menu-horiz-dd ul { list-style-type: none; margin: 0; padding: 0; float: left; } .webgen-menu-horiz-dd ul ul { width: 15em; border: 1px solid black; position: absolute; z-index: 500; } .webgen-menu-horiz-dd a { display: block; margin: 0px; padding: 3px 3px; background-color: white; } .webgen-menu-horiz-dd li { position: relative; } .webgen-menu-horiz-dd ul ul ul { position: absolute; top: 0; left: 100%; } .webgen-menu-horiz-dd ul ul { display: none; } .webgen-menu-horiz-dd ul li:hover > ul > ul { display: none; } .webgen-menu-horiz-dd ul li:hover > ul { display: block; } /* STOP webgen horizontal dropdown menu style */ /* START webgen vertical dropdown menu style */ .webgen-menu-vert-dd ul { list-style-type: none; margin: 0; padding: 0; width: 15em; } .webgen-menu-vert-dd ul ul { border: 1px solid black; position: absolute; z-index: 500; left: 100%; top: 0; } .webgen-menu-vert-dd a { display: block; margin: 0px; padding: 3px 3px; background-color: white; } .webgen-menu-vert-dd li { position: relative; } .webgen-menu-vert-dd ul ul { display: none; } .webgen-menu-vert-dd ul li:hover > ul > ul { display: none; } .webgen-menu-vert-dd ul li:hover > ul { display: block; } /* STOP webgen vertical dropdown menu style */ /* START webgen horizontal menu style */ .webgen-menu-horiz ul { display: block; } .webgen-menu-horiz li { display: inline; } /* STOP webgen horizontal menu style */ |