Revisions for imp/templates/common-header.inc

Location: [ Horde ] / imp / templates / common-header.inc View: Logs | Branches | Statistics
Search Revisions:
Show diffs between and
Show Differences shows diffs to the previous revision. If you select a revision by clicking its row, Show Differences will show the differences to the selected row.
Show Branch:
  Revision Date Author Log Message
2.78.2.9 FRAMEWORK_3 (+3 -1 lines) 06/13/2008 12:52 AM Michael M Slusarz slusarz

MFH: login.php - 2.287; common-header.inc - 2.96

Tags: IMP_4_2_1_RC1

2.96 (+3 -1 lines) 06/13/2008 12:30 AM Michael M Slusarz slusarz

Don't show these link tags on the login page.

2.78.2.8 FRAMEWORK_3 (+1 -1 lines) 05/13/2008 05:43 PM Michael M Slusarz slusarz

MFH 2.95

Tags: IMP_4_2

2.95 (+1 -1 lines) 05/13/2008 05:42 PM Michael M Slusarz slusarz

Need to buffer this output because if it is directly 'required', it may blow
away globally set variables.

2.78.2.7 FRAMEWORK_3 (+1 -1 lines) 01/02/2008 12:13 PM Jan Schneider jan

Happy New Year

Tags: IMP_4_2_RC4, IMP_4_2_RC3, IMP_4_2_RC2

2.94 (+1 -1 lines) 01/02/2008 07:51 AM Jan Schneider jan

Happy New Year

2.78.2.6 FRAMEWORK_3 (+14 -14 lines) 12/20/2007 09:00 AM Jan Schneider jan

Merge from HEAD.

2.93 (+2 -2 lines) 09/11/2007 01:55 PM Michael M Slusarz slusarz

Port JS/CSS caching code from DIMP to get into IMP 4.2 as it drastically
increases page loading times/reduces webserver load.

Tags: BEFORE_MERGE_3_2, IMP_4_2_RC1

2.92 (+1 -1 lines) 06/21/2007 05:12 AM Jan Schneider jan

Fix script order.

Tags: IMP_4_2_ALPHA

2.91 (+1 -0 lines) 06/20/2007 03:33 PM Michael M Slusarz slusarz

Bug: 5307
Inline PHP-generated javascript to avoid cross-domain leaking.

2.90 (+6 -3 lines) 01/12/2007 07:19 AM Jan Schneider jan

Set alternate link to rss.php.

2.89 (+1 -1 lines) 12/30/2006 02:15 PM Jan Schneider jan

Standardize on "_The_ Horde Project" and "http://_www_.horde.org".

2.88 (+3 -2 lines) 06/08/2006 04:26 AM Jan Schneider jan

Revert copyright header to be consistent with all other modules.

2.87 (+5 -11 lines) 06/08/2006 02:37 AM Michael M Slusarz slusarz

minor tweaks

2.86 (+1 -0 lines) 04/17/2006 11:26 PM Michael M Slusarz slusarz

Port contacts auto-expand code from DIMP.

2.78.2.2.2.1 FRAMEWORK_3_0 (+7 -7 lines) 03/24/2006 01:35 PM Chuck Hagenbuch chuck

MFH 2.85

Tags: IMP_4_0_5

2.78.2.5 FRAMEWORK_3 (+7 -7 lines) 03/24/2006 11:25 AM Chuck Hagenbuch chuck

MFH 2.85

Tags: IMP_4_1_6, IMP_4_1_5, IMP_4_1_4, IMP_4_1_4_RC1, IMP_4_1_3, IMP_4_1_2, IMP_4_1_1

2.85 (+7 -7 lines) 03/24/2006 11:22 AM Chuck Hagenbuch chuck

- xhtml: don't define prev or next anchors twice
- <link> tags: make sure prev/next/first/last urls are set before we include
common-header.inc.
- security: use Util::nonInputVar() when checking for links in common-header.

2.78.2.4 FRAMEWORK_3 (+1 -1 lines) 01/05/2006 05:52 AM Jan Schneider jan

Happy new year

Tags: IMP_4_1, IMP_4_1_RC3, IMP_4_1_RC2

2.84 (+1 -1 lines) 01/05/2006 05:47 AM Jan Schneider jan

Happy new year

2.83 (+1 -1 lines) 01/04/2006 10:09 PM Chuck Hagenbuch chuck

Add support for bodyId to all apps and improve the bodyClass code in some apps.
Also make sure some apps load their own css (if it exists).

2.78.2.3 FRAMEWORK_3 (+1 -1 lines) 10/18/2005 08:14 AM Jan Schneider jan

Merged from HEAD

