summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3ec42cb)
raw | patch | inline | side by side (parent: 3ec42cb)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 30 Nov 2007 09:34:51 +0000 (09:34 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 30 Nov 2007 09:34:51 +0000 (09:34 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7947 594d385d-05f5-0310-b6e9-bd551577e9d8
index 772f0e8ea4136b0a0f0b8e40d19906a7b5a9d753..b834130dfcad015e41c48f00328c964d9ec16730 100644 (file)
font-size:12px;
}
+input.text {
+ font-size:12px;
+ border:1px solid #AAA;
+}
+
input:focus {
font-size:12px;
}
index 9619a3f7ddcbf6add7b40adf10c10d5ebfa329f2..cabdba2648da74fa621a2791ea065a23b2fdd2d8 100644 (file)
dojo.require("dijit.form.DateTextBox");
dojo.require("dijit.form.ValidationTextBox");
dojo.require("dijit.form.ComboBox");
+ dojo.require("dijit.form.Button");
dojo.require("dijit.form.FilteringSelect");
</script>
{/if}
diff --git a/include/class_password-methods-heimdal.inc b/include/class_password-methods-heimdal.inc
index b4b2c52d28abd2c0362409023e5e8a61903ec424..c1e23d6891b1d7604083a27453cd3f4de0bdb603 100644 (file)
<?php
/*
This code is part of GOsa (https://gosa.gonicus.de)
- Copyright (C) 2004 Fabian Hickert
+ Copyright (C) 2007 Cajus Pollmeier
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
index cfc8406f902d351e506edf29e941055fa9fb0066..6336385f50fd2f00f4e73d618d8538fea1223a74 100644 (file)
<td><label for="homePhone">{t}Private phone{/t}</label>
</td><td>
{render acl=$homePhoneACL}
- <input id="homePhone" name="homePhone" size=25 maxlength=60 value="{$homePhone}">
+ <input id="homePhone" name="homePhone" size=25 maxlength=60 value="{$homePhone}" dojoType="dijit.form.ValidationTextBox" propercase="false" trim="true" required="false" invalidMessage="{t}Please enter a valid phone number{/t}" regExp="^[0-9/+ ()-]*$">
{/render}
</td>
</tr>
<td><label for="labeledURI">{t}Homepage{/t}</label></td>
<td>
{render acl=$labeledURIACL}
- <input id="labeledURI" name="labeledURI" size=25 maxlength=60 value="{$labeledURI}">
+ <input id="labeledURI" name="labeledURI" size=25 maxlength=60 value="{$labeledURI}" dojoType="dijit.form.ValidationTextBox" propercase="false" trim="true" required="false" invalidMessage="{t}Please enter a valid URL{/t}" regExp="^(ftp|http|https):\/\/(\w+:\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$">
{/render}
</td>
</tr>
<td><label for="edit_cert">{t}Certificates{/t}</label></td>
<td>
{render acl=$CertificatesACL mode=read_active}
- <input id="edit_cert" type="submit" name="edit_cert" value="{t}Edit certificates{/t}...">
+ <input id="edit_cert" type="submit" name="edit_cert" value="{t}Edit certificates{/t}..." >
{/render}
</td>
</tr>
<td><label for="o">{t}Organization{/t}</label></td>
<td>
{render acl=$oACL}
- <input id="o" name="o" size=22 maxlength=60 value="{$o}">
+ <input class="text" id="o" name="o" size=22 maxlength=60 value="{$o}">
{/render}
</td>
</tr>
<td><label for="ou">{t}Department{/t}</label></td>
<td>
{render acl=$ouACL}
- <input id="ou" name="ou" size=22 maxlength=60 value="{$ou}">
+ <input class="text" id="ou" name="ou" size=22 maxlength=60 value="{$ou}">
{/render}
</td>
</tr>
<td><label for="departmentNumber">{t}Department No.{/t}</label></td>
<td>
{render acl=$departmentNumberACL}
- <input id="departmentNumber" name="departmentNumber" size=22 maxlength=60 value="{$departmentNumber}">
+ <input class="text" id="departmentNumber" name="departmentNumber" size=22 maxlength=60 value="{$departmentNumber}">
{/render}
</td>
</tr>
<td><label for="employeeNumber">{t}Employee No.{/t}</label></td>
<td>
{render acl=$employeeNumberACL}
- <input id="employeeNumber" name="employeeNumber" size=22 maxlength=60 value="{$employeeNumber}">
+ <input class="text" id="employeeNumber" name="employeeNumber" size=22 maxlength=60 value="{$employeeNumber}">
{/render}
</td>
</tr>
<td><label for="employeeType">{t}Employee type{/t}</label></td>
<td>
{render acl=$employeeTypeACL}
- <input id="employeeType" name="employeeType" size=22 maxlength=60 value="{$employeeType}">
+ <input class="text" id="employeeType" name="employeeType" size=22 maxlength=60 value="{$employeeType}">
{/render}
</td>
</tr>
<td><label for="roomNumber">{t}Room No.{/t}</label></td>
<td>
{render acl=$roomNumberACL}
- <input id="roomNumber" name="roomNumber" size=22 maxlength=60 value="{$roomNumber}">
+ <input class="text" id="roomNumber" name="roomNumber" size=22 maxlength=60 value="{$roomNumber}">
{/render}
</td>
</tr>
<td><label for="telephoneNumber">{t}Phone{/t}</label></td>
<td>
{render acl=$telephoneNumberACL}
- <input id="telephoneNumber" name="telephoneNumber" size=22 maxlength=60 value="{$telephoneNumber}">
+ <input id="telephoneNumber" name="telephoneNumber" size=22 maxlength=60 value="{$telephoneNumber}" dojoType="dijit.form.ValidationTextBox" propercase="false" trim="true" required="false" invalidMessage="{t}Please enter a valid phone number{/t}" regExp="^[0-9/+ ()-]*$">
{/render}
</td>
</tr>
<td><label for="mobile">{t}Mobile{/t}</label></td>
<td>
{render acl=$mobileACL}
- <input id="mobile" name="mobile" size=22 maxlength=60 value="{$mobile}">
+ <input id="mobile" name="mobile" size=22 maxlength=60 value="{$mobile}" dojoType="dijit.form.ValidationTextBox" propercase="false" trim="true" required="false" invalidMessage="{t}Please enter a valid phone number{/t}" regExp="^[0-9/+ ()-]*$">
{/render}
</td>
</tr>
<td><label for="pager">{t}Pager{/t}</label></td>
<td>
{render acl=$pagerACL}
- <input id="pager" name="pager" size=22 maxlength=60 value="{$pager}">
+ <input id="pager" name="pager" size=22 maxlength=60 value="{$pager}" dojoType="dijit.form.ValidationTextBox" propercase="false" trim="true" required="false" invalidMessage="{t}Please enter a valid phone number{/t}" regExp="^[0-9/+ ()-]*$">
{/render}
</td>
</tr>
<td><label for="facsimileTelephoneNumber">{t}Fax{/t}</label></td>
<td>
{render acl=$facsimileTelephoneNumberACL}
- <input id="facsimileTelephoneNumber" name="facsimileTelephoneNumber" size=22 maxlength=60 value="{$facsimileTelephoneNumber}">
+ <input id="facsimileTelephoneNumber" name="facsimileTelephoneNumber" size=22 maxlength=60 value="{$facsimileTelephoneNumber}" dojoType="dijit.form.ValidationTextBox" propercase="false" trim="true" required="false" invalidMessage="{t}Please enter a valid phone number{/t}" regExp="^[0-9/+ ()-]*$">
{/render}
</td>
</tr>
<td><label for="l">{t}Location{/t}</label></td>
<td>
{render acl=$lACL}
- <input id="l" name="l" size=22 maxlength=60 value="{$l}">
+ <input class="text" id="l" name="l" size=22 maxlength=60 value="{$l}">
{/render}
</td>
</tr>
<td><label for="st">{t}State{/t}</label></td>
<td>
{render acl=$stACL}
- <input id="st" name="st" size=22 maxlength=60 value="{$st}">
+ <input class="text" id="st" name="st" size=22 maxlength=60 value="{$st}">
{/render}
</td>
</tr>