Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spanish Version #725

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions admin/admin_schedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,9 @@ function removeLastTeam()
// FFA settings.
$body .= $lng->getTrn('admin/schedule/as_type').'<br>';
$body .= '<select name="round">';
$T_ROUNDS = Match::getRounds();;
global $T_ROUNDS;
foreach ($T_ROUNDS as $r => $d) {
$body .= "<option value='$r' ".(($addMatchToFFA && isset($_POST['round']) && $r == $_POST['round']) ? 'SELECTED' : '').">".$d."</option>\n";
$body .= "<option value='$r' ".(($addMatchToFFA && isset($_POST['round']) && $r == $_POST['round']) ? 'SELECTED' : '').">".$lng->getTrn($d)."</option>\n";
}
$body .= '</select>';
echo "<div id='OPTS_FFA_TOUR_SETS'>$body</div>\n";
Expand Down Expand Up @@ -309,3 +309,5 @@ function removeLastTeam()
var SL = document.getElementById('selectedlist');
var TEAMS = document.getElementById('teams');
</script>

<?php
2 changes: 1 addition & 1 deletion cssmenu/js/jquery/jquery.dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ $(document).ready(function(){
});


}).Statistics
});Statistics
3 changes: 1 addition & 2 deletions handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,5 +256,4 @@
fatal("Sorry. I don't know what the type '$_GET[type]' means.\n");
}

mysql_close($conn);

mysql_close($conn);
15 changes: 3 additions & 12 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,14 @@
if (!defined('T_NO_STARTUP') && file_exists('install.php'))
die('Please remove <i>install.php</i> before using OBBLM.');

//error_reporting(E_ALL);
error_reporting((E_ALL | E_STRICT) & ~E_DEPRECATED);
error_reporting(E_ALL);
session_start();

/*********************
* General
*********************/

define('OBBLM_VERSION', '0.97 SVN');
define('OBBLM_VERSION', '0.96');
$credits = array('Pierluigi Masia', 'Mag Merli', 'Lars Scharrenberg', 'Tim Haini', 'Daniel Straalman', 'Juergen Unfried', 'Sune Radich Christensen', 'Michael Bielec', 'Grégory Romé', 'Goiz Ruiz de Gopegui', 'Ryan Williams', 'Ian Williams');
define('MAX_RECENT_GAMES', 15); // This limits the number of rows shown in the "recent/upcoming games" tables.
define('MAX_TNEWS', 3); // This number of entries are shown on the team news board.
Expand Down Expand Up @@ -156,12 +155,4 @@
setupGlobalVars(T_SETUP_GLOBAL_VARS__COMMON);
require_once('modules/modsheader.php'); # Registration of modules.
setupGlobalVars(T_SETUP_GLOBAL_VARS__POST_LOAD_MODULES);
}

/******************************
Translate skills globally
******************************/
global $lng;
$lng->TranslateSkills();


}
3 changes: 1 addition & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,4 @@

HTMLOUT::frame_end(); // Spit out all the end-tags.
mysql_close($conn);
MTS('END OF SCRIPT');

MTS('END OF SCRIPT');
Loading