- Publicity: Public Only All
theme-procs.tcl
Provides a simple API theme interactions
- Location:
- packages/openacs-default-theme/tcl/theme-procs.tcl
- Created:
- 05 July 2015
- Author:
- Gustaf Neumann
Procedures in this file
Detailed information
callback::subsite::theme_changed::impl::openacs-default-theme (private)
callback::subsite::theme_changed::impl::openacs-default-theme \ -subsite_id subsite_id -old_theme old_theme -new_theme new_theme
Implementation of the theme_changed callback which is called, whenever a theme is changed
- Switches:
- -subsite_id
(required)- subsite, of which the theme was changed
- -old_theme
(required)- the name of the old theme
- -new_theme
(required)- the name of the new theme
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Content File Source
ad_library { Provides a simple API theme interactions @author Gustaf Neumann @creation-date 05 July 2015 } d_proc -public -callback subsite::theme_changed -impl openacs-default-theme { -subsite_id:required -old_theme:required -new_theme:required } { Implementation of the theme_changed callback which is called, whenever a theme is changed @param subsite_id subsite, of which the theme was changed @param old_theme the name of the old theme @param new_theme the name of the new theme } { ns_log notice "openacs-default-theme: theme of subsite $subsite_id changed from $old_theme to $new_theme" } # Local variables: # mode: tcl # tcl-indent-level: 4 # indent-tabs-mode: nil # End: