Fix: traduction non charge

This commit is contained in:
Regis Houssin 2007-04-27 09:19:42 +00:00
parent dbb2008e81
commit aac16cad06
4 changed files with 25 additions and 21 deletions

View File

@ -30,6 +30,7 @@ require("./pre.inc.php");
$langs->load("admin");
$langs->load("users");
$langs->load("other");
if (!$user->admin)
accessforbidden();

View File

@ -31,6 +31,7 @@ require("./pre.inc.php");
$langs->load("users");
$langs->load("admin");
$langs->load("other");
if (!$user->admin) accessforbidden();

View File

@ -30,6 +30,7 @@ require("./pre.inc.php");
$langs->load("users");
$langs->load("admin");
$langs->load("other");
if (!$user->admin) accessforbidden();

View File

@ -23,33 +23,34 @@
\file htdocs/admin/tools/update.php
\brief Page de mise a jour online de dolibarr
\version $Revision$
*/
*/
require("./pre.inc.php");
include_once $dolibarr_main_document_root."/lib/databases/".$conf->db->type.".lib.php";
$langs->load("admin");
$langs->load("other");
if (! $user->admin)
accessforbidden();
if ($_GET["msg"]) $message='<div class="error">'.$_GET["msg"].'</div>';
/*
* Actions
*/
if ($_POST["action"]=='update')
{
if ($_GET["msg"]) $message='<div class="error">'.$_GET["msg"].'</div>';
}
/*
* Affichage page
*/
/*
* Actions
*/
if ($_POST["action"]=='update')
{
}
/*
* Affichage page
*/
llxHeader();
@ -67,8 +68,8 @@ print '<br>';
print $langs->trans("AddExtensionThemeModuleOrOther").'<br>';
print $langs->trans("FeatureNotYetAvailable");
print '</form>';
print '</form>';
llxFooter('$Date$ - $Revision$');
?>