mirror of
https://gitlab.com/CodeSolutionsProject/CodeShare.git
synced 2026-03-11 04:42:05 +01:00
Add languages, categorized them, add rechaptcha
This commit is contained in:
@@ -20,7 +20,7 @@ function lastToArray($db,&$query,&$supported){
|
||||
"version" => $var["Version"],
|
||||
"name" => $var["Name"],
|
||||
"nick" => $var["nick"],
|
||||
"lLang" => $supported[$var["Lang"]],
|
||||
"lLang" => $supported[$var["Lang"]][0],
|
||||
"description" => $var["Description"],
|
||||
"code" => html_entity_decode($var["Code"]),
|
||||
);
|
||||
@@ -37,7 +37,7 @@ function allCodeToArray(&$query,&$supported){
|
||||
"name" => $query['Name'],
|
||||
"nick" => $query['nick'],
|
||||
"idu" => $query['IDU'],
|
||||
"lLang" => $supported[$query['Lang']],
|
||||
"lLang" => $supported[$query['Lang']][0],
|
||||
"description" => $query['Description'],
|
||||
"code" => html_entity_decode($query['Code']),
|
||||
"input" => html_entity_decode($query['Input']),
|
||||
@@ -56,7 +56,7 @@ function otherImplementationToArray($db,&$query,&$supported){
|
||||
$array = array
|
||||
( "lang" => $var["Lang"],
|
||||
"version" => $var["Version"],
|
||||
"lLang" => $supported[$var["Lang"]],
|
||||
"lLang" => $supported[$var["Lang"]][0],
|
||||
"code" => html_entity_decode($var["Code"]),
|
||||
);
|
||||
array_push($other,$array);
|
||||
|
||||
Reference in New Issue
Block a user