forked from science-ation/science-ation
Bug #0000056 - Change variable wording of filterdivisionbycategory
This commit is contained in:
parent
5e8aa4ca2b
commit
2ad2b58233
@ -61,17 +61,17 @@
|
|||||||
$q=mysql_query("SELECT * FROM config WHERE year=0 ORDER BY var");
|
$q=mysql_query("SELECT * FROM config WHERE year=0 ORDER BY var");
|
||||||
echo "<form method=\"post\" action=\"variables.php\">";
|
echo "<form method=\"post\" action=\"variables.php\">";
|
||||||
echo "<input type=\"hidden\" name=\"action\" value=\"save\">\n";
|
echo "<input type=\"hidden\" name=\"action\" value=\"save\">\n";
|
||||||
echo "<table>";
|
echo "<table cellpadding=\"5\">";
|
||||||
echo "<tr><td colspan=\"3\"><h3>".i18n("Global configuration settings")."</h3></td></tr>";
|
echo "<tr><td colspan=\"3\"><h3>".i18n("Global configuration settings")."</h3></td></tr>";
|
||||||
while($r=mysql_fetch_object($q))
|
while($r=mysql_fetch_object($q))
|
||||||
{
|
{
|
||||||
if($r->var=="FAIRYEAR" || $r->var=="DBVERSION")
|
if($r->var=="FAIRYEAR" || $r->var=="DBVERSION")
|
||||||
{
|
{
|
||||||
echo "<tr><td>$r->var</td><td>".i18n($r->description)."</td><td>$r->val</td></tr>";
|
echo "<tr><td><b>$r->var</b> - ".i18n($r->description)."</td><td>$r->val</td></tr>";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
echo "<tr><td>$r->var</td><td>".i18n($r->description)."</td><td><input type=\"text\" name=\"specialconfig[$r->var]\" value=\"$r->val\" /></td></tr>";
|
echo "<tr><td><b>$r->var</b> - ".i18n($r->description)."</td><td><input type=\"text\" name=\"specialconfig[$r->var]\" value=\"$r->val\" /></td></tr>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -80,7 +80,7 @@
|
|||||||
$q=mysql_query("SELECT * FROM config WHERE year='".$config['FAIRYEAR']."' ORDER BY var");
|
$q=mysql_query("SELECT * FROM config WHERE year='".$config['FAIRYEAR']."' ORDER BY var");
|
||||||
while($r=mysql_fetch_object($q))
|
while($r=mysql_fetch_object($q))
|
||||||
{
|
{
|
||||||
echo "<tr><td>$r->var</td><td>".i18n($r->description)."</td><td><input type=\"text\" name=\"saveconfig[$r->var]\" value=\"$r->val\" /></td></tr>";
|
echo "<tr><td><b>$r->var</b> - ".i18n($r->description)."</td><td><input type=\"text\" name=\"saveconfig[$r->var]\" value=\"$r->val\" /></td></tr>";
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,2 +1,4 @@
|
|||||||
UPDATE `config` SET `val`='The single password to use for judge registration if judge_registration_type is singlepassword. Leave blank if not using singlepassword judge registration' WHERE `var`='judge_registration_singlepassword';
|
UPDATE `config` SET `description`='The single password to use for judge registration if judge_registration_type is singlepassword. Leave blank if not using singlepassword judge registration' WHERE `var`='judge_registration_singlepassword';
|
||||||
UPDATE `emails` SET `description`='This is sent to a new judge when they are invited using the invite judges administration section, only available when judge_registration_type=invite' WHERE `val`='new_judge_invite';
|
UPDATE `emails` SET `description`='This is sent to a new judge when they are invited using the invite judges administration section, only available when judge_registration_type=invite' WHERE `val`='new_judge_invite';
|
||||||
|
UPDATE `config` SET `description`='Allows for the setup of different divisions for each category (yes|no)' WHERE `var`='filterdivisionbycategory';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user