Skip to content

Commit

Permalink
Update demo_fullpage.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
aeberhard committed Mar 8, 2023
1 parent 54641df commit f331018
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions backups/demo_fullpage.sql
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ CREATE TABLE `rex_article` (
KEY `id` (`id`),
KEY `clang_id` (`clang_id`),
KEY `parent_id` (`parent_id`)
) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

LOCK TABLES `rex_article` WRITE;
/*!40000 ALTER TABLE `rex_article` DISABLE KEYS */;
Expand All @@ -63,10 +63,16 @@ INSERT INTO `rex_article` VALUES
(17,15,13,'Hintergrundvideo','Testseite',0,0,3,'|13|',1,1,1,'2022-01-14 20:15:05','admin','2022-07-24 00:52:47','admin',0,'','','','','','','linear-gradient(90deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 50%, rgba(0,0,0,0.5) 100%)','','','||','||','turntable.mp4',''),
(18,16,14,'Beispiele UIkit-Elemente 3','Beispiele UIkit-Elemente',0,0,3,'|13|14|',1,1,1,'2022-01-14 20:15:05','admin','2022-08-01 21:13:13','admin',0,NULL,NULL,NULL,NULL,NULL,'',NULL,'',NULL,'','','',''),
(19,17,14,'Beispiele UIkit-Elemente 2','Beispiele UIkit-Elemente',0,0,2,'|13|14|',1,1,1,'2022-02-11 20:54:10','admin','2022-06-21 22:43:07','admin',0,NULL,NULL,NULL,NULL,NULL,'',NULL,'',NULL,'','','',''),
(20,18,13,'Sonstige Beispiele','Sonstige Beispiele',3,1,1,'|13|',1,1,1,'2023-01-21 19:30:46','admin','2023-01-22 11:56:44','admin',0,NULL,NULL,NULL,NULL,NULL,'',NULL,'','','||','||','',''),
(20,18,13,'Sonstige Beispiele','Sonstige Beispiele',3,1,1,'|13|',1,1,1,'2023-01-21 19:30:46','admin','2023-03-07 23:51:37','admin',0,NULL,NULL,NULL,NULL,NULL,'',NULL,'','','||','||','',''),
(21,19,6,'Fotos und Videos','Informationen',0,0,2,'|6|',1,1,1,'2022-02-13 01:01:19','admin','2022-06-25 02:56:05','admin',0,'','','','','','','','',NULL,'','','drone-river-fly.mp4',''),
(22,20,18,'Video','Sonstige Beispiele',0,0,2,'|13|18|',1,1,1,'2022-02-16 23:31:40','admin','2022-07-06 22:15:10','admin',0,'','','','','','','rgba(0, 0, 0, .8)','',NULL,'','','',''),
(24,21,0,'Testseite alle Module','',0,0,3,'|',0,8,1,'2023-01-20 01:11:40','admin','2023-01-20 22:22:00','admin',0,NULL,NULL,NULL,NULL,NULL,'',NULL,'',NULL,'','','','');
(24,21,0,'Testseite alle Module','',0,0,3,'|',0,8,1,'2023-01-20 01:11:40','admin','2023-01-20 22:22:00','admin',0,NULL,NULL,NULL,NULL,NULL,'',NULL,'',NULL,'','','',''),
(25,22,0,'Datenschutzerklärung','',0,0,4,'|',1,8,1,'2023-03-08 21:18:20','admin','2023-03-08 21:19:26','admin',0,NULL,NULL,NULL,NULL,NULL,'',NULL,'',NULL,'','','',''),
(26,22,0,'Datenschutzerklärung','',0,0,1,'|',0,1,2,'2023-03-08 21:18:20','admin','2023-03-08 21:18:20','admin',0,NULL,NULL,NULL,NULL,NULL,'',NULL,'',NULL,'','','',''),
(27,22,0,'Datenschutzerklärung','',0,0,1,'|',0,1,3,'2023-03-08 21:18:20','admin','2023-03-08 21:18:20','admin',0,NULL,NULL,NULL,NULL,NULL,'',NULL,'',NULL,'','','',''),
(28,23,0,'Impressum','',0,0,5,'|',1,8,1,'2023-03-08 21:18:29','admin','2023-03-08 21:19:12','admin',0,NULL,NULL,NULL,NULL,NULL,'',NULL,'',NULL,'','','',''),
(29,23,0,'Impressum','',0,0,2,'|',0,1,2,'2023-03-08 21:18:29','admin','2023-03-08 21:18:29','admin',0,NULL,NULL,NULL,NULL,NULL,'',NULL,'',NULL,'','','',''),
(30,23,0,'Impressum','',0,0,2,'|',0,1,3,'2023-03-08 21:18:29','admin','2023-03-08 21:18:29','admin',0,NULL,NULL,NULL,NULL,NULL,'',NULL,'',NULL,'','','','');
/*!40000 ALTER TABLE `rex_article` ENABLE KEYS */;
UNLOCK TABLES;

