-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from msteudtn/issue-65-addon-contact-buttons
Issue 65 addon contact buttons
- Loading branch information
Showing
8 changed files
with
447 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,14 +62,14 @@ | |
e.g. "Airport","The airport shall be expanded." | ||
*/ | ||
|
||
var fileQuestions = "Obsthausen_Fragen.csv"; | ||
const fileQuestions = "Obsthausen_Fragen.csv"; | ||
|
||
|
||
// -------------------------------------------------------------------- | ||
|
||
// 1.2 ANZAHL der FRAGEN / 1.2 NUMBER of QUESTIONS | ||
|
||
var intQuestions = 6; | ||
const intQuestions = 6; | ||
|
||
|
||
// -------------------------------------------------------------------- | ||
|
@@ -94,13 +94,12 @@ var intQuestions = 6; | |
1.3. PARTIES, PARTY-INFORMATION and ANSWERS | ||
*/ | ||
|
||
var fileAnswers = "Obsthausen_Parteien.csv"; | ||
const fileAnswers = "Obsthausen_Parteien.csv"; | ||
|
||
|
||
// 1.4 ANZAHL der PARTEIEN / 1.6 NUMBER of PARTIES | ||
|
||
var intParties = 4; | ||
|
||
const intParties = 4; | ||
|
||
/* | ||
1.5. BILDGROESSE des PARTEILOGOS (am Ende) | ||
|
@@ -113,19 +112,19 @@ var intParties = 4; | |
Beispiele / Examples: | ||
var intPartyLogosImgWidth = 50; | ||
var intPartyLogosImgHeight = 25; | ||
const intPartyLogosImgWidth = 50; | ||
const intPartyLogosImgHeight = 25; | ||
var intPartyLogosImgWidth = "10%"; | ||
var intPartyLogosImgHeight = "10%"; | ||
const intPartyLogosImgWidth = "10%"; | ||
const intPartyLogosImgHeight = "10%"; | ||
var intPartyLogosImgWidth = 50; | ||
var intPartyLogosImgHeight = ""; | ||
const intPartyLogosImgWidth = 50; | ||
const intPartyLogosImgHeight = ""; | ||
*/ | ||
|
||
var intPartyLogosImgWidth = "10%"; | ||
var intPartyLogosImgHeight = "10%"; | ||
const intPartyLogosImgWidth = "10%"; | ||
const intPartyLogosImgHeight = "10%"; | ||
|
||
|
||
// -------------------------------------------------------------------- | ||
|
@@ -138,21 +137,21 @@ var intPartyLogosImgHeight = "10%"; | |
// Show a short description in the beginning (1) or start with the questions right (0) away? | ||
// If you choose for the questions right away, a short "loading" message will appear. :( | ||
|
||
var descriptionShowOnStart = 1; | ||
const descriptionShowOnStart = 1; | ||
|
||
// 1.6.2. Hauptueberschrift / 1.6.1. Main headline | ||
|
||
var descriptionHeading1 = "Fruchtkorbwahlen"; | ||
const descriptionHeading1 = "Fruchtkorbwahlen"; | ||
|
||
|
||
// 1.6.3. Zweite Ueberschrift / 1.6.2. Second Headline | ||
|
||
var descriptionHeading2 = "Die Wahl zur neuen Regierung in Obsthausen"; | ||
const descriptionHeading2 = "Die Wahl zur neuen Regierung in Obsthausen"; | ||
|
||
|
||
// 1.6.4. Kurzer Text um was es bei der Wahl geht / 1.6.3. Short (descriptive) text on what's the election about | ||
|
||
var descriptionExplanation = "Am 30. Februar finden in Obsthausen Wahlen statt. Sie können sich hier alle Parteipositionen anschauen und miteinander vergleichen. Dies ist <strong>keine Wahlempfehlung</strong>, sondern ein Informationsangebot zu Wahlen! <br /> Zur Auswahl stehen vier Parteien mit unterschiedlichen Meinungen zu kontroversen Themen der Obst- und Frucht-Landschaft."; | ||
const descriptionExplanation = "Am 30. Februar finden in Obsthausen Wahlen statt. Sie können sich hier alle Parteipositionen anschauen und miteinander vergleichen. Dies ist <strong>keine Wahlempfehlung</strong>, sondern ein Informationsangebot zu Wahlen! <br /> Zur Auswahl stehen vier Parteien mit unterschiedlichen Meinungen zu kontroversen Themen der Obst- und Frucht-Landschaft."; | ||
|
||
|
||
// -------------------------------------------------------------------- | ||
|
@@ -175,7 +174,7 @@ var descriptionExplanation = "Am 30. Februar finden in Obsthausen Wahlen statt. | |
*/ | ||
|
||
var imprintLink = "system/imprint.html" | ||
const imprintLink = "system/imprint.html" | ||
|
||
|
||
// -------------------------------------------------------------------- | ||
|
@@ -185,20 +184,20 @@ var descriptionExplanation = "Am 30. Februar finden in Obsthausen Wahlen statt. | |
DE: Option B) (Standard)-Mat-o-Wahl-Impressum. | ||
Wenn Sie keine (oder eigene) Angaben machen, so lassen Sie bitte die Variablen stehen. | ||
Loeschen Sie stattdessen einfach den Text, z.B. | ||
var imprintVATid = `` oder var imprintVATid = ""; | ||
const imprintVATid = `` oder const imprintVATid = ""; | ||
******************************************************************** | ||
EN: Option B) Use (default) legal notice of Mat-o-Wahl. | ||
If you prefer to leave these information blank, please do not delete these lines | ||
but only its content, e.g. | ||
var imprintVATid = `` or var imprintVATid = ""; | ||
const imprintVATid = `` or const imprintVATid = ""; | ||
*/ | ||
|
||
// 1.7.B.1: Allgemeines. "Angaben gemäß § 5 TMG" / General information | ||
|
||
var imprintGeneral = `<p>Muster e. V.<br /> | ||
const imprintGeneral = `<p>Muster e. V.<br /> | ||
Musterstraße 111<br /> | ||
Gebäude 44<br /> | ||
90210 Musterstadt</p> | ||
|
@@ -213,47 +212,47 @@ var imprintGeneral = `<p>Muster e. V.<br /> | |
|
||
// 1.7.B.2: Kontaktdaten / Contact details | ||
|
||
var imprintContact = `<p>Telefon: +49 (0) 123 44 55 66<br /> | ||
const imprintContact = `<p>Telefon: +49 (0) 123 44 55 66<br /> | ||
Telefax: +49 (0) 123 44 55 99<br /> | ||
E-Mail: [email protected]<br /> | ||
Web: musterfirma.de</p>` | ||
|
||
|
||
// 1.7.B.3: (optional) Umsatzsteuer-ID / (optional) VAT-ID | ||
|
||
var imprintVATid = `<p>Umsatzsteuer-Identifikationsnummer gemäß § 27 a Umsatzsteuergesetz:<br /> | ||
const imprintVATid = `<p>Umsatzsteuer-Identifikationsnummer gemäß § 27 a Umsatzsteuergesetz:<br /> | ||
DE 999 999 999</p>` | ||
|
||
|
||
// 1.7.B.4: | ||
// (optional) Verbraucherstreitbeilegung / Universalschlichtungsstelle | ||
// (optional) Online Dispute Resolution for consumers by European Commission | ||
|
||
var imprintDisputeResultion = `<p>Die Europäische Kommission stellt eine Plattform zur Online-Streitbeilegung (OS) bereit: (https://ec.europa.eu/consumers/odr).</p> | ||
const imprintDisputeResultion = `<p>Die Europäische Kommission stellt eine Plattform zur Online-Streitbeilegung (OS) bereit: (https://ec.europa.eu/consumers/odr).</p> | ||
<p>Wir sind nicht bereit oder verpflichtet, an Streitbeilegungsverfahren vor einer Verbraucherschlichtungsstelle teilzunehmen.</p>` | ||
|
||
|
||
// 1.7.B.5 | ||
// (optional) Redaktion: Person(en), die die Fragen ausgearbeitet hat | ||
// (optional) Editor: Person(s), who worked on the questions | ||
|
||
var imprintEditors = `<p>Max Mustermann, Martina Mustermann, Harry Hirsch</p> | ||
const imprintEditors = `<p>Max Mustermann, Martina Mustermann, Harry Hirsch</p> | ||
<p> <a href='mailto:[email protected]'>[email protected]</a></p>`; | ||
|
||
|
||
// 1.7.B.6 | ||
// (optional) Technik: Person(en), die das System aufgesetzt hat | ||
// (optional) Programming: Person(s), who set up the system | ||
|
||
var imprintProgramming = `<p>Max Mustermann, Hans Wurst</p> | ||
const imprintProgramming = `<p>Max Mustermann, Hans Wurst</p> | ||
<p> <a href='mailto:[email protected]'>E-Mailadresse</a> </p>`; | ||
|
||
|
||
// 1.7.B.7 | ||
// (optional) Quellenangaben zu den Bildern | ||
// (optional) Sources of pictures | ||
|
||
var imprintPictures = `<p> Bilder mit freundlicher Genehmigung von / Pictures with permission from: | ||
const imprintPictures = `<p> Bilder mit freundlicher Genehmigung von / Pictures with permission from: | ||
<br /> Max Mustermann, Foto Franz Frankfurt, Neutrale Partei | ||
<br /> Äpfel: Von Glysiak - Eigenes Werk, CC BY-SA 4.0, https://commons.wikimedia.org/w/index.php?curid=8146365 | ||
<br /> Bananen: Von Steve Hopson, www.stevehopson.com, CC BY-SA 2.5, https://commons.wikimedia.org/w/index.php?curid=1541726 | ||
|
@@ -264,7 +263,7 @@ var imprintPictures = `<p> Bilder mit freundlicher Genehmigung von / Pictures wi | |
// (optional) Link zu einer Datenschutzerklaerung beginnend mit http(s):- erlaubt die anonyme Statistik | ||
// (optional) Link to a privacy policy starting with http(s):- allows the anonymous statistics | ||
|
||
var imprintPrivacyUrl = "https://www.hans-wurst-webdesign-obsthausen.com/datenschutz.html"; | ||
const imprintPrivacyUrl = "https://www.hans-wurst-webdesign-obsthausen.com/datenschutz.html"; | ||
|
||
|
||
// -------------------------------------------------------------------- | ||
|
@@ -277,7 +276,7 @@ var imprintPrivacyUrl = "https://www.hans-wurst-webdesign-obsthausen.com/datensc | |
// 2.1. Trennzeichen fuer die CSV-Dateien (Excel benutzt haeufig Semikolon, OpenOffice/LibreOffice ein Komma) | ||
// 2.1. Separator for CSV files (Excel uses often a semicolon, OpenOffice/LibreOffice a comma) | ||
|
||
var separator = ";"; | ||
const separator = ";"; | ||
|
||
|
||
/* | ||
|
@@ -290,10 +289,10 @@ var separator = ";"; | |
******************************************************************** | ||
var design = ["default.css","buttons-colors-on.css", "progressbar.css"]; | ||
var design = ["default.css","buttons-colors-off.css", "progressbar.css"]; | ||
var design = ["default.css","buttons-colors-on.css"]; | ||
var design = ["my-personal-styles.css"]; | ||
const design = ["default.css","buttons-colors-on.css", "progressbar.css"]; | ||
const design = ["default.css","buttons-colors-off.css", "progressbar.css"]; | ||
const design = ["default.css","buttons-colors-on.css"]; | ||
const design = ["my-personal-styles.css"]; | ||
******************************************************************** | ||
|
@@ -305,7 +304,7 @@ var separator = ";"; | |
Please find some examples above. | ||
*/ | ||
|
||
var design = ["default.css","buttons-colors-on.css", "progressbar.css"]; | ||
const design = ["default.css","buttons-colors-on.css", "progressbar.css"]; | ||
|
||
|
||
/* | ||
|
@@ -318,10 +317,10 @@ var design = ["default.css","buttons-colors-on.css", "progressbar.css"]; | |
******************************************************************** | ||
var addons = ["extras/addon_results_textfilter_by_button.js"] | ||
var addons = ["extras/addon_results_textfilter_by_button.js", "extras/addon_check_iframe_resize_client.js", "extras/addon_limit_results.js", "extras/addon_favorite_party.js"] | ||
var addons = [] | ||
var addons = ["my_folder/my_file.js"] | ||
const addons = ["extras/addon_results_textfilter_by_button.js"] | ||
const addons = ["extras/addon_results_textfilter_by_button.js", "extras/addon_check_iframe_resize_client.js", "extras/addon_limit_results.js", "extras/addon_favorite_party.js"] | ||
const addons = [] | ||
const addons = ["my_folder/my_file.js"] | ||
******************************************************************** | ||
|
@@ -334,13 +333,13 @@ var design = ["default.css","buttons-colors-on.css", "progressbar.css"]; | |
*/ | ||
|
||
var addons = [] | ||
const addons = [] | ||
|
||
|
||
// 2.4 Sprache / Language | ||
// see files in folder /i18n/ | ||
|
||
var language = "de"; | ||
const language = "de"; | ||
|
||
|
||
/////////////////////////////////////////////////////////////////////// | ||
|
@@ -368,8 +367,8 @@ var language = "de"; | |
The script and Mat-O-Wahl must be on the same domain and network-protocoll. (no "cross origin" / CORS) | ||
*/ | ||
|
||
var statsRecord = 0; | ||
var statsServer = "http://localhost/extras/statistics/vote_txt.php"; | ||
const statsRecord = 0; | ||
const statsServer = "http://localhost/extras/statistics/vote_txt.php"; | ||
|
||
|
||
/* | ||
|
Oops, something went wrong.