Updated ext-politician-stop which is satire on politicians that doesn't really know...
authorRoland Häder <roland@mxchange.org>
Tue, 2 Oct 2012 14:46:17 +0000 (14:46 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 2 Oct 2012 14:46:17 +0000 (14:46 +0000)
22 files changed:
.gitattributes
inc/extensions/ext-politician-stop.php
inc/filter/politician-stop_filter.php [new file with mode: 0644]
inc/filter/politician_stop_filter.php
inc/install/install-inc_
inc/install/install_page_ [new file with mode: 0644]
inc/language/sponsor_de.php
inc/libs/politician-stop_functions.php [new file with mode: 0644]
inc/libs/politician_stop_functions.php
inc/mysql-manager.php
inc/template-functions.php
install/menu-de.sql
install/menu-en.sql
templates/de/html/page_footer.tpl
templates/de/html/politician_stop/politician_stop_snippet.tpl
templates/de/html/politician_stop_snippet.tpl [new file with mode: 0644]
theme/business/css/politician-stop.css [new file with mode: 0644]
theme/default/css/politician-stop.css [new file with mode: 0644]
theme/desert/css/politician-stop.css [new file with mode: 0644]
theme/org/css/politician-stop.css [new file with mode: 0644]
theme/schleuder/css/politician-stop.css [new file with mode: 0644]
theme/ship-simu/css/politician-stop.css [new file with mode: 0644]

index 6ca8e40..7992e0f 100644 (file)
@@ -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
index e57adeb..407b0aa 100644 (file)
@@ -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 &quot;Politiker-Stopp - Jetzt wird zur&uuml;ck zensiert.&quot;', 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('<big><strong>Bitte unbedingt die Erweiterung neuinstallieren, damit das Snippet an die richtige Stelle geladen wird.</strong></big>');
                                break;
                } // END - switch
                break;
diff --git a/inc/filter/politician-stop_filter.php b/inc/filter/politician-stop_filter.php
new file mode 100644 (file)
index 0000000..b538e3c
--- /dev/null
@@ -0,0 +1,61 @@
+<?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 - 2012 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]
+?>
index 89aeb09..f551ef4 100644 (file)
@@ -1,58 +1,3 @@
 <?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 - 2012 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) {
-       // Shall we include the politician_stop snippet?
-       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
-       if ((isFullPage()) && (isExtensionActive('politician_stop')) && (getModule() != 'admin') && ($GLOBALS['__header_sent'] == 2)) {
-               // Then display it here
-               loadPoliticianStopSnippet();
-       } // END - if
-
-       // Return data
-       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
-       return $filterData;
-}
-
-// [EOF]
+// @DEPRECATED
 ?>
index 9449a58..f551ef4 100644 (file)
@@ -1,44 +1,3 @@
 <?php
