]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - templates/es/header.tmpl.in
Import CUPS v2.0.1
[thirdparty/cups.git] / templates / es / header.tmpl.in
index 0449661572777adb33ad5846ba0c6fcbb365e2b0..a6df94cfb9cf77c34dda255a77c328d352a5cd4f 100644 (file)
@@ -8,7 +8,15 @@
     {refresh_page?<meta http-equiv="refresh" content="{refresh_page}">:}
     <meta http-equiv="X-UA-Compatible" content="IE=9">
     <meta name="viewport" content="width=device-width">
+    <style>html{display:none;}</style>
     <script type="text/javascript"><!--
+      /* Only display document if we are not in a frame... */
+      if (self == top) {
+        document.documentElement.style.display = 'block';
+      } else {
+        top.location = self.location;
+      }
+
       /* Show an error if cookies are disabled */
       function check_cookies() {
        if (!navigator.cookieEnabled) {