Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/mod/gui/modmod/modmodio.js
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
function downloadModsButton() | |||||
{ | |||||
initTerms({ | |||||
"Disclaimer": { | |||||
"title": translate("Download Mods"), | |||||
"file": translate("You are about to connect to the mod.io online service. This provides easy access to community-made mods, but is not under the control of Wildfire Games.\n\nWhile we have taken care to make this secure, we cannot guarantee with absolute certainty that this is not a security risk.\n\nDo you really want to connect?"), | |||||
"config": "modio.disclaimer", | |||||
"accepted": false, | |||||
"callback": openModIo | |||||
} | |||||
}); | |||||
openTerms("Disclaimer"); | |||||
} | |||||
function openModIo(data) | |||||
{ | |||||
if (data.accepted) | |||||
Engine.PushGuiPage("page_modio.xml", { | |||||
"callback": "initMods" | |||||
}); | |||||
} |
Wildfire Games · Phabricator