Tags: IMP_4_1_RC1

2.78.2.2 FRAMEWORK_3 (+1 -1 lines) 09/28/2005 06:02 PM Matt Selsky selsky

MFH: 2.82

Tags: FRAMEWORK_3_0, IMP_4_0_4

2.82 (+1 -1 lines) 09/28/2005 02:22 PM Matt Selsky selsky

Space.

Tags: BEFORE_MERGE_3_1

2.78.2.1 FRAMEWORK_3 (+1 -1 lines) 05/27/2005 01:02 PM Jan Schneider jan

MFH: 2.81

Tags: IMP_4_0_4_RC2, IMP_4_0_4_RC1

2.81 (+1 -1 lines) 05/27/2005 12:45 PM Jan Schneider jan

Update years.

2.80 (+1 -1 lines) 05/25/2005 01:29 PM Jan Schneider jan

Set body direction once for all in the RTL theme.

2.79 (+1 -1 lines) 05/04/2005 04:05 AM Jan Schneider jan

More RTL improvements.

2.78 (+1 -1 lines) 12/21/2004 03:05 AM Michael M Slusarz slusarz

global reference

Tags: FRAMEWORK_3, IMP_4_0_3, IMP_4_0_3_RC1, IMP_4_0_2, IMP_4_0_2_RC1, IMP_4_0_1, IMP_4_0

2.77 (+7 -2 lines) 11/10/2004 02:15 AM Michael M Slusarz slusarz

Insert code in the login screen to auto-detect the exact version of IE (version
5.0 +).  This allows us to only turn off page compression for the exact
versions of IE that are affected.  I am still not sure if I am embarassed at
how hackish this is or excited by how hackish this is :)

Tags: IMP_4_0_RC3, IMP_4_0_RC2, IMP_4_0_RC1

2.76 (+1 -1 lines) 10/18/2004 08:45 PM Chuck Hagenbuch chuck

Registry::getParam() -> Registry::get().

Tags: IMP_4_0_BETA

2.75 (+1 -1 lines) 10/18/2004 06:45 AM mdjukic

change getParam('graphics') to getImageDir()

2.74 (+1 -1 lines) 09/13/2004 05:51 AM Jan Schneider jan

Use print theme for printing.

2.73 (+1 -0 lines) 09/06/2004 11:20 AM Jan Schneider jan

Fix $language scope.

2.72 (+1 -1 lines) 09/01/2004 05:59 AM Jan Schneider jan

Set RTL by language, not by charset and add Persian to RTL languages.

2.71 (+19 -3 lines) 08/18/2004 11:28 AM Jan Schneider jan

<link> tags must be in the header.

2.70 (+1 -0 lines) 05/27/2004 10:44 AM Jan Schneider jan

Move <link> tag into header.

2.44.2.7 RELENG_3 (+3 -3 lines) 03/26/2004 05:43 PM Jan Schneider jan

Lots and lots of copyright and license updates and fixes. Someone will have to that for the HEAD branches too.

Tags: IMP_3_2_8, IMP_3_2_7, IMP_3_2_7_RC1, IMP_3_2_6, IMP_3_2_5, IMP_3_2_4

2.69 (+1 -1 lines) 03/02/2004 04:57 PM Jan Schneider jan

Update htmlarea to latest version from cvs and simplify editor usage a lot.
Configuration and i18n still missing.

Tags: IMP_4_0_ALPHA

2.68 (+1 -1 lines) 01/18/2004 12:54 PM Jan Schneider jan

Remove $js_onLoad variable altogether.

2.67 (+1 -1 lines) 01/18/2004 10:27 AM Jan Schneider jan

Make sure that all applications respect the $bodyClass variable and use Util::nonInputVar().

2.66 (+1 -1 lines) 01/01/2004 10:15 AM Jan Schneider jan

Happy new year everyone.

2.65 (+1 -1 lines) 10/03/2003 12:06 PM Chuck Hagenbuch chuck

New HTMLArea-based html editor and composition window for IMP
(Nuno Loureiro <nuno@co.sapo.pt>).

There are some known kinks to work out - hitting expand names screws up
the html, and the fullscreen editor doesn't work, and I'm sure a few more, along
with things to clean up. But it's a huge step up, in any case.

2.64 (+1 -1 lines) 09/26/2003 12:44 PM Chuck Hagenbuch chuck

I can't figure out why we needed to load all of the html.php files on every
single page load just to get the theme name to pass to Horde::stylesheetLink().
This rearranges stylesheetLink() to make a bit more sense and to not need
the $theme parameter unless you want to override it.

2.63 (+1 -1 lines) 09/16/2003 07:05 PM Jan Schneider jan

