@@ -4,11 +4,15 @@
|
||||
set desc = "Type what you want to know about. This will open the wiki in your web browser. Type nothing to go to the main page."
|
||||
set hidden = 1
|
||||
var/wikiurl = CONFIG_GET(string/wikiurl)
|
||||
var/wikiurltg = CONFIG_GET(string/wikiurltg)
|
||||
if(wikiurl)
|
||||
if(query)
|
||||
var/output = wikiurl + "/index.php?title=Special%3ASearch&profile=default&search=" + query
|
||||
var/output = wikiurl + "?search=" + query
|
||||
src << link(output)
|
||||
output = wikiurltg + "/index.php?title=Special%3ASearch&profile=default&search=" + query
|
||||
src << link(output)
|
||||
else if (query != null)
|
||||
src << link(wikiurltg)
|
||||
src << link(wikiurl)
|
||||
else
|
||||
to_chat(src, "<span class='danger'>The wiki URL is not set in the server configuration.</span>")
|
||||
|
||||
+2
-2
@@ -65,10 +65,10 @@ GLOBAL_LIST_EMPTY(menulist)
|
||||
|
||||
|
||||
/datum/verbs/menu/Icon/Load_checked(client/C) //So we can be lazy, we invoke the "checked" menu item on menu load.
|
||||
var/atom/verb/verbpath = Get_checked(C)
|
||||
var/procpath/verbpath = Get_checked(C)
|
||||
if (!verbpath || !(verbpath in typesof("[type]/verb")))
|
||||
return
|
||||
|
||||
|
||||
if (copytext(verbpath.name,1,2) == "@")
|
||||
winset(C, null, list2params(list("command" = copytext(verbpath.name,2))))
|
||||
else
|
||||
|
||||
@@ -165,9 +165,9 @@ h1.alert, h2.alert {color: #000000;}
|
||||
|
||||
.hypnophrase {color: #3bb5d3; font-weight: bold; animation: hypnocolor 1500ms infinite;}
|
||||
@keyframes hypnocolor {
|
||||
0% { color: #0d0d0d; }
|
||||
25% { color: #410194; }
|
||||
50% { color: #7f17d8; }
|
||||
0% { color: #0d0d0d; }
|
||||
25% { color: #410194; }
|
||||
50% { color: #7f17d8; }
|
||||
75% { color: #410194; }
|
||||
100% { color: #3bb5d3; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user