apm_header (public, deprecated)

 apm_header [ -form form ] [ args... ]

Defined in packages/acs-admin/tcl/apm-admin-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Generates HTML for the header of a page (including context bar). Must only be used for APM admin pages (under /acs-admin/apm). We are adding the APM index page to the context bar so it doesn't have to be added on each page

-form (optional)
Peter Marklund

Partial Call Graph (max 5 caller/called nodes):
%3 _ _ (public) ad_context_bar ad_context_bar (public) ad_get_tcl_call_stack ad_get_tcl_call_stack (public) apm_header apm_header apm_header->_ apm_header->ad_context_bar apm_header->ad_get_tcl_call_stack

No testcase defined.
Source code:
ns_log Notice "Deprecated proc apm_header used:\n[ad_get_tcl_call_stack]"

    set apm_title "Package Manager"
    set apm_url "/acs-admin/apm/"

    if { [llength $args] == 0 } {
        set title $apm_title
        set context_bar [ad_context_bar $title]
    } else {
        set title [lindex $args end]
        set context [concat [list [list $apm_url $apm_title]] $args]
        set cmd [list ad_context_bar --]
        foreach elem $context {
            lappend cmd $elem
        set context_bar [eval $cmd]
        # this is rather a hack, but just needed for streaming output
        # a more general solution can be provided at some later time...
        regsub "#acs-kernel.Main_Site#" $context_bar  [_ acs-kernel.Main_Site] context_bar

    append body [ad_header $title """\n"
    if {$form ne ""} {
        append body "<form $form>"

    return "$body\n
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:

[ hide source ] | [ make this the default ]
Show another procedure: