Commit graph

1444 commits

Author SHA1 Message Date
stekkel
11717656c4 forgot table tag 2002-10-10 22:34:51 +00:00
stekkel
702adaefd3 UI thread: Temporary permission to put back some layout changes. 2002-10-10 21:15:11 +00:00
indiri69
b63a2e3d10 Changed and removed some redundant code. If this doesn't work, let me know. 2002-10-09 17:43:37 +00:00
stekkel
44cc548976 Removed last thin line. The line that supposed to be between the messages. 2002-10-09 17:23:20 +00:00
indiri69
f2c9895941 More code cleanups 2002-10-09 16:59:56 +00:00
stekkel
1a338c5847 second try 2002-10-09 14:38:26 +00:00
stekkel
0cdbabff22 Probably a bugfix thnx to Tomas Kuliavas 2002-10-09 14:31:05 +00:00
indiri69
ca98f65150 Cleaned up the source code a bit. 2002-10-08 22:19:00 +00:00
thomppj
4fe36335ba Improve spacing for "Move Selected To". If this messes things up for any
browsers, feel free to reverse.
2002-10-07 23:49:31 +00:00
thomppj
f4c863bc6c Undoing button 'enhancements' 2002-10-07 23:27:42 +00:00
stekkel
fb73d24480 Layout improvements 2002-10-07 22:11:03 +00:00
stekkel
8081392ace more button display enhancements 2002-10-07 19:53:32 +00:00
stekkel
977d4919c9 button tweaks 2002-10-07 19:16:09 +00:00
jmunro
f00aea8423 fixes attachment links when viewing messages from search results 2002-10-07 16:41:23 +00:00
jmunro
9ab3d97bd7 This should fix the extra quoting when using magic_quotes_gpc. No need to do this in validate, lets do it in global. 2002-10-07 14:08:50 +00:00
jmunro
16542833cd Since changing to rg=0 we make extensive use of $_SESSION and $HTTP_SESSION_VARS. Because of this session_register, session_unregister, and session_is_registered should NOT be used (see the PHP manual at php.net). They are buggy over different PHP versions anyway. Now when changing a session var using the custom 'sq' version of these functions (all located in global.php) the superglobal array is accessed directly. This fixes the problem with corrupted objects in the session. Tested with 4.1.2 rg=0 and 1. 2002-10-06 23:43:02 +00:00
stekkel
a9347a287f added height attribute for better displaying on non ie6 browsers 2002-10-06 19:44:53 +00:00
stekkel
82e53c4441 sqsession_destroy 2002-10-06 19:28:38 +00:00
stekkel
3f0a79989b merge from stable: sqsession_destroy 2002-10-06 19:26:56 +00:00
stekkel
06a0b62c0f added small lines between the messages 2002-10-06 18:12:34 +00:00
stekkel
81c9b7e119 remove debug code 2002-10-06 13:10:12 +00:00
stekkel
a6b916a580 fix for incorrect PHP_SELF 2002-10-06 13:05:23 +00:00
Thijs Kinkhorst
7231f4fc9c Rollback previous commit... seems move complicated 2002-09-26 08:53:01 +00:00
Thijs Kinkhorst
ab65aa45b5 Do not use mixed get/post variables because this breaks some browers. 2002-09-26 08:38:50 +00:00
stekkel
2f4ef8d931 2d try 2002-09-25 19:27:22 +00:00
stekkel
8d940c5873 rg=0 fix for attachment_common_types 2002-09-25 19:24:28 +00:00
stekkel
a61df34288 rg=0 updates 2002-09-25 18:41:54 +00:00
Thijs Kinkhorst
91f4b6989d Fix for IMAP servers that don't always return a UIDNEXT value 2002-09-23 08:32:29 +00:00
Thijs Kinkhorst
f061369901 More rg=0 2002-09-21 20:26:52 +00:00
Thijs Kinkhorst
fc8e29e7bd Wrong include path 2002-09-21 16:18:45 +00:00
Thijs Kinkhorst
067363daea Update function directory to rg=0. 2002-09-21 15:59:32 +00:00
Thijs Kinkhorst
32711b7f1e Start some register_globals = off fixes:
Login, logout, and folder manipulation are now possible with rg=0. More to come.
2002-09-21 14:57:32 +00:00
robsiemb
0ddd8468f9 more noselect fixes 2002-09-17 20:57:13 +00:00
robsiemb
afb51c2333 don't STATUS a mailbox that isn't selectable 2002-09-17 20:48:06 +00:00
stekkel
d1708e2a00 somehow url vars with &amp are not picked up by PHP 2002-09-16 17:05:35 +00:00
stekkel
982bc03d03 added unsave tags (commited to stable by Konstantin) 2002-09-13 17:22:46 +00:00
indiri69
3631db4aff Remove SM_PATH from prefs file path 2002-09-12 18:15:40 +00:00
indiri69
56f1d28aec More SM_PATH changes 2002-09-10 22:35:30 +00:00
indiri69
93f4589423 Javascript detection no longer requires SquirrelSpell. 2002-09-10 21:10:17 +00:00
indiri69
0f3a2014b7 SM_PATH fix 2002-09-10 17:55:14 +00:00
Thijs Kinkhorst
2fb9d476ee Fix HTML-compliance here and there. 2002-09-08 15:04:47 +00:00
stekkel
9970784525 fix for never ending while loop 2002-09-06 17:44:29 +00:00
philippe_mingo
771b38ffb8 Masato's Fix 2002-09-06 15:56:12 +00:00
thomppj
de9848ded8 A terrible pile of things done to the code. Did a little bit of SM_PATH
stuff in plugins.

Then I moved some files:
  src/validate.php         -> include/validate.php
  src/load_prefs.php       -> include/load_prefs.php
  src/options_personal.php -> include/options/personal.php
  src/options_display.php  -> include/options/display.php
  src/options_folder.php   -> include/options/folder.php

Basically, the concept here is that src/ should ONLY contain files that
actually get called from the web browser as a php script directly. All
of these files do not really contain functions or anything (so the
functions/ directory did not really make sense), but were more strictly
include files.

Of course, the name functions for a directory is bad organization, IMHO,
anyhow. I guess class would fall in the same category. Oh well, some of
that might get fixed someday.

So, new rule. Only put it in src/ if it gets called directly.

That was really sort of an unwritten rule before. However, since it was
never really enforced or officialized, things got sloppy.

I think I have everything fixed in the CORE with this traumatic moves. I
am sure all of the plugins will be broken. Oh well, the error messages
should be pretty loud and easy enough to fix.
2002-09-06 01:16:40 +00:00
thomppj
9001d31cf8 Converted all files in functions/ to use SM_PATH. This will break all
plugins. Each callable script needs a:

  define('SM_PATH', '../../');

Or something like that put at the top.
2002-09-06 00:31:43 +00:00
stekkel
160495f0f7 previous cleanup broke the find_ent_id function 2002-09-05 17:34:27 +00:00
stekkel
155c8b350a Fixed stupid bug causing double lines (the same) 2002-09-05 14:58:38 +00:00
philippe_mingo
b24964ea69 "Tomas Kuliavas" <tokul@users.sourceforge.net> 2002-09-03 06:52:43 +00:00
indiri69
9e71dc6684 Formatting changes and added some more html->plain transforms. 2002-08-30 17:55:25 +00:00
thomppj
caeff8b548 First, more formatting conventions.
1. Wrap all operands of a complex expression with parentheses.
     For instance:
         if ($bob == 'foo' || $bob == 'bar') {
     is wrong. Do this instead:
         if (($bob == 'foo') || ($bob == 'bar')) {

  2. Carefully decide between pre and post incrementation. If it
     does not matter, always choose pre because it is technically
     more efficient. For instance:
         for ($i = 0; $i < $count; $i++) {
     is wrong. Do this instead:
         for ($i = 0; $i < $count; ++$i) {

  3. Classes should be named in style like this:
         MessageHeader
         Rfc8222Header
     etc. When there is an acronym at the beginning, treat it
     like a word - do NOT captitalize each letter of the acronym.

  4. Put each class in a seperate file named ClassName.class.php.
     Related classes can be put in one directory and then included
     in a main include file.

Second, big changes with mime.class.php here. And I don't think I broke
anything. (Sounds like famous last words, eh?)
2002-08-29 23:42:46 +00:00