rg=0
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 22 Sep 2002 11:20:50 +0000 (11:20 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 22 Sep 2002 11:20:50 +0000 (11:20 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3710 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/fortune/setup.php
plugins/info/functions.php
plugins/info/options.php
plugins/info/setup.php
plugins/listcommands/mailout.php

index a2bedfbbe62cea95ac1791506565f425323208d9..d3073e1a4dd16bf5a2e4ba52e9e281b90fc75666 100644 (file)
@@ -62,9 +62,8 @@ function fortune_options() {
 
 function fortune_save() {
     global $username,$data_dir;
 
 function fortune_save() {
     global $username,$data_dir;
-    global $fortune_fortune_visible;
 
 
-    if (isset($fortune_fortune_visible)) {
+    if (isset($_POST['fortune_fortune_visible'])) {
         setPref($data_dir, $username, 'fortune_visible', '1');
     } else {
         setPref($data_dir, $username, 'fortune_visible', '');
         setPref($data_dir, $username, 'fortune_visible', '1');
     } else {
         setPref($data_dir, $username, 'fortune_visible', '');
index 92f666dcc69f8b36e7d5c8bfda429e2296620503..40a0a69dffa65ae72b01e9d98c7b13f44f434184 100644 (file)
@@ -10,6 +10,9 @@
  * The third prints the results of the IMAP command
  * to options.php.
  * by: Jason Munro jason@stdbev.com
  * The third prints the results of the IMAP command
  * to options.php.
  * by: Jason Munro jason@stdbev.com
+ *
+ * $Id$ 
+ *
  */
 
 function get_caps($imap_stream) {
  */
 
 function get_caps($imap_stream) {
index 46b8bedb7ebdefca958e1906ed1f14776c69c105..48427e94edd33d966f98cce195d524c5d3c358ce 100644 (file)
@@ -8,6 +8,9 @@
  *
  * Written by: Jason Munro 
  * jason@stdbev.com
  *
  * Written by: Jason Munro 
  * jason@stdbev.com
+ * 
+ * $Id$
+ * 
  */
 
 define('SM_PATH','../../');
  */
 
 define('SM_PATH','../../');
@@ -22,6 +25,29 @@ global $username, $color, $folder_prefix, $default_charset;
 $default_charset = strtoupper($default_charset);
 displayPageHeader($color, 'None');
 $mailbox = 'INBOX';
 $default_charset = strtoupper($default_charset);
 displayPageHeader($color, 'None');
 $mailbox = 'INBOX';
+
+/* GLOBALS */
+$username = $_SESSION['username'];
+$key  = $_COOKIE['key'];
+$onetimepad = $_SESSION['onetimepad'];
+
+if(isset($_POST['submit'])) {
+    $submit = $_POST['submit'];
+}
+
+for($i = 0; $i <= 9; $i++){
+    if(isset($_POST["CHECK_TEST_$i"])) {
+        $var = "CHECK_TEST_$i";
+        $$var = $_POST["CHECK_TEST_$i"];
+    }
+    if(isset($_POST["TEST_$i"])) {
+        $var = "TEST_$i";
+        $$var = $_POST["TEST_$i"];
+    }
+}
+
+/* END GLOBALS */
+
 $imap_stream = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
 $caps_array = get_caps($imap_stream);
 $list = array (
 $imap_stream = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
 $caps_array = get_caps($imap_stream);
 $list = array (
index 6d757c458791e45a50b9c12477bb6ffba095dbb5..f31e03eff5b8559aed5688def52fc4fdd0f18c61 100644 (file)
@@ -5,7 +5,9 @@
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *   
  * by: Jason Munro jason@stdbev.com
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *   
  * by: Jason Munro jason@stdbev.com
- *
+ * 
+ * $Id$
+ * 
  */
 
 require_once (SM_PATH . 'plugins/info/functions.php');
  */
 
 require_once (SM_PATH . 'plugins/info/functions.php');
index bf2b51b175f5b2256d3851ca2b293d9880401f79..7e44bdd7982f129ebfe1d06c272e2d516765a94c 100644 (file)
@@ -18,6 +18,13 @@ include_once(SM_PATH . 'functions/html.php');
 
 displayPageHeader($color, $mailbox);
 
 
 displayPageHeader($color, $mailbox);
 
+/* get globals */
+$mailbox = $_GET['mailbox'];
+$send_to = $_GET['send_to'];
+$subject = $_GET['subject'];
+$body    = $_GET['body'];
+$action  = $_GET['action'];
+
 echo html_tag('p', '', 'left' ) .
 html_tag( 'table', '', 'center', $color[0], 'border="0" width="75%"' ) . "\n" .
     html_tag( 'tr',
 echo html_tag('p', '', 'left' ) .
 html_tag( 'table', '', 'center', $color[0], 'border="0" width="75%"' ) . "\n" .
     html_tag( 'tr',