diff --git a/buergerkandidaten/page/default_page/js/default_page.js b/buergerkandidaten/page/default_page/js/default_page.js index 315af5f..fd2a025 100644 --- a/buergerkandidaten/page/default_page/js/default_page.js +++ b/buergerkandidaten/page/default_page/js/default_page.js @@ -15,4 +15,5 @@ function sys_hashchange(state){ $('#menu_'+state_).parent().addClass('active'); } else { $('.navbar-header').addClass('active');} + window.scrollTo(0,0); } \ No newline at end of file diff --git a/buergerkandidaten/page/default_start/tpl/default_start.tpl b/buergerkandidaten/page/default_start/tpl/default_start.tpl index 3e942e4..0b374e8 100644 --- a/buergerkandidaten/page/default_start/tpl/default_start.tpl +++ b/buergerkandidaten/page/default_start/tpl/default_start.tpl @@ -1,8 +1,68 @@

-   Startseite +   Startseite

-
-
- ${content_start} +
+
+
+
${content_start}
+
+
+
+
+
+

+   Kandidat +

+
+
+
+ Sebastian Bucher +
+
${info_kandidat}
+
+
+
+
+
+
+

+   Komitee +

+
+
+ + ${info_komitee} +
+
+
+
+
+
+
+
+

+   FAQ +

+
+
+ + ${info_faq} +
+
+
+
+
+
+

+   Kontakt +

+
+
+ + ${info_kontakt} +
+
+
+
\ No newline at end of file diff --git a/buergerkandidaten/sql/mysql/system_text.sql b/buergerkandidaten/sql/mysql/system_text.sql index 33dabe5..a92ed38 100644 --- a/buergerkandidaten/sql/mysql/system_text.sql +++ b/buergerkandidaten/sql/mysql/system_text.sql @@ -60,4 +60,13 @@ INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('content_impressum', 'buerge INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('content_kandidat', 'buergerkandidat'); -- INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('content_kontakt', 'buergerkandidat'); INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('content_start', 'buergerkandidat'); -INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('content_unterstuetzen', 'buergerkandidat'); \ No newline at end of file +INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('content_unterstuetzen', 'buergerkandidat'); + +INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('info_faq', 'deDE', 'Sie haben Fragen? Schauen Sie in das FAQ um Antworten zu erhalten.', 1, 1, '2017-08-21 06:26:35', '2017-08-21 06:26:35'); +INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('info_kandidat', 'deDE', 'Sebastian Bucher, der Direktkandidat für die Bergstraße.

Sehen Sie sich sein Profil an und machen Sie sich ein eigenes Bild.', 1, 1, '2017-08-21 06:24:48', '2017-08-21 06:24:48'); +INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('info_komitee', 'deDE', 'Das Komitee ist das wichtigste Prinzip der Initiative buergerkandidaten.de. Informieren Sie sich hier und werden Sie Teil der lokalen direkten Demokratie an der Bergstraße.

Unsere Stärke ist die Vielfalt, wir möchten nicht kämpfen, sondern konstruktiv an einer neuen Art der Politik arbeiten und sie leben!

Schließen Sie sich uns an.

Den nächsten Termin entnehmen Sie bitte der "Aktuelles"-Box auf der linken Seite.', 1, 1, '2017-08-21 06:25:55', '2017-08-21 06:25:55'); +INSERT INTO `system_text` (`id`, `lang`, `text`, `author`, `author_edit`, `time_create`, `time_edit`) VALUES ('info_kontakt', 'deDE', 'Treten Sie mit dem Direktkandidaten Sebastian Bucher oder dem Vorsitzenden des Komitees Gerhard Kugler in Kontakt.', 1, 1, '2017-08-21 06:27:31', '2017-08-21 06:27:31'); +INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('info_faq', 'buergerkandidat'); +INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('info_kandidat', 'buergerkandidat'); +INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('info_komitee', 'buergerkandidat'); +INSERT INTO `system_text_tag` (`id`, `tag`) VALUES ('info_kontakt', 'buergerkandidat'); diff --git a/lib/system b/lib/system index f5c99ea..e12fc04 160000 --- a/lib/system +++ b/lib/system @@ -1 +1 @@ -Subproject commit f5c99ea06408afb809b5b57465533f1ea6cfb0c8 +Subproject commit e12fc04ea2b9dee75109535866fbc55bd37087a1 diff --git a/nbproject/project.properties b/nbproject/project.properties index 76f6f91..19c7f47 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -1,3 +1,4 @@ +auxiliary.org-netbeans-modules-php-smarty.smarty-framework=true include.path=${php.global.include.path} php.version=PHP_56 source.encoding=UTF-8