var listTitle = 'Allies List'; var emptyList = 'You are not a trusting person, it would seem.'; var notTrusted = 'Apparently, no one trusts you.'; var addBanText = 'Blacklist a player'; var addBanLabel = 'Name of the player to ban:'; var addBanButton = 'Ban player'; var blackListTitle = 'Blacklist contents'; var emptyBlackList = 'Everyone can add you to their Trusted Allies lists.'; var raHeaders = ['Player', 'Trust Level']; function makeAlliesTooltips() { tratt = new Array(); if (ttDelay == 0) { var i; for (i=0;i<30;i++) tratt[i] = ""; return; } tratt[0] = tt_Dynamic("Use this text field to type in the name of the new allie to add to your trusted allies list"); tratt[1] = tt_Dynamic("Click here to add this player to your trusted allies list"); tratt[10] = tt_Dynamic("Click here to remove the selected player(s) from your trusted allies list"); tratt[11] = tt_Dynamic("Click here to move the selected player up in the list"); tratt[12] = tt_Dynamic("Click here to move the selected player down in the list"); tratt[15] = tt_Dynamic("Click here to remove yourself to this player's trusted allies list"); tratt[16] = tt_Dynamic("Click here to remove yourself to this player's trusted allies list and prevent him from adding you again"); tratt[20] = tt_Dynamic("Use this checkbox to select the corresponding trusted ally"); tratt[21] = tt_Dynamic("Use this checkbox to select this player"); } function drawAddAlly(value) { var str = '
Name of the new ally:
'; return str; } function drawButtons(cr,cmu,cmd) { var str = ''; if (cr) str += ''; if (cmu) str += ''; if (cmd) str += ''; if (str == "") str = " "; return str; } function drawRButtons() { var str; str = '' + ''; return str; } function drawBLButtons() { var str; str = ''; return str; } function addAllyConfirm(name) { var str = 'You are about to add the player named ' + name + ' to your trusted allies list.\n'; str += 'It will give this player partial control over your fleets when you are not online.\n'; str += 'Please confirm.'; return confirm(str); } function confirmRemoveRAllies(ids) { var i, n = new Array(); var str = 'You are about to remove yourself from the folowing player' + (ids.length > 1 ? "s' " : "'s") + " Trusted Allies list" + (ids.length > 1 ? "s" : "") + ':\n'; for (i=0;i