Commit graph

229 commits

Author SHA1 Message Date
stevetruckstuff
5d57ba360d Template themes are now directories, not individual stylesheets. 2006-10-13 14:41:25 +00:00
stevetruckstuff
bb268c7629 Use paths for user/template themes rather than u_ and t_ prefixes. 2006-10-09 20:56:38 +00:00
stevetruckstuff
fdf2e1dba5 Add / before default.css in user themes in case it is not in the path for some reason. 2006-10-04 19:12:09 +00:00
stevetruckstuff
441608ef28 Add support for tempalte-provided themes. 2006-10-03 15:30:53 +00:00
stevetruckstuff
318b324085 Correct handling of default user themes. 2006-10-02 20:17:32 +00:00
stevetruckstuff
cd78ffd151 $theme_css is no longer supported. 2006-10-02 16:36:30 +00:00
stevetruckstuff
f19a624375 Additional comments re user-provided stylesheets 2006-10-02 16:26:37 +00:00
pdontthink
bf69c58369 Just adding some comments 2006-10-02 12:04:54 +00:00
stevetruckstuff
ab9c937a8a Add support for user-provided alternate stylesheets 2006-09-30 10:38:34 +00:00
stevetruckstuff
84409d4ca3 Add documentation re CSS, and clean up some what. 2006-09-29 20:58:11 +00:00
stevetruckstuff
c07ef7308d Apply correct stylesheets for RTL languages 2006-09-29 20:22:47 +00:00
pdontthink
2bcb33e722 displayHtmlHeader uses template, no more direct echoing; also restructure how style links are sent out 2006-09-28 14:04:53 +00:00
pdontthink
e8d71c9b08 Reverting other changes that snuck in. These need to wait for a bit until other files are ready to commit. Sorry for the noise. 2006-09-24 19:05:28 +00:00
pdontthink
b597f8569a Reverting ampersand encoding. Glad I'm not going crazy after all. Thanks Tomas. 2006-09-24 19:00:19 +00:00
pdontthink
5a536ed09c Correct me if I'm wrong (because oddly, this seemed to be working previously for me), but ampersands do not need to be encoded in links like this. 2006-09-24 18:04:29 +00:00
pdontthink
323f85d570 Variable name is misleading, if technically correct. I'd personally eventually like to see a wrapper (class) around template ids, names, dirs, and other attributes. 2006-09-19 14:06:32 +00:00
vanmer
1555dc6e62 - added template output for style links before link to style.php 2006-07-09 22:29:07 +00:00
indiri69
f65b92a48d Stupid IE 6 bugs should use stupid IE conditionals that conform to HTML standards. Tested in IE 6 and Firefox 1.5. 2006-06-12 02:27:11 +00:00
stevetruckstuff
92c4b751b7 Fixed typo in error handling in displayHTMLHeader() 2006-04-06 19:51:09 +00:00
stekkel
0a70f643f2 Centralized init 2006-04-05 00:22:11 +00:00
stevetruckstuff
8ca0997cc8 Added ability for template authors to include additional stylesheets. This allows them to add additional CSS defs while maintaining SQM default defintions. 2006-03-28 22:17:44 +00:00
Fredrik Jervfors
6d04a1e45d Assuming that this was used for debugging, thus removing it. 2006-02-25 13:13:22 +00:00
stevetruckstuff
575dca0a42 Incoproated template config file. Templates can now include their own javascript files. If a template pack does not incorporate a specific template, the default template will be used instead. 2006-02-24 22:31:40 +00:00
tokul
91a329b313 restoring globalization of text alignment vars.
moving text alignment setup from $languages to GET request.
2006-02-13 17:23:51 +00:00
stekkel
f28f5bb0eb Fix for #1093360.
The fix also includes the move from manual generated error messages in
imap_general to the central error handler.
In order to catch non fatal error message in compose.php I had to collect
the error messages array before the header redirect and write them to the
session. In read_body.php, compose.php and right_main.php I add the error
messages to the error handler again and clean up the delayed error messages
array.
I also modified the error handler in order to display the page_header in
case it wasn't displayed yet.
2006-02-11 15:14:31 +00:00
Fredrik Jervfors
4ef558abc9 Replacing HTML "script" element deprecated attribute "language". 2006-02-05 11:32:35 +00:00
tokul
cc26e111e2 doctype switched from quirks to standards compliance mode
added template arguments to style.php stylesheet
added loading of default style values when user values are not set are set.
fixed theme_css test
2006-02-05 08:31:04 +00:00
Fredrik Jervfors
807b9f4752 Work around the fact that /src/style.php depends on a logged in user, thus breaking the login page. 2006-01-31 15:03:06 +00:00
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