<?php
-/************************************************************************
- * Mailer v0.2.1-FINAL Start: 11/02/2009 *
- * =================== Last change: 11/02/2009 *
- * *
- * -------------------------------------------------------------------- *
- * File : ext-politician-stop.php *
- * -------------------------------------------------------------------- *
- * Short description : An extension to support www.politiker-stopp.de *
- * -------------------------------------------------------------------- *
- * Kurzbeschreibung : Eine Protest-Erweiterung: www.politiker-stopp.de *
- * -------------------------------------------------------------------- *
- * $Revision:: $ *
- * $Date:: $ *
- * $Tag:: 0.2.1-FINAL $ *
- * $Author:: $ *
- * -------------------------------------------------------------------- *
- * Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2016 by Mailer Developer Team *
- * For more information visit: http://mxchange.org *
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
- * *
- * This program is distributed in the hope that it will be useful, *
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
- * GNU General Public License for more details. *
- * *
- * You should have received a copy of the GNU General Public License *
- * along with this program; if not, write to the Free Software *
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, *
- * MA 02110-1301 USA *
- ************************************************************************/
-
-// Some security stuff...
-if (!defined('__SECURITY')) {
- die();
-} // END - if
-
-// Version number
-setThisExtensionVersion('0.0.1');
-
-// Version history array (add more with , '0.0.1' and so on)
-setExtensionVersionHistory(array('0.0.0', '0.0.1'));
-
-switch (getExtensionMode()) {
- case 'setup': // Do stuff when installation is running
- // SQL commands to run
- addConfigAddSql('politician_stop_backlink', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
- 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__, 'outside_masterbox', 'DISPLAY_POLITICIAN_STOP_SNIPPET', FALSE, TRUE, isExtensionDryRun());
- break;
-
- case 'remove': // Do stuff when removing extension
- // Unregister filter
- unregisterFilter(__FILE__, __LINE__, 'outside_masterbox', 'DISPLAY_POLITICIAN_STOP_SNIPPET', TRUE, isExtensionDryRun());
- break;
-
- case 'activate': // Do stuff when admin activates this extension
- // SQL commands to run
- break;
-
- case 'deactivate': // Do stuff when admin deactivates this extension
- // SQL commands to run
- break;
-
- case 'update': // Update an extension
- switch (getCurrentExtensionVersion()) {
- case '0.0.1': // SQL queries for v0.0.1
- // Update notes (these will be set as task text!)
- setExtensionUpdateNotes('<big><strong>Bitte unbedingt die Erweiterung neuinstallieren, damit das Snippet an die richtige Stelle geladen wird.</strong></big>');
- break;
- } // END - switch
- break;
-
- case 'modify': // When the extension got modified
- break;
-
- case 'test': // For testing purposes
- break;
-
- case 'init': // Do stuff when extension is initialized
- break;
-
- default: // Unknown extension mode
- reportBug(__FILE__, __LINE__, sprintf('Unknown extension mode %s in extension %s detected.', getExtensionMode(), getCurrentExtensionName()));
- break;
-} // END - switch
-
-// [EOF]
-?>
+// @DEPRECATED
<?php
-/************************************************************************
- * Mailer v0.2.1-FINAL Start: 06/02/2011 *
- * =================== Last change: 06/02/2011 *
- * *
- * -------------------------------------------------------------------- *
- * File : _filter.php *
- * -------------------------------------------------------------------- *
- * Short description : Filters for ext- *
- * -------------------------------------------------------------------- *
- * Kurzbeschreibung : Filter fuer ext- *
- * -------------------------------------------------------------------- *
- * $Revision:: $ *
- * $Date:: $ *
- * $Tag:: 0.2.1-FINAL $ *
- * $Author:: $ *
- * -------------------------------------------------------------------- *
- * Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2016 by Mailer Developer Team *
- * For more information visit: http://mxchange.org *
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
- * *
- * This program is distributed in the hope that it will be useful, *
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
- * GNU General Public License for more details. *
- * *
- * You should have received a copy of the GNU General Public License *
- * along with this program; if not, write to the Free Software *
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, *
- * MA 02110-1301 USA *
- ************************************************************************/
-
-// Some security stuff...
-if (!defined('__SECURITY')) {
- die();
-} // END - if
-
-// Filter for displaying politician_stop snippet
-function FILTER_DISPLAY_POLITICIAN_STOP_SNIPPET ($filterData) {
- //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
-
- // Shall we include the politician_stop snippet?
- //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'isFullPage()=' . intval(isFullPage()) . ',isExtensionActive()=' . intval(isExtensionActive('politician-stop')) . ',getModule()=' . getModule() . ',__header_sent=' . $GLOBALS['__header_sent']);
- if ((isFullPage()) && (isExtensionActive('politician-stop')) && (getModule() != 'admin') && ($GLOBALS['__header_sent'] == 2)) {
- // Then display it here
- //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Going to load template ...');
- $filterData .= loadTemplate('politician_stop_snippet', TRUE);
- } // END - if
-
- // Return data
- //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
- return $filterData;
-}
-
-// [EOF]
-?>
+// @DEPRECATED
<?php
-/************************************************************************
- * Mailer v0.2.1-FINAL Start: 11/02/2009 *
- * =================== Last change: 11/02/2009 *
- * *
- * -------------------------------------------------------------------- *
- * File : politician_stop_functions.php *
- * -------------------------------------------------------------------- *
- * Short description : Special functions for politician_stop extension *
- * -------------------------------------------------------------------- *
- * Kurzbeschreibung : Spezielle Funktion fuer politician_stop-Erw. *
- * -------------------------------------------------------------------- *
- * $Revision:: $ *
- * $Date:: $ *
- * $Tag:: 0.2.1-FINAL $ *
- * $Author:: $ *
- * -------------------------------------------------------------------- *
- * Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2016 by Mailer Developer Team *
- * For more information visit: http://mxchange.org *
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
- * *
- * This program is distributed in the hope that it will be useful, *
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
- * GNU General Public License for more details. *
- * *
- * You should have received a copy of the GNU General Public License *
- * along with this program; if not, write to the Free Software *
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, *
- * MA 02110-1301 USA *
- ************************************************************************/
-
-// Some security stuff...
-if (!defined('__SECURITY')) {
- die();
-} // END - if
-
-// [EOF]
-?>
+// @DEPRECATED
-<div class="para">
-Diese Erweiterung schliesst sich der Protestseite <a target="_blank"
- href="http://www.politiker-stopp.de" rel="external"
- title="www.politiker-stopp.de - Jetzt wird zur&uumk;ck
- zensiert">www.politiker-stopp.de</a> an. Dabei wird ein kleines HTML-Schnipsel
-(Widget) in Ihren {OPEN_CONFIG}mt_word{CLOSE_CONFIG} eingebunden, dass beim
-Ausdrucksversuch Ihrer Seite nicht die eigentliche Seite, sondern eine
-Protestseite zum Drucker sendet. Dies gilt gegen Politiker, die versuchen, das
-Internet gegen die Kinderpornorgraphie "abzusichern" (eher das
-Internet zu zensieren).
-</div>
-
-<div class="para">
-Und wer es nicht bemerkt hat: <a rel="external" target="_blank" title="Über"
- href="http://www.politiker-stopp.de/ueber.html">Das ist Satire</a>.
-</div>
+<!-- @DEPRECATED //-->
+++ /dev/null
-Deny from all
-<div id="print">
- <div style="padding-bottom: 5px">
- <img src="{?URL?}/img/politician-stop/politiker-stopp-print-kopf.png" alt="" />
- </div>
-
- <div style="padding-bottom: 5px">
- 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.
- </div>
-
- <div style="padding-bottom: 5px">
- 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.
- </div>
-
- <div style="padding-bottom: 5px">
- 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.
- </div>
-
- <div style="padding-bottom: 5px">
- Die Umgehung dieser Ausdrucksperre ist nach §95a UrhG verboten.
- </div>
-
- <div style="padding-bottom: 5px">
- Mehr Informationen unter <a href="http://www.politiker-stopp.de"
- rel="external" target="_blank" title="Öffnet www.politiker-stopp.de
- in einem neuen Fenster">www.politiker-stopp.de</a>.
- </div>
-
- <div style="padding-bottom: 5px; text-align: right" class="tiny">
- Dies ist Satire.
- </div>
-</div>
+<!-- @DEPRECATED //-->
-#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;
- }
-}
+/**
+ * @DEPRECATED
+ */
-#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;
- }
-}
+/**
+ * @DEPRECATED
+ */
-#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;
- }
-}
+/**
+ * @DEPRECATED
+ */
-#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;
- }
-}
+/**
+ * @DEPRECATED
+ */
-#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;
- }
-}
+/**
+ * @DEPRECATED
+ */
-#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;
- }
-}
+/**
+ * @DEPRECATED
+ */