]> git.pld-linux.org Git - packages/squirrelmail.git/commitdiff
- orphaned, outdated
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 21 Apr 2006 23:41:30 +0000 (23:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    squirrelmail-sm143a-xss.diff -> 1.2
    squirrelmail-username.patch -> 1.3

squirrelmail-sm143a-xss.diff [deleted file]
squirrelmail-username.patch [deleted file]

diff --git a/squirrelmail-sm143a-xss.diff b/squirrelmail-sm143a-xss.diff
deleted file mode 100644 (file)
index 7786892..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -urN functions/mime.php functions/mime.php
---- functions/mime.php 2004-05-23 19:14:11.000000000 +0300
-+++ functions/mime.php 2004-11-03 19:16:50.000000000 +0200
-@@ -602,13 +602,22 @@
-             }
-             $iLastMatch = $i;
-             $j = $i;
--            $ret .= $res[1];
-+            if ($htmlsave) {
-+                $ret .= htmlspecialchars($res[1]);
-+            } else {
-+                $ret .= $res[1];
-+            }
-             $encoding = ucfirst($res[3]);
-             switch ($encoding)
-             {
-             case 'B':
-                 $replace = base64_decode($res[4]);
--                $ret .= charset_decode($res[2],$replace);
-+                if ($utfencode) {
-+                    $replace = charset_decode($res[2],$replace);
-+                } elseif ($htmlsave) {
-+                    $replace = htmlspecialchars($replace);
-+                }
-+                $ret .= $replace;
-                 break;
-             case 'Q':
-                 $replace = str_replace('_', ' ', $res[4]);
diff --git a/squirrelmail-username.patch b/squirrelmail-username.patch
deleted file mode 100644 (file)
index 9032e7c..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
---- squirrelmail-1.2.8/plugins/username/setup.php.orig Wed May  2 20:01:39 2001
-+++ squirrelmail-1.2.8/plugins/username/setup.php      Fri Sep 20 14:21:37 2002
-@@ -41,20 +41,27 @@
-          return;
-        
-       ?>
--<table align=center cellpadding=0 cellspacing=0 border=0 bgcolor=<?php echo $color[10] ?>><tr><td>
--<table width=100% cellpadding=2 cellspacing=1 border=0 bgcolor="<?php echo $color[5] ?>"><tr><td align=center>
--<tt><?php
--      
-+
-+<table width=100% cellpadding=2 cellspacing=1 border=0 bgcolor="<?php echo $color[3] ?>"><tr><td align=center>
-+<tt><h3><?php
-+
-       if ($show_username == 1)
--          echo $username;
--      if ($show_username == 2)
--          echo 'Logged in as: ' . $username;
--       
--?></tt>
--</td></tr></table>
-+         echo $username;
-+      if ($show_username == 2) {
-+         $msgpl = 'Zalogowany jako: ' .  $username;
-+       $msgother = 'Logged in as: ' .  $username;
-+       if (getPref($data_dir, $username, 'language') == pl_PL)
-+          echo $msgpl;
-+       else if ($squirrelmail_default_language = 'pl_PL' && getPref($data_dir, $username, 'language') == '')
-+          echo $msgpl;
-+       else
-+          echo $msgother;
-+       }   
-+
-+?></h3></tt>
- </td></tr></table>
- <br>
--<?
-+<?php
-    }
-    function username_show_options() {
-@@ -105,10 +112,10 @@
-    }
-    function username_save_options() {
--      global $data_dir, $username, $username_in, $username_pos;
-+      global $data_dir, $username, $username_in, $username_pos, $_POST;
--      setPref($data_dir, $username, 'show_username', $username_in);
--      setPref($data_dir, $username, 'show_username_pos', $username_pos);
-+      setPref($data_dir, $username, 'show_username', $_POST['username_in']);
-+      setPref($data_dir, $username, 'show_username_pos', $_POST['username_pos']);
-    }
-    function username_load_options() {
This page took 0.163877 seconds and 4 git commands to generate.