Expand Down Expand Up @@ -149,7 +155,7 @@ CREATE TABLE `rex_article_slice` (
KEY `clang_id` (`clang_id`),
KEY `article_id` (`article_id`),
KEY `find_slices` (`clang_id`,`article_id`)
) ENGINE=InnoDB AUTO_INCREMENT=128 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
) ENGINE=InnoDB AUTO_INCREMENT=130 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

LOCK TABLES `rex_article_slice` WRITE;
/*!40000 ALTER TABLE `rex_article_slice` DISABLE KEYS */;
Expand Down Expand Up @@ -207,7 +213,9 @@ INSERT INTO `rex_article_slice` VALUES
(123,21,1,1,6,0,15,1,NULL,'Downloads','h2',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'pdf-testdatei.pdf,zip-testdatei.zip,word-testdatei.doc',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-01-20 16:43:30','admin','2023-01-20 16:43:30','admin'),
(124,21,1,1,8,0,16,1,'<?php\r\n\r\necho \'TEST PHP-Ausgabe\';',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-01-20 16:44:44','admin','2023-01-20 16:44:44','admin'),
(125,7,1,1,1,0,2,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'File not found!','h3',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-01-20 16:46:58','admin','2023-01-20 16:46:58','admin'),
(127,18,1,1,8,0,3,1,'<?php\r\n/*\r\nFalls der Consent-Manager installiert und aktiviert ist und ein Consent configuriert ist (dem noch nicht zugestimmt wurde)\r\ndann hier ein Overlay mit Hinweis und Button für die Datenschutz-Einstellungen über die Seite legen.\r\n*/\r\n$addon = \'consent_manager\';\r\n\r\nif (true === rex_addon::get($addon)->isInstalled() && true === rex_addon::get($addon)->isAvailable()) {\r\n if (true === consent_manager_util::consent_configured()) {\r\n echo \'<style>\r\n.fp-consent-wrapper {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n bottom: 0;\r\n right: 0;\r\n width: 100%;\r\n height: 100%;\r\n background-color: rgba(0, 0, 0, .7);\r\n display: flex; \r\n flex-direction: column; \r\n justify-content: center; \r\n align-items: center; \r\n z-index: 9999999;\r\n -webkit-backdrop-filter: blur(4px); \r\n backdrop-filter: blur(4px);\r\n color: #fff;\r\n}\r\n.fp-consent-wrapper p {\r\n padding: 2em;\r\n}\r\n</style>\' . PHP_EOL;\r\n echo \'<script>\r\nfunction fp_consent_manager_showBox() {\r\n $.fn.fullpage.setAllowScrolling(false, \"up, down\");\r\n $.fn.fullpage.setKeyboardScrolling(false, \"up, down, left, right\");\r\n consent_manager_showBox();\r\n}\r\ndocument.addEventListener(\"consent_manager-onshow\", (event) => {\r\n $(\".consent_manager-sitelinks a\").addClass(\"lightboxcontent\");\r\n contentlightbox = GLightbox({\r\n selector: \".lightboxcontent\",\r\n openEffect: \"zoom\",\r\n closeEffect: \"zoom\",\r\n width: \"80vw\",\r\n height: \"90vh\",\r\n loop: false\r\n }); \r\n});\r\ndocument.addEventListener(\"consent_manager-onclose\", (event) => {\r\n $.fn.fullpage.setAllowScrolling(true);\r\n $.fn.fullpage.setKeyboardScrolling(true);\r\n});\r\ndocument.addEventListener(\"consent_manager-saved\", (event) => {\r\n $.fn.fullpage.setAllowScrolling(true);\r\n $.fn.fullpage.setKeyboardScrolling(true);\r\n});\r\n</script>\' . PHP_EOL;\r\n echo consent_manager_frontend::getFragment(false, true, \'consent_manager_box_cssjs.php\', true);\r\n if (false == consent_manager_util::has_consent(\'youtube\')) {\r\n echo \'<div class=\"fp-consent-wrapper\">\' . PHP_EOL;\r\n echo \'<p><strong>Hinweis:</strong><br><br>Die Buttons auf dieser Seite verweisen auf externe Medien (Youtube, Vimeo, Github)<br>Es werden keine Cookies gespeichert, aber Inhalte von fremden Servern werden aufgerufen.<br><br>Um die Inhalte anzuzeigen müssen Sie in den Datenschutz-Einstellungen ihr Einverständis geben.</p>\' . PHP_EOL;\r\n echo \'<button class=\"uk-button uk-button-primary\" onclick=\"javascript:fp_consent_manager_showBox();\">Datenschutz-Einstellungen</button>\' . PHP_EOL;\r\n echo \'</div>\' . PHP_EOL;\r\n } else {\r\n echo \'<button class=\"uk-button uk-button-primary\" onclick=\"javascript:fp_consent_manager_showBox();\">Datenschutz-Einstellungen</button>\' . PHP_EOL;\r\n }\r\n }\r\n}',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-01-20 22:22:44','admin','2023-01-22 11:56:44','admin');
(127,18,1,1,8,0,3,1,'<?php\r\n/*\r\nFalls der Consent-Manager installiert und aktiviert ist und ein Consent configuriert ist (dem noch nicht zugestimmt wurde)\r\ndann hier ein Overlay mit Hinweis und Button für die Datenschutz-Einstellungen über die Seite legen.\r\n*/\r\n$addon = \'consent_manager\';\r\n\r\nif (true === rex_addon::get($addon)->isInstalled() && true === rex_addon::get($addon)->isAvailable()) {\r\n if (true === FriendsOfRedaxo\\ConsentManager\\consent_manager::consentConfigured()) {\r\n echo \'\r\n<style>\r\n.fp-consent-wrapper {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n bottom: 0;\r\n right: 0;\r\n background-color: rgba(0, 0, 0, .5);\r\n display: flex; \r\n flex-direction: column; \r\n justify-content: center; \r\n align-items: center; \r\n z-index: 9999999;\r\n -webkit-backdrop-filter: blur(3px); \r\n backdrop-filter: blur(3px);\r\n color: #fff;\r\n padding: 4em;\r\n}\r\n.fp-consent-wrapper p {\r\n padding: 0 0 1em 0;\r\n}\r\n</style>\' . PHP_EOL;\r\n \r\n echo \'<script>\r\ndocument.addEventListener(\"consent_manager-cbOnShow\", (event) => {\r\n if ($.fn.fullpage.setAllowScrolling) {\r\n $.fn.fullpage.setAllowScrolling(false, \"up, down\");\r\n $.fn.fullpage.setKeyboardScrolling(false, \"up, down, left, right\");\r\n }\r\n $(\".consent_manager-sitelinks a\").addClass(\"lightboxcontent\");\r\n contentlightbox = GLightbox({\r\n selector: \".lightboxcontent\",\r\n openEffect: \"zoom\",\r\n closeEffect: \"zoom\",\r\n width: \"80vw\",\r\n height: \"90vh\",\r\n loop: false\r\n }); \r\n});\r\ndocument.addEventListener(\"consent_manager-cbOnClose\", (event) => {\r\n if ($.fn.fullpage.setAllowScrolling) {\r\n $.fn.fullpage.setAllowScrolling(true);\r\n $.fn.fullpage.setKeyboardScrolling(true);\r\n }\r\n});\r\ndocument.addEventListener(\"consent_manager-cbSaved\", (event) => {\r\n if ($.fn.fullpage.setAllowScrolling) {\r\n $.fn.fullpage.setAllowScrolling(true);\r\n $.fn.fullpage.setKeyboardScrolling(true);\r\n }\r\n if (consent_manager_hasConsent(\"youtube\")) {\r\n $(\"a.extcontent\").css(\"visibility\", \"visible\");\r\n $(\".fp-consent-wrapper\").hide(); \r\n $(\".fp-btn-showconsent\").show(); \r\n } else {\r\n $(\"a.extcontent\").css(\"visibility\", \"hidden\");\r\n $(\".fp-consent-wrapper\").show(); \r\n $(\".fp-btn-showconsent\").hide(); \r\n }\r\n});\r\n</script>\' . PHP_EOL;\r\n \r\n $fpoverstyle = \'style=\"display:block\"\';\r\n $fpbtnstyle = \'style=\"display:none\"\';\r\n echo FriendsOfRedaxo\\ConsentManager\\consent_manager::getBox([\'forceReload\' => false, \'forceHidden\' => true]);\r\n if (false == FriendsOfRedaxo\\ConsentManager\\consent_manager::hasConsent(\'youtube\')) {\r\n echo \'<style> a.extcontent{visibility:hidden;} </style>\' . PHP_EOL;\r\n $fpoverstyle = \'style=\"display:block;\"\';\r\n $fpbtnstyle = \'style=\"display:none;\"\';\r\n } else {\r\n $fpoverstyle = \'style=\"display:none;\"\';\r\n $fpbtnstyle = \'style=\"display:block;\"\';\r\n }\r\n\r\n echo \'<div class=\"fp-consent-wrapper\" \'.$fpoverstyle.\'>\' . PHP_EOL;\r\n echo \'<br><br><h2>Hinweis:</h2>Die Buttons auf dieser Seite verweisen auf externe Medien (Youtube, Vimeo, Github)<br>Es werden Cookies gespeichert und Inhalte von fremden Servern werden aufgerufen.<br><br>Um die Inhalte anzuzeigen müssen Sie in den Datenschutz-Einstellungen ihr Einverständis geben.</p>\' . PHP_EOL;\r\n echo \'<p><button class=\"uk-button uk-button-primary uk-align-center\" onclick=\"javascript:consent_manager_showBox();\">Datenschutz-Einstellungen</button></p>\' . PHP_EOL;\r\n echo \'</div>\' . PHP_EOL;\r\n echo \'<button class=\"uk-button uk-button-primary uk-align-left fp-btn-showconsent\" \'.$fpbtnstyle.\' onclick=\"javascript:consent_manager_showBox();\">Datenschutz-Einstellungen</button>\' . PHP_EOL;\r\n }\r\n}',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-01-20 22:22:44','admin','2023-03-07 23:51:37','admin'),
(128,23,1,1,1,0,1,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Impressum','h1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-08 21:19:00','admin','2023-03-08 21:19:00','admin'),
(129,22,1,1,1,0,1,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Datenschutzerklärung','h1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-03-08 21:19:26','admin','2023-03-08 21:19:26','admin');
/*!40000 ALTER TABLE `rex_article_slice` ENABLE KEYS */;
UNLOCK TABLES;

Expand Down

0 comments on commit f331018

Please sign in to comment.