From 59f437d80e8f91ffdbfa1f410d0dad93bf02a670 Mon Sep 17 00:00:00 2001 From: Antonin <antonin.murtin@gmail.com> Date: Wed, 4 May 2016 01:01:11 +0200 Subject: [PATCH] Updating config.tpl from config.template.php --- tpl/admin/config.tpl | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tpl/admin/config.tpl b/tpl/admin/config.tpl index 9cafc7be..bb5d9dcf 100644 --- a/tpl/admin/config.tpl +++ b/tpl/admin/config.tpl @@ -53,6 +53,7 @@ const DEFAULT_LANGUAGE = '{$defaultLanguage}'; $ALLOWED_LANGUAGES = [ 'fr' => 'Français', 'en' => 'English', + 'oc' => 'Occitan', 'es' => 'Español', 'de' => 'Deutsch', 'it' => 'Italiano', @@ -73,6 +74,12 @@ const LOG_FILE = 'admin/stdout.log'; // Days (after expiration date) before purge a poll const PURGE_DELAY = 60; +// Max slots per poll +const MAX_SLOTS_PER_POLL = 366; + +// Number of seconds before we allow to resend an "Remember Edit Link" email. +const TIME_EDIT_LINK_EMAIL = 60; + // Config $config = [ /* general config */ @@ -85,5 +92,4 @@ $config = [ 'default_poll_duration' => 180, // default values for the new poll duration (number of days). /* create_classic_poll.php */ 'user_can_add_img_or_link' => true, // user can add link or URL when creating his poll. -]; - +]; \ No newline at end of file -- GitLab