Use the new Util:: class.

2.62 (+1 -1 lines) 07/25/2003 02:10 PM Michael M Slusarz slusarz

Don't need 'type' attribute for the SHORTCUT ICON link.

2.61 (+1 -1 lines) 06/26/2003 07:16 PM Jan Schneider jan

Support for rtl charsets. For now only in IMP because IMP's Arabic
translation is the only rtl charset we have.

2.60 (+1 -0 lines) 06/11/2003 02:03 PM Chuck Hagenbuch chuck

fix mailbox <link> tags, add Top tag (for INBOX).

2.59 (+1 -1 lines) 04/28/2003 07:03 PM Jan Schneider jan

Use Horde::nonInputVar()

2.44.2.6 RELENG_3 (+1 -1 lines) 02/11/2003 05:55 PM Chuck Hagenbuch chuck

fix icon, provide type param with <link> tags, put favicon link where
it should be.

Tags: IMP_3_2_3, IMP_3_2_3_RC1, IMP_3_2_2_RC1, IMP_3_2_2, IMP_3_2_1, IMP_3_2, IMP_3_2_RC3

2.58 (+1 -1 lines) 02/11/2003 05:54 PM Chuck Hagenbuch chuck

provide correct type param for <link> tags.

2.44.2.5 RELENG_3 (+1 -0 lines) 02/11/2003 05:37 PM Chuck Hagenbuch chuck

MFH: favicon consistency

2.57 (+1 -1 lines) 02/11/2003 05:32 PM Chuck Hagenbuch chuck

be consistent about favicon usage.

2.56 (+1 -1 lines) 01/03/2003 02:57 PM Chuck Hagenbuch chuck

Clean up the open_compose_win() mess.

Horde::includeScriptFiles() *may* have to be added to some other
common-header.inc's, but that should be all.

2.55 (+1 -0 lines) 01/02/2003 07:37 PM Michael M Slusarz slusarz

Added link icon for IMP pages.

2.54 (+5 -5 lines) 12/28/2002 10:52 AM Jan Schneider jan

Use NLS::getCharset().
Update copyright information.

2.53 (+1 -1 lines) 12/11/2002 04:16 PM Michael M Slusarz slusarz

$bodyStyle is not used anywhere in IMP.

2.52 (+1 -9 lines) 07/31/2002 12:52 PM Michael M Slusarz slusarz

Stylesheet link generation handled by Horde::stylesheetLink().

2.44.2.4 RELENG_3 (+3 -3 lines) 07/16/2002 11:45 AM Jan Schneider jan

Remove short open tags.

Tags: IMP_3_2_RC2, IMP_3_2_RC1

2.51 (+3 -3 lines) 06/15/2002 01:03 AM Chuck Hagenbuch chuck

Replace <?= with <?php echo, and remove the short_open_tags requirement.

2.50 (+1 -1 lines) 06/04/2002 01:57 PM Chuck Hagenbuch chuck

Consolidate code (remove unnecessary check). This can be done in a
number of other places as well.

2.44.2.3 RELENG_3 (+1 -1 lines) 03/18/2002 05:18 PM Chuck Hagenbuch chuck

MFH: fix some places where htmlspecialchars() was missing.

Tags: IMP_3_1, IMP_3_1_RC3, IMP_3_1_RC2

2.49 (+2 -2 lines) 03/18/2002 05:18 PM Chuck Hagenbuch chuck

Fix some places where htmlspecialchars() was missing.

2.48 (+9 -1 lines) 03/11/2002 12:59 PM Jan Schneider jan

Add theme preference.

2.44.2.2 RELENG_3 (+2 -2 lines) 03/09/2002 09:52 PM Chuck Hagenbuch chuck

MFH: IMP templates.

Tags: IMP_3_1_RC1

2.47 (+2 -2 lines) 01/24/2002 05:58 PM Chuck Hagenbuch chuck

use $registry->getParam()
use IMP_TEMPLATES
use the new Notification system.

2.44.2.1 RELENG_3 (+3 -9 lines) 12/22/2001 09:47 PM Chuck Hagenbuch chuck

MFH 2.46: consistency

Tags: IMP_3_0_RC4, IMP_3_0

2.46 (+5 -10 lines) 12/22/2001 09:43 PM Chuck Hagenbuch chuck

NEVER use a regular expression to match or replace a static string.
str_replace, strstr, or strtr are your friends.

Other than that, try to be consistent about style and features between apps.

2.45 (+9 -10 lines) 12/18/2001 08:39 PM jon

Print the language type in the <html> entity.

Submitted by: Remi@Cohen-Scali.com

