<template:switch prioritized="true"> <body t:test="$connect-target = 'account'"> <template:meta default-text-matching="regex"/> <template:switch prioritized="true"> <li> <button type="button" name="$ScriptButton">Konto</button> <input type="hidden" name="$ScriptButton_hidden"/> {$loginForm:=form(ancestor::form[1], let $code := .//button!tokenize(@onclick, ",")[last()]!extract(., "['""](.*)['""]", 1) return .//input/{@name: $code, "": {"kind": "submit"}} )} </li> <a> (^Benutzerkonto$)|(Konto$)|(^Anmeldung$) <t:s>$loginForm := let $href := @href return if (starts-with($href, "javascript:")) then let $code := extract($href, "javascript:top\.htmlOnLink\(['""](.*)['""]\)", 1) return if ($code) then form(ancestor::form[1], "selected=ZTEXT "||$code) else vl:raise-internal("Der Link zum Ausleihkonto konnte nicht geöffnet werden: """ || . || """: " || $href ) else $href</t:s> </a> <!--<a>Mein Konto<t:s>searchPage:=$url</t:s></a>--> </template:switch> </body> <body t:test="$connect-target = 'search'"> <template:switch prioritized="true"> <a>Erweiterte Suche<t:s>$searchPage := @href</t:s></a> <input type="submit" value="Erweiterte Suche" >{searchPage:=form(ancestor::form[1], .)}</input> <form> <t:switch> <span class="txtinsert">Erweiterte Suche</span> <h1>Erweiterte Suche</h1> </t:switch> <select t:condition="contains(@id, 'SUCH0')"/>{3} <t:s>searchPage:=base-uri()</t:s> </form> <a>Suche<t:s>connectPage:=@href</t:s></a> </template:switch> </body> <div class="aDISMaske"> <div id="spruch">Zu viele Benutzer</div> <div id="main">{vl:raise(inner-text())}</div> </div> <div id="main" t:condition="matches(., 'Benutzer|Wartung|Störung')">{vl:raise(inner-text())}</div> <meta http-equiv="refresh">{$connectPage}</meta> <a title="Zur Startseite">{$connectPage}</a> <a><t:s>$connectPage</t:s>Neue Sitzung</a> <h1>Fehler<t:s>vl:raise( join((//title/concat(., ":"), ..)) => normalize-space() )</t:s></h1> <!-- <h1>{vl:raise(..)}</h1>--> </template:switch>