<screens>

<!--
 <use-perl-module>ACIS::Web::NewUser</use-perl-module>
 <use-perl-module>ACIS::Web::User</use-perl-module>
 
 <use-perl-module>ACIS::Web::Affiliations</use-perl-module>
-->

 <set var='config-params-for-presenters' 
      value=''/>


<!--  common system screens -->
 
 <screen id='index' process-on-POST='1'>

   <use module='ACIS::Web::Site'/>
   <use module='ACIS::Web::User'/>

   <init>
     <call function='ACIS::Web::Site::homepage'/>
   </init>

   <process>
     <call function='ACIS::Web::User::normal_login' />      
   </process>

   <presentation type='xslt' filename='index.xsl' />
 </screen>


 <!--  user screens -->

  <screen id='welcome'>

    <use module='ACIS::Web::User'/>
    <use module='ACIS::Web::Contributions' />

    <call function='load_session_or_authenticate' />
    <call function='ACIS::Web::User::check_session_type' />
    <call function='ACIS::Web::Contributions::prepare'/>
    <call function='ACIS::Web::User::welcome' />

    <presentation type='xslt' filename='user/welcome.xsl' />

  </screen>

  <screen id='menu'>
    <use module='ACIS::Web::User'/>
    <!-- 

      this screen should check the requested short-id, check what type of
      record that record is, and choose the presenter based on the type.

    -->
    <call function='load_session_or_authenticate' />
    <call function='ACIS::Web::User::check_session_type' />
    <presentation type='xslt' filename='user/welcome.xsl' /> 
  </screen>

  <screen id='records-menu'>
    <presentation type='xslt' filename='user/records-menu.xsl'/>
  </screen>

  
  <screen id='forgotten-password'>
    
    <process>
      <call function='ACIS::Web::forgotten_password' />
    </process>

    <presentation type='xslt' filename='misc/forgotten-password.xsl' />
  </screen>
  

  <screen id='name' process-on-POST='1'>

    <use module='ACIS::Web::User'/>

    <param name='full-name'       required='yes' type='name'     
           place='record:name/full'/>

    <param name='first-name'      required='yes' type='name'      
           place='record:name/first'/>
    <param name='middle-name'                    type='name'      
           place='record:name/middle'/>
    <param name='last-name'       required='yes' type='name'      
           place='record:name/last'/>
    <param name='name-suffix'     required='no'
           place='record:name/suffix'
           maxlen='100'
           />

    <param name='name-latin'      required='no'  type='latinname' 
           place='record:name/latin'/>

    <param name='name-variations' required='no' 
           maxlen='2000'/>

    <call function='load_session_or_authenticate' />

    <init>
      <call function='prepare_form_data' />
      <call function='ACIS::Web::User::name_screen_init'/>
    </init>
    
    <process>
      <call function='check_input_parameters' />
      <call function='ACIS::Web::User::name_screen_process1' />
      <call function='process_form_data' />
      <call function='ACIS::Web::User::name_screen_process2' />
    </process>
    
    <presentation type='xslt' filename='person/name.xsl' />
  </screen>




  <screen id='contact'>
    
    <use module='ACIS::Web::User'/>

    <param name='email'           required='yes' type='simpleemail' 
                                  place='record:contact/email'/>
    <param name='email-pub'       type='printable'                
                                  place='record:contact/email-pub'/>
    <param name='homepage'        type='url'                      
                                  place='record:contact/homepage'/>
    <param name='phone'           type='printable'                
                                  place='record:contact/phone'
                                  maxlen='1000'
                                  />
    <param name='postal'          place='record:contact/postal'
                                  maxlen='1000'
                                  />

    <call function='load_session_or_authenticate' />
    <call function='ACIS::Web::User::check_session_type' />

    <init>
      <call function='prepare_form_data' />
    </init>
    
    <process>
      <call function='check_input_parameters' />
      <call function='process_form_data'      />
      <call function='ACIS::Web::User::contact_screen_process' />
    </process>
    
    <presentation type='xslt' filename='person/contact.xsl' />

  </screen>


  <screen id='affiliations'>

    <use module='ACIS::Web::Affiliations'/>

    <param name='handle'      type='printable'/>
    <param name='name'        />
    <param name='add'         type='printable'/>
    <param name='remove'      type='printable'/>
    
    <call function='load_session_or_authenticate' />
    
    <init>
     <call function='ACIS::Web::Affiliations::prepare'/>
     <call function='ACIS::Web::Affiliations::make_it_visible'/>
    </init>
    
    <process>
      <call function='check_input_parameters' />
      <call function='ACIS::Web::Affiliations::general_handler'/>
    </process>
    
    <presentation type='xslt' filename='person/affiliations.xsl' />
  </screen>
  

  <screen id='affiliations/search'>

    <use module='ACIS::Web::Affiliations'/>

    <param name='search'      type='printable'
           maxlen='300' />
    <param name='search-by'   type='printable'/>
    <param name='search-what' required='yes'/>
    
    <call function='load_session_or_authenticate' />

    <process>
      <call function='check_input_parameters' />
      <call function='ACIS::Web::Affiliations::search'/>
    </process>

    <presentation type='xslt' filename='person/affiliations-search.xsl' />
  </screen>
  

  <screen id='new-institution'>

    <use module='ACIS::Web::Affiliations'/>

    <param name='name'     type='name' required='yes' maxlen='1000'/>
    <param name='name-english' type='latinname' maxlen='1000'/>
    <param name='location' required='yes' maxlen='500'/>
    <param name='homepage' type='url'  required='yes' />
    <param name='email'    type='simpleemail'     />

    <param name='postal'   maxlen='500' />
    <param name='phone'    type='printable' maxlen='500'/>
    <param name='fax'      type='printable' maxlen='500'/>
    <param name='handle'   type='printable' maxlen='500'/>
    <param name='note'     maxlen='1000'/>

    <param name='add-institution'/>

    <call function='load_session_or_authenticate' />
    
    <process>
      <call function='check_input_parameters' />
      <call function='ACIS::Web::Affiliations::submit_institution' />
    </process>
    
    <presentation type='xslt' filename='person/affiliations/new-institution.xsl' />
  </screen>
  

  <screen id='affiliations-ir-guide'>
    <presentation type='xslt' filename='person/affiliations-ir-guide.xsl' />
  </screen>


  
 <screen id='profile-overview'>
 
   <use module='ACIS::Web::User'/>
   <use module='ACIS::Web::Affiliations'/>
   <use module='ACIS::Web::Contributions' />

   <call function='load_session' />
   <call function='ACIS::Web::Affiliations::prepare'/>
   <call function='ACIS::Web::Contributions::prepare_the_role_list'/>

   <call function='ACIS::Web::User::profile_overview'/>
   
   <presentation type='xslt' filename='person/profile-overview.xsl' />
  </screen>



  <screen id='settings'>

    <use module='ACIS::Web::User'/>

    <param name='name'    type='name' if-not-empty='1'
           place='owner:name' 
           maxlen='1000'/>

    <param name='email'   required='yes' 
           type='simpleemail'
           />
    <!-- this parameter is checked and handled carefully in
    ACIS::Web::User::set_user_login() -->

    <param name='record-email'/>

    <param name='pass'/>
    <param name='pass-new'     type='password'/>
    <param name='pass-confirm' type='password'/>
    <!-- also: remember-email, remember-pass -->

    <call function='load_session_or_authenticate' />
    <call function='ACIS::Web::User::check_session_type' />

    <init>
      <call function='prepare_form_data' />
      <call function='ACIS::Web::User::settings_prepare'     />
    </init>

    <process>
      <call function='check_input_parameters' />
      <call function='ACIS::Web::User::settings'     />
      <call function='process_form_data' />
      <call function='prepare_form_data' />
      <call function='ACIS::Web::User::settings_prepare'     />
    </process>

    <presentation type='xslt' filename='user/settings.xsl' />
  </screen>
 


  <screen id='off'>

    <use module='ACIS::Web::User'/>

    <call function='load_session' />
    <call function='ACIS::Web::User::check_session_type' />
    <call function='logoff_session' />
    
    <presentation type='xslt' filename='user/good-bye.xsl' />
  </screen>


  <!-- <screen id='re-search'>
    <use module='ACIS::APU::RP'/>
    <call function='load_session_or_authenticate' />
    <call function='ACIS::Web::Contributions::prepare'/>
    <call function='ACIS::APU::RP::search'/> 
    <presentation type='xslt' filename='person/research-arpm-email.xsl' />
  </screen> -->


  <screen id='research'>
    <use module='ACIS::Web::Contributions' />
    <use module='ACIS::Web::Background'/>

    <init>
      <call function='load_session_or_authenticate' />
      <call function='ACIS::Web::Contributions::prepare'/>
      <call function='ACIS::Web::Contributions::main_screen'/>
    </init>

    <process>
      <call function='load_session_or_authenticate' />
      <call function='ACIS::Web::Contributions::prepare'/>
      <call function='ACIS::Web::Contributions::process'/>
      <call function='ACIS::Web::Contributions::main_screen'/>
      <call function='ACIS::Web::Contributions::switch'/>
    </process>
    
    <presentation type='xslt' filename='person/research/main.xsl' />

  </screen>


  <screen id='research/ir-guide'>
    <presentation type='xslt' filename='person/research/ir-guide.xsl' />
  </screen>


  <screen id='research/autosuggest-all'>

    <use module='ACIS::Web::Contributions' />
    <use module='ACIS::Web::Background'/>

    <init>
      <call function='load_session_or_authenticate' />
      <call function='ACIS::Web::Contributions::prepare'/>
      <call function='ACIS::Web::Contributions::main_screen'/>
    </init>

    <process>
      <call function='load_session_or_authenticate' />
      <call function='ACIS::Web::Contributions::prepare'/>
      <call function='ACIS::Web::Contributions::process'/>
      <call function='ACIS::Web::Contributions::main_screen'/>
      <call function='ACIS::Web::Contributions::switch'/>
    </process>
    
    <presentation type='xslt' filename='person/research/autosuggest-all.xsl' />

  </screen>


  <screen id='research/autosuggest'>

    <use module='ACIS::Web::Contributions' />
    <use module='ACIS::Web::Background'/>

    <init>
      <call function='load_session_or_authenticate' />
      <call function='ACIS::Web::Contributions::prepare'/>
      <call function='ACIS::Web::Contributions::main_screen'/>
    </init>

    <process>
      <call function='load_session_or_authenticate' />
      <call function='ACIS::Web::Contributions::prepare'/>
      <call function='ACIS::Web::Contributions::process'/>
      <call function='ACIS::Web::Contributions::main_screen'/>
      <call function='ACIS::Web::Contributions::switch'/>
    </process>
    
    <presentation type='xslt' filename='person/research/autosuggest-chunk.xsl' />

  </screen>


  <screen id='research/identified'>

    <use module='ACIS::Web::Contributions' />

    <init>
      <call function='load_session_or_authenticate' />
      <call function='ACIS::Web::Contributions::prepare'/>
      <call function='ACIS::Web::Contributions::prepare_identified'/>
    </init>

    <process>
      <call function='load_session_or_authenticate' />
      <call function='ACIS::Web::Contributions::prepare'/>
      <call function='ACIS::Web::Contributions::prepare_identified'/>
      <call function='ACIS::Web::Contributions::process'/>
    </process>
    
    <presentation type='xslt' filename='person/research/identified.xsl' />

  </screen>

  <screen id='research/refused'>
    <use module='ACIS::Web::Contributions' />
    <call function='load_session_or_authenticate' />
    <call function='ACIS::Web::Contributions::prepare_refused'/>
    <process>
      <call function='ACIS::Web::Contributions::process_refused'/>
    </process>
    <presentation type='xslt' filename='person/research/refused.xsl' />
  </screen>

  <screen id='research/refused/xml'>
    <use module='ACIS::Web::Contributions' />
    <call function='load_session_or_authenticate' />
    <call function='ACIS::Web::Contributions::prepare_refused'/>
    <process>
      <call function='ACIS::Web::Contributions::process_refused_xml'/>
    </process>
    <call function='dump_variables_xml'/>
  </screen>


  <screen id='research/search'>
    <use module='ACIS::Web::Contributions' />
    <call function='load_session_or_authenticate' />
    <call function='ACIS::Web::Contributions::prepare'/>
    <process>
      <call function='ACIS::Web::Contributions::search'/>
      <call function='ACIS::Web::Contributions::process'/>
    </process>
    <presentation type='xslt' filename='person/research/search.xsl' />
  </screen>


  <screen id='research/auto/status'>
    <use module='ACIS::Web::Contributions' />
    <call function='load_session_or_authenticate' />
    <call function="ACIS::Web::Contributions::research_auto_status"/>
    <presentation type='xslt' filename='person/research/auto-status.xsl' />
  </screen>


  <screen id='research/autosuggest-1by1'>
    <use module='ACIS::Web::Contributions' />
    <call function='load_session_or_authenticate' />
    <call function='ACIS::Web::Contributions::prepare'/>
    <process>
      <call function='ACIS::Web::Contributions::process'/>
    </process>
    <call function="ACIS::Web::Contributions::show_whats_suggested"/>
    <call function="ACIS::Web::Contributions::reload_if_nothing_to_suggest"/>
    <presentation type='xslt' filename='person/research/autosuggest-1by1.xsl' />
  </screen>


  <screen id='research/autoupdate'>
    <use module='ACIS::Web::Contributions'/>
    <!-- <use module='ACIS::APU::RP'/> -->
    <param name ='arpm-name-search' 
           maxlen='10'
           place='record:contributions/preferences/arpm/name-search'/>
    <param name ='arpm-add-by-handle' 
           maxlen='10'
           place='record:contributions/preferences/arpm/add-by-handle'/>
    <param name ='arpm-add-by-name'   
           maxlen='10'
           place='record:contributions/preferences/arpm/add-by-name'/>
    <call function='load_session_or_authenticate' />
    <process>
      <call function='process_form_data' />
    </process>
    <call function='prepare_form_data' />
    <call function='ACIS::Web::Contributions::prepare'/>
    <presentation type='xslt' filename='person/research/autoupdate.xsl' />
  </screen>    
    

  <screen id='research/doclinks'>
    <use module='ACIS::Web::Contributions' />
    <use module='ACIS::Web::DocLinks' />
    <param name='del'       required='no' />
    <param name='add'       required='no' />
    <call function='load_session_or_authenticate' />
    <call function='ACIS::Web::Contributions::prepare'/>
    <call function='ACIS::Web::DocLinks::prepare'/>
    <process>
      <call function='ACIS::Web::DocLinks::process'/>
    </process>
    <presentation type='xslt' filename='person/research/doclinks.xsl' />
  </screen>

  <screen id='research/fturls'>
    <use module='ACIS::Web::Contributions' />
    <use module='ACIS::Web::FullTextURLs' />
    <call function='load_session_or_authenticate' />
    <call function='ACIS::Web::Contributions::prepare'/>
    <process>
      <call function='ACIS::Web::FullTextURLs::process'/>
    </process>
    <call function='ACIS::Web::FullTextURLs::prepare'/>
    <presentation type='xslt' filename='person/research/fturls.xsl' />
  </screen>

  <screen id='research/fturls/xmlpost'>
    <use module='ACIS::Web::FullTextURLs' />
    <call function='load_session_or_authenticate' />
    <process>
      <call function='ACIS::Web::FullTextURLs::process'/>
    </process>
  </screen>


  <screen id='citations'>
    <use module='ACIS::Web::Citations' />
    <call function='load_session_or_authenticate' />
    <call function='ACIS::Web::Citations::prepare'/>
    <call function='ACIS::Web::Citations::prepare_overview'/>
    <presentation type='xslt' filename='citations/overview.xsl' />
  </screen>

  <screen id='citations/potential' process-on-POST='y'>
    <use module='ACIS::Web::Citations' />
    <call function='load_session_or_authenticate' />
    <call function='ACIS::Web::Citations::prepare'/>
    <process>
      <call function='ACIS::Web::Citations::process_potential'/>
    </process>
    <call function='ACIS::Web::Citations::prepare_potential'/>
    <presentation type='xslt' filename='citations/potential.xsl' />
  </screen>

  <screen id='citations/identified'>
    <use module='ACIS::Web::Citations' />
    <call function='load_session_or_authenticate' />
    <call function='ACIS::Web::Citations::prepare'/>
    <process>
      <call function='ACIS::Web::Citations::process_identified'/>
    </process>
    <call function='ACIS::Web::Citations::prepare_identified'/>
    <presentation type='xslt' filename='citations/identified.xsl' />
  </screen>

  <screen id='citations/doclist'>
    <use module='ACIS::Web::Citations' />
    <call function='load_session_or_authenticate' />
    <call function='ACIS::Web::Citations::prepare'/>
    <call function='ACIS::Web::Citations::prepare_doclist'/>
    <presentation type='xslt' filename='citations/doclist.xsl' />
  </screen>

  <screen id='citations/autosug'>
    <use module='ACIS::Web::Citations' />
    <call function='load_session_or_authenticate' />
    <call function='ACIS::Web::Citations::prepare'/>
    <process>
      <call function='ACIS::Web::Citations::process_autosug'/>
    </process>
    <call function='ACIS::Web::Citations::prepare_autosug'/>
    <presentation type='xslt' filename='citations/potential.xsl' />
  </screen>

  <screen id='citations/refused'>
    <use module='ACIS::Web::Citations' />
    <call function='load_session_or_authenticate' />
    <call function='ACIS::Web::Citations::prepare'/>
    <process>
      <call function='ACIS::Web::Citations::process_refused'/>
    </process>
    <call function='ACIS::Web::Citations::prepare_refused'/>
    <presentation type='xslt' filename='citations/refused.xsl' />
  </screen>

  <screen id='citations/autoupdate'>
    <use module='ACIS::Web::Citations' />

    <param name='auto-identified-auto-add' 
           place='record:citations/meta/auto-identified-auto-add'/>
    <param name='co-auth-auto-add' 
           place='record:citations/meta/co-auth-auto-add'/>

    <call function='load_session_or_authenticate' />

    <process>
      <call function='process_form_data' />
      <call function='ACIS::Web::Citations::process_autoupdate'/>
    </process>

    <call function='prepare_form_data' />
    <call function='ACIS::Web::Citations::prepare'/>
    <call function='ACIS::Web::Citations::prepare_overview'/>
    <presentation type='xslt' filename='citations/autoupdate.xsl' />
  </screen>