-/************************************************************************
- * Mailer v0.2.1-FINAL                                Start: 10/02/2012 *
- * ===================                          Last change: 10/02/2012 *
- *                                                                      *
- * -------------------------------------------------------------------- *
- * File              : install-inc_                                     *
- * -------------------------------------------------------------------- *
- * Short description : Installation page include file                   *
- * -------------------------------------------------------------------- *
- * Kurzbeschreibung  : Include-Datei fuer Installationsseite            *
- * -------------------------------------------------------------------- *
- * $Revision::                                                        $ *
- * $Date::                                                            $ *
- * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author::                                                          $ *
- * -------------------------------------------------------------------- *
- * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2012 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')) || (!isInstallationPhase())) {
-       die();
-} // END - if
-
-// [EOF]
+// @DEPRECATED
 ?>
diff --git a/inc/install/install_page_ b/inc/install/install_page_
new file mode 100644 (file)
index 0000000..3c4b340
--- /dev/null
@@ -0,0 +1,44 @@
+<?php
+/************************************************************************
+ * Mailer v0.2.1-FINAL                                Start: 10/02/2012 *
+ * ===================                          Last change: 10/02/2012 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : install-page_                                    *
+ * -------------------------------------------------------------------- *
+ * Short description : Installation page include file                   *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Include-Datei fuer Installationsseite            *
+ * -------------------------------------------------------------------- *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009 - 2012 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')) || (!isInstallationPhase())) {
+       die();
+} // END - if
+
+// [EOF]
+?>
index 9815409..7b30619 100644 (file)
@@ -305,9 +305,9 @@ addMessages(array(
        'SPONSOR_ACCOUNT_DATA_NOT_SAVED' => "Ihre Daten wurden <u>nicht</u> gespeichert.",
 
        // Module titles
-       'MODULE_SPONSOR_TITLE' => "Sponsorbereich"
-       'MODULE_SPONSOR_CONFIRM_TITLE' => "Sponsor-Best&auml;tigung"
-       'MODULE_SPONSOR_REF_TITLE' => "Sponsor-Referrallink"
+       'MODULE_SPONSOR_TITLE' => "Sponsorbereich",
+       'MODULE_SPONSOR_CONFIRM_TITLE' => "Sponsor-Best&auml;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 (file)
index 0000000..ef96b23
--- /dev/null
@@ -0,0 +1,44 @@
+<?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 - 2012 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]
+?>
index 0ec6401..f551ef4 100644 (file)
@@ -1,50 +1,3 @@
 <?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 - 2012 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
-
-// Loads the snippet for the politician_stop action
-function loadPoliticianStopSnippet () {
-       // Simply load the template here
-       loadTemplate('politician_stop_snippet');
-}
-
-// [EOF]
+// @DEPRECATED
 ?>
index 426c64b..e9d5c40 100644 (file)
@@ -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 . '<strong><a class="you_are_here" href="{%url=modules.php?module=' . $modCheck . '&amp;' . $type . '=' . $search . $LINK_ADD . '%}">' . getTitleFromMenu($accessLevel, $search, $type, $ADD) . '</a></strong>';
 
                // 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';
index 6ca436f..93eacf3 100644 (file)
@@ -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)) {
index 76c8c9e..c5b9161 100644 (file)
@@ -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&uuml;',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&ouml;schen','L&ouml;schen Sie hierr&uuml;ber E-Mails (sowohl Bonus- als auch Normal-Mails) aus Ihrem {?mt_word?}-System. <strong>Nur bei Normal-Mails:</strong> {OPEN_CONFIG}POINTS{CLOSE_CONFIG} aus den unbest&auml;tigten Mails werden dem Werber wieder verg&uuml;tet.','7');
 INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('misc','extensions','Erweiterungen','Erweiterungen installieren, updaten, sperren, l&ouml;schen usw.','8');
index f774c83..73ce241 100644 (file)
@@ -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&uuml;',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&ouml;schen','L&ouml;schen Sie hierr&uuml;ber E-Mails (sowohl Bonus- als auch Normal-Mails) aus Ihrem {?mt_word?}-System. <strong>Nur bei Normal-Mails:</strong> {OPEN_CONFIG}POINTS{CLOSE_CONFIG} aus den unbest&auml;tigten Mails werden dem Werber wieder verg&uuml;tet.','7');
 INSERT INTO `{?_MYSQL_PREFIX?}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('misc','extensions','Erweiterungen','Erweiterungen installieren, updaten, sperren, l&ouml;schen usw.','8');
index 7340733..b678aeb 100644 (file)
@@ -1,4 +1,5 @@
 </div>
 {%validatorLinks%}
+{%filter=outside_masterbox%}
 </body>
 </html>
index 4af79cd..11f5d85 100644 (file)
@@ -1,85 +1 @@
-<style type="text/css">
-<!--
-#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             : 0px;
-               top              : 0px;
-               padding          : 0px;
-               margin           : 0px;
-               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;
-       }
-}
-//-->
-</style>
-
-<div id="print">
-       <img src="{?URL?}/img/politician-stop/politiker-stopp-print-kopf.png" alt="" />
-       <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&ouml;glichkeiten der Kommunikation bietet.
-       </div>
-
-       <div style="padding-bottom: 5px">
-               Da Politiker im Regelfall von neuen Dingen nichts verstehen, halten wir
-               es f&uuml;r notwendig, sie davor zu sch&uuml;tzen. Dies ist im
-               beidseitigen Interesse, da unn&ouml;tige Angstzust&auml;nde bei Ihnen
-               verhindert werden, ebenso wie es uns vor profilierungs- und
-               machts&uuml;chtigen Politikern sch&uuml;tzt.
-       </div>
-
-       <div style="padding-bottom: 5px">
-               Sollten Sie der Meinung sein, dass Sie diese Internetseite dennoch sehen
-               sollten, so k&ouml;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="&Ouml;ffnet www.politiker-stopp.de
-                in einem neuen Fenster">www.politiker-stopp.de</a>.
-       </div>
-</div>
+<!-- @DEPRECATED //-->
diff --git a/templates/de/html/politician_stop_snippet.tpl b/templates/de/html/politician_stop_snippet.tpl
new file mode 100644 (file)
index 0000000..4480544
--- /dev/null
@@ -0,0 +1,41 @@
+<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&ouml;glichkeiten der Kommunikation bietet.
+       </div>
+
+       <div style="padding-bottom: 5px">
+               Da Politiker im Regelfall von neuen Dingen nichts verstehen, halten wir
+               es f&uuml;r notwendig, sie davor zu sch&uuml;tzen. Dies ist im
+               beidseitigen Interesse, da unn&ouml;tige Angstzust&auml;nde bei Ihnen
+               verhindert werden, ebenso wie es uns vor profilierungs- und
+               machts&uuml;chtigen Politikern sch&uuml;tzt.
+       </div>
+
+       <div style="padding-bottom: 5px">
+               Sollten Sie der Meinung sein, dass Sie diese Internetseite dennoch sehen
+               sollten, so k&ouml;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="&Ouml;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>
diff --git a/theme/business/css/politician-stop.css b/theme/business/css/politician-stop.css
new file mode 100644 (file)
index 0000000..df4fc69
--- /dev/null
@@ -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 (file)
index 0000000..425b4bc
--- /dev/null
@@ -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 (file)
index 0000000..df4fc69
--- /dev/null
@@ -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 (file)
index 0000000..df4fc69
--- /dev/null
@@ -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 (file)
index 0000000..df4fc69
--- /dev/null
@@ -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 (file)
index 0000000..df4fc69
--- /dev/null
@@ -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;
+       }
+}