Phase 4: Update documentation and remaining user-facing content
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
d692485a08
commit
0ea24764e3
56 changed files with 101 additions and 101 deletions
|
|
@ -74,7 +74,7 @@ function showAPILinks(elem){
|
|||
actions.push({url: 'gsp_api.php?gamemanager/update', lang: 'get_steam_autoupdate_api_link', additional: '&type=steam', selected: true});
|
||||
}
|
||||
|
||||
var selectListHTML = '<select class="ogpAPIActions">';
|
||||
var selectListHTML = '<select class="gspAPIActions">';
|
||||
for(var i = 0; i < actions.length; i++){
|
||||
selectListHTML += '<option value="' + actions[i]["url"] + '" ' + (actions[i].hasOwnProperty('additional') && actions[i].additional ? 'additional="' + actions[i].additional + '"' : '') + ' ' + (actions[i].hasOwnProperty('selected') && actions[i]["selected"] && actions[i]["selected"] == true ? 'selected' : '') + '>' + getLang(actions[i]["lang"]) + '</option>';
|
||||
}
|
||||
|
|
@ -83,7 +83,7 @@ function showAPILinks(elem){
|
|||
$("div.mangificWrapper .magnificContentsDiv").html(decodeEntities(getLang('api_links_popup_html')) + '<p>' + getLang('actions') +': ' + selectListHTML + '</p><p><input class="updateLink" style="width: 75%;" type="text" value=""><button class="copyButton">' + $(elem).attr('copyme') + '</button> <span class="copyStatus"></span></p>');
|
||||
|
||||
showPopup(function(){
|
||||
$(".ogpAPIActions").change(function(e){
|
||||
$(".gspAPIActions").change(function(e){
|
||||
var newActionValue = $(this).val();
|
||||
var apiURL = panelURL + '/' + newActionValue + '&token=' + apiToken + '&ip=' + ipAddr + '&port=' + port + '&mod_key=' + modKey;
|
||||
var additionalParamsToAdd = $('option:selected', $(this)).attr('additional');
|
||||
|
|
@ -103,7 +103,7 @@ function showAPILinks(elem){
|
|||
|
||||
copyInput($("input.updateLink"), $("span.copyStatus"), elem);
|
||||
|
||||
$(".ogpAPIActions").trigger('change');
|
||||
$(".gspAPIActions").trigger('change');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1038,7 +1038,7 @@ $(document).ready(function(){
|
|||
"<label for='subject'>"+subject+"</label><br>\n"+
|
||||
"<input name='subject' id='subject' type=text value='Files attached' style='width:100%;'><br>\n"+
|
||||
"<label for='message'>"+message+"</label><br>\n"+
|
||||
"<textarea name='message' id='message' style='width:100%;'>There are the files you requested from OGP</textarea><br>\n"+
|
||||
"<textarea name='message' id='message' style='width:100%;'>There are the files you requested from GSP</textarea><br>\n"+
|
||||
"<label for='dest_email'>"+dest_email+"</label><br>\n"+
|
||||
"<input name='dest_email' id='dest_email' type=text value='"+user_email+"' style='width:100%;'><br>\n");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue