aboutsummaryrefslogtreecommitdiffstats
path: root/root/html/pages
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mageia.org>2010-10-19 22:50:58 +0000
committerOlivier Thauvin <nanardon@mageia.org>2010-10-19 22:50:58 +0000
commit5972196ee5ac7deb2291814bd1c278ce69e4b32a (patch)
tree0e48bb471d3b7ee99b21e6ad823f8dc347b2a9e8 /root/html/pages
parent9fa18a22880f52192667c9df42d37bd75d11f1f4 (diff)
downloadmgamirrors-5972196ee5ac7deb2291814bd1c278ce69e4b32a.tar
mgamirrors-5972196ee5ac7deb2291814bd1c278ce69e4b32a.tar.gz
mgamirrors-5972196ee5ac7deb2291814bd1c278ce69e4b32a.tar.bz2
mgamirrors-5972196ee5ac7deb2291814bd1c278ce69e4b32a.tar.xz
mgamirrors-5972196ee5ac7deb2291814bd1c278ce69e4b32a.zip
- ask confirm by mail on host information update to avoid spam
Diffstat (limited to 'root/html/pages')
-rw-r--r--root/html/pages/mirrors/mirror.tt3
-rw-r--r--root/html/pages/new/new_host.tt2
-rw-r--r--root/html/pages/validate/error.tt1
-rw-r--r--root/html/pages/validate/validate.tt1
4 files changed, 5 insertions, 2 deletions
diff --git a/root/html/pages/mirrors/mirror.tt b/root/html/pages/mirrors/mirror.tt
index dad43c2..b27cfac 100644
--- a/root/html/pages/mirrors/mirror.tt
+++ b/root/html/pages/mirrors/mirror.tt
@@ -3,7 +3,8 @@
<h2>Host information</h2>
[% INCLUDE 'host_information.tt'
- action = c.uri_for(hostname)
+ action = c.uri_for(hostname),
+ needmail = 1
%]
<h2>URLs to the distribution</h2>
diff --git a/root/html/pages/new/new_host.tt b/root/html/pages/new/new_host.tt
index d73600c..ecf51b8 100644
--- a/root/html/pages/new/new_host.tt
+++ b/root/html/pages/new/new_host.tt
@@ -11,4 +11,4 @@
<input type="hidden" name="url" value="[% uri | html %]">
<input type="hidden" name="hostinfo" value="1">
-[% INCLUDE 'host_information.tt' %]
+[% INCLUDE 'host_information.tt' edit = 1 %]
diff --git a/root/html/pages/validate/error.tt b/root/html/pages/validate/error.tt
new file mode 100644
index 0000000..a5b88c4
--- /dev/null
+++ b/root/html/pages/validate/error.tt
@@ -0,0 +1 @@
+<p>No request found</p>
diff --git a/root/html/pages/validate/validate.tt b/root/html/pages/validate/validate.tt
new file mode 100644
index 0000000..d57e10e
--- /dev/null
+++ b/root/html/pages/validate/validate.tt
@@ -0,0 +1 @@
+<p>[% hostname | html %] formation has been updated</p>