added WebGUI.str javascript class with sprintf and trim functions

got the badge builder working in the EMS
This commit is contained in:
JT Smith 2008-03-26 02:00:16 +00:00
parent ff7d72becc
commit 3ce33df7ec
6 changed files with 610 additions and 47 deletions

View file

@ -88,8 +88,8 @@ sub definition {
tab => "properties",
fieldType => "integer",
defaultValue => $session->db->quickScalar("select max(eventNumber)+1 from EMSTicket"),
label => $i18n->get("seats available"),
hoverHelp => $i18n->get("seats available help"),
label => $i18n->get("event number"),
hoverHelp => $i18n->get("event number help"),
},
startDate => {
tab => "properties",
@ -107,10 +107,10 @@ sub definition {
},
location => {
tab => "properties",
fieldType => "comboBox",
fieldType => "combo",
options => $session->db->buildHashRef("select distinct(location) from EMSTicket order by location"),
label => $i18n->get("seats available"),
hoverHelp => $i18n->get("seats available help"),
label => $i18n->get("location"),
hoverHelp => $i18n->get("location help"),
},
relatedBadges => {
tab => "properties",