• 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

[ hide source ] | [ make this the default ]

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: