From 02ca1bea68f829c50935a73ecb0722ba02f20a2d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 2 Oct 2012 14:46:17 +0000 Subject: [PATCH] Updated ext-politician-stop which is satire on politicians that doesn't really know what Internet is. Note: Please reinstall this extension or else the text won't get printed. --- .gitattributes | 4 + inc/extensions/ext-politician-stop.php | 12 ++- inc/filter/politician-stop_filter.php | 61 +++++++++++++ inc/filter/politician_stop_filter.php | 57 +----------- inc/install/install-inc_ | 43 +--------- inc/install/install_page_ | 44 ++++++++++ inc/language/sponsor_de.php | 6 +- inc/libs/politician-stop_functions.php | 44 ++++++++++ inc/libs/politician_stop_functions.php | 49 +---------- inc/mysql-manager.php | 6 +- inc/template-functions.php | 1 + install/menu-de.sql | 10 +-- install/menu-en.sql | 10 +-- templates/de/html/page_footer.tpl | 1 + .../politician_stop_snippet.tpl | 86 +------------------ templates/de/html/politician_stop_snippet.tpl | 41 +++++++++ theme/business/css/politician-stop.css | 46 ++++++++++ theme/default/css/politician-stop.css | 46 ++++++++++ theme/desert/css/politician-stop.css | 46 ++++++++++ theme/org/css/politician-stop.css | 46 ++++++++++ theme/schleuder/css/politician-stop.css | 46 ++++++++++ theme/ship-simu/css/politician-stop.css | 46 ++++++++++ 22 files changed, 498 insertions(+), 253 deletions(-) create mode 100644 inc/filter/politician-stop_filter.php create mode 100644 inc/install/install_page_ create mode 100644 inc/libs/politician-stop_functions.php create mode 100644 templates/de/html/politician_stop_snippet.tpl create mode 100644 theme/business/css/politician-stop.css create mode 100644 theme/default/css/politician-stop.css create mode 100644 theme/desert/css/politician-stop.css create mode 100644 theme/org/css/politician-stop.css create mode 100644 theme/schleuder/css/politician-stop.css create mode 100644 theme/ship-simu/css/politician-stop.css diff --git a/.gitattributes b/.gitattributes index 6ca8e40900..7992e0f9ac 100644 --- a/.gitattributes +++ b/.gitattributes @@ -235,6 +235,7 @@ inc/filter/mediadata_filter.php svneol=native#text/plain inc/filter/online_filter.php svneol=native#text/plain inc/filter/order_filter.php svneol=native#text/plain inc/filter/other_filter.php svneol=native#text/plain +inc/filter/politician-stop_filter.php svneol=native#text/plain inc/filter/politician_stop_filter.php svneol=native#text/plain inc/filter/rallye_filter.php svneol=native#text/plain inc/filter/register_filter.php svneol=native#text/plain @@ -265,6 +266,7 @@ inc/install-functions.php svneol=native#text/plain inc/install-inc.php svneol=native#text/plain inc/install/.htaccess svneol=native#text/plain inc/install/install-inc_ svneol=native#text/plain +inc/install/install_page_ svneol=native#text/plain inc/js/.htaccess svneol=native#text/plain inc/js/js- svneol=native#text/plain inc/js/js-admin_ajax.php svneol=native#text/plain @@ -373,6 +375,7 @@ inc/libs/optimize_functions.php svneol=native#text/plain inc/libs/order_functions.php svneol=native#text/plain inc/libs/other_functions.php svneol=native#text/plain inc/libs/payout_functions.php svneol=native#text/plain +inc/libs/politician-stop_functions.php svneol=native#text/plain inc/libs/politician_stop_functions.php svneol=native#text/plain inc/libs/primera_functions.php svneol=native#text/plain inc/libs/profile_functions.php svneol=native#text/plain @@ -2076,6 +2079,7 @@ templates/de/html/page_footer.tpl svneol=native#text/plain templates/de/html/page_header.tpl svneol=native#text/plain templates/de/html/politician_stop/.htaccess svneol=native#text/plain templates/de/html/politician_stop/politician_stop_snippet.tpl svneol=native#text/plain +templates/de/html/politician_stop_snippet.tpl svneol=native#text/plain templates/de/html/premium-backlinks.tpl -text templates/de/html/rallye/.htaccess svneol=native#text/plain templates/de/html/rallye/rallye_test.tpl svneol=native#text/plain diff --git a/inc/extensions/ext-politician-stop.php b/inc/extensions/ext-politician-stop.php index e57adebec8..407b0aa6d1 100644 --- a/inc/extensions/ext-politician-stop.php +++ b/inc/extensions/ext-politician-stop.php @@ -41,10 +41,10 @@ if (!defined('__SECURITY')) { } // END - if // Version number -setThisExtensionVersion('0.0.0'); +setThisExtensionVersion('0.0.1'); // Version history array (add more with , '0.0.1' and so on) -setExtensionVersionHistory(array('0.0.0')); +setExtensionVersionHistory(array('0.0.0', '0.0.1')); switch (getExtensionMode()) { case 'register': // Do stuff when installation is running @@ -53,12 +53,12 @@ switch (getExtensionMode()) { addAdminMenuSql('config','config_politician_stop','Politiker-Stopp-Aktion','Einstellungen zur Satire-Aktion "Politiker-Stopp - Jetzt wird zurück zensiert."', 7); // Register filter - registerFilter(__FILE__, __LINE__, 'page_footer', 'DISPLAY_POLITICIAN_STOP_SNIPPET', false, true, isExtensionDryRun()); + registerFilter(__FILE__, __LINE__, 'outside_masterbox', 'DISPLAY_POLITICIAN_STOP_SNIPPET', false, true, isExtensionDryRun()); break; case 'remove': // Do stuff when removing extension // Unregister filter - unregisterFilter(__FILE__, __LINE__, 'page_footer', 'DISPLAY_POLITICIAN_STOP_SNIPPET', true, isExtensionDryRun()); + unregisterFilter(__FILE__, __LINE__, 'outside_masterbox', 'DISPLAY_POLITICIAN_STOP_SNIPPET', true, isExtensionDryRun()); break; case 'activate': // Do stuff when admin activates this extension @@ -72,10 +72,8 @@ switch (getExtensionMode()) { case 'update': // Update an extension switch (getCurrentExtensionVersion()) { case '0.0.1': // SQL queries for v0.0.1 - addExtensionSql(''); - // Update notes (these will be set as task text!) - setExtensionUpdateNotes(''); + setExtensionUpdateNotes('Bitte unbedingt die Erweiterung neuinstallieren, damit das Snippet an die richtige Stelle geladen wird.'); break; } // END - switch break; diff --git a/inc/filter/politician-stop_filter.php b/inc/filter/politician-stop_filter.php new file mode 100644 index 0000000000..b538e3c6d9 --- /dev/null +++ b/inc/filter/politician-stop_filter.php @@ -0,0 +1,61 @@ + diff --git a/inc/filter/politician_stop_filter.php b/inc/filter/politician_stop_filter.php index 89aeb09692..f551ef47b7 100644 --- a/inc/filter/politician_stop_filter.php +++ b/inc/filter/politician_stop_filter.php @@ -1,58 +1,3 @@ diff --git a/inc/install/install-inc_ b/inc/install/install-inc_ index 9449a58188..f551ef47b7 100644 --- a/inc/install/install-inc_ +++ b/inc/install/install-inc_ @@ -1,44 +1,3 @@ diff --git a/inc/install/install_page_ b/inc/install/install_page_ new file mode 100644 index 0000000000..3c4b340207 --- /dev/null +++ b/inc/install/install_page_ @@ -0,0 +1,44 @@ + diff --git a/inc/language/sponsor_de.php b/inc/language/sponsor_de.php index 9815409cf1..7b30619930 100644 --- a/inc/language/sponsor_de.php +++ b/inc/language/sponsor_de.php @@ -305,9 +305,9 @@ addMessages(array( 'SPONSOR_ACCOUNT_DATA_NOT_SAVED' => "Ihre Daten wurden nicht gespeichert.", // Module titles - 'MODULE_SPONSOR_TITLE' => "Sponsorbereich" - 'MODULE_SPONSOR_CONFIRM_TITLE' => "Sponsor-Bestätigung" - 'MODULE_SPONSOR_REF_TITLE' => "Sponsor-Referrallink" + 'MODULE_SPONSOR_TITLE' => "Sponsorbereich", + 'MODULE_SPONSOR_CONFIRM_TITLE' => "Sponsor-Bestätigung", + 'MODULE_SPONSOR_REF_TITLE' => "Sponsor-Referrallink", )); // [EOF] diff --git a/inc/libs/politician-stop_functions.php b/inc/libs/politician-stop_functions.php new file mode 100644 index 0000000000..ef96b23371 --- /dev/null +++ b/inc/libs/politician-stop_functions.php @@ -0,0 +1,44 @@ + diff --git a/inc/libs/politician_stop_functions.php b/inc/libs/politician_stop_functions.php index 0ec6401762..f551ef47b7 100644 --- a/inc/libs/politician_stop_functions.php +++ b/inc/libs/politician_stop_functions.php @@ -1,50 +1,3 @@ diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index 426c64b646..e9d5c40fcd 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -160,13 +160,15 @@ function addYouAreHereLink ($accessLevel, $FQFN, $return = false) { $search = substr($search, 0, -4); } // END - if + // Is ext-sql_patches installed? + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'isExtensionInstalledAndNewer()=' . intval(isExtensionInstalledAndNewer('sql_patches', '0.2.3')) . ',youre_here=' . getConfig('youre_here') . ',isAdmin()=' . intval(isAdmin()) . ',modCheck=' . $modCheck); if (((isExtensionInstalledAndNewer('sql_patches', '0.2.3')) && (getConfig('youre_here') == 'Y')) || ((isAdmin()) && ($modCheck == 'admin'))) { // Output HTML code $OUT = $prefix . '' . getTitleFromMenu($accessLevel, $search, $type, $ADD) . ''; // Can we close the you-are-here navigation? - //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'type=' . $type . 'getWhat()=' . getWhat()); - if (($type == 'what') || (($type == 'action') && ((!isWhatSet()) || (getWhat() == 'welcome')))) { + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'type=' . $type . ',getWhat()=' . getWhat() . ',isWhatSet()=' . intval(isWhatSet())); + if (($type == 'what') || (($type == 'action') && (!isWhatSet()))) { //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'type=' . $type); // Add closing div and br-tag $GLOBALS['nav_depth'] = '0'; diff --git a/inc/template-functions.php b/inc/template-functions.php index 6ca436f10b..93eacf3606 100644 --- a/inc/template-functions.php +++ b/inc/template-functions.php @@ -311,6 +311,7 @@ function loadTemplate ($template, $return = false, $content = array(), $compileC // Generate FQFN $FQFN = $basePath . $extraPath . $template . '.tpl'; + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Template ' . $template . ' is solved to FQFN=' . $FQFN); // Does the special template exists? if (!isFileReadable($FQFN)) { diff --git a/install/menu-de.sql b/install/menu-de.sql index 76c8c9e59e..c5b9161890 100644 --- a/install/menu-de.sql +++ b/install/menu-de.sql @@ -70,11 +70,11 @@ INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`vis INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('logout','logout','Ausloggen',999,'Y','N'); INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('logout','guest','Zum Gastmenü',1000,'Y','N'); -INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (10,1.000,'Klick-Mail 10 Sek.',2.000); -INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (20,5.000,'Klick-Mail 20 Sek.',10.000); -INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (30,25.000,'Klick-Mail 30 Sek.',30.000); -INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (40,35.000,'Klick-Mail 40 Sek.',40.000); -INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (50,45.000,'Klick-Mail 50 Sek.',50.000); +INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (10,1.000,'Klick-Mail 10 Sek.',2.00000); +INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (20,5.000,'Klick-Mail 20 Sek.',10.00000); +INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (30,25.000,'Klick-Mail 30 Sek.',30.00000); +INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (40,35.000,'Klick-Mail 40 Sek.',40.00000); +INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (50,45.000,'Klick-Mail 50 Sek.',50.00000); INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('email','del_email','E-Mail löschen','Löschen Sie hierrüber E-Mails (sowohl Bonus- als auch Normal-Mails) aus Ihrem {?mt_word?}-System. Nur bei Normal-Mails: {OPEN_CONFIG}POINTS{CLOSE_CONFIG} aus den unbestätigten Mails werden dem Werber wieder vergütet.','7'); INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('misc','extensions','Erweiterungen','Erweiterungen installieren, updaten, sperren, löschen usw.','8'); diff --git a/install/menu-en.sql b/install/menu-en.sql index f774c8312f..73ce241512 100644 --- a/install/menu-en.sql +++ b/install/menu-en.sql @@ -70,11 +70,11 @@ INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`vis INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('logout','logout','Ausloggen',999,'Y','N'); INSERT INTO `{?_MYSQL_PREFIX?}_member_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('logout','guest','Zum Gastmenü',1000,'Y','N'); -INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (10,1.000,'Klick-Mail 10 Sek.',2.000); -INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (20,5.000,'Klick-Mail 20 Sek.',10.000); -INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (30,25.000,'Klick-Mail 30 Sek.',30.000); -INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (40,35.000,'Klick-Mail 40 Sek.',40.000); -INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (50,45.000,'Klick-Mail 50 Sek.',50.000); +INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (10,1.000,'Klick-Mail 10 Sek.',2.00000); +INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (20,5.000,'Klick-Mail 20 Sek.',10.00000); +INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (30,25.000,'Klick-Mail 30 Sek.',30.00000); +INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (40,35.000,'Klick-Mail 40 Sek.',40.00000); +INSERT INTO `{?_MYSQL_PREFIX?}_payments` (`time`,`payment`,`mail_title`,`price`) VALUES (50,45.000,'Klick-Mail 50 Sek.',50.00000); INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('email','del_email','E-Mail löschen','Löschen Sie hierrüber E-Mails (sowohl Bonus- als auch Normal-Mails) aus Ihrem {?mt_word?}-System. Nur bei Normal-Mails: {OPEN_CONFIG}POINTS{CLOSE_CONFIG} aus den unbestätigten Mails werden dem Werber wieder vergütet.','7'); INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('misc','extensions','Erweiterungen','Erweiterungen installieren, updaten, sperren, löschen usw.','8'); diff --git a/templates/de/html/page_footer.tpl b/templates/de/html/page_footer.tpl index 73407336aa..b678aeb177 100644 --- a/templates/de/html/page_footer.tpl +++ b/templates/de/html/page_footer.tpl @@ -1,4 +1,5 @@ {%validatorLinks%} +{%filter=outside_masterbox%} diff --git a/templates/de/html/politician_stop/politician_stop_snippet.tpl b/templates/de/html/politician_stop/politician_stop_snippet.tpl index 4af79cdfcd..11f5d85d80 100644 --- a/templates/de/html/politician_stop/politician_stop_snippet.tpl +++ b/templates/de/html/politician_stop/politician_stop_snippet.tpl @@ -1,85 +1 @@ - - -
- -
- Ihr Browser versucht gerade eine Seite aus dem sogenannten Internet - auszudrucken. Das Internet ist ein weltweites Netzwerk von Computern, - das den Menschen ganz neue Möglichkeiten der Kommunikation bietet. -
- -
- Da Politiker im Regelfall von neuen Dingen nichts verstehen, halten wir - es für notwendig, sie davor zu schützen. Dies ist im - beidseitigen Interesse, da unnötige Angstzustände bei Ihnen - verhindert werden, ebenso wie es uns vor profilierungs- und - machtsüchtigen Politikern schützt. -
- -
- Sollten Sie der Meinung sein, dass Sie diese Internetseite dennoch sehen - sollten, so können Sie jederzeit durch normalen Gebrauch eines - Internetbrowsers darauf zugreifen. Dazu sind aber minimale - Computerkenntnisse erforderlich. Sollten Sie diese nicht haben, - vergessen Sie einfach dieses Internet und lassen uns in Ruhe. -
- -
- Die Umgehung dieser Ausdrucksperre ist nach §95a UrhG verboten. -
- -
- Mehr Informationen unter www.politiker-stopp.de. -
-
+ diff --git a/templates/de/html/politician_stop_snippet.tpl b/templates/de/html/politician_stop_snippet.tpl new file mode 100644 index 0000000000..44805441ec --- /dev/null +++ b/templates/de/html/politician_stop_snippet.tpl @@ -0,0 +1,41 @@ +
+
+ +
+ +
+ Ihr Browser versucht gerade eine Seite aus dem sogenannten Internet + auszudrucken. Das Internet ist ein weltweites Netzwerk von Computern, + das den Menschen ganz neue Möglichkeiten der Kommunikation bietet. +
+ +
+ Da Politiker im Regelfall von neuen Dingen nichts verstehen, halten wir + es für notwendig, sie davor zu schützen. Dies ist im + beidseitigen Interesse, da unnötige Angstzustände bei Ihnen + verhindert werden, ebenso wie es uns vor profilierungs- und + machtsüchtigen Politikern schützt. +
+ +
+ Sollten Sie der Meinung sein, dass Sie diese Internetseite dennoch sehen + sollten, so können Sie jederzeit durch normalen Gebrauch eines + Internetbrowsers darauf zugreifen. Dazu sind aber minimale + Computerkenntnisse erforderlich. Sollten Sie diese nicht haben, + vergessen Sie einfach dieses Internet und lassen uns in Ruhe. +
+ +
+ Die Umgehung dieser Ausdrucksperre ist nach §95a UrhG verboten. +
+ +
+ Mehr Informationen unter www.politiker-stopp.de. +
+ +
+ Dies ist Satire. +
+
diff --git a/theme/business/css/politician-stop.css b/theme/business/css/politician-stop.css new file mode 100644 index 0000000000..df4fc6949b --- /dev/null +++ b/theme/business/css/politician-stop.css @@ -0,0 +1,46 @@ +#print { + display : none; +} + +@media print { + body { + background-color : #ffffff; + font-size : 1px; + color : #ffffff; + } + + a, abbr, acronym, address, applet, area, b, base, basefont, bdo, big, blockquote, br, button, caption, center, cite, code, col, colgroup, dd, del, dfn, dir, div, dl, dt, em, fieldset, font, form, frame, frameset, h1, h2, h3, h4, h5, h6, hr, i, iframe, img, input, ins, isindex, kbd, label, legend, li, link, map, menu, meta, noframes, noscript, object, ol, optgroup, option, p, param, pre, q, s, samp, select, small, span, strike, strong, sub, sup, table, tbody, td, textarea, tfoot, th, thead, title, tr, tt, u, ul, var { + display : none; + } + + #print p + {display : block; + } + + #print p a { + display : inline; + } + + #print { + left : 0; + top : 0; + padding : 0; + margin : 0; + height : 220mm; + width : 170mm; + font-size : 12pt; + font-family : sans-serif; + line-height : 16pt; + color : #000000; + background-color : #ffffff; + display : block !important; + text-align : center; + } + + #print img { + width : 100mm; + height : 105mm; + margin : auto; + display : block; + } +} diff --git a/theme/default/css/politician-stop.css b/theme/default/css/politician-stop.css new file mode 100644 index 0000000000..425b4bc7b1 --- /dev/null +++ b/theme/default/css/politician-stop.css @@ -0,0 +1,46 @@ +#print { + display : none; +} + +@media print { + body { + background-color : #ffffff; + font-size : 1px; + color : #ffffff; + } + + a, abbr, acronym, address, applet, area, b, base, basefont, bdo, big, blockquote, br, button, caption, center, cite, code, col, colgroup, dd, del, dfn, dir, div, dl, dt, em, fieldset, font, form, frame, frameset, h1, h2, h3, h4, h5, h6, hr, i, iframe, img, input, ins, isindex, kbd, label, legend, li, link, map, menu, meta, noframes, noscript, object, ol, optgroup, option, p, param, pre, q, s, samp, select, small, span, strike, strong, sub, sup, table, tbody, td, textarea, tfoot, th, thead, title, tr, tt, u, ul, var { + display : none; + } + + #print div { + display : block; + } + + #print div a { + display : inline; + } + + #print { + left : 0; + top : 0; + padding : 0; + margin : 0; + height : 220mm; + width : 170mm; + font-size : 12pt; + font-family : sans-serif; + line-height : 16pt; + color : #000000; + background-color : #ffffff; + display : block !important; + text-align : center; + } + + #print img { + width : 100mm; + height : 105mm; + margin : auto; + display : block; + } +} diff --git a/theme/desert/css/politician-stop.css b/theme/desert/css/politician-stop.css new file mode 100644 index 0000000000..df4fc6949b --- /dev/null +++ b/theme/desert/css/politician-stop.css @@ -0,0 +1,46 @@ +#print { + display : none; +} + +@media print { + body { + background-color : #ffffff; + font-size : 1px; + color : #ffffff; + } + + a, abbr, acronym, address, applet, area, b, base, basefont, bdo, big, blockquote, br, button, caption, center, cite, code, col, colgroup, dd, del, dfn, dir, div, dl, dt, em, fieldset, font, form, frame, frameset, h1, h2, h3, h4, h5, h6, hr, i, iframe, img, input, ins, isindex, kbd, label, legend, li, link, map, menu, meta, noframes, noscript, object, ol, optgroup, option, p, param, pre, q, s, samp, select, small, span, strike, strong, sub, sup, table, tbody, td, textarea, tfoot, th, thead, title, tr, tt, u, ul, var { + display : none; + } + + #print p + {display : block; + } + + #print p a { + display : inline; + } + + #print { + left : 0; + top : 0; + padding : 0; + margin : 0; + height : 220mm; + width : 170mm; + font-size : 12pt; + font-family : sans-serif; + line-height : 16pt; + color : #000000; + background-color : #ffffff; + display : block !important; + text-align : center; + } + + #print img { + width : 100mm; + height : 105mm; + margin : auto; + display : block; + } +} diff --git a/theme/org/css/politician-stop.css b/theme/org/css/politician-stop.css new file mode 100644 index 0000000000..df4fc6949b --- /dev/null +++ b/theme/org/css/politician-stop.css @@ -0,0 +1,46 @@ +#print { + display : none; +} + +@media print { + body { + background-color : #ffffff; + font-size : 1px; + color : #ffffff; + } + + a, abbr, acronym, address, applet, area, b, base, basefont, bdo, big, blockquote, br, button, caption, center, cite, code, col, colgroup, dd, del, dfn, dir, div, dl, dt, em, fieldset, font, form, frame, frameset, h1, h2, h3, h4, h5, h6, hr, i, iframe, img, input, ins, isindex, kbd, label, legend, li, link, map, menu, meta, noframes, noscript, object, ol, optgroup, option, p, param, pre, q, s, samp, select, small, span, strike, strong, sub, sup, table, tbody, td, textarea, tfoot, th, thead, title, tr, tt, u, ul, var { + display : none; + } + + #print p + {display : block; + } + + #print p a { + display : inline; + } + + #print { + left : 0; + top : 0; + padding : 0; + margin : 0; + height : 220mm; + width : 170mm; + font-size : 12pt; + font-family : sans-serif; + line-height : 16pt; + color : #000000; + background-color : #ffffff; + display : block !important; + text-align : center; + } + + #print img { + width : 100mm; + height : 105mm; + margin : auto; + display : block; + } +} diff --git a/theme/schleuder/css/politician-stop.css b/theme/schleuder/css/politician-stop.css new file mode 100644 index 0000000000..df4fc6949b --- /dev/null +++ b/theme/schleuder/css/politician-stop.css @@ -0,0 +1,46 @@ +#print { + display : none; +} + +@media print { + body { + background-color : #ffffff; + font-size : 1px; + color : #ffffff; + } + + a, abbr, acronym, address, applet, area, b, base, basefont, bdo, big, blockquote, br, button, caption, center, cite, code, col, colgroup, dd, del, dfn, dir, div, dl, dt, em, fieldset, font, form, frame, frameset, h1, h2, h3, h4, h5, h6, hr, i, iframe, img, input, ins, isindex, kbd, label, legend, li, link, map, menu, meta, noframes, noscript, object, ol, optgroup, option, p, param, pre, q, s, samp, select, small, span, strike, strong, sub, sup, table, tbody, td, textarea, tfoot, th, thead, title, tr, tt, u, ul, var { + display : none; + } + + #print p + {display : block; + } + + #print p a { + display : inline; + } + + #print { + left : 0; + top : 0; + padding : 0; + margin : 0; + height : 220mm; + width : 170mm; + font-size : 12pt; + font-family : sans-serif; + line-height : 16pt; + color : #000000; + background-color : #ffffff; + display : block !important; + text-align : center; + } + + #print img { + width : 100mm; + height : 105mm; + margin : auto; + display : block; + } +} diff --git a/theme/ship-simu/css/politician-stop.css b/theme/ship-simu/css/politician-stop.css new file mode 100644 index 0000000000..df4fc6949b --- /dev/null +++ b/theme/ship-simu/css/politician-stop.css @@ -0,0 +1,46 @@ +#print { + display : none; +} + +@media print { + body { + background-color : #ffffff; + font-size : 1px; + color : #ffffff; + } + + a, abbr, acronym, address, applet, area, b, base, basefont, bdo, big, blockquote, br, button, caption, center, cite, code, col, colgroup, dd, del, dfn, dir, div, dl, dt, em, fieldset, font, form, frame, frameset, h1, h2, h3, h4, h5, h6, hr, i, iframe, img, input, ins, isindex, kbd, label, legend, li, link, map, menu, meta, noframes, noscript, object, ol, optgroup, option, p, param, pre, q, s, samp, select, small, span, strike, strong, sub, sup, table, tbody, td, textarea, tfoot, th, thead, title, tr, tt, u, ul, var { + display : none; + } + + #print p + {display : block; + } + + #print p a { + display : inline; + } + + #print { + left : 0; + top : 0; + padding : 0; + margin : 0; + height : 220mm; + width : 170mm; + font-size : 12pt; + font-family : sans-serif; + line-height : 16pt; + color : #000000; + background-color : #ffffff; + display : block !important; + text-align : center; + } + + #print img { + width : 100mm; + height : 105mm; + margin : auto; + display : block; + } +} -- 2.30.2