Commit graph

201 commits

Author SHA1 Message Date
stekkel
0084fb6502 Merge of template patch from Steve Brown
Adapted static dirs to configurable template dir (template set support)
2006-01-28 16:06:12 +00:00
tokul
83fdb4c332 copyright update 2006-01-23 18:46:41 +00:00
tokul
2171dddcd0 moving main color tags to css 2006-01-23 17:29:10 +00:00
pdontthink
7ab3698a59 Fixed/restored reply focus functionality 2005-09-24 00:25:00 +00:00
Fredrik Jervfors
9ed98bb1ec phpDocumentor updates 2005-09-18 10:25:54 +00:00
tokul
8fa80d4ee7 using base_uri instead of SM_PATH.
SM_PATH is file system path and we need URL path in href.
2005-07-29 14:45:08 +00:00
stekkel
968fbba520 include css file (templates) 2005-07-28 21:02:12 +00:00
stekkel
befb14baf7 XSS fixes 2005-06-15 22:45:44 +00:00
Fredrik Jervfors
2531f52955 Trimming whitespace and replacing tabs 2005-04-23 12:08:00 +00:00
Thijs Kinkhorst
64366af63f Fix a variable typo.
Move the inclusion of default.js to before the extra JS code in page_header,
because the extra code may use functions from default.js (eg Forward as
Attachment, which was broken).
2005-04-16 14:20:38 +00:00
stekkel
1ee95a2a68 Forgot to rename the old $xtra var to $sJsHeader. 2005-04-15 13:40:28 +00:00
stekkel
24dc4ae0fa Templates 2005-04-14 22:09:03 +00:00
Thijs Kinkhorst
45a644490a Add a META robots noindex/nofollow tag to SquirrelMail generated output.
Major search engines will not index squirrelmail-pages. This serves the
following points:
- The search engines' cache/index does not get polluted with useless data;
  indexing a webmail client is not of interest. We should advise search
  engines that they skip us.
- Will not make a squirrelmail install findable through google. This has
  an advantage when someone is looking for vulnerable webmail systems to
  exploit (i.e.: search for "SquirrelMail" in google, and try every system
  you find with a known exploit).
A robots.txt is not a solution because that has to be in the root of a
document tree, which squirrelmail does not have to be.
2005-04-04 12:58:12 +00:00
pdontthink
0f5834c5a5 bringing back forwarding functionality for message list when comp_in_new is turned on; also removing superfluous code when not needed - helps bandwidth requirement 2005-03-15 22:42:15 +00:00
pdontthink
57444273e8 Refactoring JavaScript, reduces bandwidth usage on message list when fancy highlighting is on 2005-03-15 21:47:51 +00:00
Thijs Kinkhorst
0691f49ebe Add a first rough version of an about box to SquirrelMail.
This is linked if $provider_url is set to empty (the new default).
It's also linked from the help file. Furthermore by default no
version numbers are on the loginpage.
2005-03-15 20:19:15 +00:00
pdontthink
8a86cc6c39 I think I'm getting tired 2005-03-15 07:19:40 +00:00
pdontthink
ee76dc2624 Adding comp_in_new fxn back to message list page. CVS sure is slow these days. :( 2005-03-15 07:05:58 +00:00
pdontthink
846ede54fc Oops, forgot to comment this out again. Clicking checkboxes on message list works correctly now. 2005-03-14 21:00:50 +00:00
pdontthink
5514f2a841 Adding auto-highlite code. This might be a bit contentious, but it seemed to get good response on the DEVEL list, so trying it out. Things to note: the clicked color isn't the best, but we can also remove that and ONLY have mouseover coloring if we can't find a better color. The JavaScript was mostly swiped from phpMyAdmin, and it is fairly well written and fairly mature; I don't think there will be widespread problems with it. That said, this is a pretty big leap for SquirrelMail. We might want to have this be a user-configurable option instead of making it default when javascript_on is active. Unfortunately, doing it as a plugin is pretty much out of the question. Let's see how it goes. If things go really well, I'd like to port this to STABLE, since this stuff probably won't even see the light of day if we get templating in to 1.5. 2005-03-14 02:27:36 +00:00
tokul
9cfe6d202e Add closing / to link and meta elements only after switching to xhtml 1.0 Transitional. 2005-03-08 17:19:22 +00:00
Fredrik Jervfors
5fcc041bd2 Replacing tabs with spaces, trimming white space at EOL and newline at EOF (PHP only) 2005-01-07 17:42:23 +00:00
Thijs Kinkhorst
f4f0728bde Cvascript detection was broken when you changed your setting from never
to autodetect. Fixes: #983614
2004-12-27 21:14:55 +00:00
Thijs Kinkhorst
a73561b911 Increment year in copyright notice. 2004-12-27 15:04:02 +00:00
tokul
336c54cb94 explanation of weird chars and header 2004-12-19 15:45:53 +00:00
pdontthink
341635bc76 Following up on my long standing threat to remove internal_link hook. Templates make it unnecessary, it is inefficient, and the only plugin using it requires a source patch to the same code anyway. 2004-11-24 22:33:11 +00:00
Fredrik Jervfors
8c8ecffa57 Replacing tabs with spaces, trimming white space at EOL and newline at EOF 2004-11-02 22:21:34 +00:00
Jimmy Conner
6bfd0f1168 Remove unused globals 2004-10-31 23:24:09 +00:00
tokul
5c49d33bcf adding option that allows html transitional or frameset doctype 2004-09-07 13:46:36 +00:00
Fredrik Jervfors
3b83c567dd Minor cleanups 2004-08-24 00:40:28 +00:00
Fredrik Jervfors
631338d591 Adding status bar to the compose window 2004-08-10 05:31:56 +00:00
Fredrik Jervfors
1c290fe8e1 XHTML fixes 2004-08-09 15:48:15 +00:00
pdontthink
4517827b5e Added 'no focus' option for compose screen 2004-07-30 13:04:52 +00:00
Fredrik Jervfors
9d4db8b166 Phpdocumentor update - sed is your friend for these kinds of things ;) 2004-05-21 23:56:53 +00:00
tokul
934030dc78 http://validator.w3.org/docs/errors.html#bad-entity 2004-03-31 16:33:33 +00:00
Erin Schnabel
fe2f0f7eae thought of this last night, but forgot about it. Seth called me on it.. *sigh* 2004-03-29 17:41:15 +00:00
Erin Schnabel
c072809def finish "buttonizing" read_body header.
Correct some mistakes (compose_in_new, resume draft, edit as new)
Centralize javascript detection in prefs.php - checkForJavascript
Move javascript_on from prefs to session - have just javascript_setting in prefs.
2004-03-28 20:45:20 +00:00
jangliss
2f22395f11 Fix part 1 for XSS issue... call page like this:
src/compose.php?mailbox="><script>alert('Nuts!');</script>