Cut down on a PHP to HTML context switch.

2.44 (+1 -1 lines) 10/30/2001 10:10 AM Chuck Hagenbuch chuck

no need for an extra context switch here

Tags: RELENG_3, IMP_3_0_RC3, IMP_3_0_RC2, IMP_3_0_0_RC1

2.43 (+1 -0 lines) 10/05/2001 11:10 AM Chuck Hagenbuch chuck

get rid of annoying space generated by <form> tags with a CSS style. works
for everything but NN4.

Jon, the new pre-commit checks are nice and all, but commits used to just
happily fix $Horde tags for you... the current behavior is perhaps correct,
and _might_ catch some version stuff, but DAMN, it's anal.

2.42 (+1 -2 lines) 09/28/2001 05:26 PM max

Nuke $conf['sitename'] in favor of $registry->getName

2.41 (+1 -1 lines) 09/01/2001 12:36 PM max

xhtml and style

2.40 (+1 -0 lines) 08/10/2001 06:47 PM avsm

Add a Vary: Accept-Language header to indicate language negotiation
if $language is set

2.39 (+1 -1 lines) 07/21/2001 02:10 PM Chuck Hagenbuch chuck

single quotes

2.38 (+1 -1 lines) 07/17/2001 06:11 AM avsm

Cleanup: change all the $conf['paths'] variables to query this information
from the registry using the new API functions:

getTemplatePath(), getWebRoot(), getFileRoot(), getGraphicsPath()

Update your config files!

2.37 (+6 -0 lines) 05/23/2001 12:52 PM jon

Merge doctype.inc into common-header.inc.

2.36 (+1 -1 lines) 03/24/2001 03:32 PM Chuck Hagenbuch chuck

update copyright year

2.35 (+1 -1 lines) 02/09/2001 04:55 PM Chuck Hagenbuch chuck

The configuration array is now simply $conf. Any settings that must be
accessible unchanged (not overridden) should be put into $conf['horde'].
Everything else is fair game for applications to override.

2.34 (+2 -2 lines) 01/21/2001 10:58 PM Chuck Hagenbuch chuck

Lots of little tweaks.

1. cleaned up logic in mailbox.php - with redirect.php handling auth, some of it was no
   longer necessary, and the deleted_summary is no longer relevant.
2. Some cleanups when deleting a session.
3. The mailbox view now has mouseovers for the message links.
4. Files now include status.php directly, and compose.php includes status.php, so we can
   use it for errors there, as well.

Probably some other minor stuff, too.

2.33 (+1 -1 lines) 01/05/2001 12:53 AM Chuck Hagenbuch chuck

cleaner conf file checks for imp

Tags: IMP_2_3_6

2.32 (+1 -1 lines) 01/01/2001 11:40 PM max

Happy New Year everyone!

-- xhtml 1.0 compliancy (not finished)
-- docs/CODING_STANDARDS section 12
-- tabs -> spaces where ever found

I ran into a few stumbling blocks with the validator.  It
seems that you can't put <form>...</form> tags inside tables
unless the form is complete within one <td></td> tag.  In fact,
once you open a <table> tag you can't put anything else unless
its within the <td></td> pair (or <th></th> of course). This
would make compliancy and layout rather difficult to achieve
so if anyone has any brilliant ideas, do tell.

Also I found out that php's url rewriter isn't compliant in
two respects.  The hidden input tag it adds is in ALL CAPS;
it is not terminated correctly: <input ...> instead of
<input ... />.  This along with "arg_seperator" being set to
'&' instead of '&amp;' would break compliancy.  I'm thinking
we should suggest disabling url_rewriter.tags php.ini setting
since we do our own session propogation.

2.31 (+1 -1 lines) 12/21/2000 01:37 PM Chuck Hagenbuch chuck

use Horde::dispelMagicQuotes()

2.30 (+4 -0 lines) 11/01/2000 06:18 PM jon

Automatically set the focus to the username field on the login screen.

2.29 (+1 -1 lines) 09/26/2000 02:00 PM jon

This should be the 'type' attribute, not the 'text' attribute.

Submitted by: "Steve Bower" <steve@alcyon.net>

2.28 (+1 -1 lines) 09/20/2000 01:04 AM Chuck Hagenbuch chuck

move horde path options to $horde['horde']['paths'][] and merge options in
IMP to create a unified $conf array.

2.27 (+1 -1 lines) 09/15/2000 03:30 PM Chuck Hagenbuch chuck

more concise check

2.26 (+1 -1 lines) 08/21/2000 02:02 PM jon

I think it's safe to use $horde['paths']['root'] when referring to the
css.php stylesheet generator.  I've been running it like this for a
while now and haven't seen any problems.

