Mercurial > hg > mpdl-group
diff software/eXist/webapp/mpdl/doc/doc-operation-exist.xql @ 11:d6f528ad5d96
TEI Unterst?tzung, Fehlerbehebungen, externe Objekte
author | Josef Willenborg <jwillenborg@mpiwg-berlin.mpg.de> |
---|---|
date | Fri, 11 Mar 2011 13:34:02 +0100 |
parents | 5589d865af7a |
children | 469d927b9ca7 |
line wrap: on
line diff
--- a/software/eXist/webapp/mpdl/doc/doc-operation-exist.xql Fri Mar 11 13:33:26 2011 +0100 +++ b/software/eXist/webapp/mpdl/doc/doc-operation-exist.xql Fri Mar 11 13:34:02 2011 +0100 @@ -114,6 +114,7 @@ <select> <option value ="archimedes">Archimedes</option> <option value ="echo">Echo</option> + <option value ="tei">TEI</option> </select> let $docBaseOptionsSelected := for $option in $docBaseOptions/option @@ -175,7 +176,7 @@ if ($error = 'no') then <div> - <table align="middle" width="100%"> + <table align="middle" width="100%" rules="all" border="1" cellpadding="15"> <colgroup> <col width="50%"/> <col width="50%"/> @@ -184,9 +185,28 @@ <td valign="top"> <form name="formDocOperation" action="{session:encode-url(xs:anyURI('doc-operation-result-exist.xql'))}" method="post" enctype="multipart/form-data"> <table> - <tr><td><b>Operation</b></td></tr> + <tr><td><b>Destination</b></td></tr> <tr> <td> + Document base: + {$docBaseSelectBoxDest} + Language: + {$languageSelectBoxDest} + </td> + </tr> + <tr><td><br/></td></tr> + <tr><td>Document name: <input type="text" size="40" name="fileName" value=""/> <a href="../info.xql?info=docInterfaceDestDocName" onclick="window.open("../info.xql?info=docInterfaceDestDocName", "InfoWindow", "menubar=no,width=500,height=500,toolbar=no");return false"><img src="../images/info.png" valign="bottom" width="18" height="18" border="0" alt="Info document interface source"/></a></td></tr> + <tr><td>Document link: <a id="existLink" href=""></a></td></tr> + <tr><td><br/></td></tr> + <tr><td><b>Source <a href="../info.xql?info=docInterfaceSource" onclick="window.open("../info.xql?info=docInterfaceSource", "InfoWindow", "menubar=no,width=500,height=500,toolbar=no");return false"><img src="../images/info.png" valign="bottom" width="18" height="18" border="0" alt="Info document interface source"/></a></b></td></tr> + <tr><td>Local file: <input type="file" size="40" name="srcLocalFileName" onchange="LocalFileNameSelection()" maxlength="10000000" accept="text/xml" value="srcLocalFileName"/> + <input type="button" name="resetSrcLocalFileName" value="Reset" onclick="ResetSrcLocalFileName()"/></td></tr> + <tr><td><text style="margin-left:10px;"></text>or</td></tr> + <tr><td>Url: <input type="text" size="40" name="srcUrl" onchange="UrlSelection()" value=""/></td></tr> + <tr><td><br/></td></tr> + <tr> + <td> + <b>Operation</b><br/> <select name="operation" onchange="OperationSelection()"> <option value ="updateExist" selected="true">Create/Update</option> <option value ="deleteExist">Delete</option> @@ -195,26 +215,6 @@ <a href="../info.xql?info=docInterfaceOperation" onclick="window.open("../info.xql?info=docInterfaceOperation", "InfoWindow", "menubar=no,width=500,height=500,toolbar=no");return false"><img src="../images/info.png" valign="bottom" width="18" height="18" border="0" alt="Info document interface operation"/></a> </td> </tr> - <tr><td><br/></td></tr> - <tr><td><b>Source <a href="../info.xql?info=docInterfaceSource" onclick="window.open("../info.xql?info=docInterfaceSource", "InfoWindow", "menubar=no,width=500,height=500,toolbar=no");return false"><img src="../images/info.png" valign="bottom" width="18" height="18" border="0" alt="Info document interface source"/></a></b></td></tr> - <tr><td>Local file: <input type="file" size="40" name="srcLocalFileName" onchange="LocalFileNameSelection()" maxlength="10000000" accept="text/xml" value="srcLocalFileName"/> - <input type="button" name="resetSrcLocalFileName" value="Reset" onclick="ResetSrcLocalFileName()"/></td></tr> - <tr><td><text style="margin-left:10px;"></text>or</td></tr> - <tr><td>Url: <input type="text" size="40" name="srcUrl" onchange="UrlSelection()" value=""/></td></tr> - <tr><td><br/></td></tr> - <tr><td><b>Destination</b></td></tr> - <tr> - <td>Document base: - {$docBaseSelectBoxDest} - </td> - </tr> - <tr> - <td>Language: - {$languageSelectBoxDest} - </td> - </tr> - <tr><td>Document name: <input type="text" size="40" name="fileName" value=""/> <a href="../info.xql?info=docInterfaceDestDocName" onclick="window.open("../info.xql?info=docInterfaceDestDocName", "InfoWindow", "menubar=no,width=500,height=500,toolbar=no");return false"><img src="../images/info.png" valign="bottom" width="18" height="18" border="0" alt="Info document interface source"/></a></td></tr> - <tr><td>Document link: <a id="existLink" href=""></a></td></tr> </table> </form> </td> @@ -253,7 +253,7 @@ <body> <h1>{$title}</h1> {$resultHtml} - <hr/> + <br/> See the <a href="doc-operation-exist.xql?_source=yes">XQuery source</a> of this page, if you find a bug <a href="https://itgroup.mpiwg-berlin.mpg.de:8080/tracs/mpdl-project-software/newticket">let us know</a> </body> </html> \ No newline at end of file