aboutsummaryrefslogtreecommitdiffstats
path: root/english/mirror/submit.inc
blob: 52e02b1f2e8123e1e21a27b9dfa0cded8e5e6e5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#use wml::std::tags
#use wml::debian::common_tags

<bind-gettext-domain domain="others" />

<define-tag sameastheabove whitespace=delete>
  <gettext domain="others">same as the above</gettext>
</define-tag>

<define-tag form-action>
<form method=post action="%2">
</define-tag>

<define-tag tablerow>
	<tr><td>%0: </td><td><input type="text" name="%1" id="%1" size="%2"></td></tr>
</define-tag>

<define-tag tablerowdef>
	<tr><td>%0: </td><td><input type="text" name="%1" id="%1" size="%2" value="%3">%4</td></tr>
</define-tag>

#include "$(ENGLISHDIR)/releases/sid/archive.data"
#include "$(ENGLISHDIR)/releases/arches.data"

<define-tag archlist>
<div id="archlist">
<:
my $na = scalar @arches; $na = int($na / 4 + .5);
my $i = 0;
foreach my $a (@arches) {
  my $aname = $arches{$a}; $aname =~ s, ,\&nbsp\;,g;
  print "<label id=arch_".$a." style=\"white-space: pre\"><input type=checkbox id=cbarch_".$a." name=architectures value=".$a.">&nbsp;".$aname."&nbsp;[".$a."]</label>";
  $i++;
  if ($i != 0 && $i % $na == 0) {
    print "<br>\n";
  } else {
    print " &nbsp;\n";
  }
}
:>
</div>
</define-tag>

<script type="text/javascript">
function allarches() {
  aa = document.getElementById('allarch');
  al = document.getElementById('archlist');
  if (aa.checked) {
    al.style.color = "#b0b0b0";
    al.style.backgroundColor = "#e0e0e0";
  } else {
    al.style.color = "#000000";
    al.style.backgroundColor = "#ffffff";
  }
  var locarches = new Object();
<: 
  foreach my $a (@arches) {
    print "  locarches[\'$a\'] = \'cbarch_$a\';\n";
  }
:>
  for ( a in locarches ) {
    ele = document.getElementById(locarches[a]);
    if (ele.checked == false)
      ele.checked = true;
  }
}
</script>

#use wml::debian::countries

<define-tag countrylist>
<: country_list() :>
</define-tag>

© 2014-2024 Faster IT GmbH | imprint | privacy policy