diff options
author | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2012-10-15 21:02:10 +0000 |
---|---|---|
committer | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2012-10-15 21:02:10 +0000 |
commit | 3dd9c340583c44d4dcb7223efbd0a815e0027ff7 (patch) | |
tree | b152c85430602eae72e9d9ae80d27fbba715f4f5 /templates | |
parent | 5a9febac19255ab8aea598449ea63bda730b2fe0 (diff) |
Merge changes from CUPS 1.7svn-r10643
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3940 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'templates')
-rw-r--r-- | templates/ca/header.tmpl.in | 11 | ||||
-rw-r--r-- | templates/ca/trailer.tmpl | 2 | ||||
-rw-r--r-- | templates/es/header.tmpl.in | 11 | ||||
-rw-r--r-- | templates/es/trailer.tmpl | 2 | ||||
-rw-r--r-- | templates/header.tmpl.in | 11 | ||||
-rw-r--r-- | templates/ja/header.tmpl.in | 11 | ||||
-rw-r--r-- | templates/ja/trailer.tmpl | 2 | ||||
-rw-r--r-- | templates/trailer.tmpl | 2 |
8 files changed, 44 insertions, 8 deletions
diff --git a/templates/ca/header.tmpl.in b/templates/ca/header.tmpl.in index 988d6bf79..02cf58081 100644 --- a/templates/ca/header.tmpl.in +++ b/templates/ca/header.tmpl.in @@ -6,8 +6,16 @@ <LINK REL="STYLESHEET" TYPE="text/css" HREF="/cups.css"> <LINK REL="SHORTCUT ICON" HREF="/images/cups-icon.png" TYPE="image/png"> {refresh_page?<META HTTP-EQUIV="Refresh" CONTENT="{refresh_page}">:} + <SCRIPT TYPE="text/javascript"><!-- + /* Show an error if cookies are disabled */ + function check_cookies() { + if (!navigator.cookieEnabled) { + document.getElementById('body').innerHTML = 'This page uses cookies to prevent common cross-site attacks. Please enable cookies in your browser.'; + } + } + --></SCRIPT> </HEAD> -<BODY> +<BODY ONLOAD="check_cookies();"> <TABLE CLASS="page" SUMMARY="{title}"> <TR><TD CLASS="body"> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> @@ -27,3 +35,4 @@ VALUE="{SECTION=help?{?QUERY}:}" AUTOSAVE="org.cups.help" RESULTS="20"></FORM></ </TR> <TR><TD COLSPAN="9"> </TD></TR> </TABLE> +<DIV ID="body"> diff --git a/templates/ca/trailer.tmpl b/templates/ca/trailer.tmpl index f16123f70..655c068d7 100644 --- a/templates/ca/trailer.tmpl +++ b/templates/ca/trailer.tmpl @@ -1,4 +1,4 @@ -</TD></TR> +</DIV></TD></TR> <TR><TD> </TD></TR> <TR><TD CLASS="trailer">CUPS i el logotip de CUPS són marques registrades per <A HREF="http://www.apple.com">Apple Inc.</A> CUPS té copyright 2007-2012 Apple diff --git a/templates/es/header.tmpl.in b/templates/es/header.tmpl.in index b6c63b431..3e974c802 100644 --- a/templates/es/header.tmpl.in +++ b/templates/es/header.tmpl.in @@ -6,8 +6,16 @@ <LINK REL="STYLESHEET" TYPE="text/css" HREF="/cups.css"> <LINK REL="SHORTCUT ICON" HREF="/images/cups-icon.png" TYPE="image/png"> {refresh_page?<META HTTP-EQUIV="Refresh" CONTENT="{refresh_page}">:} + <SCRIPT TYPE="text/javascript"><!-- + /* Show an error if cookies are disabled */ + function check_cookies() { + if (!navigator.cookieEnabled) { + document.getElementById('body').innerHTML = 'This page uses cookies to prevent common cross-site attacks. Please enable cookies in your browser.'; + } + } + --></SCRIPT> </HEAD> -<BODY> +<BODY ONLOAD="check_cookies();"> <TABLE CLASS="page" SUMMARY="{title}"> <TR><TD CLASS="body"> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> @@ -27,3 +35,4 @@ VALUE="{SECTION=help?{?QUERY}:}" AUTOSAVE="org.cups.help" RESULTS="20"></FORM></ </TR> <TR><TD COLSPAN="9"> </TD></TR> </TABLE> +<DIV ID="body"> diff --git a/templates/es/trailer.tmpl b/templates/es/trailer.tmpl index a19924548..335afd36e 100644 --- a/templates/es/trailer.tmpl +++ b/templates/es/trailer.tmpl @@ -1,4 +1,4 @@ -</TD></TR> +</DIV></TD></TR> <TR><TD> </TD></TR> <TR><TD CLASS="trailer">CUPS y el logo de CUPS son marcas registradas de <A HREF="http://www.apple.com">Apple, Inc.</A> Los derechos de copia de CUPS diff --git a/templates/header.tmpl.in b/templates/header.tmpl.in index a383725c5..8aaf89c18 100644 --- a/templates/header.tmpl.in +++ b/templates/header.tmpl.in @@ -6,8 +6,16 @@ <LINK REL="STYLESHEET" TYPE="text/css" HREF="/cups.css"> <LINK REL="SHORTCUT ICON" HREF="/images/cups-icon.png" TYPE="image/png"> {refresh_page?<META HTTP-EQUIV="Refresh" CONTENT="{refresh_page}">:} + <SCRIPT TYPE="text/javascript"><!-- + /* Show an error if cookies are disabled */ + function check_cookies() { + if (!navigator.cookieEnabled) { + document.getElementById('body').innerHTML = 'This page uses cookies to prevent common cross-site attacks. Please enable cookies in your browser.'; + } + } + --></SCRIPT> </HEAD> -<BODY> +<BODY ONLOAD="check_cookies();"> <TABLE CLASS="page" SUMMARY="{title}"> <TR><TD CLASS="body"> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> @@ -27,3 +35,4 @@ VALUE="{SECTION=help?{?QUERY}:}" AUTOSAVE="org.cups.help" RESULTS="20"></FORM></ </TR> <TR><TD COLSPAN="9"> </TD></TR> </TABLE> +<DIV ID="body"> diff --git a/templates/ja/header.tmpl.in b/templates/ja/header.tmpl.in index 71a39f101..1bf55fdee 100644 --- a/templates/ja/header.tmpl.in +++ b/templates/ja/header.tmpl.in @@ -6,8 +6,16 @@ <LINK REL="STYLESHEET" TYPE="text/css" HREF="/cups.css"> <LINK REL="SHORTCUT ICON" HREF="/images/cups-icon.png" TYPE="image/png"> {refresh_page?<META HTTP-EQUIV="Refresh" CONTENT="{refresh_page}">:} + <SCRIPT TYPE="text/javascript"><!-- + /* Show an error if cookies are disabled */ + function check_cookies() { + if (!navigator.cookieEnabled) { + document.getElementById('body').innerHTML = 'This page uses cookies to prevent common cross-site attacks. Please enable cookies in your browser.'; + } + } + --></SCRIPT> </HEAD> -<BODY> +<BODY ONLOAD="check_cookies();"> <TABLE CLASS="page" SUMMARY="{title}"> <TR><TD CLASS="body"> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> @@ -27,3 +35,4 @@ VALUE="{SECTION=help?{?QUERY}:}" AUTOSAVE="org.cups.help" RESULTS="20"></FORM></ </TR> <TR><TD COLSPAN="9"> </TD></TR> </TABLE> +<DIV ID="body"> diff --git a/templates/ja/trailer.tmpl b/templates/ja/trailer.tmpl index 123a19722..14412f1ca 100644 --- a/templates/ja/trailer.tmpl +++ b/templates/ja/trailer.tmpl @@ -1,4 +1,4 @@ -</TD></TR> +</DIV></TD></TR> <TR><TD> </TD></TR> <TR><TD CLASS="trailer">CUPS and the CUPS logo are trademarks of <A HREF="http://www.apple.com">Apple Inc.</A> CUPS is copyright 2007-2012 Apple diff --git a/templates/trailer.tmpl b/templates/trailer.tmpl index 123a19722..14412f1ca 100644 --- a/templates/trailer.tmpl +++ b/templates/trailer.tmpl @@ -1,4 +1,4 @@ -</TD></TR> +</DIV></TD></TR> <TR><TD> </TD></TR> <TR><TD CLASS="trailer">CUPS and the CUPS logo are trademarks of <A HREF="http://www.apple.com">Apple Inc.</A> CUPS is copyright 2007-2012 Apple |