Because this file is included in other pages, it could affect others too.
2004-03-28 11:50:13 +00:00
Thijs Kinkhorst
cde0377d36 We're living in 2004 now... perl is your friend for these kinds of things :) 2004-02-24 15:51:22 +00:00
pdontthink
4a8890bec5 Removed right target, which is redundant and problematic when viewing right frame in separate window 2003-12-25 10:19:02 +00:00
pdontthink
c56c27facd Give compose screen the startMessage 2003-12-17 02:03:03 +00:00
Jimmy Conner
9d5770a2ea Back out support for using SM without Frames 2003-12-01 21:56:59 +00:00
Jimmy Conner
742afd5b0e Added support for using Squirrelmail without frames
(With many thanks to Jason Wickers (jwickers at scs.wsu.edu))
----
There are still a few minor things to iron out, but overall
it works fairly well at this point.  Any plugin that calls
DisplayPageHeader() will now have to replace their </body></html>
with a simple call to noframes_bottom() to be compatible...
(Possibly rename that function to DisplayPageFooter in the future)
2003-12-01 18:51:07 +00:00
Thijs Kinkhorst
2751145774 Add phpdoc doc blocks to some files. 2003-10-29 09:35:51 +00:00
tassium
9098cb73e4 Preparation to begin using phpdocumentor.
Added basic @package/@subpackage tags
The decode/ files were documented slightly more thoroughly, although they're almost self-explanatory anyway.

The individual functions in the functions/ files need to be documented though, and now that this commit is in, anyone willing to write docblocks for functions should get cracking ;)
2003-10-28 21:27:47 +00:00
pdontthink
700f3af6d5 Preference that lets the whiners set cursor focus as needed when replying. :) 2003-10-02 01:43:20 +00:00
Thijs Kinkhorst
a98a11f1ac Some small HTML fixes/improvements 2003-07-25 22:10:22 +00:00
Jimmy Conner
7e8409022a Added 4 hooks (internal_link, mailbox_display_buttons, move_messages_button_action, create_collapse_link)
These are very useful for several plugins (Msg  Flags, Archive Mail, Link Buttons to name a few) and allow for a more pretty/graphical display
2003-07-18 02:53:37 +00:00
pdontthink
a9ad963b2a Get a little extra room for internal links when attributions are off 2003-07-12 22:27:38 +00:00
Thijs Kinkhorst
3e606b09e1 JS for sendmdn was not output when comp_in_new was disabled. 2003-06-30 19:36:16 +00:00