addconticons — adds a small table containing icons from continuation sets
use Wacs;
use Wacs::WacsUI;
scalar addrelicons( | ...) ; |
parameter | description |
---|---|
setno | The set number of this set |
stype | The type of this set |
sformat | The format of this set - mostly useful for videos |
layout | How to layout the resulting output - specify table
for HTML table, div for appropriate DIVs for CSS formating.
|
size | Size of the icons to use - mini, std, etc. |
perrow | Specifies how many icons should be included in each row of the table |
label | Overrides the default part label if it does not contain an empty string. |
destloc | Which configuration variable to use for location of link destination application - typically cgiurl for perl scripts, siteurl for php scripts, or wacsurl for wacs GUI elements (like glyphs, javascript files or stylesheets) |
destapp | The stem of the URL to link to around the icon, something like
wacsindex/page, needs to include any parameter
introducers like page or setid= |
destext | The extension of the URL to link to, or null, ie .html or .php.
From Wacs 0.9.0 onwards this can also be |
destinfo | The stem of the URL to link around a link to more information,
something like wacsindex/info, needs to include any
parameter introducers like page or setid=
|
dbhandle | Handle to the current database connection for query |
The addconticons
function returns the HTML to
generate a small table with icons with hyperlinks for continuation sets.
Various optional parameters control how this HTML segment is generated.
It supports a similar set of onwards link specifers to iconlink to allow use with the likes of the PHP simple
skin pages if preferred.