Code

Added missing templates
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 13 Apr 2010 10:49:21 +0000 (10:49 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 13 Apr 2010 10:49:21 +0000 (10:49 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17612 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/ihtml/themes/modern/accountexpired.tpl [new file with mode: 0644]
gosa-core/ihtml/themes/modern/help.tpl [new file with mode: 0644]
gosa-core/ihtml/themes/modern/logout-close.tpl [new file with mode: 0644]
gosa-core/ihtml/themes/modern/setup_headers.tpl [new file with mode: 0644]
gosa-core/ihtml/themes/modern/sizelimit.tpl [new file with mode: 0644]

diff --git a/gosa-core/ihtml/themes/modern/accountexpired.tpl b/gosa-core/ihtml/themes/modern/accountexpired.tpl
new file mode 100644 (file)
index 0000000..9755ce5
--- /dev/null
@@ -0,0 +1,74 @@
+<body style="background-color: #8B858B;background-image:none;">
+{* GOsa login - smarty template *}
+{$php_errors}
+{$errors}
+
+<!-- Spacer for some browsers -->
+<div class='gosaLoginSpacer'></div>
+
+<table summary="" class='gosaLoginMask' style="text-align:right;" align='center'>
+ <tr>
+  <td class='gosaAccountExpiredBack' style="width:550px;">
+   <div class='gosaAccountExpiredBack'>
+       
+    <p class='gosaAccountExpiredHeader'>
+    {t}Your password has expired. Please choose a new one!{/t}
+    </p>
+    
+    <!-- Formular data, containing a table to center fields -->
+    <form action='index.php' method='post' name='mainform' onSubmit='js_check(this);return true;'>
+     <table summary="" style='vertical-align:middle; text-align:left;' cellspacing='7' align='center'>
+      <tr>
+        <td>
+          <p> {t}Old password{/t}</p>
+        </td>
+        <td>
+    <input type='password' name='oldpassword' maxlength='25' value=''
+     title='{t}Old password{/t}' onFocus="nextfield= 'newpassword';">
+        </td>
+      </tr>
+      <tr>
+        <td>
+          <p> {t}New password{/t}</p>
+        </td>
+        <td>
+    <input type='password' name='newpassword' maxlength='25' value=''
+     title='{t}New password{/t}' onFocus="nextfield= 'verifypassword';">
+        </td>
+      </tr>
+      <tr>
+        <td>
+          <p> {t}Verify password{/t}</p>
+        </td>
+        <td>
+         <input type='password' name='verifypassword' maxlength='25' value=''
+                title='{t}Verify password{/t}' onFocus="nextfield= 'changepassword';">
+            </td>
+      </tr>
+      <tr>
+       <td colspan='2' style='text-align:center;'>
+            <br />
+         <input type='submit' name='changepassword' value='{t}Change password{/t}'
+                title='{t}Click here to change your password{/t}'>
+            </td>
+      </tr>
+     </table>
+               <input type='hidden' name='javascript' value='false'/>          
+    </form>
+
+   </div>
+  </td>
+ </tr>
+</table>
+
+<!-- Place cursor in username field -->
+<script language="JavaScript" type="text/javascript">
+  <!-- // First input field on page
+  nextfield= "{$nextfield}";
+  focus_field({$nextfield});
+  -->
+</script>
+
+<!-- Spacer for some browsers -->
+<div class='gosaLoginSpacer'></div>
+</body>
diff --git a/gosa-core/ihtml/themes/modern/help.tpl b/gosa-core/ihtml/themes/modern/help.tpl
new file mode 100644 (file)
index 0000000..d8bf3e9
--- /dev/null
@@ -0,0 +1,39 @@
+<body style='background-color:#F1F1F1;background-image:none;'>
+{$php_errors}
+
+<form action='helpviewer.php' name='mainform' method='post' enctype='multipart/form-data'>
+<div style='background-color:#CDF6BD;width:100%;border-bottom:1px solid #909090;'>
+  <table summary="" style="width:99%;">
+   <tr>
+    <td style="width:33%;">
+     <b>{t}GOsa help viewer{/t}</b>
+       </td>
+    <td style="width:33%;text-align:center">
+               {$backward}
+               &nbsp;&nbsp;
+               <a href="?pg={$index}"  class="maintitlebar">
+                       {t}Index{/t}
+               </a>
+               &nbsp;&nbsp;
+               {$forward}
+       </td>
+       <td style="text-align:right;">
+        <input type='text' name="search_string" size="15" value="{$search_string}" maxlength="50">&nbsp;<input type="submit" name="search" value="{t}Search{/t}">
+       </td>
+   </tr>
+  </table>
+</div>
+<div style="height:100%;width:98%;padding:5px;margin:0px;background-color:#F1F1F1;">
+{$help_contents}
+</div>
+
+<!-- Place cursor -->
+<script language="JavaScript" type="text/javascript">
+<!-- // First input field on page
+  focus_field('search_string');
+-->
+</script>
+
+</form>
+</body>
+</html>
diff --git a/gosa-core/ihtml/themes/modern/logout-close.tpl b/gosa-core/ihtml/themes/modern/logout-close.tpl
new file mode 100644 (file)
index 0000000..b980707
--- /dev/null
@@ -0,0 +1,13 @@
+<body style="background-color: white;background-image:none;">
+
+<form action='index.php' method='post' name='mainform'>
+<div style="margin-left:10%; margin-right:10%; margin-top:5%; border:2px solid red;padding-left:10px;padding-right:10px;padding-top:5px;padding-bottom:20px;">
+ <h1>{t}Your GOsa session has been closed!{/t}</h1>
+ <p>
+ {t}Please close this browser window and clean the authentication caches to avoid an automatic re-authentication by your browser.{/t}
+ </p>
+</div>
+</form>
+
+</body>
+</html>
diff --git a/gosa-core/ihtml/themes/modern/setup_headers.tpl b/gosa-core/ihtml/themes/modern/setup_headers.tpl
new file mode 100644 (file)
index 0000000..25c0f38
--- /dev/null
@@ -0,0 +1,24 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+
+<head>
+  <title>{if isset($title)}{$title}{else}GOsa{/if}</title>
+
+  <meta name="generator" content="my hands">
+  <meta name="description" content="GOsa - Login">
+  <meta name="author" lang="de" content="Cajus Pollmeier">
+
+  <meta http-equiv="Expires" content="Mon, 26 Jul 1997 05:00:00 GMT">
+  <meta http-equiv="Last-Modified" content="{$date} GMT">
+  <meta http-equiv="Cache-Control" content="no-cache">
+  <meta http-equiv="Pragma" content="no-cache">
+  <meta http-equiv="Cache-Control" content="post-check=0, pre-check=0">
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+
+  <style type="text/css">@import url('themes/default/style.css');</style>
+  <link rel="shortcut icon" href="favicon.ico">
+
+  <script language="javascript" src="include/png.js" type="text/javascript"></script>
+  <script language="javascript" src="include/prototype.js" type="text/javascript"></script>
+  <script language="javascript" src="include/gosa.js" type="text/javascript"></script>
+</head>
diff --git a/gosa-core/ihtml/themes/modern/sizelimit.tpl b/gosa-core/ihtml/themes/modern/sizelimit.tpl
new file mode 100644 (file)
index 0000000..276404d
--- /dev/null
@@ -0,0 +1,17 @@
+<h1>{$warning}</h1>
+<p>
+{t}The size limit option makes LDAP operations faster and saves the LDAP server from getting too much load. The easiest way to handle big databases without long timeouts would be to limit your search to smaller values and use filters to get the entries you are looking for.{/t}
+</p>
+<p>
+<b>{t}Please choose the way to react for this session{/t}:</b>
+</p>
+
+<input type="radio" name="action" value="ignore">{t}ignore this error and show all entries the LDAP server returns{/t}<br>
+<input type="radio" name="action" value="limited" checked>{t}ignore this error and show all entries that fit into the defined sizelimit and let me use filters instead{/t}<br>
+<input type="radio" name="action" value="newlimit">{$limit_message}
+
+<p class="plugbottom">
+ <input type=submit name="set_size_action" value="{t}Set{/t}">
+</p>
+
+<input type="hidden" name="ignore">