user_games.php 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. <?php
  2. /*
  3. *
  4. * OGP - Open Game Panel
  5. * Copyright (C) 2008 - 2017 The OGP Development Team
  6. *
  7. * http://www.opengamepanel.org/
  8. *
  9. * This program is free software; you can redistribute it and/or
  10. * modify it under the terms of the GNU General Public License
  11. * as published by the Free Software Foundation; either version 2
  12. * of the License, or any later version.
  13. *
  14. * This program is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. * GNU General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU General Public License
  20. * along with this program; if not, write to the Free Software
  21. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  22. *
  23. */
  24. define('add_mods_note', "You need to add mods after adding server to user. This can be done by editing the server.");
  25. define('game_servers', "Game Servers");
  26. define('game_path', "Game Path");
  27. define('game_path_info', "An absolute server path. Example: /home/ogpbot/OGP_User_Files/My_Server");
  28. define('game_server_name_info', "Server name helps users to identify their servers.");
  29. define('control_password', "Control password");
  30. define('control_password_info', "This password is used for server control, such as RCON password. If the password is empty then other means are used.");
  31. define('add_game_home', "Add game server");
  32. define('game_path_empty', "Game path can not be empty.");
  33. define('game_home_added', "Game server added successfully. Redirecting to home edit page.");
  34. define('failed_to_add_home_to_db', "Failed to add home to database. Error: %s");
  35. define('caution_agent_offline_can_not_get_os_and_arch_showing_servers_for_all_platforms', "<b>Caution!</b> The Agent is offline, can not get OS type and architecture,<br> Showing servers for all platforms:");
  36. define('select_remote_server', "Select Remote Server");
  37. define('no_remote_servers_configured', "No remote servers configured to the Open Game Panel.<br>You need to add remote servers before you can add servers for the users.");
  38. define('no_game_configurations_found', "No game configuration found. You need to add game configurations from the");
  39. define('game_configurations', ">game configuration page");
  40. define('add_remote_server', "Add a server.");
  41. define('wine_games', "Wine Games");
  42. define('home_path', "Home path");
  43. define('change_home_info', "The location of the installed game server. Example: /home/ogp/my_server/");
  44. define('game_server_name', "Game server name");
  45. define('change_name_info', "The name of the server to help users to identify it.");
  46. define('game_control_password', "Game control password");
  47. define('change_control_password_info', "Control password is for example rcon password.");
  48. define('available_mods', "Available mods");
  49. define('note_no_mods', "No mod(s) available for this game.");
  50. define('change_home', "Change Home");
  51. define('change_control_password', "Change Control Password");
  52. define('change_name', "Change Name");
  53. define('add_mod', "Add Mod");
  54. define('set_ip', "Set IP");
  55. define('ips_and_ports', "IPs and Ports");
  56. define('mod_name', "Mod Name");
  57. define('max_players', "Max Players");
  58. define('extra_cmd_line_args', "Extra Command Line Args");
  59. define('extra_cmd_line_info', "The Extra command line args provides a way to enter extra arguments to the game command line when it is started.");
  60. define('cpu_affinity', "CPU Affinity");
  61. define('nice_level', "Nice Level");
  62. define('set_options', "Set Options");
  63. define('remove_mod', "Remove Mod");
  64. define('mods', "Mods");
  65. define('ip', "IP");
  66. define('port', "Port");
  67. define('no_ip_ports_assigned', "At least one IP:Port pair must be assigned to the home.");
  68. define('successfully_assigned_ip_port', "Successfully assigned IP:Port pair to home.");
  69. define('port_range_error', "Port needs to be between range 0 and 65535.");
  70. define('failed_to_assing_mod_to_home', "Failed to assing mod with id %d to home.");
  71. define('successfully_assigned_mod_to_home', "Successfully assigned mod with id %d to home.");
  72. define('successfully_modified_mod', "Successfully modified mod information.");
  73. define('back_to_game_monitor', "Back to Game Monitor");
  74. define('back_to_game_servers', "Back to Game Servers");
  75. define('user_id_main', "Main owner");
  76. define('change_user_id_main', "Change main owner");
  77. define('change_user_id_main_info', "The main server home owner.");
  78. define('server_ftp_password', "FTP password");
  79. define('change_ftp_password', "Change FTP password");
  80. define('change_ftp_password_info', "This is the password to login to FTP server for this home.");
  81. define('Delete_old_user_assigned_homes', "Unassign home to current users.");
  82. define('editing_home_called', "Editing home called");
  83. define('control_password_updated_successfully', "Control password updated successfully.");
  84. define('control_password_update_failed', "Control password update failed");
  85. define('successfully_changed_game_server', "Successfully changed game server.");
  86. define('error_ocurred_on_remote_server', "Error ocurred on remote server,");
  87. define('ftp_password_can_not_be_changed', "FTP password can not be changed.");
  88. define('ftp_can_not_be_switched_on', "FTP can not be switched ON.");
  89. define('ftp_can_not_be_switched_off', "FTP can not be switched OFF.");
  90. define('invalid_home_id_entered', "Invalid home id entered.");
  91. define('ip_port_already_in_use', "The %s:%s is already in use. Choose another one.");
  92. define('successfully_assigned_ip_port_to_server_id', "Successfully assigned %s:%s to home with ID %s.");
  93. define('no_ip_addresses_configured', "Your game server does not have any IP-addresses configured to it. You can configure them from ");
  94. define('server_page', "server page");
  95. define('successfully_removed_mod', "Successfully removed game mod.");
  96. define('warning_agent_offline_defaulting_CPU_count_to_1', "Warning - Agent offline, defaulting CPU count to 1.");
  97. define('mod_install_cmds', "Mod Install CMDs");
  98. define('cmds_for', "Commands for");
  99. define('preinstall_cmds', "Preinstall Commands");
  100. define('postinstall_cmds', "Postinstall Commands");
  101. define('edit_preinstall_cmds', "Edit Preinstall Commands");
  102. define('edit_postinstall_cmds', "Edit Postinstall Commands");
  103. define('save_as_default_for_this_mod', "Save as default for this mod");
  104. define('empty', "empty");
  105. define('master_server_for_clon_update', "Master server for local update");
  106. define('set_as_master_server', "Set as master server");
  107. define('set_as_master_server_for_local_clon_update', "Set as master server for local update.");
  108. define('only_available_for', "Only available for '%s' hosted on the remote server named '%s'.");
  109. define('ftp_on', "Enable FTP");
  110. define('ftp_off', "Disable FTP");
  111. define('change_ftp_account_status', "Change FTP account status");
  112. define('change_ftp_account_status_info', "Once a FTP account is enabled or disabled, it is added or removed from the FTP's database.");
  113. define('server_ftp_login', "Server FTP Login");
  114. define('change_ftp_login_info', "Change the FTP Login with a customized one.");
  115. define('change_ftp_login', "Change FTP Login");
  116. define('ftp_login_can_not_be_changed', "Can not change FTP Login.");
  117. define('server_is_running_change_addresses_not_available', "The server is actually running, the IP cannot be changed.");
  118. define('change_game_type', "Change Game Type");
  119. define('change_game_type_info', "By changing the game type the current the mods configuration will be deleted.");
  120. define('force_mod_on_this_address', "Force mod on this address");
  121. define('successfully_assigned_mod_to_address', "Successfully assigned mod to address");
  122. define('switch_mods', "Switch mods");
  123. define('switch_mod_for_address', "Switch mod for address %s");
  124. define('invalid_path', "Invalid Path");
  125. define('add_new_game_home', "Add new game server");
  126. define('no_game_homes_found', "No game servers found");
  127. define('available_game_homes', "Available game servers");
  128. define('home_id', "Home ID");
  129. define('game_server', "Game Server");
  130. define('game_type', "Game Type");
  131. define('game_home', "Home Path");
  132. define('game_home_name', "Game Server Name");
  133. define('clone', "Clone");
  134. define('unassign', "Unassign");
  135. define('access_rights', "Access Rights");
  136. define('assigned_homes', "Currently Assigned Homes");
  137. define('assign', "Assign");
  138. define('allow_updates', "Allow Game Updates");
  139. define('allow_updates_info', "Allows user to update the game installation if that is possible.");
  140. define('allow_file_management', "Allow File Management");
  141. define('allow_file_management_info', "Allows user to access the game server with file management modules.");
  142. define('allow_parameter_usage', "Allow Parameter Usage");
  143. define('allow_parameter_usage_info', "Allows user to change available command line parameters.");
  144. define('allow_extra_params', "Allow Extra parametrs");
  145. define('allow_extra_params_info', "Allows user to modify extra command line parameters.");
  146. define('allow_ftp', "Allow FTP");
  147. define('allow_ftp_info', "Show the FTP access information to the user.");
  148. define('allow_custom_fields', "Allow Custom Fields");
  149. define('allow_custom_fields_info', "Allows user to access custom fields of the game server if any.");
  150. define('select_home', "Select Home to Assign");
  151. define('assign_new_home_to_user', "Assign New Home to user %s");
  152. define('assign_new_home_to_group', "Assign New Home to group %s");
  153. define('assigned_home_to_user', "Successfully assigned home (ID: %d) to user %s.");
  154. define('failed_to_assign_home_to_user', "Failed to assign home (ID: %d) to user %s.");
  155. define('assigned_home_to_group', "Successfully assigned home (ID: %d) to group %s.");
  156. define('unassigned_home_from_user', "Successfully unassigned home (ID: %d) from user %s.");
  157. define('unassigned_home_from_group', "Successfully unassigned home (ID: %d) from group %s.");
  158. define('no_homes_assigned_to_user', "No homes assigned for user %s.");
  159. define('no_homes_assigned_to_group', "No homes assigned for group %s.");
  160. define('no_more_homes_available_that_can_be_assigned_for_this_user', "No more homes available that can be assigned for this user");
  161. define('no_more_homes_available_that_can_be_assigned_for_this_group', "No more homes available that can be assigned for this group");
  162. define('you_can_add_a_new_game_server_from', "You can add a new game server from %s.");
  163. define('no_remote_servers_available_please_add_at_least_one', "There are no remote servers available, please add at least one!");
  164. define('cloning_of_home_failed', "Cloning of home with id '%s' failed.");
  165. define('no_mods_to_clone', "No enabled mod(s) for this game yet. None will be cloned.");
  166. define('failed_to_add_mod', "Failed to add mod with id '%s' to home with id '%s'.");
  167. define('failed_to_update_mod_settings', "Failed to update mod settings for home with id '%s'.");
  168. define('successfully_cloned_mods', "Successfully cloned mods for home with id '%s'.");
  169. define('successfully_copied_home_database', "Successfully copied home database.");
  170. define('copying_home_remotely', "Copying the home on remote server from '%s' to '%s'.");
  171. define('cloning_home', "Cloning home called '%s'");
  172. define('current_home_path', "Current home path");
  173. define('current_home_path_info', "The current location of the copied home on remote server.");
  174. define('clone_home', "Clone Home");
  175. define('new_home_name', "New Home Name");
  176. define('new_home_path', "New Home Path");
  177. define('agent_ip', "Agent IP");
  178. define('game_server_copy_is_running', "Game server copy is running...");
  179. define('game_server_copy_was_successful', "Game server copy was successful");
  180. define('game_server_copy_failed_with_return_code', "Game server copy failed with return code %s");
  181. define('clone_mods', "Clone Mods");
  182. define('game_server_owner', "Game server owner");
  183. define('the_name_of_the_server_to_help_users_to_identify_it', "The name of the server to help users to identify it.");
  184. define('ips_and_ports_used_in_this_home', "IPs and Ports used in this home");
  185. define('note_ips_and_ports_are_not_cloned', "Note - IPs and Ports are not cloned");
  186. define('mods_and_settings_for_this_game_server', "Mods and settings for this game server");
  187. define('sure_to_delete_serverid_from_remoteip_and_directory', "Are you sure you want to delete game server (ID: %s) from server %s and is in directory %s");
  188. define('yes_and_delete_the_files', "Yes and Delete the files");
  189. define('failed_to_remove_gamehome_from_database', "Failed to remove gamehome from database.");
  190. define('successfully_deleted_game_server_with_id', "Successfully deleted game server with ID %s.");
  191. define('failed_to_remove_ftp_account_from_remote_server', "Failed to remove FTP account from remote server.");
  192. define('remove_it_anyway', "Would you like to remove it anyway?");
  193. define('sucessfully_deleted', "Sucessfully deleted %s");
  194. define('the_agent_had_a_problem_deleting', "The Agent had a problem while deleting %s. Please, check the Agent's log.");
  195. define('connection_timeout_or_problems_reaching_the_agent', "Connection timeout or problems with reaching the Agent");
  196. define('does_not_exist_yet', "Does not exist yet.");
  197. define('go_to_custom_fields', "Go to Custom Fields");
  198. define('back_to_edit_server', "Back to edit server");
  199. define('update_settings', "Update settings");
  200. define('settings_updated', "Settings updated.");
  201. define('selected_path_already_in_use', "The selected path is already in use.");
  202. define('browse', "Browse");
  203. define('cancel', "Cancel");
  204. define('set_this_path', "Set this path");
  205. define('select_home_path', "Select home path");
  206. define('folder', "Folder");
  207. define('owner', "Owner");
  208. define('group', "Group");
  209. define('level_up', "Level up");
  210. define('level_up_info', "Back to the previous folder.");
  211. define('add_folder', "Add folder");
  212. define('add_folder_info', "Write the name for the new folder, then click on the icon.");
  213. define('valid_user', "Please specify a valid user.");
  214. define('valid_group', "Please specify a valid group.");
  215. define('set_affinity', "Set Server Affinity");
  216. define('cpu_affinity_info', "Select the CPU core(s) you want to assign to the game server.");
  217. define('expiration_date_changed', "Expiration date for selected home has been changed.");
  218. define('expiration_date_could_not_be_changed', "Expiration date for selected home could not be changed.");
  219. define('search', "Search");
  220. define('ftp_account_username_too_long', "FTP username is too long. Try a shorter username no longer than 20 characters.");
  221. define('ftp_account_password_too_long', "FTP password is too long. Try a shorter password no longer than 20 characters.");
  222. define('other_servers_exist_with_path_please_change', "Other homes exist with the same path. It is recommended (but not required) that you change this path to something unique. You may have problems if you do NOT.");
  223. ?>