fixed en to en-us

This commit is contained in:
Nuno Miguel Reis
2012-10-11 00:09:40 +00:00
parent e1d5d72d28
commit 98a4e42dae
3 changed files with 3 additions and 3 deletions

View File

@@ -91,7 +91,7 @@ require_once "includes/paging.php";
echo " <td valign='top' class='".$row_style[$c]."'>".$row['category']."&nbsp;</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".$row['subcategory']."&nbsp;</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".$row['version']."&nbsp;</td>\n";
echo " <td valign='top' class='".$row_style[$c]."' width='35%'>".$row['description']['en']."&nbsp;</td>\n";
echo " <td valign='top' class='".$row_style[$c]."' width='35%'>".$row['description']['en-us']."&nbsp;</td>\n";
echo " <td valign='top' align='left' nowrap='nowrap' width='42'>\n";
echo " &nbsp;<a href='apps_edit.php?id=".$row['uuid']."' alt='edit'>$v_link_label_edit</a>\n";
echo " <a href='apps_delete.php?id=".$row['uuid']."' alt='delete' onclick=\"return confirm('Do you really want to delete this?')\">$v_link_label_delete</a>\n";

View File

@@ -130,7 +130,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$category = $row['category'];
$subcategory = $row['subcategory'];
$version = $row['version'];
$description = $row['description']['en'];
$description = $row['description']['en-us'];
}
}
}

View File

@@ -219,7 +219,7 @@ require_once "includes/paging.php";
//list all the permissions
foreach($apps as $app) {
$app_name = $app['name'];
$description = $app['description']['en'];
$description = $app['description']['en-us'];
echo "<strong>".$app_name."</strong><br />\n";
echo "".$description."<br /><br />";