Commit 30255c76 authored by Jens Kupferschmidt's avatar Jens Kupferschmidt
Browse files

fix bug(s)

parent b61443de
......@@ -69,7 +69,7 @@
<xed:bind xpath="@inherited" default="0"/>
<p>
<xed:include uri="webapp:editor/import_editor_language_viaf.xed"/>
<xed:controls/>
<xed:controls>add remove up down</xed:controls>
<br/>
<xed:bind xpath="fullname">
<p>
......@@ -107,7 +107,7 @@
<xed:bind xpath="@inherited" default="0"/>
<p>
<xed:include uri="webapp:editor/import_editor_language_viaf.xed"/>
<xed:controls/>
<xed:controls>add remove up down</xed:controls>
<br/>
<p>
<xed:bind xpath="fullname">
......@@ -142,7 +142,7 @@
<xed:repeat xpath="text" min="1" max="5">
<p>
<xed:include uri="webapp:editor/import_editor_language_viaf.xed"/>
<xed:controls/>
<xed:controls>add remove up down</xed:controls>
<br/>
<input type="text" class="dpt_editor_inputfield" id="firstdate" maxlength="128"/>
<span>
......@@ -188,7 +188,7 @@
<xed:bind xpath="@inherited" default="0"/>
<p>
<xed:include uri="webapp:editor/import_editor_language_viaf.xed"/>
<xed:controls/>
<xed:controls>add remove up down</xed:controls>
<br/>
<p>
<input type="text" class="dpt_editor_inputfield" id="firstPlace" maxlength="128"/>
......@@ -209,17 +209,11 @@
<xed:bind xpath="def.firstPlaceIdentifier[@class='MCRMetaLangText']">
<xed:bind xpath="@notinherit" default="true"/>
<xed:bind xpath="@heritable" default="false"/>
<xed:repeat xpath="firstPlaceIdentifier" min="1" max="5">
<xed:bind xpath="@inherited" default="0"/>
<xed:bind xpath="firstPlaceIdentifier[@inherited='0']">
<p>
<xed:include uri="webapp:editor/import_editor_language_viaf.xed"/>
<xed:controls/>
<br/>
<p>
<input type="text" class="dpt_editor_inputfield" id="firstPlaceIdentifier" maxlength="128"/>
</p>
<input type="text" class="dpt_editor_inputfield" id="firstPlaceIdentifier" maxlength="128"/>
</p>
</xed:repeat>
</xed:bind>
</xed:bind>
</td>
</tr>
......@@ -239,7 +233,7 @@
<xed:repeat xpath="text" min="1" max="5">
<p>
<xed:include uri="webapp:editor/import_editor_language_viaf.xed"/>
<xed:controls/>
<xed:controls>add remove up down</xed:controls>
<br/>
<input type="text" class="dpt_editor_inputfield" id="seconddate" maxlength="128"/>
<span>
......@@ -285,7 +279,7 @@
<xed:bind xpath="@inherited" default="0"/>
<p>
<xed:include uri="webapp:editor/import_editor_language_viaf.xed"/>
<xed:controls/>
<xed:controls>add remove up down</xed:controls>
<br/>
<p>
<input type="text" class="dpt_editor_inputfield" id="secondPlace" maxlength="128"/>
......@@ -306,17 +300,11 @@
<xed:bind xpath="def.secondPlaceIdentifier[@class='MCRMetaLangText']">
<xed:bind xpath="@notinherit" default="true"/>
<xed:bind xpath="@heritable" default="false"/>
<xed:repeat xpath="secondPlaceIdentifier" min="1" max="5">
<xed:bind xpath="@inherited" default="0"/>
<xed:bind xpath="secondPlaceIdentifier[@inherited='0']">
<p>
<xed:include uri="webapp:editor/import_editor_language_viaf.xed"/>
<xed:controls/>
<br/>
<p>
<input type="text" class="dpt_editor_inputfield" id="secondPlaceIdentifier" maxlength="128"/>
</p>
<input type="text" class="dpt_editor_inputfield" id="secondPlaceIdentifier" maxlength="128"/>
</p>
</xed:repeat>
</xed:bind>
</xed:bind>
</td>
</tr>
......@@ -335,7 +323,7 @@
<xed:bind xpath="@inherited" default="0"/>
<p>
<xed:include uri="webapp:editor/import_editor_language_viaf.xed"/>
<xed:controls/>
<xed:controls>add remove up down</xed:controls>
<br/>
<p>
<input type="text" class="dpt_editor_inputfield" id="profession" maxlength="128"/>
......@@ -360,7 +348,7 @@
<xed:bind xpath="@inherited" default="0"/>
<p>
<xed:include uri="webapp:editor/import_editor_language_viaf.xed"/>
<xed:controls/>
<xed:controls>add remove up down</xed:controls>
<br/>
<p>
<input type="text" class="dpt_editor_inputfield" id="professionIdentifier" maxlength="128"/>
......@@ -385,7 +373,7 @@
<xed:bind xpath="@inherited" default="0"/>
<p>
<xed:include uri="webapp:editor/import_editor_language_viaf.xed"/>
<xed:controls/>
<xed:controls>add remove up down</xed:controls>
<br/>
<p>
<input type="text" class="dpt_editor_inputfield" id="areaOfActivity" maxlength="128"/>
......@@ -410,7 +398,7 @@
<xed:bind xpath="@inherited" default="0"/>
<p>
<xed:include uri="webapp:editor/import_editor_language_viaf.xed"/>
<xed:controls/>
<xed:controls>add remove up down</xed:controls>
<br/>
<p>
<input type="text" class="dpt_editor_inputfield" id="areaOfActivityIdentifier" maxlength="128"/>
......@@ -435,7 +423,7 @@
<xed:bind xpath="@inherited" default="0"/>
<p>
<xed:include uri="webapp:editor/import_editor_language_viaf.xed"/>
<xed:controls/>
<xed:controls>add remove up down</xed:controls>
<br/>
<p>
<textarea type="text" class="dpt_editor_inputarea" id="literarySource" maxlength="4096"
......@@ -461,7 +449,7 @@
<xed:bind xpath="@inherited" default="0"/>
<p>
<xed:include uri="webapp:editor/import_editor_language_viaf.xed"/>
<xed:controls/>
<xed:controls>add remove up down</xed:controls>
<br/>
<p>
<textarea type="text" class="dpt_editor_inputarea" id="note" maxlength="4096" height="7"/>
......@@ -492,7 +480,7 @@
<option value="viaf">VIAF</option>
</select>
</xed:bind>
<xed:controls/>
<xed:controls>add remove up down</xed:controls>
</p>
<p>
<input type="text" class="dpt_editor_inputfield" id="identifier" maxlength="128"/>
......
......@@ -10,13 +10,6 @@
<xsl:variable name="Index" select="'module.dptbase.viaf.indexpage.title.filtered'"/>
<xsl:variable name="titlepath" select="'/mycoreobject/metadata/def.preferredName'"/>
<xsl:variable name="xedSession">
<xsl:call-template name="UrlGetParam">
<xsl:with-param name="url" select="$RequestURL"/>
<xsl:with-param name="par" select="'_xed_subselect_session'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="editorValue">
<xsl:variable name="pValue">
<xsl:call-template name="UrlGetParam">
......@@ -33,6 +26,7 @@
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="editorValueTitle">
<xsl:variable name="pValue">
<xsl:call-template name="UrlGetParam">
......@@ -86,7 +80,7 @@
<li class="dpt_index_results_value">
<a title="{$toolTip}">
<xsl:attribute name="href">
<xsl:value-of select="concat($ServletsBaseURL,'XEditor?_xed_submit_return= ')"/>
<xsl:value-of select="concat($ServletsBaseURL,'XEditor?_xed_submit_return=')"/>
<xsl:value-of select="concat('&amp;_xed_session=',encoder:encode($xedSession,'UTF-8'))"/>
<xsl:value-of select="concat('&amp;@xlink:type=',encoder:encode('locator','UTF-8'))"/>
<xsl:value-of select="concat('&amp;@xlink:title=',encoder:encode($title,'UTF-8'))"/>
......@@ -103,7 +97,7 @@
<li class="dpt_index_results_value">
<a title="{$toolTip}">
<xsl:attribute name="href">
<xsl:value-of select="concat($ServletsBaseURL,'XEditor?_xed_submit_return= ')"/>
<xsl:value-of select="concat($ServletsBaseURL,'XEditor?_xed_submit_return=')"/>
<xsl:value-of select="concat('&amp;_xed_session=',encoder:encode($xedSession,'UTF-8'))"/>
<xsl:value-of select="concat('&amp;@xlink:title=',encoder:encode($title,'UTF-8'))"/>
<xsl:value-of select="concat('&amp;@xlink:href=',encoder:encode(col[@name='id'],'UTF-8'))"/>
......@@ -120,7 +114,7 @@
<xsl:template match="range">
<xsl:variable name="url">
<xsl:value-of
select="concat($WebApplicationBaseURL,'indexpage',$HttpSession,'?searchclass=',$IndexID,'&amp;fromTo=', from/@pos,'-', to/@pos, '&amp;_xed_subselect_session=',$xedSession)"/>
select="concat($WebApplicationBaseURL,'indexpage',$HttpSession,'?searchclass=',$IndexID,'&amp;fromTo=', from/@pos,'-', to/@pos, '&amp;_xed_subselect_session=',$xedSession, '&amp;_xed_submit_return=')"/>
<xsl:if test="string-length($search) &gt; 0">
<xsl:value-of select="concat('&amp;search=',$search)"/>
</xsl:if>
......@@ -208,23 +202,4 @@
</div>
</xsl:template>
<xsl:template name="intro.text">
<p>
<xsl:value-of select="i18n:translate('indexpage.sub.introtext')"/>
</p>
<p>
<form method="post">
<xsl:attribute name="action">
<xsl:value-of select="concat($WebApplicationBaseURL,$subselect.webpage)"/>
<xsl:if test="not(contains($subselect.webpage,$subselect.session))">
<xsl:value-of select="concat('XSL.editor.session.id=',$subselect.session)"/>
</xsl:if>
</xsl:attribute>
<button type="submit" class="dpt_editor_button dpt_editor_button_default">
<xsl:value-of select="i18n:translate('indexpage.sub.select.cancel')"/>
</button>
</form>
</p>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment