stevetruckstuff [Thu, 31 Aug 2006 18:09:32 +0000 (18:09 +0000)]
New minus image
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11666
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 31 Aug 2006 18:08:40 +0000 (18:08 +0000)]
Remove $settings['imapConnection']. Passing this to the template causes in intermittent segfault on PHP 4.3.11 (maybe others??). Since this variable is not used by the templates right now, we will simply remove it. Probably need to re-evaluate this later as the IMAP connection could be extremely useful to template developers.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11665
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 31 Aug 2006 18:05:41 +0000 (18:05 +0000)]
Prevent the same error from being displayed twice
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11664
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 31 Aug 2006 14:44:51 +0000 (14:44 +0000)]
Correct typo in previous commit.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11663
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 31 Aug 2006 14:14:28 +0000 (14:14 +0000)]
Fix error with trying to resend the header on a fatal error.
We *really* need to figure out why changes to member variables aren't being remembered outside of the member function in which they are changed. This is afflicting the Template class and the Error class.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11662
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Thu, 31 Aug 2006 06:16:27 +0000 (06:16 +0000)]
hook must be moved because include/constants.php is
loaded before plugins are initialized.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11661
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Thu, 31 Aug 2006 05:43:18 +0000 (05:43 +0000)]
function is modified copy of list_writable_backends(). diff -uw between
1.96 and 1.97 shows that. Same structure, same while() arguments.
Steve's name is in AUTHORS. Please don't claim authorship on code that is
written by you AND other people.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11659
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Thu, 31 Aug 2006 05:37:53 +0000 (05:37 +0000)]
I've forgot that function is private in 1.4.x and is not available to plugins.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11658
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Wed, 30 Aug 2006 20:45:56 +0000 (20:45 +0000)]
Split sqimap_mailbox_option_list() into two functions to facilitate template development.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11657
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Tue, 29 Aug 2006 18:30:09 +0000 (18:30 +0000)]
XCOURIEROUTBOX indicates option that can create duplicate messages.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11655
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Mon, 28 Aug 2006 17:56:56 +0000 (17:56 +0000)]
Change image name to match convention in images/themes/default/
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11654
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Mon, 28 Aug 2006 15:33:36 +0000 (15:33 +0000)]
Documentation
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11653
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Mon, 28 Aug 2006 15:19:09 +0000 (15:19 +0000)]
Add vCard template
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11652
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Mon, 28 Aug 2006 14:24:29 +0000 (14:24 +0000)]
Correct error on logout
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11651
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sun, 27 Aug 2006 11:25:11 +0000 (11:25 +0000)]
#
1547281. Add information about use of ldaps and ldapi uris
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11649
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 26 Aug 2006 18:12:16 +0000 (18:12 +0000)]
information about mail_fetch changes
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11648
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 26 Aug 2006 17:34:38 +0000 (17:34 +0000)]
adding constants
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11647
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 26 Aug 2006 17:33:58 +0000 (17:33 +0000)]
POP3 class code replaced with mail_fetch class code.
Added APOP and TLS and STLS support.
If port is set to 0, system uses default ports
Removed loading_prefs hook. It is not needed. Plugin always gets prefs
before fetching emails.
Fixed IMAP error handling in left_main. Older code ignored APPEND errors.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11646
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Fri, 25 Aug 2006 23:17:07 +0000 (23:17 +0000)]
Make sure the error handler is setup, and that icons are available to the template.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11645
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Fri, 25 Aug 2006 23:09:07 +0000 (23:09 +0000)]
Template for advanced identity controls
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11644
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Fri, 25 Aug 2006 21:36:14 +0000 (21:36 +0000)]
Templates for help section
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11643
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Fri, 25 Aug 2006 19:15:09 +0000 (19:15 +0000)]
i18n corrections to stylesheets regarding alignment;
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11642
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Fri, 25 Aug 2006 18:44:09 +0000 (18:44 +0000)]
$icon_theme_def is not parsed correctly when reading the config file. Correcting this problem.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11641
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Fri, 25 Aug 2006 14:29:15 +0000 (14:29 +0000)]
adding own pop client implementation
Original POP3 class is licensed under some 'General Artistic License' and requires
submitting all modifications to address that bounces.
According to FSF standard Artistic License is not compatible with GPL.
http://www.fsf.org/licensing/licenses/index_html#ArtisticLicense
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11640
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 24 Aug 2006 21:31:53 +0000 (21:31 +0000)]
Move new icons to appropriate folder
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11639
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 24 Aug 2006 21:15:29 +0000 (21:15 +0000)]
Utilize new default icon theme path
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11638
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 24 Aug 2006 21:14:39 +0000 (21:14 +0000)]
Add option for default icon theme.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11637
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 24 Aug 2006 20:35:49 +0000 (20:35 +0000)]
New login page as a templating demo. Feedback welcome!
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11636
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 24 Aug 2006 20:33:02 +0000 (20:33 +0000)]
Update documentation.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11635
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 24 Aug 2006 20:32:39 +0000 (20:32 +0000)]
Add $logo_path var in case template authors want to tweak the logo themselves.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11634
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 24 Aug 2006 20:31:43 +0000 (20:31 +0000)]
Template handling is now done in init.php, so this block is no longer needed. In fact, it screws up handling of different templates when users aren't logged in.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11633
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 24 Aug 2006 20:30:33 +0000 (20:30 +0000)]
Make sure $icon_theme_path is set correctly when users aren't logged in.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11632
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 24 Aug 2006 17:24:42 +0000 (17:24 +0000)]
Simplify login page template
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11629
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 24 Aug 2006 16:58:29 +0000 (16:58 +0000)]
Advanced option highlighting demo. Make require some additional tweaks in IE, but the testing I did seems to work OK.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11628
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 24 Aug 2006 16:57:30 +0000 (16:57 +0000)]
New edit icon
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11627
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 24 Aug 2006 16:56:54 +0000 (16:56 +0000)]
Add new function setCSSClass() that is always available.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11626
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Wed, 23 Aug 2006 21:36:04 +0000 (21:36 +0000)]
Add templates for message highlighting.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11625
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jervfors [Tue, 22 Aug 2006 19:23:02 +0000 (19:23 +0000)]
Updating Paul's address.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11624
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Tue, 22 Aug 2006 18:56:16 +0000 (18:56 +0000)]
Changes on 18 August to functions.php were intended to correct issue with the $icon_theme preference not being grabbed correctly. Unfortunately, it has come to light that this change has broken several other preferences. This patch undoes the changes from 18 August and changes the handling of the $icon_theme pref so that it is handled correctly.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11623
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Tue, 22 Aug 2006 14:30:41 +0000 (14:30 +0000)]
add cor to significant contributors
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11622
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Mon, 21 Aug 2006 19:34:27 +0000 (19:34 +0000)]
Provide View Unsafe Images link on viewing a text/html attachment.
Thanks `Bicster'
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11619
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Mon, 21 Aug 2006 10:33:08 +0000 (10:33 +0000)]
Fix misspelled constant PREG_SPLIT_NI_EMPTY in sqimap_get_message
(#
1543573). Thanks Cristian Rodriguez.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11618
7612ce4b-ef26-0410-bec9-
ea0150e637f0
cigamit [Mon, 21 Aug 2006 01:02:48 +0000 (01:02 +0000)]
Remove me from the "active" authors
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11617
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Fri, 18 Aug 2006 21:35:17 +0000 (21:35 +0000)]
TODO: Allow admins to change the default icon theme when icons aren't available. This should probably be done in conf.pl, and I have no idea how to change that. :-)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11616
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Fri, 18 Aug 2006 21:31:57 +0000 (21:31 +0000)]
Add advanced template for re-ordering indexes as an example
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11615
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Fri, 18 Aug 2006 21:27:51 +0000 (21:27 +0000)]
Move always included vars to init.php because it is confusing when not logged in.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11614
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Fri, 18 Aug 2006 21:26:04 +0000 (21:26 +0000)]
Resolve confusing var names for preferences.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11613
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Fri, 18 Aug 2006 20:19:28 +0000 (20:19 +0000)]
ADd some additional variables to the template
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11612
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Fri, 18 Aug 2006 20:17:43 +0000 (20:17 +0000)]
Some variables are needed by all templates to make creation easier. Make sure they are passed as variables to the template.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11611
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 17 Aug 2006 22:26:41 +0000 (22:26 +0000)]
Add template for field ordering
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11610
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 17 Aug 2006 20:54:46 +0000 (20:54 +0000)]
Fix incorrect template assignment.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11609
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 17 Aug 2006 19:35:27 +0000 (19:35 +0000)]
Iniitial option templating.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11608
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Wed, 16 Aug 2006 16:38:46 +0000 (16:38 +0000)]
Fix undefined function when downloading attachments. See comments for details.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11607
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Wed, 16 Aug 2006 14:21:53 +0000 (14:21 +0000)]
Add list_writable_backends() function back for plugins.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11606
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Tue, 15 Aug 2006 21:33:24 +0000 (21:33 +0000)]
Incorporate new add/edit template and remove functions that are no longer needed.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11605
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Tue, 15 Aug 2006 21:32:45 +0000 (21:32 +0000)]
Add template for address book add/edit functions.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11604
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Tue, 15 Aug 2006 21:31:48 +0000 (21:31 +0000)]
Correct invalid HTML id attributes. Modify add/edit/delete actions to account for new id format.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11603
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Tue, 15 Aug 2006 20:41:20 +0000 (20:41 +0000)]
When modifying an entry, if the nick name is different, check that the new nick name doesn't exist in the address book.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11602
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Tue, 15 Aug 2006 18:28:18 +0000 (18:28 +0000)]
Missing close paren
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11601
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Tue, 15 Aug 2006 18:23:50 +0000 (18:23 +0000)]
Fix some HTML/CSS errors
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11600
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Tue, 15 Aug 2006 18:02:29 +0000 (18:02 +0000)]
$abook->error is never htmlsanitized in 1.5.2cvs.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11599
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Tue, 15 Aug 2006 17:54:15 +0000 (17:54 +0000)]
Fix FIXME in functions/addressbook.php
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11598
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Tue, 15 Aug 2006 17:36:15 +0000 (17:36 +0000)]
Fix cancel button in HTML address book.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11596
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Tue, 15 Aug 2006 17:35:28 +0000 (17:35 +0000)]
Remove unneeded comment
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11595
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Tue, 15 Aug 2006 17:09:53 +0000 (17:09 +0000)]
remove todo. multiple address books displayed in template
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11594
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Tue, 15 Aug 2006 17:01:41 +0000 (17:01 +0000)]
fullname layout is controled in gettext string instead of $squirrelmail_language
removed unfinished pagination code
added list_addr() error handling
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11593
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Tue, 15 Aug 2006 15:44:31 +0000 (15:44 +0000)]
Address book templates
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11592
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Tue, 15 Aug 2006 15:43:55 +0000 (15:43 +0000)]
Add more functions for address book templating
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11591
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Tue, 15 Aug 2006 13:57:27 +0000 (13:57 +0000)]
updated google translate form.
* eight additional language pairs
* fixed form field order
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11588
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Mon, 14 Aug 2006 16:12:12 +0000 (16:12 +0000)]
Account for extra fields in address book more correctly. Also account for no global address book.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11585
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Mon, 14 Aug 2006 15:50:43 +0000 (15:50 +0000)]
Add template for address book listings along with required files
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11584
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Mon, 14 Aug 2006 13:48:29 +0000 (13:48 +0000)]
- Drop obsolete script plugins/make_archive.pl.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11583
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 10 Aug 2006 22:34:54 +0000 (22:34 +0000)]
Clean up webmail.tpl. Also implement delayed errors.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11512
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 10 Aug 2006 22:33:36 +0000 (22:33 +0000)]
Turn on delayed errors. ERrors generated here will be held over until right_main.php.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11511
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 10 Aug 2006 22:31:56 +0000 (22:31 +0000)]
Implement delayed error handling. Defaults to FALSE. Enable this feature by calling $oErrorHandler->setDealyedErrors(true). This allows errors to be held on certain pages, e.g. webmail.php and displayed at a more appropriate time, e.g. at the bottom of left_main.php.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11510
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 10 Aug 2006 22:29:17 +0000 (22:29 +0000)]
Call the new function displayErrors() to display errors rather than refering to $this.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11509
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Thu, 10 Aug 2006 22:26:19 +0000 (22:26 +0000)]
Add function for displaying errors to avoid having to call $oErrorHandler or $this within footer template.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11508
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Wed, 9 Aug 2006 19:53:55 +0000 (19:53 +0000)]
Caching of style.php doesn't work. Make an attempt to get it working and add documentation so someone else can fix it later. :-)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11501
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stevetruckstuff [Wed, 9 Aug 2006 18:01:22 +0000 (18:01 +0000)]
Add CSS support to folder manipulation templates. Also make subscribe folder list checkboxes rather than select per TODO in folders.php
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11500
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Wed, 9 Aug 2006 06:58:42 +0000 (06:58 +0000)]
move variables that are loaded before environment is secured against rg=on
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11490
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Mon, 7 Aug 2006 18:47:59 +0000 (18:47 +0000)]
drop very old and very obsolete function
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11483
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sun, 6 Aug 2006 08:46:36 +0000 (08:46 +0000)]
fixed phpdoc tag
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11480
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jervfors [Sat, 5 Aug 2006 21:28:35 +0000 (21:28 +0000)]
Moving the development documentation to the documentation module.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11479
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jervfors [Sat, 5 Aug 2006 18:44:30 +0000 (18:44 +0000)]
Moving the development documentation to the documentation module.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11478
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Sat, 5 Aug 2006 14:49:49 +0000 (14:49 +0000)]
no need to pass $key variable to sqimap_login anymore
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11477
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Sat, 5 Aug 2006 14:39:17 +0000 (14:39 +0000)]
Do not pass the $key to sqimap_login, that takes care of that itself.
Also remove any globals that are not needed anymore because of this change,
or because they're already set in init.php.
I believe that we should move to a sqimap_login() without any parameters,
but this is a good first step.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11476
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Sat, 5 Aug 2006 14:11:38 +0000 (14:11 +0000)]
missing '}' in session_expired_post, thanks Rusty Nejdl
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11475
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 5 Aug 2006 11:21:35 +0000 (11:21 +0000)]
information about #
1312915 fix and phpdoc updates
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11474
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 5 Aug 2006 10:42:20 +0000 (10:42 +0000)]
don't add delimiter to folder name, when folder with subfolders is
created. Use sqimap_mailbox_create() $type option. If suffix is added,
sqimap_mailbox_create() uses incorrect subscription command (#
1315912).
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11472
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 5 Aug 2006 09:54:27 +0000 (09:54 +0000)]
simple "equal to 'none'" test instead of testing all other authentication
options
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11471
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 5 Aug 2006 08:22:45 +0000 (08:22 +0000)]
username should not be empty
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11470
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 5 Aug 2006 07:38:01 +0000 (07:38 +0000)]
moved smtp sitewide configuration to main configuration utility
added quote_single subroutine, that is used to sanitize single quoted php strings
removed obsolete command18() subroutine
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11469
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 5 Aug 2006 04:33:43 +0000 (04:33 +0000)]
add purge link when folder contains subfolders.
Issue does not apply to 1.4.7 (code checks for parent tag) or
default_advanced template (purge link always visible above folder tree).
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11468
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Fri, 4 Aug 2006 09:17:43 +0000 (09:17 +0000)]
don't tag subfolders of Drafts,Trash and Sent as special in folder management
page. Allows rename and delete operations with subfolders.
don't treat INBOX.Trash as special on Courier. Trash folder can have subfolders
in courier. Only XMAGICTRASH extension can cause errors when trash folder is
deleted. Courier does not document commands that allow to detect folder that
is used as magic trash.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11466
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Fri, 4 Aug 2006 07:36:52 +0000 (07:36 +0000)]
phpdoc source parsing locks on trailing comments.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11464
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Thu, 3 Aug 2006 16:06:47 +0000 (16:06 +0000)]
some code simplification
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11463
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Thu, 3 Aug 2006 15:14:58 +0000 (15:14 +0000)]
first start of removing direct access of key/onetimepad in all scripts
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11462
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Thu, 3 Aug 2006 15:03:44 +0000 (15:03 +0000)]
Fixed resuming of compose when session expired while writing, and make
sure the code only sets those variables that are needed in compose and
are not already set. Thanks James Bercegay from GulfTech for pointing
this out.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11460
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Wed, 2 Aug 2006 18:05:33 +0000 (18:05 +0000)]
loading default configuration before config.php in order to make sure
that all variables are loaded.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11458
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Wed, 2 Aug 2006 11:09:16 +0000 (11:09 +0000)]
remove crufty code (commented out for >2 y) and the closing '?>' because
this is one of the files where it could really cause trouble if there's whitespace
after it.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11457
7612ce4b-ef26-0410-bec9-
ea0150e637f0