aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2014-03-11 15:10:30 +0000
committerStruan Donald <struan@exo.org.uk>2014-04-08 13:21:09 +0100
commit8d81147d1f757e70393e08947c0be1b73ebfb3ae (patch)
tree95af1aba119f4657ce99c30e9d0b17f28b7847d5 /perllib
parentb82228ce014cc87866d976eeb3ce6e454e87c336 (diff)
cobrand file with geocoder etc config
also, make readonly, disable photos, questionnaires, never hide old pins Fixes #701
Diffstat (limited to 'perllib')
-rw-r--r--perllib/FixMyStreet/Cobrand/ZeroTB.pm31
1 files changed, 31 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/ZeroTB.pm b/perllib/FixMyStreet/Cobrand/ZeroTB.pm
new file mode 100644
index 000000000..bd25b6076
--- /dev/null
+++ b/perllib/FixMyStreet/Cobrand/ZeroTB.pm
@@ -0,0 +1,31 @@
+package FixMyStreet::Cobrand::ZeroTB;
+use base 'FixMyStreet::Cobrand::Default';
+
+use strict;
+use warnings;
+
+sub site_title { return 'ZeroTB'; }
+
+sub country {
+ return 'IN';
+}
+
+sub languages { [ 'en-gb,English,en_GB' ] }
+sub language_override { 'en-gb' }
+
+sub disambiguate_location {
+ return {
+ country => 'in',
+ town => 'Delhi',
+ bounds => [ 28.404625000000024, 76.838845800000072, 28.884380600000028, 77.347877500000067 ],
+ };
+}
+
+sub only_authed_can_create { return 1; }
+sub allow_photo_display { return 0; }
+sub allow_photo_upload{ return 0; }
+sub send_questionnaires { return 0; }
+sub on_map_default_max_pin_age { return 0; }
+
+1;
+