Suite de la fonction gnrique d'export
This commit is contained in:
parent
e9e8da4b70
commit
b321ce76f8
59
htdocs/exports/export.php
Normal file
59
htdocs/exports/export.php
Normal file
@ -0,0 +1,59 @@
|
||||
<?php
|
||||
/* Copyright (C) 2005 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/exports/export.php
|
||||
\ingroup core
|
||||
\brief Page d'edition d'un export
|
||||
\version $Revision$
|
||||
*/
|
||||
|
||||
require("./pre.inc.php");
|
||||
|
||||
$langs->load("commercial");
|
||||
$langs->load("orders");
|
||||
|
||||
$user->getrights();
|
||||
|
||||
if (! $user->societe_id == 0)
|
||||
accessforbidden();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
llxHeader('',$langs->trans("NewExport"));
|
||||
|
||||
print_fiche_titre($langs->trans("NewExport"));
|
||||
|
||||
print '<table class="notopnoleftnoright" width="100%">';
|
||||
|
||||
|
||||
|
||||
print '</table>';
|
||||
|
||||
$db->close();
|
||||
|
||||
|
||||
llxFooter('$Date$ - $Revision$');
|
||||
|
||||
?>
|
||||
@ -158,6 +158,7 @@ $sql .= " FROM ".MAIN_DB_PREFIX."export as e";
|
||||
$result=$db->query($sql);
|
||||
if ($result)
|
||||
{
|
||||
print '<br>';
|
||||
print '<table class="noborder" width="100%">';
|
||||
print '<tr class="liste_titre">';
|
||||
print '<td colspan="2">'.$langs->trans("ExportProfiles").'</td>';
|
||||
@ -181,8 +182,9 @@ if ($result)
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
|
||||
print "</table>";
|
||||
}
|
||||
print "</table><br>";
|
||||
|
||||
|
||||
print '</td></tr>';
|
||||
|
||||
@ -38,6 +38,7 @@ function llxHeader($head = "", $title = "")
|
||||
$menu = new Menu();
|
||||
|
||||
$menu->add(DOL_URL_ROOT."/exports/index.php", $langs->trans("Exports"));
|
||||
$menu->add_submenu(DOL_URL_ROOT."/exports/export.php", $langs->trans("NewExport"));
|
||||
|
||||
left_menu($menu->liste);
|
||||
}
|
||||
|
||||
@ -562,6 +562,7 @@ class MenuLeft {
|
||||
}
|
||||
|
||||
$newmenu->add_submenu(DOL_URL_ROOT."/exports/index.php?leftmenu=export",$langs->trans("Exports"),0,1);
|
||||
$newmenu->add_submenu(DOL_URL_ROOT."/exports/export.php?leftmenu=export",$langs->trans("NewExport"),1,1);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@ -147,6 +147,7 @@ Permission71=Read members
|
||||
Permission72=Create/modify members
|
||||
Permission74=Delete members
|
||||
Permission75=Setup types and attributes for members
|
||||
Permission76=Export datas
|
||||
Permission78=Read subscriptions
|
||||
Permission79=Create/modify subscriptions
|
||||
Permission81=Read customers orders
|
||||
|
||||
@ -36,6 +36,9 @@ UseAnExternalHttpLinkOrRelativeDolibarrLink=Use an external http URL or a relati
|
||||
ChooseIfANewWindowMustBeOpenedOnClickOnBookmark=Choose if page opened by link must appear on current or new window
|
||||
BookmarksManagement=Bookmarks management
|
||||
ListOfBookmarks=List of bookmarks
|
||||
NoExportableData=No exportable data (no modules with exportable data loaded, or missing permissions)
|
||||
ToExport=Export
|
||||
NewExport=New export
|
||||
##### Webcal #####
|
||||
LoginWebcal=Login for Webcalendar
|
||||
AddCalendarEntry=Add entry in calendar
|
||||
|
||||
@ -147,6 +147,7 @@ Permission71=Consulter les fiches adh
|
||||
Permission72=Créer/modifier les adhérents
|
||||
Permission74=Supprimer les adhérents
|
||||
Permission75=Configurer les types et caractéristiques des adhérents
|
||||
Permission76=Exporter les données
|
||||
Permission78=Consulter les cotisations
|
||||
Permission79=Créer/modifier les cotisations
|
||||
Permission81=Consulter les commandes clients
|
||||
|
||||
@ -36,6 +36,9 @@ UseAnExternalHttpLinkOrRelativeDolibarrLink=Saisir une URL http externe ou une U
|
||||
ChooseIfANewWindowMustBeOpenedOnClickOnBookmark=Choisir si le raccourci doit ouvrir la page dans une nouvelle fenêtre ou fenêtre courante
|
||||
BookmarksManagement=Gestion des marque-pages
|
||||
ListOfBookmarks=Liste des marque-pages
|
||||
NoExportableData=Pas de données exportables (pas de modules avec données exportables chargés, ou manque de permissions)
|
||||
ToExport=Exporter
|
||||
NewExport=Nouvel export
|
||||
##### Webcal #####
|
||||
LoginWebcal=Login Webcalendar
|
||||
AddCalendarEntry=Ajouter entrée dans le calendrier
|
||||
|
||||
Loading…
Reference in New Issue
Block a user