xo::Page proc header_stuff

 xo::Page[i] header_stuff

Defined in

Partial Call Graph (max 5 caller/called nodes):
%3 test_xowiki xowiki (test ) xo::Page proc header_stuff xo::Page proc header_stuff test_xowiki->xo::Page proc header_stuff test_xowiki_test_cases xowiki_test_cases (test ) test_xowiki_test_cases->xo::Page proc header_stuff template::head::add_css template::head::add_css (public) xo::Page proc header_stuff->template::head::add_css template::head::add_script template::head::add_script (public) xo::Page proc header_stuff->template::head::add_script template::head::add_style template::head::add_style (public) xo::Page proc header_stuff->template::head::add_style

Testcases:
xowiki_test_cases, xowiki
Source code:

foreach style [:sort_keys_by_value [array get ::_xo_need_style]] {
  template::head::add_style -style $style
}
set count 10
foreach file [:sort_keys_by_value [array get ::_xo_need_css]] {
  template::head::add_css -href $file -media all -order [incr count]
}
if {[info exists ::_xo_js_order]} {
  set statements ""
  set order 10
  foreach file $::_xo_js_order {
    if {[string match "*;*" $file]} {
      # it is not a file, but some JavaScript statements
      #append statements [string map {< "&lt;" > "&gt;"} $file] \n
      append statements $file \n
    } else {
      template::head::add_script -src $file -type text/javascript -order [incr order]
    }
  }
  if {$statements ne ""} {
    template::head::add_script -script $statements -type text/javascript -order [incr order]
  }
}
return ""
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: