Wiki-Quellcode von Glossar
Zuletzt geändert von Burkard Hagspiel am 2024-02-04
Zeige letzte Bearbeiter
author | version | line-number | content |
---|---|---|---|
1 | {{liveData id="glossar" properties="abbreviation,shortcut,technical-term,doc.creationDate,_actions" showPageSizeDropdown="false" source="liveTable" sourceParameters="translationPrefix=glossar.&className=Glossar.GlossarClass"}} | ||
2 | { | ||
3 | "meta": { | ||
4 | "propertyDescriptors": [ | ||
5 | { | ||
6 | "id": "abbreviation", | ||
7 | "displayer": {"id": "link", "html": true} | ||
8 | }, | ||
9 | { | ||
10 | "id": "shortcut", | ||
11 | "displayer": {"id": "link", "html": true} | ||
12 | }, | ||
13 | { | ||
14 | "id": "technical-term", | ||
15 | "displayer": {"id": "link", "html": true} | ||
16 | } | ||
17 | ] | ||
18 | } | ||
19 | } | ||
20 | {{/liveData}} | ||
21 | |||
22 | {{velocity}} | ||
23 | #if("$!request.docName" != '') | ||
24 | ## Request for creating a new instance | ||
25 | #set($docName = ${request.docName}) | ||
26 | #set($targetDocName = "${request.spaceName}.${docName}") | ||
27 | #if(!$xwiki.exists($targetDocName) && $xwiki.hasAccessLevel('edit', $xcontext.user, $targetDocName)) | ||
28 | $response.sendRedirect($xwiki.getURL($targetDocName, 'inline', "template=${escapetool.url($request.template)}&parent=${escapetool.url($request.parent)}")) | ||
29 | ## Stop processing, since we already sent a redirect. | ||
30 | #stop | ||
31 | #end | ||
32 | #end | ||
33 | |||
34 | |||
35 | == Einen neuen Eintrag definieren == | ||
36 | |||
37 | #if("$!targetDocName" != '' && $xwiki.exists($targetDocName)) | ||
38 | {{warning}}Das Zieldokument gibt es bereits. Bitte wähle einen alternativen Registereintrag, oder [[view the existing document>>$targetDocName]]{{/warning}} | ||
39 | #elseif("$!targetDocName" != '') | ||
40 | {{warning}}Sie haben keine Erlaubnis einen neuen Eintrag zu erstellen{{/warning}} | ||
41 | #end | ||
42 | |||
43 | {{html}} | ||
44 | <form action="" id="newdoc" method="post"> | ||
45 | <div> | ||
46 | <input type="hidden" name="parent" value="${doc.fullName}"/> | ||
47 | <input type="hidden" name="template" value="Glossar.GlossarTemplate"/> | ||
48 | <input type="hidden" name="sheet" value="1"/> | ||
49 | <input type="hidden" name="spaceName" value="Glossar"/> | ||
50 | Neuer Registereintrag: <input type="text" name="docName" value="Kurzbezeichnung max. 20 Zeichen" class="withTip" size="30"/> | ||
51 | <span class="buttonwrapper"><input type="submit" value="Erstellen & Bearbeiten" class="button"/></span> | ||
52 | </div> | ||
53 | </form> | ||
54 | {{/html}} | ||
55 | {{/velocity}} | ||
56 | |||
57 | |||
58 | |||
59 | == Weitere Datenbanken für Erklärungen: == | ||
60 | |||
61 | [[~[~[image:Wikipedia-logo-v2.svg~|~|height="33" width="36"~]~]>>https://en.wikipedia.org]] [[Wikipedia DE>>https://de.wikipedia.org]] [[Wikipedia EN>>https://en.wikipedia.org]] (Wikimedia Foundation Inc.) | ||
62 | |||
63 | [[~[~[image:Netztransparenz.svg~|~|height="22" width="203"~]~]>>https://www.netztransparenz.de/de-de/Glossar]] (Initiative 50Hertz Transmission GmbH, Amprion GmbH, TenneT TSO GmbH, TransnetBW GmbH) | ||
64 | |||
65 | [[~[~[image:ISO_Logo_(Red_square).svg~|~|height="33" width="36"~]~]>>https://www.iso.org/obp]] [[Online Platform>>https://www.iso.org/obp]] (International Organization for Standardization (ISO)) |