1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 12:21:45 +02:00

DHTML Calendar removal and cleanup.

This commit is contained in:
Cameron
2012-11-24 11:07:00 -08:00
parent 12d3fecba3
commit 0a8ec03ab4
18 changed files with 23 additions and 2620 deletions

View File

@@ -515,6 +515,7 @@ class e_form
$text = "";
$class = (isset($classes[$type])) ? $classes[$type] : "tbox e-date";
$size = vartrue($options['size']) ? intval($options['size']) : 40;
if(vartrue($options['inline']))
{
@@ -524,7 +525,7 @@ class e_form
}
else
{
$text .= "<input class='{$class}' type='text' size='40' name='{$name}' id='{$id}' value='{$value}' data-date-format='{$dformat}' data-time-format='{$tformat}' data-date-ampm='{$ampm}' />";
$text .= "<input class='{$class}' type='text' size='{$size}' name='{$name}' id='{$id}' value='{$value}' data-date-format='{$dformat}' data-time-format='{$tformat}' data-date-ampm='{$ampm}' />";
}
return $text;