Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 70ccecab

Von Sven Schöling vor etwa 15 Jahren hinzugefügt

  • ID 70ccecab178f9768e989804198ac3bb9e0cfaa68
  • Vorgänger 0c095a8e
  • Nachfolger 9d7c784c

webdav ausgelagert in eigenes template

Unterschiede anzeigen:

bin/mozilla/is.pl
444 444
    show_delete         => ($form->current_date(\%myconfig) eq $form->{gldate}),
445 445
  });
446 446
##print $form->parse_html_template('is/_payments'); # parser
447
##print $form->parse_html_template('webdav/_list'); # parser
447 448

  
448 449

  
449 450

  
templates/webpages/is/form_footer_de.html
96 96
  </tr>
97 97

  
98 98
[%#--------------------------- WEB DAV BLOCK %]
99
[%- IF webdav %]
100
  <tr>
101
   <td><hr size="3" noshade></td>
102
  </tr>
103
  <tr>
104
   <th class="listtop" align="left">Dokumente im Webdav-Repository</th>
105
  </tr>
106
   <table width="100%">
107
    <tr>
108
     <td align="left" width="30%"><b>Dateiname</b></td>
109
     <td align="left" width="70%"><b>Webdavlink</b></td>
110
    </tr>
111
 [%- FOREACH file = WEBDAV %]
112
    <tr>
113
     <td align="left">[% file.name %]</td>
114
     <td align="left"><a href="[% file.link %]">[% file.type %]</a></td>
115
    </tr>
116
 [%- END %]
117
   </table>
118
  </tr>
119
[% END %]
99
[% PROCESS 'webdav/_list_de.html' %]
120 100
[%#--------------------------- WEB DAV BLOCK %]
121 101

  
122 102

  
templates/webpages/is/form_footer_master.html
95 95
   </td>
96 96
  </tr>
97 97

  
98
[%#--------------------------- WEB DAV BLOCK %]
99
[%- IF webdav %]
100
  <tr>
101
   <td><hr size="3" noshade></td>
102
  </tr>
103
  <tr>
104
   <th class="listtop" align="left">Dokumente im Webdav-Repository</th>
105
  </tr>
106
   <table width="100%">
107
    <tr>
108
     <td align="left" width="30%"><b>Dateiname</b></td>
109
     <td align="left" width="70%"><b>Webdavlink</b></td>
110
    </tr>
111
 [%- FOREACH file = WEBDAV %]
112
    <tr>
113
     <td align="left">[% file.name %]</td>
114
     <td align="left"><a href="[% file.link %]">[% file.type %]</a></td>
115
    </tr>
116
 [%- END %]
117
   </table>
118
  </tr>
119
[% END %]
120
[%#--------------------------- WEB DAV BLOCK %]
121

  
98
[% PROCESS 'webdav/_list_<translate>master</translate>.html' %]
122 99

  
123 100
[% PROCESS 'is/_payments_<translate>master</translate>.html' %]
124 101

  
125

  
126

  
127 102
  <tr>
128 103
    <td><hr size="3" noshade></td>
129 104
  </tr>
templates/webpages/webdav/_list_de.html
1

  
2
[%- IF webdav %]
3
  <tr>
4
   <td><hr size="3" noshade></td>
5
  </tr>
6
  <tr>
7
   <th class="listtop" align="left">Dokumente im Webdav-Repository</th>
8
  </tr>
9
   <table width="100%">
10
    <tr>
11
     <td align="left" width="30%"><b>Dateiname</b></td>
12
     <td align="left" width="70%"><b>Webdavlink</b></td>
13
    </tr>
14
 [%- FOREACH file = WEBDAV %]
15
    <tr>
16
     <td align="left">[% file.name %]</td>
17
     <td align="left"><a href="[% file.link %]">[% file.type %]</a></td>
18
    </tr>
19
 [%- END %]
20
   </table>
21
  </tr>
22
[% END %]
templates/webpages/webdav/_list_master.html
1

  
2
[%- IF webdav %]
3
  <tr>
4
   <td><hr size="3" noshade></td>
5
  </tr>
6
  <tr>
7
   <th class="listtop" align="left">Dokumente im Webdav-Repository</th>
8
  </tr>
9
   <table width="100%">
10
    <tr>
11
     <td align="left" width="30%"><b>Dateiname</b></td>
12
     <td align="left" width="70%"><b>Webdavlink</b></td>
13
    </tr>
14
 [%- FOREACH file = WEBDAV %]
15
    <tr>
16
     <td align="left">[% file.name %]</td>
17
     <td align="left"><a href="[% file.link %]">[% file.type %]</a></td>
18
    </tr>
19
 [%- END %]
20
   </table>
21
  </tr>
22
[% END %]

Auch abrufbar als: Unified diff