Add the quick / direct writing ability

This commit is contained in:
sparkyx 2007-10-15 13:25:35 +00:00
parent 15ce1362e9
commit 26afef570a
28 changed files with 656 additions and 122 deletions

View file

@ -567,6 +567,7 @@ class widget {
return $r;
}
//------------------------------------------------------------------------
// JS_DATE
//------------------------------------------------------------------------
@ -629,5 +630,13 @@ class widget {
function Reset ($p_value) {
return '<INPUT TYPE="SUBMIT" VALUE="'.$p_value.'">';
}
static function hidden($p_name,$p_value) {
return '<INPUT TYPE="hidden" id="'.$p_name.'" NAME="'.$p_name.'" VALUE="'.$p_value.'">';
}
static function button_href($p_name,$p_value) {
return sprintf('<A class="mtitle" HREF="%s"><input type="button" value="%s"></A>',
$p_value,
$p_name);
}
}