<?xml version="1.0" encoding="UTF-8"?>
<actions max-version="1972" version-mismatch="skip">

<meta>
  <description>Biber BIBDIA</description>
</meta>


<action id="connect">
</action>

<action id="update-all"> 
  <s>vl:delete-current-books()</s>
  <loop list="('medk', 'vorm')" var="func">
    <page url="{$baseurl}/user.C" templateFile="update">
      <post name="BENUTZER" value="{$username}"/>
      <post name="FUNC" value="{$func}"/>
      <post name="LANG" value="de"/>
      <post name="PASSWORD" value="{$password}"/>
    </page>
  </loop>
</action>

<action id="update-single">
  <try>
    <page url="{$baseurl}/ftitle.C?LANG=de&FUNC=full&DUM1=0&{$book._internalTitleId}=YES" templateFile="quickDetails"/>
    <catch errors="*"></catch>
  </try>
</action>

<action id="renew-list">
  <s>form := request-combine($renew-form, $renew-books!{.("_internalId"): "YES"})</s>
  <page url="{$form}"/>
  <call action="update-all"/>
</action>

<action id="cancel-list">
  <s>form := request-combine($cancel-form, $cancel-books!{.("_internalId"): "YES"})</s>
  <page url="{$form}"/>
  <call action="update-all"/>
</action>


</actions>