Bild-Permalink

Aus Data-Wiki
<dfl:part name="Bild-Permalink">
			<!-- Noch vervollständigen. -->
			<dfl:if test="./fto and $Status.SearchMode='obj'">
				<li>
					<a style="font: 14px/23px Signika,Arial,Helvetica,sans-serif !important;">
						<dfl:attribute name="href">
							<dfl:webrootbaseurl/>
							<dfl:text>media/</dfl:text>
							<dfl:value-of select="ancestor::document/@docType"/>
							<dfl:value-of select="ancestor::document/@docNumber"/>
							<dfl:text>/</dfl:text>
							<dfl:variable name="temp">
								<dfl:wrap>{a8540>>a8555>>a8408>>a8470>>a8472>>a84fl>>a84bh>>a85bh}</dfl:wrap>
							</dfl:variable>
							<dfl:value-of select="edps:Xslt2Replace(string($temp), '\s', '+', 'g')"/>
							<dfl:text>?medium=</dfl:text>
							<dfl:wrap>{a8540>>a8555>>a8470>>a8472}</dfl:wrap>
						</dfl:attribute> Mehr Informationen zum Bild </a>
					<br/>
					<br/>
				</li>
			</dfl:if>
			<dfl:li class="Bausteine Bild-Permalink" dfl:test="$Status.SearchMode='obj'">
				<dfl:if test="a8540 or a8555 or a8470 or a8472">
					<span class="gridLeft">
						<dfl:text>Bildlink:</dfl:text>
					</span>
					<span class="gridRight">
						<a style="width:100%">
							<dfl:attribute name="href">
								<dfl:webrootbaseurl/>
								<dfl:choose>
									<dfl:when test="$Status.SearchMode='pic'">
										<dfl:text>media/</dfl:text>
									</dfl:when>
									<dfl:otherwise>
										<dfl:text>document/</dfl:text>
									</dfl:otherwise>
								</dfl:choose>
								<dfl:value-of select="ancestor::document/@docType"/>
								<dfl:value-of select="ancestor::document/@docNumber"/>
								<dfl:if test="$Status.SearchMode='pic'">
									<dfl:text>/</dfl:text>
									<dfl:value-of select="$ETEVariables/id"/>
								</dfl:if>
								<dfl:text>?medium=</dfl:text>
								<dfl:wrap>{a8540>>a8555>>a8470>>a8472}</dfl:wrap>
								<dfl:if test="normalize-space(/root/command/parameter[@var='part']) and /root/command/parameter[@var='part']!='0'">
									<dfl:text>&part=</dfl:text>
									<dfl:value-of select="/root/command/parameter[@var='part']"/>
								</dfl:if>
							</dfl:attribute>
							<dfl:webrootbaseurl/>
							<dfl:choose>
								<dfl:when test="$Status.SearchMode='pic'">
									<dfl:text>media/</dfl:text>
								</dfl:when>
								<dfl:otherwise>
									<dfl:text>document/</dfl:text>
								</dfl:otherwise>
							</dfl:choose>
							<dfl:value-of select="ancestor::document/@docType"/>
							<dfl:value-of select="ancestor::document/@docNumber"/>
							<dfl:if test="$Status.SearchMode='pic'">
								<dfl:text>/</dfl:text>
								<dfl:value-of select="$ETEVariables/id"/>
							</dfl:if>
							<dfl:text>?medium=</dfl:text>
							<dfl:wrap>{a8540>>a8555>>a8470>>a8472}</dfl:wrap>
							<dfl:if test="normalize-space(/root/command/parameter[@var='part']) and /root/command/parameter[@var='part']!='0'">
								<dfl:text>&part=</dfl:text>
								<dfl:value-of select="/root/command/parameter[@var='part']"/>
							</dfl:if>
						</a>
					</span>
				</dfl:if>
			</dfl:li>
		</dfl:part>