aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/website/cobrands/emptyhomes/faq-cy (renamed from templates/website/faq-eha.cy.html)0
-rwxr-xr-xtemplates/website/cobrands/emptyhomes/faq-en-gb (renamed from templates/website/faq-eha.html)0
-rw-r--r--templates/website/cobrands/fiksgatami/faq-nb0
-rwxr-xr-xtemplates/website/faq-en-gb (renamed from templates/website/faq.html)0
-rwxr-xr-xweb/faq.cgi12
5 files changed, 2 insertions, 10 deletions
diff --git a/templates/website/faq-eha.cy.html b/templates/website/cobrands/emptyhomes/faq-cy
index 1a446055e..1a446055e 100644
--- a/templates/website/faq-eha.cy.html
+++ b/templates/website/cobrands/emptyhomes/faq-cy
diff --git a/templates/website/faq-eha.html b/templates/website/cobrands/emptyhomes/faq-en-gb
index aa70a26ee..aa70a26ee 100755
--- a/templates/website/faq-eha.html
+++ b/templates/website/cobrands/emptyhomes/faq-en-gb
diff --git a/templates/website/cobrands/fiksgatami/faq-nb b/templates/website/cobrands/fiksgatami/faq-nb
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/templates/website/cobrands/fiksgatami/faq-nb
diff --git a/templates/website/faq.html b/templates/website/faq-en-gb
index 0c5fa7aea..0c5fa7aea 100755
--- a/templates/website/faq.html
+++ b/templates/website/faq-en-gb
diff --git a/web/faq.cgi b/web/faq.cgi
index 2046f6955..4d9c7413a 100755
--- a/web/faq.cgi
+++ b/web/faq.cgi
@@ -16,16 +16,8 @@ my $lastmodified = (stat $0)[9];
sub main {
my $q = shift;
print Page::header($q, title=>_('Frequently Asked Questions'));
- if ($q->{site} eq 'emptyhomes') {
- my $lang = $mySociety::Locale::lang;
- if ($lang eq 'cy') {
- print File::Slurp::read_file("$FindBin::Bin/../templates/website/faq-eha.cy.html");
- } else {
- print File::Slurp::read_file("$FindBin::Bin/../templates/website/faq-eha.html");
- }
- } else {
- print File::Slurp::read_file("$FindBin::Bin/../templates/website/faq.html");
- }
+ my $lang = $mySociety::Locale::lang;
+ print Page::template_include("faq-$lang", $q, Page::template_root($q));
print Page::footer($q);
}
Page::do_fastcgi(\&main, $lastmodified);
-0-22-fix-widget Unnamed repository; edit this file 'description' to name the repository.MimesBrønn
aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/rails-2.1.0/railties/environments/boot.rb
blob: cd21fb9eab7e9d91985307915f144edd2a8c8b52 (plain)
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109