Commit graph

3121 commits

Author SHA1 Message Date
pdontthink
1f7e9eb6cc Using the string 'deleted' in expired cookies can have unintented consequences for cookies treated as boolean, also 'deleted' could be a potential valid cookie value. Using empty string instead. Anyone know of any reason 'deleted' is actually useful? 2007-03-26 16:32:26 +00:00
pdontthink
5cff40d10d Add functions to help diagnose if plugin dependencies are in place 2007-03-22 21:24:05 +00:00
pdontthink
90e5a07b05 Fix loss of 2007-03-20 23:17:14 +00:00
Fredrik Jervfors
fabf27acb9 All images must have an alternate text. 2007-03-16 08:52:48 +00:00
Fredrik Jervfors
7534282ca3 Going XHTML. 2007-03-12 12:16:17 +00:00
Fredrik Jervfors
6b0b982e41 Images require an alternate text. 2007-03-12 09:35:28 +00:00
Thijs Kinkhorst
74d3ecec95 use org_title instead of "SquirrelMail" in error_box
from Nasmail
2007-03-06 15:43:19 +00:00
Thijs Kinkhorst
567ef6de29 do not special case a folder named 'None'. There's no reason
to not use the empty string and this prevents people who want
to have a "None" folder from using it properly.
2007-03-06 14:57:12 +00:00
Fredrik Jervfors
1d4da1b2ea Moving "doc/db-backend.txt" to the administrator's manual. 2007-03-04 01:56:54 +00:00
Thijs Kinkhorst
03a31465c8 also store the unparsed date, and display it when we
failed to parse a Date. This allows RFC-incompatible
dates to still be seen in e.g. read_body in their
original form, better than nothing. For safety split
any "<",">" out, something might rely on the date being
completely safe to print.
2007-02-27 18:57:18 +00:00
Thijs Kinkhorst
21128837f7 drop call to session_register, this is redundant in PHP >4.1.0,
which we require as minimum version, and triggers a bug in PHP4.4.5
(#1664155)
2007-02-23 08:40:17 +00:00
Thijs Kinkhorst
b406007eb5 error out on nonexistant option type. 2007-02-18 18:11:34 +00:00
pdontthink
ee1ed4af22 Allow error_box and plain_error_message functions to return output instead of immediately echoing. Also make sure all output is generated with templates for these functions 2007-02-16 01:48:34 +00:00
pdontthink
377da39efe Make sure no plugins output things before protocol header goes out 2007-02-16 01:44:22 +00:00
pdontthink
e8a79d213c Readjust location of code that massages plugin versions to more handy spot 2007-02-14 05:25:59 +00:00
pdontthink
d3ed3088c6 Allow message list form handler to accept GET args as well 2007-02-13 22:06:47 +00:00
Thijs Kinkhorst
46215ecd92 Drop the default top-right 'SquirrelMail' name and link, as discussed
on squirrelmail-devel. It's overkill anyway to name and link SquirrelMail
so prominently on every page. It also confused users who clicked straight
through to our site. It will now only display something if provider_name
and provider_uri have been set, i.o.w., it's completely optional.
2007-02-08 14:47:23 +00:00
pdontthink
020b2476e2 Add hook to compose_Header() that mirrors one for displayPageHeader() 2007-02-07 20:49:21 +00:00
pdontthink
49af86d128 Add body tag template; stop outputting body tags directly from core (there are still a couple places that need to be updated to use this) 2007-02-07 20:34:28 +00:00
pdontthink
b64bd252c7 New hook page_header_bottom 2007-02-06 10:04:00 +00:00
pdontthink
f3f3eb92df Generate links using templates 2007-02-06 08:32:24 +00:00
pdontthink
440c2438b8 New get_plugin_version() function, and a couple places to use it. 2007-02-05 06:06:40 +00:00
pdontthink
e6e855f929 Add new addButton() function 2007-02-02 21:20:09 +00:00
pdontthink
57c36cc490 Allow admin to disable secure-only cookie transmission 2007-01-25 02:02:25 +00:00
pdontthink
a3505b05fc Remove HTML from org_logo on logout error page 2007-01-19 09:11:16 +00:00
pdontthink
9333e9a098 Remove more HTML from sm_attributions. Where exactly do these show up? Certainly not in the footer, which is what's displayed here. 2007-01-15 08:35:27 +00:00
pdontthink
ec64dccba3 forgot to globalize base_uri 2007-01-15 08:30:54 +00:00
pdontthink
be0abf8532 Remove HTML from provider_uri and name; also fix default provider_uri when on plugin pages; base path was not part of the link 2007-01-15 08:27:10 +00:00
Thijs Kinkhorst
11b10ba5d1 increment year in copyright notices 2007-01-13 20:15:44 +00:00
stekkel
0e2eb346ca Stop warning about invalid session_id 2007-01-13 15:07:56 +00:00
stekkel
fb39d099cc HttpOnly cookies support. I hope this does not break SquirrelMail on certain
PHP versions.
It works on PHP 5.2.
2007-01-13 14:21:18 +00:00
stekkel
9767e2393c Remove sqsetcookieflush call (not needed) 2007-01-13 14:04:39 +00:00
pdontthink
bfd60b6729 Back out something that shouldn't be here (yet?) and leave behind a comment explaining that htmlencoded is currently ignored 2007-01-10 20:34:26 +00:00
pdontthink
4fe3cc2423 Remove HTML from SM option widget code; use forms.php utilities, which in turn use templated output 2007-01-09 05:09:28 +00:00
pdontthink
1e000b8e3c Moving template util file 2007-01-08 19:54:19 +00:00
pdontthink
d7fc64fac6 Give threading URI to template, let template do the HTML layout 2007-01-08 19:09:01 +00:00
Thijs Kinkhorst
13c297bc93 Improve attachment file handling: use one new function to create a temp
file for storing the attachment. This replaces the same code in five
places. It also improves on the code, it's now much more safe against
overwriting existing attachments by chance.
2007-01-07 17:30:13 +00:00
Thijs Kinkhorst
e59613cf76 new file for compose-related functions 2007-01-07 17:02:32 +00:00
pdontthink
7eda84f610 Strip HTML out of forms.php. Need to run through rest of core and use these functions such as in all the options pages instead of the embedded HTML there. Note the FIXME comments in forms.php -- I will post something on the DEVEL list in a while with a proposed patch. 2007-01-07 07:34:58 +00:00
pdontthink
ac4bdcb2f2 Increase max limit for sqGetGlobalVarMultiple search "radius". 2007-01-05 05:02:03 +00:00
pdontthink
a24a217d02 Make compact paginator work on search results 2007-01-05 03:39:22 +00:00
pdontthink
c872ff3394 Use org_title -- why not? (That's what it's for.) Can't believe this wasn't fixed before now. STABLE admins, how do you feel about backporting this? 2007-01-04 09:35:44 +00:00
pdontthink
19f8226a72 Add attribute array to hyperlink/image/span templates for future extensibility 2007-01-04 07:23:03 +00:00
pdontthink
45d690cefe Give date fields just a touch more space on message list 2007-01-03 20:36:57 +00:00
pdontthink
5c8bf54951 Fix for unknown index notices caused in templates when looking for plugin output in what was an empty string instead of an empty array 2007-01-03 20:33:11 +00:00
pdontthink
7f6a42ad93 Clarify docs 2007-01-03 13:04:26 +00:00
pdontthink
a1aeecdf50 Fixed broken GO button in compact paginator (when javascript is off) -- problem was that startMessage was already in <form> action attribute, so naming the <select> widget startMessage was incorrect, and a compounding issue was that there were two <select> widgets with the same name. Whew. 2007-01-03 12:41:18 +00:00
pdontthink
3174ac0e31 Use checkForJavascript() instead of $javascript_on. Except I did not change mailbox_display.php because $javascript_on comes from $aProps, not sure if it could be changed - Marc? 2007-01-03 09:26:44 +00:00
pdontthink
c50db411bf Move another template util file, strip HTML out of paginator utility fxns. 2007-01-02 22:06:39 +00:00
pdontthink
e2674fade2 Add name attribute to hyperlink template 2007-01-02 06:38:34 +00:00