md_link.htt 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. <!-- {-md_link.htt-} --> <!-- for Dokeos metadata/index.php -->
  2. <!-- 2006/05/16 -->
  3. <!-- Copyright (C) 2005 rene.haentjens@UGent.be - see metadata/md_funcs.php -->
  4. <!-- {-METADATA-} -->
  5. {-D TRUE TRUE-}
  6. <div class="dvc">
  7. {-H {-E md_indexabletext C METADATA_INDEXABLETEXT-}-}
  8. </div>
  9. <noscript>
  10. {-P traceinfo-}
  11. <hr>
  12. <form method="post" action="{-P self-}">
  13. <textarea rows="30" style="width: 100%" name="mdt" id="mdt">{-H {-P mdt-}-}</textarea>
  14. <input type="submit" value="{-L Store-}"></input>
  15. </form>
  16. {-L NoScript-}
  17. </noscript>
  18. <div onMouseUp="if ((kw = pU_clicked(event))) pU_select(kw); else pU_hide();">
  19. {-T dbrecord == empty <div style="background-color: #F0F0F0">-}
  20. {-E md_part1 C METADATA_PART1-}
  21. {-T dbrecord == empty </div>-}
  22. {-T isallowedtoedit == TRUE
  23. <div class="dvc">{-P traceinfo-}</div>
  24. <form method="post" action="{-P self-}">
  25. <textarea rows="4" class="mda" name="mda" id="mda" title="{-L ConfirmDelete-}"></textarea>
  26. <button class="save" type="submit" value="{-L Store-}" onClick="javascript: return checkBeforeSubmit(event);">{-L Store-}</button>
  27. <button class="minus" type="submit" value="{-L DeleteAll-}" onClick="javascript:return setPendingOperation('~~', event);">{-L DeleteAll-}</button>
  28. </form>
  29. <textarea rows="10" class="mda" name="mdt" id="mdt">{-H {-P mdt-}-}</textarea>
  30. -}
  31. {-T keywordscache != empty
  32. <div noWrap="1" id="maindiv">
  33. <input type="button" class="btn" value="+" onClick="if (this.value == '+') deselectAll(event, this); openOrClose(this);"/>
  34. <input type="button" class="btm" id="btnOpenOrCloseAll" value="++" onClick="openOrCloseAll(this);"/>
  35. <input type="button" class="btn" value="?" onClick="openOrCloseHelp(this)"/>
  36. &#xa0;{-L ClickKw-}
  37. {-P keywordscache-}
  38. </div>
  39. <div id='moreHelp' class='dvc'>
  40. {-L KwHelp-}
  41. </div>
  42. -}
  43. {-T keywordscache == empty
  44. <div noWrap="1" id="maindiv">
  45. {-L KwNote-}
  46. </div>
  47. -}
  48. <div id="popup" noWrap="1" class="pup">
  49. Working...
  50. </div>
  51. </div><!-- onMouseUp -->
  52. <!<!------------------------ End Of script Output ---------------------->
  53. <!-- {-METADATA_PART1-} -->
  54. <h3>{-L Tool-}: {-X metadata/lom/general/identifier/entry-}</h3>
  55. <table class="wide">
  56. <tr>
  57. <td colspan="2" class="bg1">&#xa0;</td><td class="bg2">&#xa0;</td>
  58. <td class="bg1">&#xa0;</td> <td class="bg2">&#xa0;</td>
  59. </tr>
  60. <tr>
  61. <td>{-D label Language-}{-C LABEL-}</td>
  62. <td>{-D xpath metadata/lom/general/language-}{-C LANGSELECT-}</td>
  63. <td>{-D xpath metadata/lom/general/identifier/catalog-}{-D iclass disabled class="wd2" -}{-C INPUT-}</td>
  64. <td>{-D label Identifier-}{-C LABEL-}</td>
  65. <td>{-D xpath metadata/lom/general/identifier/entry-}{-D iclass class="wd2" onKeyPress="return isValidChar(event, '[a-z0-9\x08\x25\x27\*\.\'\(\)_!-]', 'i');" -}{-C INPUT-}</td>
  66. </tr>
  67. <tr>
  68. <td>{-D label Title-}{-C LABEL-}</td>
  69. <td>{-D xpath metadata/lom/general/title/string/@language-}{-C LANGSELECT-}</td>
  70. <td colspan="3">{-D xpath metadata/lom/general/title/string-}{-C INPUTW-}</td>
  71. </tr>
  72. <tr>
  73. <td>{-D label Description-}{-C LABEL-}</td>
  74. <td>{-C MDLANGSELECT-}</td>
  75. <td colspan="3">{-D xpath metadata/lom/general/description/string-}{-C INPUTW-}</td>
  76. </tr>
  77. <tr>
  78. <td colspan="2">{-D label Coverage-}{-C LABEL-}</td>
  79. <td colspan="3">{-D xpath metadata/lom/general/coverage/string-}{-C INPUTW-}</td>
  80. </tr>
  81. <tr>
  82. <td colspan="2">{-D label Keyword-}{-C LABEL-}</td>
  83. <td colspan="3">{-C INPUT_ALLKWDS-}</td>
  84. </tr>
  85. <tr>
  86. <td colspan="2"><a href="{-X metadata/lom/technical/location-}">{-D label Location-}{-C LABEL-}</a></td>
  87. <td colspan="3">{-D xpath metadata/lom/technical/location-}{-C INPUTW-}</td>
  88. </tr>
  89. <tr>
  90. <td colspan="2" class="bg1">&#xa0;</td><td class="bg2">&#xa0;</td>
  91. <td class="bg1">&#xa0;</td> <td class="bg2">&#xa0;</td>
  92. </tr>
  93. </table>
  94. <!-- {-METADATA_INDEXABLETEXT-} -->
  95. Title: {-V metadata/lom/general/title/string-} txt-sep
  96. Keyword(s): {-R metadata/lom/general/keyword C KWTEXT-} txt-sep
  97. Category: {-V metadata/lom/general/coverage/string-}
  98. {-V metadata/lom/general/description[1]/string-} txt-end
  99. link-type
  100. {-V metadata/lom/lifeCycle/contribute[1]/entity-}
  101. {-V metadata/lom/lifeCycle/contribute[1]/date/dateTime-}
  102. <!-- {-METADATA_INDEXABLETEXT_PREVIOUS_VERSION-} -->
  103. {-V metadata/lom/general/identifier/entry-}
  104. {-V metadata/lom/general/title/string-}
  105. {-V metadata/lom/general/description/string-}
  106. {-V metadata/lom/general/coverage/string-}
  107. {-R metadata/lom/general/keyword C KWTEXT-}
  108. <!-- {-KWTEXT-} -->
  109. {-V string-}-kw
  110. <!-- {-LABEL-} -->
  111. <span class="bg3" title="{-L {-P label-}Tip-}">{-L {-P label-}-}&#xa0;:</span>
  112. <!-- {-MDLANGSELECT-} -->
  113. <select onchange="spcSel('metadata/lom/general/description,metadata/lom/general/coverage,metadata/lom/general/keyword,metadata/lom/rights/description;string@language', this);">{-D selvalue {-V metadata/lom/general/description/string/@language-}-}{-R Langs C OPTION-}</select>
  114. <!-- {-LANGSELECT-} -->
  115. {-D optionarray Langs-}{-C SELECT-}
  116. <!-- {-SELECT-} -->
  117. <select onchange="spcSel('{-H {-P xpath-}-}', this);">{-D selvalue {-V P xpath-}-}{-R {-P optionarray-} C OPTION-}</select>
  118. <!-- {-OPTION-} -->
  119. <option value="{-H {-P key-}-}" {-T key == selvalue selected-}>{-H {-P value-}-}</option>
  120. <!-- {-INPUTW-} -->
  121. {-D iclass class="wide" -}{-C INPUT-}
  122. <!-- {-INPUT-} -->
  123. <input type="text" title="{-H {-P xpath-}-}" {-P iclass-}value="{-H {-V P xpath-}-}" onchange="spc(this.title, this.value);"/>
  124. <!-- {-INPUT_ALLKWDS-} -->
  125. <input type="text" title="{-X metadata/lom/general/description/string/@language-}"
  126. id="kwds_string" class="wide" value="{-X metadata/lom/general/keyword/string , -}"
  127. onKeyUp="takeTypeIn(this, 150, -100, '60%'); return true;"
  128. onKeyPress="return isValidChar(event, '[0-9a-z\xC0-\xFF\.\x08\x25\x27, -]', 'i');" />
  129. <!-- {-HEAD-} -->
  130. <link rel="stylesheet" type="text/css" href="md_styles.css">
  131. <script language="JavaScript" src="md_script.js"></script>
  132. <script language="JavaScript">var kwdswere = "{-X metadata/lom/general/keyword/string , -}";</script>
  133. <!-- {-HTTP-} -->
  134. Expires: Mon, 26 Jul 1997 05:00:00 GMT
  135. <!-- {--} -->