Diff of /branches/2.5.4/cgi-bin/yabb2/Templates/default/AdminCentre.template [r1084] .. [r1085] Maximize Restore

  Switch to side-by-side view

--- a/branches/2.5.4/cgi-bin/yabb2/Templates/default/AdminCentre.template
+++ b/branches/2.5.4/cgi-bin/yabb2/Templates/default/AdminCentre.template
@@ -11,7 +11,7 @@
 # Software by:  The YaBB Development Team                                     #
 #               with assistance from the YaBB community.                      #
 ###############################################################################
-# $Revision: 1059 $
+# $Revision: 1085 $
 
 $header = qq~<?xml version="1.0" encoding="$yycharset" standalone="no" ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -277,4 +277,38 @@
         </td>
     </tr>~;
 
+$my_admin_login = qq~
+<table class="tabtitle cs_thin pad_4px" style="width:500px">
+    <tr>
+        <td class="center"><b>$admin_txt{'901'}</b></td>
+    </tr>
+</table>
+<table class="bordercolor cs_thin pad_4px" style="width:500px; margin-bottom:10px">
+    <tr>
+        <td class="windowbg2 center">
+            <label for="passwrd"><span class="small"><br />$admin_txt{'siddescript'}<br /></span></label>
+        </td>
+    </tr><tr>
+        <td class="windowbg2 center">
+            <form action="{yabb adminchk}" method="post" name="confirmform">
+                <div style="padding-top: 4px;">
+                    <div><input type="password" name="passwrd" id="passwrd" size="15" style="width: 150px;" onkeypress="capsLock(event,'cappasswrd')" /></div>
+                    <div style="color: red; font-weight: bold; display: none" id="cappasswrd">$admin_txt{'capslock'}</div>
+                    <div style="color: red; font-weight: bold; display: none" id="cappasswrd_char">$admin_txt{'wrong_char'}: <span id="cappasswrd_character">&nbsp;</span></div>
+                </div>
+                <div style="padding-top: 8px;">
+                    <input type="hidden" name="action" value="{yabb act}" />
+                    <input type="hidden" name="page" value="{yabb page}" />
+                    <input type="submit" value="$admin_txt{'900'}" class="button" />
+                </div>
+            </form>
+        </td>
+    </tr>
+</table>
+<script type="text/javascript">
+<!--
+        document.confirmform.passwrd.focus();
+// -->
+</script>~;
+
 1;