squirrelmail.git
16 years agoJust fiddling. Give credit where credit is due. Template class header() function...
pdontthink [Wed, 24 Sep 2008 01:56:59 +0000 (01:56 +0000)]
Just fiddling.  Give credit where credit is due.  Template class header() function now supports the 'replace' argument.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13283 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoFix session autostart code - session_name() return value does not indicate session...
pdontthink [Tue, 23 Sep 2008 01:12:29 +0000 (01:12 +0000)]
Fix session autostart code - session_name() return value does not indicate session has started; Remove dead code (cookie cleanup)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13281 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoCorrect xmlns on lang attribute; thanks Christian Kujau
pdontthink [Fri, 19 Sep 2008 03:10:41 +0000 (03:10 +0000)]
Correct xmlns on lang attribute; thanks Christian Kujau

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13279 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoRemoving irrelevant comments
pdontthink [Fri, 19 Sep 2008 00:22:16 +0000 (00:22 +0000)]
Removing irrelevant comments

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13278 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoRelax restriction on image tag src URIs. Others PLEASE TEST (HTML mails with unsafe...
pdontthink [Thu, 11 Sep 2008 01:32:56 +0000 (01:32 +0000)]
Relax restriction on image tag src URIs.  Others PLEASE TEST (HTML mails with unsafe images).  Per the developers mailing list, no one could show that there was any exploit here.  Some code has been inserted here but commented out in case there is in fact some exploit - the code will filter image URI file extensions as before but for URIs that fail that test, SM will check the actual served content for legitimate image files (so dynamically generated images from .asp, .php, and other systems can be correctly displayed).

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13277 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoSOAP-ify RPC responses. It's on my list to write a JavaScript lib for SM to read...
pdontthink [Thu, 11 Sep 2008 00:49:51 +0000 (00:49 +0000)]
SOAP-ify RPC responses.  It's on my list to write a JavaScript lib for SM to read these after which AJAX requests in 1.5.2 will be fully enabled (but proof-of-concept has already been achieved).  Note to self to make the JavaScript tolerant enough when SM core returns HTML without the expected XML structure, which happens in many error situations because the SM core is largely designed to just push an error to the browser when it happens instead of more mature error handling when the caller can indicate that it wants to handle the error differently.  Note to self that the real solution is to redesign the SM core.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13275 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoRPC requests should use their own template sets with different content-type.
pdontthink [Wed, 10 Sep 2008 06:48:00 +0000 (06:48 +0000)]
RPC requests should use their own template sets with different content-type.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13274 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoRPC requests should use their own template sets with different content-type.
pdontthink [Wed, 10 Sep 2008 06:47:36 +0000 (06:47 +0000)]
RPC requests should use their own template sets with different content-type.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13273 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoAllow template sets to define what the content-type of their output is.
pdontthink [Wed, 10 Sep 2008 03:04:14 +0000 (03:04 +0000)]
Allow template sets to define what the content-type of their output is.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13272 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoClean up delimiter usage
pdontthink [Tue, 9 Sep 2008 05:49:20 +0000 (05:49 +0000)]
Clean up delimiter usage

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13270 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoMove options constants to constants include file
pdontthink [Tue, 26 Aug 2008 06:40:25 +0000 (06:40 +0000)]
Move options constants to constants include file

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13269 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agorework seed generation: this is something that really belongs in init.php
kink [Thu, 21 Aug 2008 12:16:20 +0000 (12:16 +0000)]
rework seed generation: this is something that really belongs in init.php
so do it there. Input enough random components from diferent dimensions,
so hard to predict.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13268 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agouse our existing random seeder function
kink [Thu, 21 Aug 2008 11:33:11 +0000 (11:33 +0000)]
use our existing random seeder function

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13267 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agomake sure we've ran our own random seeder before using mt_rand
kink [Thu, 21 Aug 2008 11:32:11 +0000 (11:32 +0000)]
make sure we've ran our own random seeder before using mt_rand

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13266 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoFix subsequent PHP notices caused by last commit. Also note that incorrect server...
pdontthink [Sun, 17 Aug 2008 03:49:37 +0000 (03:49 +0000)]
Fix subsequent PHP notices caused by last commit.  Also note that incorrect server responses shouild be error-checked, but they are not, probably because that's indicative of more fundamental problems elsewhere.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13265 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoEliminate PHP notices. Thanks to Pablo Alvarez de Sotomayor Posadillo
pdontthink [Sat, 16 Aug 2008 08:58:19 +0000 (08:58 +0000)]
Eliminate PHP notices.  Thanks to Pablo Alvarez de Sotomayor Posadillo

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13261 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoFix PHP 5.3.0 notices
pdontthink [Mon, 11 Aug 2008 01:30:35 +0000 (01:30 +0000)]
Fix PHP 5.3.0 notices

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13259 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoFix for phpDocumentor.
jervfors [Sat, 2 Aug 2008 16:50:06 +0000 (16:50 +0000)]
Fix for phpDocumentor.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13258 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoClarify language
pdontthink [Thu, 24 Jul 2008 18:16:44 +0000 (18:16 +0000)]
Clarify language

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13256 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoAdd minor details about how to enable plugin in conf.pl
pdontthink [Tue, 22 Jul 2008 06:41:10 +0000 (06:41 +0000)]
Add minor details about how to enable plugin in conf.pl

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13248 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoCorrect doc location
pdontthink [Tue, 22 Jul 2008 06:32:12 +0000 (06:32 +0000)]
Correct doc location

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13245 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoFix plugin names showing up as "INCOMPATIBLE" on configtest list
pdontthink [Tue, 22 Jul 2008 04:47:52 +0000 (04:47 +0000)]
Fix plugin names showing up as "INCOMPATIBLE" on configtest list

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13244 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoShow correct page title when on main options page after saving
pdontthink [Sun, 20 Jul 2008 20:49:17 +0000 (20:49 +0000)]
Show correct page title when on main options page after saving

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13242 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoUpdate docs only
pdontthink [Sun, 20 Jul 2008 06:49:18 +0000 (06:49 +0000)]
Update docs only

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13240 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoAllow a different server address for the POP server to be configured when using POP...
pdontthink [Sat, 19 Jul 2008 17:27:54 +0000 (17:27 +0000)]
Allow a different server address for the POP server to be configured when using POP before SMTP

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13239 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoChange to docs only regarding plugin info
pdontthink [Sat, 19 Jul 2008 04:38:04 +0000 (04:38 +0000)]
Change to docs only regarding plugin info

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13237 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoInfo about removal of abook_take
pdontthink [Sat, 12 Jul 2008 18:03:47 +0000 (18:03 +0000)]
Info about removal of abook_take

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13235 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoRemove abook_take; see the Add Address plugin (third party)
pdontthink [Sat, 12 Jul 2008 18:01:16 +0000 (18:01 +0000)]
Remove abook_take; see the Add Address plugin (third party)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13234 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoUpdate error codes
pdontthink [Fri, 11 Jul 2008 23:43:39 +0000 (23:43 +0000)]
Update error codes

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13233 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoPlugins have to be able to update the message cache if they manipulate messages
pdontthink [Fri, 11 Jul 2008 09:15:16 +0000 (09:15 +0000)]
Plugins have to be able to update the message cache if they manipulate messages

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13232 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoGive plugins something to work with
pdontthink [Fri, 11 Jul 2008 08:01:46 +0000 (08:01 +0000)]
Give plugins something to work with

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13231 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoAllow plugins to have buttons that don't need message selections to work on the mailb...
pdontthink [Fri, 11 Jul 2008 07:41:14 +0000 (07:41 +0000)]
Allow plugins to have buttons that don't need message selections to work on the mailbox list page

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13230 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoAllow other attributes to be added to message list buttons
pdontthink [Fri, 11 Jul 2008 04:39:56 +0000 (04:39 +0000)]
Allow other attributes to be added to message list buttons

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13229 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoFIXME
pdontthink [Thu, 10 Jul 2008 08:43:49 +0000 (08:43 +0000)]
FIXME

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13228 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoFIXME
pdontthink [Thu, 10 Jul 2008 08:43:04 +0000 (08:43 +0000)]
FIXME

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13227 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoGuarantee outgoing addresses have a domain part
pdontthink [Wed, 9 Jul 2008 19:25:40 +0000 (19:25 +0000)]
Guarantee outgoing addresses have a domain part

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13224 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoBring the left_main_after_each_folder hook to life
pdontthink [Wed, 9 Jul 2008 08:46:36 +0000 (08:46 +0000)]
Bring the left_main_after_each_folder hook to life

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13222 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoDon't use GLOBALS['xxx'] -- Doesn't matter, but let's remain with a consistent coding...
pdontthink [Wed, 9 Jul 2008 06:55:51 +0000 (06:55 +0000)]
Don't use GLOBALS['xxx'] -- Doesn't matter, but let's remain with a consistent coding style

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13221 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoFix hook for folders page
pdontthink [Wed, 9 Jul 2008 05:07:14 +0000 (05:07 +0000)]
Fix hook for folders page

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13220 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoQuick attempt at correcting the English in the plural forms section
pdontthink [Fri, 4 Jul 2008 21:29:18 +0000 (21:29 +0000)]
Quick attempt at correcting the English in the plural forms section

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13217 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoadd fixme
pdontthink [Fri, 4 Jul 2008 19:22:02 +0000 (19:22 +0000)]
add fixme

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13216 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoPreserve show_all when delete button is used
pdontthink [Fri, 4 Jul 2008 09:44:27 +0000 (09:44 +0000)]
Preserve show_all when delete button is used

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13215 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoAllow plugins to specify that other plugins are incompatible with it in the info...
pdontthink [Fri, 4 Jul 2008 08:41:31 +0000 (08:41 +0000)]
Allow plugins to specify that other plugins are incompatible with it in the info() function - in the required_plugins array therein, the incompatible plugin name as array key and value of SQ_INCOMPATIBLE.  See upcoming release of the add_address plugin for an example.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13214 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoaAttribs may not be used in all cases
pdontthink [Thu, 3 Jul 2008 19:13:41 +0000 (19:13 +0000)]
aAttribs may not be used in all cases

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13213 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoNeed to extract template vars - oops
pdontthink [Thu, 3 Jul 2008 17:45:17 +0000 (17:45 +0000)]
Need to extract template vars - oops

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13212 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoRemove HTML from core (please test)
pdontthink [Thu, 3 Jul 2008 17:42:57 +0000 (17:42 +0000)]
Remove HTML from core (please test)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13211 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoAdd horizontal rule template and update line break to handle attributes
pdontthink [Thu, 3 Jul 2008 17:36:18 +0000 (17:36 +0000)]
Add horizontal rule template and update line break to handle attributes

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13210 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoadd style to the hr entity separator
kink [Thu, 3 Jul 2008 13:48:39 +0000 (13:48 +0000)]
add style to the hr entity separator

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13209 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoAllow plugin configtest more functionality by including the Compatibility plugin...
pdontthink [Thu, 3 Jul 2008 01:39:41 +0000 (01:39 +0000)]
Allow plugin configtest more functionality by including the Compatibility plugin; More precise details about what plugin has broken setup/config files; Check that plugin updates have been correctly registered in the static hooks file

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13208 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoFix prefs_backend hook and remove config_override hook - plugin authors take note
pdontthink [Thu, 3 Jul 2008 01:08:25 +0000 (01:08 +0000)]
Fix prefs_backend hook and remove config_override hook - plugin authors take note

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13207 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoAdd ability to lookup entries based on fields other than nickname. Thanks to David...
pdontthink [Wed, 2 Jul 2008 07:33:27 +0000 (07:33 +0000)]
Add ability to lookup entries based on fields other than nickname.  Thanks to David Hardeman.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13205 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoAdd error handling to abook db lookups
pdontthink [Wed, 2 Jul 2008 03:30:03 +0000 (03:30 +0000)]
Add error handling to abook db lookups

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13204 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoAdd ability to turn off edit list delete checkbox
pdontthink [Thu, 26 Jun 2008 00:09:22 +0000 (00:09 +0000)]
Add ability to turn off edit list delete checkbox

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13197 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoMisc updates
pdontthink [Mon, 23 Jun 2008 19:59:26 +0000 (19:59 +0000)]
Misc updates

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13194 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoSomeone added some prefs hooks to the file-based prefs backend but never added them...
pdontthink [Mon, 23 Jun 2008 19:57:55 +0000 (19:57 +0000)]
Someone added some prefs hooks to the file-based prefs backend but never added them to the db-based one - fix that

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13193 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoAllow prefs plugins to fetch values such as FALSE, 0, '', '0', or other values that...
pdontthink [Mon, 23 Jun 2008 19:54:09 +0000 (19:54 +0000)]
Allow prefs plugins to fetch values such as FALSE, 0, '', '0', or other values that evaluate to boolean FALSE

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13192 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoAdd clarifying docs
pdontthink [Fri, 20 Jun 2008 07:57:38 +0000 (07:57 +0000)]
Add clarifying docs

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13187 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoAllow lookups by fields other than nickname; LDAP backend needs to have this implemen...
pdontthink [Thu, 19 Jun 2008 01:07:37 +0000 (01:07 +0000)]
Allow lookups by fields other than nickname; LDAP backend needs to have this implemented if poss

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13186 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoFix language
pdontthink [Wed, 18 Jun 2008 07:26:00 +0000 (07:26 +0000)]
Fix language

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13184 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoLet edit list users turn off the 'add widget'; add submit option type
pdontthink [Wed, 11 Jun 2008 05:55:57 +0000 (05:55 +0000)]
Let edit list users turn off the 'add widget'; add submit option type

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13175 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoDon't display page header when browser will be redirected with header() call.
pdontthink [Mon, 9 Jun 2008 19:07:26 +0000 (19:07 +0000)]
Don't display page header when browser will be redirected with header() call.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13174 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoMake newmail plugin work again, various small cleanup and add ability for admin to...
pdontthink [Wed, 4 Jun 2008 23:00:50 +0000 (23:00 +0000)]
Make newmail plugin work again, various small cleanup and add ability for admin to configure custom title bar strings

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13170 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoShorten string
pdontthink [Fri, 23 May 2008 09:58:03 +0000 (09:58 +0000)]
Shorten string

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13163 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoShorten strings
pdontthink [Fri, 23 May 2008 09:41:08 +0000 (09:41 +0000)]
Shorten strings

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13162 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoForgot to commit set_url_var wrapper function
pdontthink [Fri, 23 May 2008 07:27:33 +0000 (07:27 +0000)]
Forgot to commit set_url_var wrapper function

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13161 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoAdd address list pagination, 'Compose To' button, more labels for checkboxes, hook...
pdontthink [Thu, 22 May 2008 01:19:00 +0000 (01:19 +0000)]
Add address list pagination, 'Compose To' button, more labels for checkboxes, hook points for plugins to modify abook nav bar and filter address listings

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13160 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoCorrect documentation
pdontthink [Tue, 20 May 2008 17:22:53 +0000 (17:22 +0000)]
Correct documentation

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13159 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoif we have javascript available, use that to toggle more/less links. This is
kink [Mon, 19 May 2008 18:35:21 +0000 (18:35 +0000)]
if we have javascript available, use that to toggle more/less links. This is
faster (instantaneous) and saves a full reload of the page on the server. If
no JS keep old behaviour.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13157 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoOnly grab comments marked i18n to the template.
jervfors [Fri, 16 May 2008 04:33:11 +0000 (04:33 +0000)]
Only grab comments marked i18n to the template.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13148 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoUpdate.
jervfors [Fri, 16 May 2008 03:56:58 +0000 (03:56 +0000)]
Update.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13147 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoAllow underscores in nicknames by changing id used in forms, add more labels for...
pdontthink [Thu, 15 May 2008 19:00:03 +0000 (19:00 +0000)]
Allow underscores in nicknames by changing id used in forms, add more labels for easy checkbox clicking, add compose to selected button

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13146 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoChange string casing
pdontthink [Thu, 15 May 2008 06:33:12 +0000 (06:33 +0000)]
Change string casing

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13142 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoChange string casing
pdontthink [Thu, 15 May 2008 06:08:34 +0000 (06:08 +0000)]
Change string casing

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13141 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoMake sort links and add form return to the same backend that is currently being viewed
pdontthink [Thu, 15 May 2008 05:49:56 +0000 (05:49 +0000)]
Make sort links and add form return to the same backend that is currently being viewed

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13140 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoSynch with abook page; helps keep toggle-all checkbox separate from checkboxes below
pdontthink [Thu, 15 May 2008 04:08:01 +0000 (04:08 +0000)]
Synch with abook page; helps keep toggle-all checkbox separate from checkboxes below

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13138 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoDon't duplicate pages in child template sets that don't differ from parent copy thereof
pdontthink [Thu, 15 May 2008 03:57:14 +0000 (03:57 +0000)]
Don't duplicate pages in child template sets that don't differ from parent copy thereof

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13137 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agodo not add target=_blank for the javascript version
kink [Tue, 13 May 2008 10:10:14 +0000 (10:10 +0000)]
do not add target=_blank for the javascript version

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13134 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agofix saving of read receipt to send folder
kink [Tue, 13 May 2008 09:38:21 +0000 (09:38 +0000)]
fix saving of read receipt to send folder

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13132 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agofix saving as draft for devel aswell, thanks Thierry Godefroy
kink [Tue, 13 May 2008 09:30:01 +0000 (09:30 +0000)]
fix saving as draft for devel aswell, thanks Thierry Godefroy

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13131 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agodrop code related to old printer friendly
kink [Sat, 10 May 2008 12:27:45 +0000 (12:27 +0000)]
drop code related to old printer friendly

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13124 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoImplement printer friendly through CSS also for non-javascript. This
kink [Fri, 9 May 2008 16:38:01 +0000 (16:38 +0000)]
Implement printer friendly through CSS also for non-javascript. This
will bring up a new window with read_body loaded with a message box
telling the user to print it. Also tweak the print stylesheet a bit.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13123 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoreplace mysql_escape_string with the characterset safe mysql_real_escape_string.
kink [Thu, 8 May 2008 14:25:42 +0000 (14:25 +0000)]
replace mysql_escape_string with the characterset safe mysql_real_escape_string.
This raises the requirement for the myqsl backend to PHP 4.3.0.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13122 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoAdd preliminary printerfriendly-through-css feature. This adds a new print.css
kink [Thu, 8 May 2008 10:19:18 +0000 (10:19 +0000)]
Add preliminary printerfriendly-through-css feature. This adds a new print.css
stylesheet that is used when using the browser's print (or print preview) function.
A problem is that due to the frames, it won't work if selecting File -> Print because
this will print webmail.php instead of read_body. To see it in action, open read_body
on its own and use File -> Print Preview.

It would be nice if this could replace the printer_friendly function over time, because
it's purely css based and thus doesn't require extra code. For that we need to finetune
the sheet and most importantly, conquer the frames-problem in some smart way.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13121 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoremove another tag straight under it...
kink [Thu, 8 May 2008 09:24:10 +0000 (09:24 +0000)]
remove another tag straight under it...

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13120 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoremove unnecessary html tag
kink [Thu, 8 May 2008 09:23:28 +0000 (09:23 +0000)]
remove unnecessary html tag

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13119 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoAdd plugin section to add control over checkboxes on page
pdontthink [Wed, 7 May 2008 23:54:44 +0000 (23:54 +0000)]
Add plugin section to add control over checkboxes on page

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13117 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoAdd toggle all checkbox and plugin output section in nav bar
pdontthink [Wed, 7 May 2008 23:08:08 +0000 (23:08 +0000)]
Add toggle all checkbox and plugin output section in nav bar

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13116 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoMake toggle_all JavaScript fxn globally usable
pdontthink [Wed, 7 May 2008 22:56:34 +0000 (22:56 +0000)]
Make toggle_all JavaScript fxn globally usable

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13115 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoClarify docs
pdontthink [Wed, 7 May 2008 22:27:00 +0000 (22:27 +0000)]
Clarify docs

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13114 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoPut names to checkboxes that can be used by others
pdontthink [Wed, 7 May 2008 22:19:58 +0000 (22:19 +0000)]
Put names to checkboxes that can be used by others

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13113 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoGive main abook form a name
pdontthink [Wed, 7 May 2008 19:52:24 +0000 (19:52 +0000)]
Give main abook form a name

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13111 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoAdd real checkbox name and extra js args to row_click() and optional plugin input...
pdontthink [Wed, 7 May 2008 18:50:53 +0000 (18:50 +0000)]
Add real checkbox name and extra js args to row_click() and optional plugin input to extra js arg and checkbox input; also add somem documentation

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13109 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoAdd form name to row_click call as well
pdontthink [Wed, 7 May 2008 17:18:41 +0000 (17:18 +0000)]
Add form name to row_click call as well

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13108 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoMove some HTML out of core (src/login.php)
pdontthink [Wed, 7 May 2008 17:04:03 +0000 (17:04 +0000)]
Move some HTML out of core (src/login.php)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13107 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoDon't assume we are the first form on the page
pdontthink [Wed, 7 May 2008 16:48:15 +0000 (16:48 +0000)]
Don't assume we are the first form on the page

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13106 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoDon't assume we are the first form on the page
pdontthink [Wed, 7 May 2008 16:44:01 +0000 (16:44 +0000)]
Don't assume we are the first form on the page

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13105 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoPut hidden inputs in HTML-valid location
pdontthink [Wed, 7 May 2008 16:17:33 +0000 (16:17 +0000)]
Put hidden inputs in HTML-valid location

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13101 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoCarry event object for click events into called JS code
pdontthink [Wed, 7 May 2008 08:46:22 +0000 (08:46 +0000)]
Carry event object for click events into called JS code

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13099 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoMake spacing consistent between top and bottom nav bars
pdontthink [Wed, 7 May 2008 06:55:25 +0000 (06:55 +0000)]
Make spacing consistent between top and bottom nav bars

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13098 7612ce4b-ef26-0410-bec9-ea0150e637f0

16 years agoAdd plugin output next to paginator template
pdontthink [Wed, 7 May 2008 05:07:15 +0000 (05:07 +0000)]
Add plugin output next to paginator template

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13097 7612ce4b-ef26-0410-bec9-ea0150e637f0