2.25 (+3 -2 lines) 08/21/2000 01:05 PM jon

Improve refresh code a little bit.

2.24 (+2 -1 lines) 08/20/2000 08:30 PM avsm

First pass at an auto-refreshing navigator.  Added a new section
called $conf['navigator'], which has a 'refresh' toggle to control
whether or not the admin wants users loading the server with this
option, and also a 'times' array to control the values allowed (in
seconds).

2.23 (+2 -13 lines) 08/18/2000 02:49 PM Chuck Hagenbuch chuck

css.php is now used to dynamically generate our stylesheets, and can do so
for any module.

NOTE: there will be pathing issues with this if IMP is in the webroot -
right now common-header.php refers to ../css.php. This should be changed to
use $horde['paths']['root'] as soon as we're sure horde.php is included
everywhere it needs to be.

The various html.php files have been completely revised to provide css
information - the format should be fairly self-explanatory.

Since we basically require css now, and because this arrangement made
inlining css a bit difficult, there's now a new option:
$conf['css']['cached']. If this is false, then the css file should be marked
as no-cache, and will be reloaded each time. Anil, make sure this works for
you - it should take care of the problems that you were seeing without it
being inline before. $conf['layout']['css*'] are now obsolete.

This should open the way to an ambitious soul doing all kinds of cool things
with css and prefs, etc.

2.22 (+1 -1 lines) 08/15/2000 02:56 PM jon

Fix a silly typo I just introduced.

2.21 (+8 -10 lines) 08/15/2000 02:54 PM jon

Style nits.

2.20 (+12 -3 lines) 08/12/2000 12:04 PM avsm

Added an option to inline the CSS in the html page, to avoid caching
problems.  It's controlled by $conf['layout']['css_inline'], and is
ignored if $conf['layout']['css'] is set to false (or is empty)

While I was there - changed the /**/ comments in imp.css to <!-- -->
ones (I dont think that the original format is valid in html?)

2.19 (+2 -3 lines) 08/11/2000 10:56 AM Chuck Hagenbuch chuck

more color tweaks and css conversion

2.18 (+5 -3 lines) 07/28/2000 09:37 PM jon

New configuration directive: $conf['sitename']

This setting defaults to 'IMP'.  It is used in most of the strings
where 'IMP' had been hardcoded.  This should make local site
customization a bit easier and more consistent.

2.17 (+1 -1 lines) 07/20/2000 02:15 PM jon

Mega commit!

I really had no chance of separating this out into separate commits
once I got started, so here's what's new:

IMP has been converted to a frameless layout.  This is _not_ as clean
as it could be right now, but it actually came out pretty nicely.
There's still a lot of work to be done, but everything should be
completely usable right now.

I completed the rest of the gettext converions.  IMP now uses gettext
exclusively, so I nuked most of the locale/ hierarchy.  The only
holdouts are the *passwd changing files, but I'll leave those for
someone else to update.

$lang is pretty much gone for good, so I made the appropriate changes
to prefs.php and compose.php for language listing, too.

2.3.2.3 STABLE_2_2 (+1 -2 lines) 06/28/2000 01:54 PM Chuck Hagenbuch chuck

take care of moving css file, and add strikethrough patch.

Tags: IMP_2_2_8, IMP_2_2_7, IMP_2_2_6, IMP_2_2_5, IMP_2_2_4, IMP_2_2_3, IMP_2_2_2, IMP_2_2_1, IMP_2_2_0, IMP_2_2_0_pre14

2.16 (+2 -3 lines) 06/28/2000 01:49 PM Chuck Hagenbuch chuck

get rid of underlining in the mailbox view, and move imp.css into the main
directory to make sure templates/ can be restricted.

Tags: imp_frames

2.15 (+1 -1 lines) 06/22/2000 08:43 PM jon

Silence the warning about <link>'s ending tag.

2.14 (+10 -2 lines) 02/22/2000 01:53 PM jon

Formatting and comments.

Tags: IMP_2_3_5, imp_2_3_5_dev

2.13 (+2 -3 lines) 02/03/2000 12:09 AM Chuck Hagenbuch chuck

playing with character sets a bit. I'm hoping that sending the charset in
the header will avoid having netscape load the page twice.

Unfortunately select_lang() seems to be broken in 2.3, so I had to hardcode
the language to test this. But I was able to get Traditional Chinese
characters to show up on my screen (using IE5 with support for displaying
traditional chinese characters installed). Displaying/sending messages
correctly is another matter entirely, and I still don't understand enough
about what's involved.

Only showing the 100 latest revisions. Show all revisions? (may take a while).