<!--  new user registration screens -->

  <screen id='new-user'>

    <use module='ACIS::Web::NewUser'/>

    <param name='email'     required='yes' type='simpleemail'
                            place='record:contact/email,owner:login'/>
    <param name='email-pub' place='record:contact/email-pub'/>
    <param name='first-name' required='yes' type='name'     
                            place='record:name/first'/>
    <param name='middle-name'                 type='name'      
           place='record:name/middle'/>
    <param name='last-name'    required='yes' type='name'      
           place='record:name/last'/>
    <param name='name-suffix'  required='no'                   
           place='record:name/suffix'/>

    <param name='year'         required='yes' type='integer'   
           maxlen='10'
           place='session:registration-date/year' />
    <param name='month'        required='yes' type='integer'   
           maxlen='10'
           place='session:registration-date/month'/>
    <param name='day'          required='yes' type='integer'   
           maxlen='10'
           place='session:registration-date/day'  />

    <param name='pass'         required='yes' type='password'  
           place='owner:password'/>
    <param name='pass-confirm' required='yes' type='password'  />
    <param name='homepage'                    type='url'       
           place='record:contact/homepage'/>

    <init>
      <call function='ACIS::Web::NewUser::initial_prepare' />
    </init>
    
    <process>
      <call function='check_input_parameters' />
      <call function='ACIS::Web::NewUser::initial_process' />
    </process>
    
    <presentation type='xslt' filename='new-user/initial.xsl' />
  </screen>
  

  <screen id='new-user/additional'>

    <use module='ACIS::Web::NewUser'/>

    <param name='name-latin'      if-not-empty='1' type='latinname'
           place='record:name/latin' />
    <param name='name-variations' required='yes'
           maxlen='2000'
           />

    <call function='load_session' />

    <init>
      <call function='prepare_form_data' />
      <call function='ACIS::Web::NewUser::additional_prepare' />
    </init>
    
    <process>
      <call function='check_input_parameters' />
      <call function='process_form_data' />
      <call function='ACIS::Web::NewUser::additional_process' />
    </process>
    
   <presentation type='xslt' filename='new-user/additional.xsl' />
 </screen>




  <screen id='new-user/complete'>
   
    <use module='ACIS::Web::NewUser'/>
    <use module='ACIS::Web::Affiliations'/>
    <use module='ACIS::Web::Contributions'/>
    <use module='ACIS::Web::User'/>

    <call function='load_session' />
    <call function='ACIS::Web::NewUser::complete'     />

    <call function='ACIS::Web::Affiliations::prepare'/>
    <call function='ACIS::Web::Contributions::prepare_the_role_list'/>
    <call function='ACIS::Web::User::profile_overview'/>
    
    <presentation type='xslt' filename='new-user/complete.xsl' />

  </screen>
  
  <screen id='confirm'>

    <use module='ACIS::Web::NewUser'/>

    <call function='ACIS::Web::NewUser::confirm' />
    
    <presentation type='xslt' filename='new-user/confirm.xsl' />
  </screen>
  
  
  <screen id='login'>
    <call function='authenticate' />

    <presentation type='xslt' filename='misc/login.xsl'/>
  </screen>

  <screen id='relogin-password'>
    <presentation type='xslt' filename='misc/login-pass.xsl'/>
  </screen>

  <screen id='sorry'>
    <presentation type='xslt' filename='misc/sorry.xsl'/>
  </screen>

  <screen id='local-document'>
    <call function='load_session_if_possible' />
    <presentation type='xslt' filename='misc/local-document.xsl'/>
  </screen>    


  <screen id='unregister'>

    <use module='ACIS::Web::User'/>

    <call function='load_session_or_authenticate' />
    <call function='ACIS::Web::User::check_session_type' />

    <process>
      <call function='ACIS::Web::User::remove_account' />
    </process>
    
    <presentation type='xslt' filename='user/unregister.xsl' />

 </screen>


 <screen id='account-deleted'>
   <presentation type='xslt' filename='user/account-deleted.xsl' />
 </screen>

  

  <screen id='settings/prourl'>

    <use module='ACIS::Web::User'/>

    <call function='load_session_or_authenticate'          />
    <call function='ACIS::Web::User::rebuild_profile_url'  />
    <presentation type='xslt' filename='person/generic.xsl'/>
  </screen>


  <screen id='meta/update'>
    <use module='ACIS::Web::MetaUpdate'/>
    
    <call function='ACIS::Web::MetaUpdate::authorize_request'/>
    <call function='ACIS::Web::MetaUpdate::handle_request'/>
  </screen>


  <screen id='adm/pass'>
    <presentation type='xslt' filename='adm/pass.xsl'/>
  </screen>

  <screen id='adm'>
    <use module='ACIS::Web::Admin'/>

    <call function='ACIS::Web::Admin::check_access'/>
    <presentation type='xslt' filename='adm/index.xsl'/>
 </screen>


  <screen id='adm/sessions'>
    <use module='ACIS::Web::Admin'/>

    <call function='ACIS::Web::Admin::check_access'/>
    <call function='ACIS::Web::Admin::show_sessions'/>
    <presentation type='xslt' filename='adm/sessions.xsl'/>
 </screen>


 <screen id='adm/session'>
   
   <use module='ACIS::Web::Admin'/>

   <call function='ACIS::Web::Admin::check_access'/>
   <call function='ACIS::Web::Admin::session_act'/>
   <presentation type='xslt' filename='adm/session.xsl'/>
 </screen>

 <screen id='adm/session/deleted'>
   <presentation type='xslt' filename='adm/session-deleted.xsl'/>
 </screen>

 <screen id='adm/search'>
   <use module='ACIS::Web::Admin'/>
   <call function='ACIS::Web::Admin::check_access'/>
   
   <process>
     <call function='ACIS::Web::Admin::prepare_env'/>
     <call function='ACIS::Web::Admin::adm_search'/>
     <call function='ACIS::Web::Admin::dump_presenter_data'/>
   </process>

   <presentation type='xslt' filename='adm/search.xsl'/>
 </screen>
 
 <screen id='adm/search/doc'>
   <presentation type='xslt' filename='adm/search-res-doc.xsl'/>
 </screen>

 <screen id='adm/search/rec'>
   <presentation type='xslt' filename='adm/search-res-rec.xsl'/>
 </screen>

 <screen id='adm/search/usr'>
   <presentation type='xslt' filename='adm/search-res-usr.xsl'/>
 </screen>
 

 <screen id='adm/user/republish'><!-- not implemented yet -->

   <param name='login'/>
   
   <use module='ACIS::Web::Admin'/>
   
   <call function='ACIS::Web::Admin::check_access'/>
   <call function='ACIS::Web::Admin::user_republish'/>
   <presentation type='xslt' filename='adm/user-republish.xsl'/>
  
 </screen>
 

  <screen id='adm/events/raw'>

    <use module='ACIS::Web::Admin'/>
    <use module='ACIS::Web::Admin::Events'/>
    
    <call function='ACIS::Web::Admin::check_access'/>
    <call function='ACIS::Web::Admin::Events::recent_events_raw'/>
    <presentation type='xslt' filename='adm/events-raw.xsl'/>
    
  </screen>

  <screen id='adm/events/decode'>
    
    <use module='ACIS::Web::Admin'/>
    <use module='ACIS::Web::Admin::Events'/>

    <call function='ACIS::Web::Admin::check_access'/>
    <call function='ACIS::Web::Admin::Events::recent_events_decode'/>
    <presentation type='xslt' filename='adm/events-decode.xsl'/>
    
  </screen>

  <screen id='adm/events/overview'>
    <presentation type='xslt' filename='adm/events-overview.xsl'/>
  </screen>

  <screen id='adm/events/pref'>
    <use module='ACIS::Web::Admin'/>
    <use module='ACIS::Web::Admin::Events'/>

    <call function='ACIS::Web::Admin::check_access'/>
    <call function='ACIS::Web::Admin::Events::preferences'/>
    
    <presentation type='xslt' filename='adm/events-pref.xsl'/>
  </screen>



  <screen id='adm/events'>
    
    <use module='ACIS::Web::Admin'/>
    <use module='ACIS::Web::Admin::Events'/>

    <call function='ACIS::Web::Admin::check_access'/>
    <call function='ACIS::Web::Admin::Events::events'/>

    <presentation type='xslt' filename='adm/events-decode.xsl'/>
    
  </screen>

  <screen id='adm/events/archive'>
    <use module='ACIS::Web::Admin'/>
    <use module='ACIS::Web::Admin::Events'/>
    <use module='ACIS::Web::Admin::EventsArchiving'/>
    <call function='ACIS::Web::Admin::check_access'/>
    <call function='ACIS::Web::Admin::EventsArchiving::archive_screen'/>
  </screen>    

  <screen id='adm/events/recent'>
    <use module='ACIS::Web::Admin'/>
    <use module='ACIS::Web::Admin::Events'/>
    <call function='ACIS::Web::Admin::check_access'/>
    <call function='ACIS::Web::Admin::Events::events_recent'/>

    <presentation type='xslt' filename='adm/events-recent.xsl'/>
  </screen>    


  <screen id='adm/events/show'>
    <use module='ACIS::Web::Admin'/>
    <use module='ACIS::Web::Admin::Events'/>
    <call function='ACIS::Web::Admin::check_access'/>
    <call function='ACIS::Web::Admin::Events::events_show_screen'/>
  </screen>    




  <screen id='adm/sql'>

    <use module='ACIS::Web::Admin'/>
    
    <call function='ACIS::Web::Admin::check_access'/>
    
    <process>
      <call function='ACIS::Web::Admin::prepare_env'/>
      <call function='ACIS::Web::Admin::sql_query_analyze'/>
    </process>

    <presentation type='xslt' filename='adm/sql.xsl'/>
  </screen>


  <screen id='adm/get'>

    <use module='ACIS::Web::Admin'/>
    
    <call function='ACIS::Web::Admin::check_access'/>
    <call function='ACIS::Web::Admin::adm_get'/>

    <presentation type='xslt' filename='adm/get.xsl'/>
  </screen>


  <screen id='application-error'>
    <presentation type='xslt' filename='misc/application-error.xsl'/>
  </screen>


</screens>
