Revision 12c2ec2e
Added by Charlie Marshall almost 12 years ago
usr/local/www/system_usermanager.php | ||
---|---|---|
346 | 346 |
include("head.inc"); |
347 | 347 |
?> |
348 | 348 |
|
349 |
<link rel="stylesheet" type="text/css" href="/javascript/jquery-ui-timepicker-addon/css/jquery-ui-timepicker-addon.css" /> |
|
350 |
<link rel="stylesheet" type="text/css" href="/javascript/jquery/jquery-ui.custom.css" /> |
|
351 |
|
|
352 |
<script> |
|
353 |
jQuery(function() { |
|
354 |
jQuery( "#expires" ).datepicker( { dateFormat: 'mm/dd/yy', changeYear: true, yearRange: "+0:2099" } ); |
|
355 |
}); |
|
356 |
</script> |
|
357 |
|
|
349 | 358 |
<body link="#000000" vlink="#000000" alink="#000000" onload="<?= $jsevents["body"]["onload"] ?>"> |
350 | 359 |
<?php include("fbegin.inc"); ?> |
351 |
<!-- |
|
352 |
//Date Time Picker script- by TengYong Ng of http://www.rainforestnet.com |
|
353 |
//Script featured on JavaScript Kit (http://www.javascriptkit.com) |
|
354 |
//For this script, visit http://www.javascriptkit.com |
|
355 |
// --> |
|
356 |
<script type="text/javascript" src="javascript/datetimepicker.js"></script> |
|
360 |
|
|
357 | 361 |
<script type="text/javascript"> |
358 | 362 |
//<![CDATA[ |
359 | 363 |
|
... | ... | |
499 | 503 |
<td width="22%" valign="top" class="vncell"><?=gettext("Expiration date"); ?></td> |
500 | 504 |
<td width="78%" class="vtable"> |
501 | 505 |
<input name="expires" type="text" class="formfld unknown" id="expires" size="10" value="<?=htmlspecialchars($pconfig['expires']);?>" /> |
502 |
<a href="javascript:NewCal('expires','mmddyyyy')"> |
|
503 |
<img src="/themes/<?php echo $g['theme']; ?>/images/icons/icon_cal.gif" width="16" height="16" border="0" alt="<?=gettext("Pick a date");?>" /> |
|
504 |
</a> |
|
505 | 506 |
<br/> |
506 | 507 |
<span class="vexpl"><?=gettext("Leave blank if the account shouldn't expire, otherwise enter the expiration date in the following format: mm/dd/yyyy"); ?></span></td> |
507 | 508 |
</tr> |
... | ... | |
870 | 871 |
</table> |
871 | 872 |
<?php include("fend.inc");?> |
872 | 873 |
</body> |
873 |
</html> |
|
874 |
</html> |
|
875 |
|
Also available in: Unified diff
improve datePicker on usermanger page