Ajout entre dans menu pour mise a jour Dolibarr
This commit is contained in:
parent
8393500dbd
commit
c5688e8665
74
htdocs/admin/tools/update.php
Normal file
74
htdocs/admin/tools/update.php
Normal file
@ -0,0 +1,74 @@
|
||||
<?php
|
||||
/* Copyright (C) 2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* $Id$
|
||||
* $Source$
|
||||
*/
|
||||
|
||||
/**
|
||||
\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");
|
||||
|
||||
if (! $user->admin)
|
||||
accessforbidden();
|
||||
|
||||
if ($_GET["msg"]) $message='<div class="error">'.$_GET["msg"].'</div>';
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Actions
|
||||
*/
|
||||
if ($_POST["action"]=='update')
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Affichage page
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
|
||||
print_fiche_titre($langs->trans("Upgrade"),'','setup');
|
||||
print '<br>';
|
||||
|
||||
print $langs->trans("Version").' : <b>'.DOL_VERSION.'</b><br>';
|
||||
print '<br>';
|
||||
|
||||
print $langs->trans("Upgrade").'<br>';
|
||||
print $langs->trans("FeatureNotYetAvailable");
|
||||
|
||||
print '<br>';
|
||||
print '<br>';
|
||||
|
||||
print $langs->trans("AddExtensionThemeModuleOrOther").'<br>';
|
||||
print $langs->trans("FeatureNotYetAvailable");
|
||||
|
||||
print '</form>';
|
||||
|
||||
llxFooter('$Date$ - $Revision$');
|
||||
?>
|
||||
@ -154,6 +154,7 @@ class MenuLeft {
|
||||
if ($leftmenu=="admintools") $newmenu->add_submenu(DOL_URL_ROOT."/admin/tools/dolibarr_export.php", $langs->trans("Backup"),1);
|
||||
if ($leftmenu=="admintools") $newmenu->add_submenu(DOL_URL_ROOT."/admin/tools/dolibarr_import.php", $langs->trans("Restore"),1);
|
||||
if ($leftmenu=="admintools") $newmenu->add_submenu(DOL_URL_ROOT."/admin/tools/purge.php", $langs->trans("Purge"),1);
|
||||
if ($leftmenu=="admintools") $newmenu->add_submenu(DOL_URL_ROOT."/admin/tools/update.php", $langs->trans("Upgrade"),1);
|
||||
}
|
||||
|
||||
$langs->load("users");
|
||||
|
||||
@ -70,8 +70,8 @@ BackupResult=Backup result
|
||||
BackupFileSuccessfullyCreated=Backup file successfully generated
|
||||
YouCanDownloadBackupFile=Generated files can now be downlaoded
|
||||
NoBackupFileAvailable=No backup files available.
|
||||
ToBuildBackupFileClickHere=To build a backup file, click <a href="%s">here</a>.
|
||||
ExportMethod=Export method
|
||||
ToBuildBackupFileClickHere=To build a backup file, click <a href="%s">here</a>.
|
||||
Yes=Yes
|
||||
No=No
|
||||
AutoDetectLang=Autodetect (browser language)
|
||||
@ -95,7 +95,6 @@ DolibarrProjectLeader=Project leader
|
||||
OtherDeveloppers=Other developers/contributors
|
||||
OfficialWebSite=International official web site
|
||||
OfficialWebSiteFr=French official web site
|
||||
Informations=Information
|
||||
CurrentTheme=Current theme
|
||||
CurrentTopMenuHandler=Current top menu handler
|
||||
CurrentLeftMenuHandler=Current left menu handler
|
||||
@ -333,6 +332,8 @@ AtEndOfMonth=At end of month
|
||||
Offset=Offset
|
||||
AlwaysActive=Always active
|
||||
UpdateRequired=Your system needs to be updated. For this click on <a href="%s">Update now</a>.
|
||||
Upgrade=Upgrade
|
||||
AddExtensionThemeModuleOrOther=Add extension (theme, module, ...)
|
||||
WebServer=Web server
|
||||
DocumentRootServer=Web server root directory
|
||||
DataRootServer=Data files directory
|
||||
|
||||
@ -332,6 +332,8 @@ AtEndOfMonth=En fin de mois
|
||||
Offset=Décalage
|
||||
AlwaysActive=Toujours actif
|
||||
UpdateRequired=Votre système nécessite une mise à jour. Pour cela cliquez sur <a href="%s">Mettre à jour</a>.
|
||||
Upgrade=Mise à jour
|
||||
AddExtensionThemeModuleOrOther=Ajout extension (theme, module, ...)
|
||||
WebServer=Serveur Web
|
||||
DocumentRootServer=Répertoire racine des pages web
|
||||
DataRootServer=Répertoire racine des fichiers de données
|
||||
|
||||
Loading…
Reference in New Issue
Block a user