Index: openacs-4/packages/acs-admin/www/auth/authority.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/auth/authority.adp,v diff -u -r1.6 -r1.7 --- openacs-4/packages/acs-admin/www/auth/authority.adp 8 Oct 2003 09:58:01 -0000 1.6 +++ openacs-4/packages/acs-admin/www/auth/authority.adp 16 Oct 2003 13:57:10 -0000 1.7 @@ -11,6 +11,12 @@ + +

+ » Configure drivers for this authority +

+
+

Batch Jobs

Index: openacs-4/packages/acs-admin/www/auth/batch-job.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/auth/batch-job.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/acs-admin/www/auth/batch-job.tcl 16 Sep 2003 13:04:12 -0000 1.4 +++ openacs-4/packages/acs-admin/www/auth/batch-job.tcl 16 Oct 2003 13:57:10 -0000 1.5 @@ -13,73 +13,74 @@ set page_title "One batch job" set context [list [list "." "Authentication"] [list [export_vars -base authority { {authority_id $batch_job(authority_id)} }] "$batch_job(authority_pretty_name)"] $page_title] -ad_form -name batch_job_form \ - -mode display \ - -display_buttons {} \ - -form { - {authority_pretty_name:text(inform) - {label "Authority name"} - } - {job_start_time:text(inform) - {label "Start time"} - } - {job_end_time:text(inform) - {label "End time"} - } - {run_time_seconds:text(inform) - {label "Running time"} - {after_html " seconds"} - } - {interactive_p:text(inform) - {label "Interactive"} - } - {snapshot_p:text(inform) - {label "Snapshot"} - } - {message:text(inform) - {label "Message"} - } - {creation_user:text(inform) - {label "Creation user"} - } - {doc_start_time:text(inform) - {label "Document start time"} - } - {doc_end_time:text(inform) - {label "Document end time"} - } - {doc_status:text(inform) - {label "Document status"} - } - {doc_message:text(inform) - {label "Document message"} - } - {document_download:text(inform) - {label "Document"} - } - {num_actions:text(inform) - {label "Number of actions"} - } - {num_problems:text(inform) - {label "Number of problems"} - } - } -on_request { - foreach element_name [array names batch_job] { - # Make certain columns pretty for display - if { [regexp {_p$} $element_name] } { - set $element_name [ad_decode $batch_job($element_name) "t" "Yes" "No"] - } elseif { [string equal $element_name "creation_user"] && ![empty_string_p $batch_job($element_name)] } { - set $element_name [acs_community_member_link -user_id $batch_job($element_name)] - } else { - set $element_name $batch_job($element_name) - } - } +ad_form \ + -name batch_job_form \ + -mode display \ + -display_buttons {} \ + -form { + {authority_pretty_name:text(inform) + {label "Authority name"} + } + {job_start_time:text(inform) + {label "Start time"} + } + {job_end_time:text(inform) + {label "End time"} + } + {run_time_seconds:text(inform) + {label "Running time"} + {after_html " seconds"} + } + {interactive_p:text(inform) + {label "Interactive"} + } + {snapshot_p:text(inform) + {label "Snapshot"} + } + {message:text(inform) + {label "Message"} + } + {creation_user:text(inform) + {label "Creation user"} + } + {doc_start_time:text(inform) + {label "Document start time"} + } + {doc_end_time:text(inform) + {label "Document end time"} + } + {doc_status:text(inform) + {label "Document status"} + } + {doc_message:text(inform) + {label "Document message"} + } + {document_download:text(inform) + {label "Document"} + } + {num_actions:text(inform) + {label "Number of actions"} + } + {num_problems:text(inform) + {label "Number of problems"} + } + } -on_request { + foreach element_name [array names batch_job] { + # Make certain columns pretty for display + if { [regexp {_p$} $element_name] } { + set $element_name [ad_decode $batch_job($element_name) "t" "Yes" "No"] + } elseif { [string equal $element_name "creation_user"] && ![empty_string_p $batch_job($element_name)] } { + set $element_name [acs_community_member_link -user_id $batch_job($element_name)] + } else { + set $element_name [ad_quotehtml $batch_job($element_name)] + } + } - set job_start_time [lc_time_fmt $batch_job(job_start_time) "%x %X"] - set job_end_time [lc_time_fmt $batch_job(job_end_time) "%x %X"] + set job_start_time [lc_time_fmt $batch_job(job_start_time) "%x %X"] + set job_end_time [lc_time_fmt $batch_job(job_end_time) "%x %X"] - set document_download "download" - } + set document_download "download" + } set pagination_sql { select entry_id