mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-19 20:06:28 +01:00
Adds the report bug button again.
This commit is contained in:
@@ -100,6 +100,7 @@ var/list/gamemode_cache = list()
|
||||
var/banappeals
|
||||
var/wikiurl
|
||||
var/forumurl
|
||||
var/reporturl
|
||||
var/githuburl
|
||||
|
||||
//Alert level description
|
||||
@@ -409,6 +410,9 @@ var/list/gamemode_cache = list()
|
||||
if ("forumurl")
|
||||
config.forumurl = value
|
||||
|
||||
if ("reporturl")
|
||||
config.reporturl = value
|
||||
|
||||
if ("githuburl")
|
||||
config.githuburl = value
|
||||
|
||||
|
||||
@@ -23,6 +23,18 @@
|
||||
src << "\red The forum URL is not set in the server configuration."
|
||||
return
|
||||
|
||||
/client/verb/reportbug()
|
||||
set name = "reportbug"
|
||||
set desc = "Report a bug."
|
||||
set hidden = 1
|
||||
if( config.reporturl )
|
||||
if(alert("This will open the issue tracker in your browser. Are you sure?",,"Yes","No")=="No")
|
||||
return
|
||||
src << link(config.reporturl)
|
||||
else
|
||||
src << "\red The issue tracker URL is not set in the server configuration."
|
||||
return
|
||||
|
||||
#define RULES_FILE "config/rules.html"
|
||||
/client/verb/rules()
|
||||
set name = "Rules"
|
||||
|
||||
+29
-1
@@ -2049,6 +2049,34 @@ window "rpane"
|
||||
is-checked = false
|
||||
group = "rpanemode"
|
||||
button-type = pushbutton
|
||||
elem "reportbugb"
|
||||
type = BUTTON
|
||||
pos = 410,0
|
||||
size = 67x16
|
||||
anchor1 = none
|
||||
anchor2 = none
|
||||
font-family = ""
|
||||
font-size = 0
|
||||
font-style = ""
|
||||
text-color = #000000
|
||||
background-color = none
|
||||
is-visible = true
|
||||
is-disabled = false
|
||||
is-transparent = false
|
||||
is-default = false
|
||||
border = none
|
||||
drop-zone = false
|
||||
right-click = false
|
||||
saved-params = "is-checked"
|
||||
on-size = ""
|
||||
text = "Report Bug"
|
||||
image = ""
|
||||
command = "reportbug"
|
||||
is-flat = false
|
||||
stretch = false
|
||||
is-checked = false
|
||||
group = "rpanemode"
|
||||
button-type = pushbutton
|
||||
elem "forumb"
|
||||
type = BUTTON
|
||||
pos = 215,0
|
||||
@@ -2135,7 +2163,7 @@ window "rpane"
|
||||
button-type = pushbox
|
||||
elem "browseb"
|
||||
type = BUTTON
|
||||
pos = 464,0
|
||||
pos = 480,0
|
||||
size = 60x16
|
||||
anchor1 = none
|
||||
anchor2 = none
|
||||
|
||||
Reference in New Issue
Block a user