Upload files
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
endtime = query_validate_time.item[1]
|
||||
qdel(query_validate_time)
|
||||
var/adminonly
|
||||
switch(alert("Admin only poll?",,"Yes","No","Cancel"))
|
||||
switch(tgui_alert(usr, "Admin only poll?",,list("Yes","No","Cancel")))
|
||||
if("Yes")
|
||||
adminonly = 1
|
||||
if("No")
|
||||
@@ -57,7 +57,7 @@
|
||||
else
|
||||
return
|
||||
var/dontshow
|
||||
switch(alert("Hide poll results from tracking until completed?",,"Yes","No","Cancel"))
|
||||
switch(tgui_alert(usr, "Hide poll results from tracking until completed?",,list("Yes","No","Cancel")))
|
||||
if("Yes")
|
||||
dontshow = 1
|
||||
if("No")
|
||||
@@ -76,7 +76,7 @@
|
||||
return
|
||||
var/default_percentage_calc = 0
|
||||
if(polltype != POLLTYPE_IRV)
|
||||
switch(alert("Should this option be included by default when poll result percentages are generated?",,"Yes","No","Cancel"))
|
||||
switch(tgui_alert(usr, "Should this option be included by default when poll result percentages are generated?",,list("Yes","No","Cancel")))
|
||||
if("Yes")
|
||||
default_percentage_calc = 1
|
||||
if("No")
|
||||
@@ -111,7 +111,7 @@
|
||||
"text" = option, "minval" = minval, "maxval" = maxval,
|
||||
"descmin" = descmin, "descmid" = descmid, "descmax" = descmax,
|
||||
"default_percentage_calc" = default_percentage_calc))
|
||||
switch(alert(" ",,"Add option","Finish", "Cancel"))
|
||||
switch(tgui_alert(usr, " ",,list("Add option","Finish", "Cancel")))
|
||||
if("Add option")
|
||||
add_option = 1
|
||||
if("Finish")
|
||||
|
||||
Reference in New Issue
Block a user