From d7675831e15d7bd9ef18dda14218450b75e511c5 Mon Sep 17 00:00:00 2001
From: Olivier Perez
Date: Fri, 29 Jul 2016 13:43:59 +0200
Subject: [PATCH 1/5] New style of poll id
---
locale/en.json | 2 +-
locale/fr.json | 6 +++---
tpl/create_poll.tpl | 9 +++++++--
3 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/locale/en.json b/locale/en.json
index cc49b95..44c8e7f 100644
--- a/locale/en.json
+++ b/locale/en.json
@@ -229,7 +229,7 @@
"You are in the poll creation section.": "You are in the poll creation section.",
"Required fields cannot be left blank.": "Required fields cannot be left blank.",
"Poll title": "Poll title",
- "Poll id": "Identifier",
+ "Poll id": "Poll link",
"Poll id rules": "The identifier can contain letters, numbers and dashes \"-\".",
"Poll id warning": "By defining an identifier that can facilitate access to the poll for unwanted people. It is recommended to protect it with a password.",
"Votes cannot be modified": "Votes cannot be modified",
diff --git a/locale/fr.json b/locale/fr.json
index e80c610..241267b 100644
--- a/locale/fr.json
+++ b/locale/fr.json
@@ -229,9 +229,9 @@
"You are in the poll creation section.": "Vous avez choisi de créer un nouveau sondage.",
"Required fields cannot be left blank.": "Merci de remplir les champs obligatoires, marqués d'une *.",
"Poll title": "Titre du sondage",
- "Poll id": "Identifiant",
- "Poll id rules": "L'identifiant peut contenir des lettres, des chiffres et des tirets \"-\".",
- "Poll id warning": "En définissant un identifiant cela peut faciliter l'accès à ce sondage pour des personnes non désirées. Il est recommandé de le protéger par mot de passe.",
+ "Poll id": "Lien du sondage",
+ "Poll id rules": "(peut contenir des lettres, des chiffres et des tirets)",
+ "Poll id warning": "La modification du lien du sondage peut faciliter l'accès à ce sondage pour des personnes non désirées. Il est recommandé de le protéger par mot de passe.",
"Votes cannot be modified": "Aucun vote ne peut être modifié",
"All voters can modify any vote": "Tous les sondés peuvent modifier tous les votes",
"Voters can modify their vote themselves": "Chaque sondé peut modifier son propre vote",
diff --git a/tpl/create_poll.tpl b/tpl/create_poll.tpl
index 780431e..e7438a3 100644
--- a/tpl/create_poll.tpl
+++ b/tpl/create_poll.tpl
@@ -34,18 +34,23 @@
{/if}
From 8066e18ae762b265fe3bd7b2c0dd6a0521f7eaee Mon Sep 17 00:00:00 2001
From: Olivier Perez
Date: Fri, 29 Jul 2016 16:22:12 +0200
Subject: [PATCH 2/5] Reorder parameters at poll creation
---
tpl/create_poll.tpl | 221 ++++++++++++++++++++++----------------------
1 file changed, 108 insertions(+), 113 deletions(-)
diff --git a/tpl/create_poll.tpl b/tpl/create_poll.tpl
index e7438a3..fd3dbde 100644
--- a/tpl/create_poll.tpl
+++ b/tpl/create_poll.tpl
@@ -17,68 +17,6 @@
-
- {if !empty($errors['title']['msg'])}
-
-
- {$errors['title']['msg']}
-
-
- {/if}
-
-
- {if !empty($errors['id']['msg'])}
-
-
- {$errors['id']['msg']}
-
-
- {/if}
-
-
- {if !empty($errors['description']['msg'])}
-
-
- {$errors['description']['msg']}
-
-
- {/if}
-