template::toolkit (private)
template::toolkit [ -subsite_id subsite_id ]
Defined in packages/acs-templating/tcl/style-procs.tcl
return the CSS toolkit empty for the current or given site. Potentila result values are "" (undtermined) "bootstrap" (for Bootstrap 3) and "bootstrap5" (for Bootstrap 5).
- Switches:
- -subsite_id (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: if { ![info exists subsite_id] } { set subsite_id [ad_conn subsite_id] } set toolkit [parameter::get -parameter CSSToolkit -package_id $subsite_id] if {$toolkit eq ""} { # # Derive the toolkit from the subsite theme # set theme [subsite::get_theme -subsite_id $subsite_id] if {[string match *bootstrap5* $theme]} { set toolkit bootstrap5 } elseif {[string match *bootstrap3* $theme]} { set toolkit bootstrap } } return $toolkitXQL Not present: Generic, PostgreSQL, Oracle