Code

rewrote the template to change expired password
authoropensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 May 2006 20:39:45 +0000 (20:39 +0000)
committeropensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 May 2006 20:39:45 +0000 (20:39 +0000)
added a new image for this template

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3175 594d385d-05f5-0310-b6e9-bd551577e9d8

html/themes/default/images/accountexpired.png [new file with mode: 0644]
html/themes/default/style.css
ihtml/themes/default/accountexpired.tpl

diff --git a/html/themes/default/images/accountexpired.png b/html/themes/default/images/accountexpired.png
new file mode 100644 (file)
index 0000000..c2b1a1f
Binary files /dev/null and b/html/themes/default/images/accountexpired.png differ
index 20eca99b4678b41357ffd8904844f520f8c1ef12..0d36d72b77ca1081820fff71de15914aad31ed16 100644 (file)
@@ -630,6 +630,29 @@ p.gosaLoginWarning {
        font-size:12px;
 }
 
+/* Account Expired screen */
+td.gosaAccountExpiredBack {
+  width:550px;
+  height:300px;
+  background:url(images/accountexpired.png);
+  vertical-align:top;
+}
+
+div.gosaAccountExpiredBack {
+  padding-top:40px;
+  margin-left:90px;
+  margin-right:50px;
+  padding-bottom:0px;
+  vertical-align:top;
+}
+
+p.gosaAccountExpiredHeader {
+  text-align:left;
+  font-size:14px;
+  font-weight:bold;
+  margin-bottom:15px;
+} 
+
 table.framework {
        width:100%;
        height:100%;
index 54af7270d8f479e238cd205d3e97fad75ebbb4ee..39fbd1b81cba6663e2968dc808a0138923b1b71f 100644 (file)
@@ -8,62 +8,54 @@
 
 <table summary="" class='gosaLoginMask' style="text-align:right;" align='center'>
  <tr>
-  <td class='gosaLoginBack' style="width:606px;">
-   <div class='gosaLoginBack'>
+  <td class='gosaAccountExpiredBack' style="width:550px;">
+   <div class='gosaAccountExpiredBack'>
        
-    <p class='gosaLoginHeader'>
-       {t}Your password has expired, insert your new password twice{/t}
+    <p class='gosaAccountExpiredHeader'>
+    {t}Your Password has expired !! Choose a new Password{/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>
-          <img src='{$password_img}' alt='{t}Password{/t}' title='{t}Password{/t}'>
+          <p> {t}Old Password{/t}</p>
         </td>
         <td>
-    <input type='password' name='password' maxlength='25' value=''
-     title='{t}Password{/t}' onFocus="nextfield= 'verifypassword';">
+    <input type='password' name='oldpassword' maxlength='25' value=''
+     title='{t}Old Password{/t}' onFocus="nextfield= 'newpassword';">
         </td>
       </tr>
       <tr>
         <td>
-          <img src='{$password_img}' alt='{t}Verify Password{/t}' title='{t}Verify Password{/t}'>
+          <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>
+            </td>
       </tr>
       <tr>
-        <td colspan='2' style='text-align:right;'>
-         <br />
+       <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>
+            </td>
       </tr>
      </table>
                <input type='hidden' name='javascript' value='false'/>          
     </form>
 
-    <!-- Display error message on demand -->
-    <p class='gosaLoginWarning'> {$message} </p>
-    <!-- check, if cookies are enabled -->
-    <p class='gosaLoginWarning'>
-     <script language="JavaScript" type="text/javascript">
-        <!--
-            document.cookie = "gosatest=empty;path=/";
-            if (document.cookie.indexOf( "gosatest=") > -1 )
-                document.cookie = "gosatest=empty;path=/;expires=Thu, 01-Jan-1970 00:00:01 GMT";
-            else
-                document.write("{$cookies}");
-        -->
-     </script>
-    </p>
-
-
-
    </div>
   </td>
  </tr>