mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
- Made a small change to the window UI. The forum and wiki buttons are moved a little to the right to create some whitespace between the browser+info and wiki+forum buttons, since the browser+info buttons tend to get used more. In addition I added a message that gets displayed when someone clicks the button when the wiki and forum addresses are not configured in the files. The last change is a confirmation message which shows up when you click the wiki and forum buttons. This is because people often clicked the wiki button in error, which then opened up a browser, took focus away from the game and all that unfun stuff.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3600 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -3,7 +3,11 @@
|
|||||||
set desc = "Visit the wiki."
|
set desc = "Visit the wiki."
|
||||||
set hidden = 1
|
set hidden = 1
|
||||||
if( config.wikiurl )
|
if( config.wikiurl )
|
||||||
|
if(alert("This will open the wiki in your browser. Are you sure?",,"Yes","No")=="No")
|
||||||
|
return
|
||||||
src << link(config.wikiurl)
|
src << link(config.wikiurl)
|
||||||
|
else
|
||||||
|
src << "\red The wiki URL is not set in the server configuration."
|
||||||
return
|
return
|
||||||
|
|
||||||
/client/verb/forum()
|
/client/verb/forum()
|
||||||
@@ -11,5 +15,9 @@
|
|||||||
set desc = "Visit the forum."
|
set desc = "Visit the forum."
|
||||||
set hidden = 1
|
set hidden = 1
|
||||||
if( config.forumurl )
|
if( config.forumurl )
|
||||||
|
if(alert("This will open the forum in your browser. Are you sure?",,"Yes","No")=="No")
|
||||||
|
return
|
||||||
src << link(config.forumurl)
|
src << link(config.forumurl)
|
||||||
|
else
|
||||||
|
src << "\red The forum URL is not set in the server configuration."
|
||||||
return
|
return
|
||||||
@@ -1173,7 +1173,7 @@ window "rpane"
|
|||||||
lock = none
|
lock = none
|
||||||
elem "forumb"
|
elem "forumb"
|
||||||
type = BUTTON
|
type = BUTTON
|
||||||
pos = 260,0
|
pos = 304,0
|
||||||
size = 60x16
|
size = 60x16
|
||||||
anchor1 = none
|
anchor1 = none
|
||||||
anchor2 = none
|
anchor2 = none
|
||||||
@@ -1201,7 +1201,7 @@ window "rpane"
|
|||||||
button-type = pushbutton
|
button-type = pushbutton
|
||||||
elem "wikib"
|
elem "wikib"
|
||||||
type = BUTTON
|
type = BUTTON
|
||||||
pos = 195,0
|
pos = 240,0
|
||||||
size = 60x16
|
size = 60x16
|
||||||
anchor1 = none
|
anchor1 = none
|
||||||
anchor2 = none
|
anchor2 = none
|
||||||
|
|||||||
Reference in New Issue
Block a user