Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 1ced937c

Von Moritz Bunkus vor etwa 17 Jahren hinzugefügt

  • ID 1ced937cc8cd25ca7a49e543b8a4e81f7b0f040e
  • Vorgänger 1d1b94ec
  • Nachfolger 9aaca433

Diese beiden Dateien werden nicht benötigt.

Unterschiede anzeigen:

templates/webpages/generic/error.html
1
<body>
2
 <table width=100%>
3
  <tr>
4
   <th class=listtop><TMPL_VAR NAME=title DEFAULT="Error!"></th>
5
  </tr>
6
  <tr height="5"></tr>
7

  
8
  <tr><td><TMPL_VAR NAME=label_error></td></tr>
9
 </table>
10

  
11
 <TMPL_VAR NAME=DEBUG>
12

  
13
</body>
14
</html>
templates/webpages/generic/parts_language_selection_de.html
1
<body <TMPL_IF NAME=onload>onload="<TMPL_VAR NAME=onload>"</TMPL_IF>>
2

  
3
 <form name="Form">
4

  
5
  <input type="hidden" name="input_name" value="<TMPL_VAR NAME=input_name ESCAPE=HTML>">
6

  
7
  <table width="100%">
8
   <tr>
9
    <th class="listtop"><TMPL_VAR NAME=title></th>
10
   </tr>
11
   <tr height="5"></tr>
12

  
13
   <tr><td></td></tr>
14

  
15
   <tr>
16
    <td>
17

  
18
     <table>
19
      <tr class="listheading">
20
       <th class="listheading">&nbsp;</th>
21
       <TMPL_LOOP NAME=HEADER>
22
        <th nowrap class="listheading"><a href="<TMPL_VAR NAME=callback ESCAPE=HTML>"><TMPL_VAR NAME=column_title></a></th>
23
       </TMPL_LOOP>
24
      </tr>
25

  
26
      <TMPL_LOOP NAME=LANGUAGES>
27
       <tr class="listrow<TMPL_IF NAME=__odd__>1<TMPL_ELSE>0</TMPL_IF>">
28
        <td><input type="hidden" id="id_<TMPL_VAR NAME=__counter__>" name="id_<TMPL_VAR NAME=__counter__>" value="<TMPL_VAR NAME=id ESCAPE=HTML>">
29
        <TMPL_VAR NAME=description ESCAPE=HTML></td>
30

  
31
         <td><input  id="translation_<TMPL_VAR NAME=__counter__>" name="translation_<TMPL_VAR NAME=__counter__>" value="<TMPL_VAR NAME=translation ESCAPE=HTML>"></td>
32

  
33
        </tr>
34
        <TMPL_IF NAME=__last__><input type="hidden" id="rowcount" name="rowcount" value="<TMPL_VAR NAME=__counter__>"></TMPL_IF>
35
      </TMPL_LOOP>
36
     </table>
37

  
38
    </td>
39
   </tr>
40
  </table>
41
 <button type="button" onclick="languages_updated()">Close</button></td>
42
 </form>
43

  
44
 <script type="text/javascript">
45
  <!--
46
      function languages_updated() {
47
        var languages = "";
48
        for (var i = 1; i <= ( document.getElementsByName("rowcount")[0].value); i++) {
49
          var id = "id_" + i ;
50
          var translation = "translation_" + i ;
51
          alert(id);
52
          languages = languages + "---+++---" + document.getElementsByName( id )[0].value + "--++--" + document.getElementsByName( translation )[0].value;
53
        }
54
        window.opener.document.getElementsByName(document.Form.input_name.value)[0].value = languages;
55

  
56
        self.close();
57
      }
58
      //TESSSSST-->
59
 </script>
60

  
61
</body>
62
</html>

Auch abrufbar als: Unified diff