Add help link to online wiki
This commit is contained in:
parent
babdec527f
commit
c11cef6d47
@ -160,14 +160,11 @@ if ($user->rights->adherent->cotisation->creer && $_POST["action"] == 'cotisatio
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* View
|
||||
*/
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* Mode affichage */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
llxHeader();
|
||||
llxHeader('',$langs->trans("Subscriptions"),'EN:Module_Foundations|FR:Module_Adhérents|ES:Módulo_Miembros');
|
||||
|
||||
$html = new Form($db);
|
||||
|
||||
|
||||
@ -136,10 +136,10 @@ if ($allowinsertbankafter && $_POST["action"] == '2bank' && $_POST["rowid"] !=''
|
||||
|
||||
|
||||
/*
|
||||
* Affichage page
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
llxHeader('',$langs->trans("ListOfSubscriptions"),'EN:Module_Foundations|FR:Module_Adhérents|ES:Módulo_Miembros');
|
||||
|
||||
if ($msg) print $msg.'<br>';
|
||||
|
||||
|
||||
@ -612,7 +612,7 @@ if ($user->rights->adherent->creer && $_POST["action"] == 'confirm_add_spip' &&
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
llxHeader('',$langs->trans("Member"),'EN:Module_Foundations|FR:Module_Adhérents|ES:Módulo_Miembros');
|
||||
|
||||
$html = new Form($db);
|
||||
|
||||
|
||||
@ -37,7 +37,7 @@ $langs->load("members");
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader($langs->trans("Members"),'','EN:Fundations|FR:Adherents|ES:Miembros');
|
||||
llxHeader('',$langs->trans("Members"),'EN:Module_Foundations|FR:Module_Adhérents|ES:Módulo_Miembros');
|
||||
|
||||
$staticmember=new Adherent($db);
|
||||
$statictype=new AdherentType($db);
|
||||
|
||||
@ -39,20 +39,16 @@ if (!$user->rights->adherent->lire)
|
||||
|
||||
|
||||
/*
|
||||
* Visualisation de la fiche
|
||||
*
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
llxHeader('',$langs->trans("Member"),'EN:Module_Foundations|FR:Module_Adhérents|ES:Módulo_Miembros');
|
||||
|
||||
$adh = new Adherent($db);
|
||||
$adh->id=$_GET["id"];
|
||||
$adh->fetch($_GET["id"]);
|
||||
$adh->info($_GET["id"]);
|
||||
|
||||
/*
|
||||
* Affichage onglets
|
||||
*/
|
||||
$head = member_prepare_head($adh);
|
||||
|
||||
dol_fiche_head($head, 'info', $langs->trans("Member"), 0, 'user');
|
||||
|
||||
@ -101,7 +101,7 @@ if ($_GET["action"] == 'dolibarr2ldap')
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
llxHeader('',$langs->trans("Member"),'EN:Module_Foundations|FR:Module_Adhérents|ES:Módulo_Miembros');
|
||||
|
||||
$html = new Form($db);
|
||||
|
||||
|
||||
@ -65,7 +65,7 @@ if ($_REQUEST["button_removefilter"])
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
llxHeader('',$langs->trans("Member"),'EN:Module_Foundations|FR:Module_Adhérents|ES:Módulo_Miembros');
|
||||
|
||||
$form=new Form($db);
|
||||
|
||||
|
||||
@ -65,11 +65,11 @@ if ($_POST["action"] == 'update' && $user->rights->adherent->creer && ! $_POST["
|
||||
|
||||
|
||||
|
||||
/******************************************************************************/
|
||||
/* Affichage fiche */
|
||||
/******************************************************************************/
|
||||
/*
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
llxHeader('',$langs->trans("Member"),'EN:Module_Foundations|FR:Module_Adhérents|ES:Módulo_Miembros');
|
||||
|
||||
$html = new Form($db);
|
||||
|
||||
|
||||
@ -18,10 +18,11 @@
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/** \file htdocs/adherents/options.php
|
||||
\ingroup adherent
|
||||
\brief Page de configuratin des champs optionnels
|
||||
\version $Id$
|
||||
/**
|
||||
* \file htdocs/adherents/options.php
|
||||
* \ingroup adherent
|
||||
* \brief Page de configuratin des champs optionnels
|
||||
* \version $Id$
|
||||
*/
|
||||
|
||||
require("./pre.inc.php");
|
||||
@ -104,8 +105,7 @@ if ($_GET["action"] == 'delete' && $user->rights->adherent->configurer)
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
|
||||
llxHeader('',$langs->trans("OptionalFieldsSetup"),'EN:Module_Foundations|FR:Module_Adhérents|ES:Módulo_Miembros');
|
||||
|
||||
|
||||
print_titre($langs->trans("OptionalFieldsSetup"));
|
||||
|
||||
@ -31,7 +31,7 @@ function llxHeader($head = '', $title='', $help_url='')
|
||||
|
||||
$langs->load("members");
|
||||
|
||||
top_menu($head);
|
||||
top_menu($head, $title);
|
||||
|
||||
$menu = new Menu();
|
||||
|
||||
|
||||
@ -110,7 +110,7 @@ if ($user->rights->adherent->configurer && $_GET["action"] == 'commentaire')
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
llxHeader('',$langs->trans("MembersTypeSetup"),'EN:Module_Foundations|FR:Module_Adhérents|ES:Módulo_Miembros');
|
||||
|
||||
$form=new Form($db);
|
||||
|
||||
|
||||
@ -69,10 +69,10 @@ if ($_GET["action"] == 'setvalue' && $user->admin)
|
||||
|
||||
|
||||
/*
|
||||
* Visu
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
llxHeader('',$langs->trans("LDAPSetup"),'EN:Module_LDAP_En|FR:Module_LDAP|ES:Módulo_LDAP');
|
||||
|
||||
|
||||
$head = ldap_prepare_head();
|
||||
|
||||
@ -78,7 +78,7 @@ if ($_GET["action"] == 'setvalue' && $user->admin)
|
||||
* Visu
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
llxHeader('',$langs->trans("LDAPSetup"),'EN:Module_LDAP_En|FR:Module_LDAP|ES:Módulo_LDAP');
|
||||
|
||||
$head = ldap_prepare_head();
|
||||
|
||||
|
||||
@ -66,10 +66,10 @@ if ($_GET["action"] == 'setvalue' && $user->admin)
|
||||
|
||||
|
||||
/*
|
||||
* Visu
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
llxHeader('',$langs->trans("LDAPSetup"),'EN:Module_LDAP_En|FR:Module_LDAP|ES:Módulo_LDAP');
|
||||
|
||||
$head = ldap_prepare_head();
|
||||
|
||||
|
||||
@ -89,10 +89,10 @@ if ($_GET["action"] == 'setvalue' && $user->admin)
|
||||
|
||||
|
||||
/*
|
||||
* Visu
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
llxHeader('',$langs->trans("LDAPSetup"),'EN:Module_LDAP_En|FR:Module_LDAP|ES:Módulo_LDAP');
|
||||
|
||||
$head = ldap_prepare_head();
|
||||
|
||||
|
||||
@ -21,11 +21,11 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
\file htdocs/admin/ldap_users.php
|
||||
\ingroup ldap
|
||||
\brief Page d'administration/configuration du module Ldap
|
||||
\version $Id$
|
||||
*/
|
||||
* \file htdocs/admin/ldap_users.php
|
||||
* \ingroup ldap
|
||||
* \brief Page d'administration/configuration du module Ldap
|
||||
* \version $Id$
|
||||
*/
|
||||
|
||||
require("./pre.inc.php");
|
||||
require_once(DOL_DOCUMENT_ROOT."/lib/admin.lib.php");
|
||||
@ -80,7 +80,7 @@ if ($_GET["action"] == 'setvalue' && $user->admin)
|
||||
* Visu
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
llxHeader('',$langs->trans("LDAPSetup"),'EN:Module_LDAP_En|FR:Module_LDAP|ES:Módulo_LDAP');
|
||||
|
||||
$head = ldap_prepare_head();
|
||||
|
||||
|
||||
@ -56,7 +56,7 @@ if ($_POST["action"]=='update')
|
||||
* View
|
||||
*/
|
||||
|
||||
$wikihelp='EN:Installation_/_Upgrade|FR:Installation_/_Mise_a_jour|ES:Instalación_/_Actualización';
|
||||
$wikihelp='EN:Installation_/_Upgrade|FR:Installation_/_Mise_a_jour|ES:Instalaci&omodulon_/_Actualizaci&omodulon';
|
||||
llxHeader($langs->trans("Upgrade"),'',$wikihelp);
|
||||
|
||||
print_fiche_titre($langs->trans("Upgrade"),'','setup');
|
||||
|
||||
@ -104,7 +104,7 @@ if ($action=='delete_action')
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader('','','EN:Module_Agenda_En|FR:Module_Agenda|ES:Módulo_Agenda');
|
||||
llxHeader('','','EN:Module_Agenda_En|FR:Module_Agenda|ES:M&omodulodulo_Agenda');
|
||||
|
||||
$form=new Form($db);
|
||||
|
||||
|
||||
@ -60,6 +60,7 @@ $search_email=isset($_GET["search_email"])?$_GET["search_email"]:$_POST["search_
|
||||
/*
|
||||
* Actions
|
||||
*/
|
||||
|
||||
if ($_GET["action"] == 'add')
|
||||
{
|
||||
$modulename=$_GET["module"];
|
||||
@ -149,10 +150,10 @@ if ($_POST["button_removefilter"])
|
||||
|
||||
|
||||
/*
|
||||
* Liste des destinataires
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader("","",$langs->trans("MailCard"));
|
||||
llxHeader('',$langs->trans("Mailing"),'EN:Module_EMailing|FR:Module_Mailing|ES:Módulo_Mailing');
|
||||
|
||||
$html = new Form($db);
|
||||
|
||||
|
||||
@ -471,7 +471,7 @@ if (! empty($_POST["cancel"]))
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader("","","Fiche Mailing");
|
||||
llxHeader('',$langs->trans("Mailing"),'EN:Module_EMailing|FR:Module_Mailing|ES:Módulo_Mailing');
|
||||
|
||||
$html = new Form($db);
|
||||
$htmlother = new FormOther($db);
|
||||
|
||||
@ -18,11 +18,11 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
\file htdocs/comm/mailing/index.php
|
||||
\ingroup mailing
|
||||
\brief Page accueil de la zone mailing
|
||||
\version $Id$
|
||||
*/
|
||||
* \file htdocs/comm/mailing/index.php
|
||||
* \ingroup mailing
|
||||
* \brief Page accueil de la zone mailing
|
||||
* \version $Id$
|
||||
*/
|
||||
|
||||
require("./pre.inc.php");
|
||||
require_once(DOL_DOCUMENT_ROOT."/lib/functions2.lib.php");
|
||||
@ -91,12 +91,12 @@ while (($file = readdir($handle))!==false)
|
||||
if (! $conf->$key->enabled || (! $user->admin && $mailmodule->require_admin))
|
||||
{
|
||||
$qualified=0;
|
||||
//print "Les prérequis d'activation du module mailing ne sont pas respectés. Il ne sera pas actif";
|
||||
//print "Les pr<EFBFBD>requis d'activation du module mailing ne sont pas respect<63>s. Il ne sera pas actif";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// Si le module mailing est qualifié
|
||||
// Si le module mailing est qualifi<EFBFBD>
|
||||
if ($qualified)
|
||||
{
|
||||
$var = !$var;
|
||||
|
||||
@ -39,7 +39,7 @@ accessforbidden();
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
llxHeader('',$langs->trans("Mailing"),'EN:Module_EMailing|FR:Module_Mailing|ES:Módulo_Mailing');
|
||||
|
||||
$html = new Form($db);
|
||||
|
||||
|
||||
@ -18,17 +18,17 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
\file htdocs/comm/mailing/liste.php
|
||||
\ingroup mailing
|
||||
\brief Liste des mailings
|
||||
\version $Id$
|
||||
*/
|
||||
* \file htdocs/comm/mailing/liste.php
|
||||
* \ingroup mailing
|
||||
* \brief Liste des mailings
|
||||
* \version $Id$
|
||||
*/
|
||||
|
||||
require("./pre.inc.php");
|
||||
|
||||
if (!$user->rights->mailing->lire) accessforbidden();
|
||||
|
||||
// Sécurité accés client
|
||||
// S<EFBFBD>curit<EFBFBD> acc<63>s client
|
||||
if ($user->societe_id > 0)
|
||||
{
|
||||
$action = '';
|
||||
@ -54,7 +54,7 @@ $sref=isset($_GET["sref"])?$_GET["sref"]:$_POST["sref"];
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
llxHeader('',$langs->trans("Mailing"),'EN:Module_EMailing|FR:Module_Mailing|ES:Módulo_Mailing');
|
||||
|
||||
|
||||
$sql = "SELECT m.rowid, m.titre, m.nbemail, m.statut, m.date_creat as datec";
|
||||
|
||||
@ -32,30 +32,30 @@ $langs->load("mails");
|
||||
$langs->load("exports");
|
||||
|
||||
|
||||
function llxHeader($head = "", $title = "")
|
||||
function llxHeader($head = "", $title = "", $help_url="")
|
||||
{
|
||||
global $user, $conf, $langs;
|
||||
|
||||
|
||||
top_menu($head, $title);
|
||||
|
||||
|
||||
$menu = new Menu();
|
||||
|
||||
|
||||
if ($user->rights->mailing->lire)
|
||||
{
|
||||
$menu->add(DOL_URL_ROOT."/comm/mailing/index.php", $langs->trans("Mailings"));
|
||||
}
|
||||
|
||||
|
||||
if ($user->rights->mailing->creer)
|
||||
{
|
||||
$menu->add_submenu(DOL_URL_ROOT."/comm/mailing/fiche.php?action=create", $langs->trans("NewMailing"));
|
||||
}
|
||||
|
||||
|
||||
if ($user->rights->mailing->lire)
|
||||
{
|
||||
$menu->add_submenu(DOL_URL_ROOT."/comm/mailing/liste.php", $langs->trans("List"));
|
||||
}
|
||||
|
||||
left_menu($menu->liste);
|
||||
|
||||
left_menu($menu->liste, $help_url);
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
@ -193,7 +193,7 @@ if ($_REQUEST['action'] == 'builddoc')
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
llxHeader('',$langs->trans("Donations"),'EN:Module_Donations|FR:Module_Dons|ES:Módulo_Subvenciones');
|
||||
|
||||
$html=new Form($db);
|
||||
$formfile = new FormFile($db);
|
||||
|
||||
@ -15,17 +15,13 @@
|
||||
* 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/compta/dons/index.php
|
||||
\ingroup don
|
||||
\brief Page accueil espace don
|
||||
\version $Revision$
|
||||
\version $Id$
|
||||
*/
|
||||
|
||||
require("./pre.inc.php");
|
||||
@ -35,10 +31,10 @@ $langs->load("donations");
|
||||
|
||||
|
||||
/*
|
||||
* Affichage
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
|
||||
llxHeader('',$langs->trans("Donations"),'EN:Module_Donations|FR:Module_Dons|ES:Módulo_Subvenciones');
|
||||
|
||||
$donstatic=new Don($db);
|
||||
|
||||
@ -49,7 +45,7 @@ $sql.= " ORDER BY d.fk_statut";
|
||||
|
||||
$result = $db->query($sql);
|
||||
|
||||
if ($result)
|
||||
if ($result)
|
||||
{
|
||||
$num = $db->num_rows();
|
||||
$i = 0;
|
||||
@ -63,7 +59,7 @@ if ($result)
|
||||
}
|
||||
$db->free($result);
|
||||
} else {
|
||||
dol_print_error($db);
|
||||
dol_print_error($db);
|
||||
}
|
||||
|
||||
print_fiche_titre($langs->trans("DonationsArea"));
|
||||
|
||||
@ -15,16 +15,13 @@
|
||||
* 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/compta/dons/liste.php
|
||||
\ingroup don
|
||||
\brief Page de liste des dons
|
||||
\version $Revision$
|
||||
\version $Id$
|
||||
*/
|
||||
|
||||
require("./pre.inc.php");
|
||||
@ -48,10 +45,10 @@ $pagenext = $page + 1;
|
||||
|
||||
|
||||
/*
|
||||
* Affichage
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
|
||||
llxHeader('',$langs->trans("Donations"),'EN:Module_Donations|FR:Module_Dons|ES:Módulo_Subvenciones');
|
||||
|
||||
$donstatic=new Don($db);
|
||||
|
||||
@ -68,16 +65,16 @@ if ($statut >= 0)
|
||||
$sql .= " ORDER BY $sortfield $sortorder " . $db->plimit($conf->liste_limit, $offset);
|
||||
|
||||
$result = $db->query($sql);
|
||||
if ($result)
|
||||
if ($result)
|
||||
{
|
||||
$num = $db->num_rows($result);
|
||||
$i = 0;
|
||||
|
||||
|
||||
if ($statut >= 0)
|
||||
{
|
||||
print_barre_liste($libelle[$statut], $page, "liste.php", "&statut=$statut&sortorder=$sortorder&sortfield=$sortfield");
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
print_barre_liste($langs->trans("Donation"), $page, "liste.php", "&statut=$statut&sortorder=$sortorder&sortfield=$sortfield");
|
||||
}
|
||||
@ -97,7 +94,7 @@ if ($result)
|
||||
print_liste_field_titre($langs->trans("Amount"),"liste.php","d.amount","&page=$page&statut=$statut","",'align="right"',$sortfield,$sortorder);
|
||||
print_liste_field_titre($langs->trans("Status"),"liste.php","d.statut","&page=$page&statut=$statut","",'align="right"',$sortfield,$sortorder);
|
||||
print "</tr>\n";
|
||||
|
||||
|
||||
$var=True;
|
||||
while ($i < $num)
|
||||
{
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
@ -38,28 +38,28 @@ $libelle[2] = $langs->trans("DonationsPayed");
|
||||
$libelle[3] = $langs->trans("DonationsReceived");
|
||||
|
||||
|
||||
function llxHeader($head = "")
|
||||
function llxHeader($head = "", $title="", $help_url="")
|
||||
{
|
||||
global $user, $conf, $langs;
|
||||
|
||||
|
||||
$langs->load("donations");
|
||||
|
||||
top_menu($head);
|
||||
|
||||
|
||||
top_menu($head,$title);
|
||||
|
||||
$menu = new Menu();
|
||||
|
||||
|
||||
$menu->add(DOL_URL_ROOT."/compta/dons/",$langs->trans("Donations"));
|
||||
$menu->add_submenu(DOL_URL_ROOT."/compta/dons/fiche.php?action=create",$langs->trans("NewDonation"));
|
||||
$menu->add_submenu(DOL_URL_ROOT."/compta/dons/liste.php",$langs->trans("List"));
|
||||
$menu->add_submenu(DOL_URL_ROOT."/compta/dons/stats.php",$langs->trans("Statistics"));
|
||||
|
||||
|
||||
if ($conf->banque->enabled)
|
||||
{
|
||||
$langs->load("banks");
|
||||
$menu->add(DOL_URL_ROOT."/compta/bank/index.php",$langs->trans("Bank"));
|
||||
}
|
||||
|
||||
left_menu($menu->liste);
|
||||
|
||||
left_menu($menu->liste, $help_url);
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
@ -33,7 +33,7 @@ $langs->load("donations");
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
llxHeader('',$langs->trans("Donations"),'EN:Module_Donations|FR:Module_Dons|ES:Módulo_Subvenciones');
|
||||
|
||||
|
||||
print_fiche_titre($langs->trans("Statistics"));
|
||||
|
||||
@ -190,7 +190,7 @@ if ($_POST["action"] == 'update' && ! $_POST["cancel"] && $user->rights->societe
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
llxHeader('',$langs->trans("Contacts"),'EN:Module_Third_Parties|FR:Module_Tiers|ES:Módulo_Empresas');
|
||||
|
||||
$form = new Form($db);
|
||||
$formcompany = new FormCompany($db);
|
||||
|
||||
@ -100,7 +100,7 @@ if ($search_priv < 0) $search_priv='';
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader($langs->trans("Contacts"),'','EN:Third_Parties|FR:Tiers|ES:Empresas');
|
||||
llxHeader('',$langs->trans("Contacts"),'EN:Module_Third_Parties|FR:Module_Tiers|ES:Módulo_Empresas');
|
||||
|
||||
$form=new Form($db);
|
||||
|
||||
|
||||
@ -42,7 +42,7 @@ $result = restrictedArea($user, 'contact',$contactid,'socpeople');
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
llxHeader('',$langs->trans("Contacts"),'EN:Module_Third_Parties|FR:Module_Tiers|ES:Módulo_Empresas');
|
||||
|
||||
|
||||
$contact = new Contact($db);
|
||||
|
||||
@ -79,7 +79,7 @@ if ($_GET["action"] == 'dolibarr2ldap')
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
llxHeader('',$langs->trans("Contacts"),'EN:Module_Third_Parties|FR:Module_Tiers|ES:Módulo_Empresas');
|
||||
|
||||
$form = new Form($db);
|
||||
|
||||
|
||||
@ -70,16 +70,13 @@ if ($user->rights->societe->contact->creer)
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
llxHeader('',$langs->trans("Contacts"),'EN:Module_Third_Parties|FR:Module_Tiers|ES:Módulo_Empresas');
|
||||
|
||||
$form = new Form($db);
|
||||
|
||||
$contact = new Contact($db);
|
||||
$contact->fetch($_GET["id"], $user);
|
||||
|
||||
/*
|
||||
* Affichage onglets
|
||||
*/
|
||||
$head = contact_prepare_head($contact);
|
||||
|
||||
dol_fiche_head($head, 'perso', $langs->trans("Contact"), 0, 'contact');
|
||||
|
||||
@ -33,7 +33,7 @@ function llxHeader($head = '', $title='', $help_url='')
|
||||
$langs->load("companies");
|
||||
$langs->load("commercial");
|
||||
|
||||
top_menu($head);
|
||||
top_menu($head,$title);
|
||||
|
||||
$menu = new Menu();
|
||||
|
||||
|
||||
@ -244,13 +244,13 @@ if ($step == 2 && $action == 'select_model')
|
||||
|
||||
|
||||
/*
|
||||
* Affichage Pages des Etapes
|
||||
* View
|
||||
*/
|
||||
|
||||
|
||||
if ($step == 1 || ! $datatoexport)
|
||||
{
|
||||
llxHeader('',$langs->trans("NewExport"));
|
||||
llxHeader('',$langs->trans("NewExport"),'EN:Module_Exports_En|FR:Module_Exports|ES:Módulo_Exportaciones');
|
||||
|
||||
/*
|
||||
* Affichage onglets
|
||||
@ -323,7 +323,7 @@ if ($step == 1 || ! $datatoexport)
|
||||
|
||||
if ($step == 2 && $datatoexport)
|
||||
{
|
||||
llxHeader('',$langs->trans("NewExport"));
|
||||
llxHeader('',$langs->trans("NewExport"),'EN:Module_Exports_En|FR:Module_Exports|ES:Módulo_Exportaciones');
|
||||
|
||||
|
||||
/*
|
||||
@ -464,7 +464,7 @@ if ($step == 3 && $datatoexport)
|
||||
{
|
||||
asort($array_selected);
|
||||
|
||||
llxHeader('',$langs->trans("NewExport"));
|
||||
llxHeader('',$langs->trans("NewExport"),'EN:Module_Exports_En|FR:Module_Exports|ES:Módulo_Exportaciones');
|
||||
|
||||
/*
|
||||
* Affichage onglets
|
||||
@ -638,7 +638,7 @@ if ($step == 4 && $datatoexport)
|
||||
{
|
||||
asort($array_selected);
|
||||
|
||||
llxHeader('',$langs->trans("NewExport"));
|
||||
llxHeader('',$langs->trans("NewExport"),'EN:Module_Exports_En|FR:Module_Exports|ES:Módulo_Exportaciones');
|
||||
|
||||
/*
|
||||
* Affichage onglets
|
||||
|
||||
@ -41,7 +41,7 @@ $export->load_arrays($user);
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader('',$langs->trans("ExportsArea"));
|
||||
llxHeader('',$langs->trans("ExportsArea"),'EN:Module_Exports_En|FR:Module_Exports|ES:Módulo_Exportaciones');
|
||||
|
||||
print_fiche_titre($langs->trans("ExportsArea"));
|
||||
|
||||
|
||||
@ -250,7 +250,7 @@ $objmodelimport=new ModeleImports();
|
||||
|
||||
if ($step == 1 || ! $datatoimport)
|
||||
{
|
||||
llxHeader('',$langs->trans("NewImport"));
|
||||
llxHeader('',$langs->trans("NewImport"),'EN:Module_Imports_En|FR:Module_Imports|ES:Módulo_Importaciones');
|
||||
|
||||
/*
|
||||
* Affichage onglets
|
||||
@ -323,7 +323,7 @@ if ($step == 1 || ! $datatoimport)
|
||||
|
||||
if ($step == 2 && $datatoimport)
|
||||
{
|
||||
llxHeader('',$langs->trans("NewImport"));
|
||||
llxHeader('',$langs->trans("NewImport"),'EN:Module_Imports_En|FR:Module_Imports|ES:Módulo_Importaciones');
|
||||
|
||||
/*
|
||||
* Affichage onglets
|
||||
@ -510,7 +510,7 @@ if ($step == 3 && $datatoimport)
|
||||
|
||||
var_dump($array_match_file_to_database);
|
||||
|
||||
llxHeader('',$langs->trans("NewImport"));
|
||||
llxHeader('',$langs->trans("NewImport"),'EN:Module_Imports_En|FR:Module_Imports|ES:Módulo_Importaciones');
|
||||
|
||||
/*
|
||||
* Affichage onglets
|
||||
@ -729,7 +729,7 @@ if ($step == 4 && $datatoimport)
|
||||
{
|
||||
asort($array_match_file_to_database);
|
||||
|
||||
llxHeader('',$langs->trans("NewImport"));
|
||||
llxHeader('',$langs->trans("NewImport"),'EN:Module_Imports_En|FR:Module_Imports|ES:Módulo_Importaciones');
|
||||
|
||||
/*
|
||||
* Affichage onglets
|
||||
|
||||
@ -39,7 +39,7 @@ $import->load_arrays($user);
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader('',$langs->trans("ImportArea"));
|
||||
llxHeader('',$langs->trans("ImportArea"),'EN:Module_Imports_En|FR:Module_Imports|ES:Módulo_Importaciones');
|
||||
|
||||
print_fiche_titre($langs->trans("ImportArea"));
|
||||
|
||||
|
||||
@ -1050,7 +1050,7 @@ function left_menu($menu_array, $helppagename='', $moresearchform='')
|
||||
print '">';
|
||||
print img_picto('',DOL_URL_ROOT.'/theme/common/helpdoc.png','',1).' ';
|
||||
print $langs->trans($mode == 'wiki' ? 'OnlineHelp': 'Help');
|
||||
if ($mode == 'wiki') print ' ('.dol_trunc(strtr($helppage,'_',' '),8).')';
|
||||
//if ($mode == 'wiki') print ' ('.dol_trunc(strtr($helppage,'_',' '),8).')';
|
||||
print '</a>';
|
||||
print '</div>';
|
||||
}
|
||||
|
||||
@ -55,10 +55,10 @@ $result = restrictedArea($user, 'projet', $projetid);
|
||||
|
||||
|
||||
/*
|
||||
* View
|
||||
*/
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader("",$langs->trans("Referers"));
|
||||
llxHeader("",$langs->trans("Referers"),"EN:Module_Projects|FR:Module_Projets|ES:Módulo_Proyectos");
|
||||
|
||||
$form = new Form($db);
|
||||
|
||||
@ -156,33 +156,33 @@ foreach ($listofreferent as $key => $value)
|
||||
{
|
||||
$var=true;
|
||||
$total = 0;
|
||||
for ($i = 0; $i<sizeof($elementarray);$i++)
|
||||
{
|
||||
$element = new $class($db);
|
||||
$element->fetch($elementarray[$i]);
|
||||
for ($i = 0; $i<sizeof($elementarray);$i++)
|
||||
{
|
||||
$element = new $class($db);
|
||||
$element->fetch($elementarray[$i]);
|
||||
|
||||
$var=!$var;
|
||||
print "<tr $bc[$var]>";
|
||||
print "<td>";
|
||||
$var=!$var;
|
||||
print "<tr $bc[$var]>";
|
||||
print "<td>";
|
||||
print $element->getNomUrl(1);
|
||||
print "</td>\n";
|
||||
$date=$element->date;
|
||||
$date=$element->date;
|
||||
if (empty($date)) $date=$element->datep;
|
||||
if (empty($date)) $date=$element->date_contrat;
|
||||
print '<td>'.dol_print_date($date,'day').'</td>';
|
||||
print '<td align="right">'.(isset($element->total_ht)?price($element->total_ht):' ').'</td>';
|
||||
print '<td align="right">'.$element->getLibStatut(5).'</td>';
|
||||
print '</tr>';
|
||||
print '<td align="right">'.(isset($element->total_ht)?price($element->total_ht):' ').'</td>';
|
||||
print '<td align="right">'.$element->getLibStatut(5).'</td>';
|
||||
print '</tr>';
|
||||
|
||||
$total = $total + $element->total_ht;
|
||||
}
|
||||
$total = $total + $element->total_ht;
|
||||
}
|
||||
|
||||
print '<tr class="liste_total"><td colspan="2">'.$langs->trans("Number").': '.$i.'</td>';
|
||||
print '<td align="right" width="100">'.$langs->trans("TotalHT").' : '.price($total).'</td>';
|
||||
print '<td> </td>';
|
||||
print '</tr>';
|
||||
print '<tr class="liste_total"><td colspan="2">'.$langs->trans("Number").': '.$i.'</td>';
|
||||
print '<td align="right" width="100">'.$langs->trans("TotalHT").' : '.price($total).'</td>';
|
||||
print '<td> </td>';
|
||||
print '</tr>';
|
||||
}
|
||||
print "</table>";
|
||||
print "</table>";
|
||||
|
||||
/*
|
||||
* Barre d'action
|
||||
@ -193,11 +193,11 @@ foreach ($listofreferent as $key => $value)
|
||||
{
|
||||
if ($key == 'propal' && $conf->propal->enabled && $user->rights->propale->creer)
|
||||
{
|
||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/comm/addpropal.php?socid='.$projet->societe->id.'&action=create&projetid='.$projet->id.'">'.$langs->trans("AddProp").'</a>';
|
||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/comm/addpropal.php?socid='.$projet->societe->id.'&action=create&projetid='.$projet->id.'">'.$langs->trans("AddProp").'</a>';
|
||||
}
|
||||
if ($key == 'order' && $conf->commande->enabled && $user->rights->commande->creer)
|
||||
{
|
||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/commande/fiche.php?socid='.$projet->societe->id.'&action=create&projetid='.$projet->id.'">'.$langs->trans("AddCustomerOrder").'</a>';
|
||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/commande/fiche.php?socid='.$projet->societe->id.'&action=create&projetid='.$projet->id.'">'.$langs->trans("AddCustomerOrder").'</a>';
|
||||
}
|
||||
if ($key == 'invoice' && $conf->facture->enabled && $user->rights->facture->creer)
|
||||
{
|
||||
|
||||
@ -138,7 +138,7 @@ if ($_REQUEST["action"] == 'confirm_delete' && $_REQUEST["confirm"] == "yes" &&
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader("",$langs->trans("Project"),"Projet");
|
||||
llxHeader("",$langs->trans("Projects"),"EN:Module_Projects|FR:Module_Projets|ES:Módulo_Proyectos");
|
||||
|
||||
$html = new Form($db);
|
||||
|
||||
|
||||
@ -41,7 +41,7 @@ if ($user->societe_id > 0)
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader("",$langs->trans("Projects"),"EN:Projects|FR:Projet|ES:Proyectos");
|
||||
llxHeader("",$langs->trans("Projects"),"EN:Module_Projects|FR:Module_Projets|ES:Módulo_Proyectos");
|
||||
|
||||
$text=$langs->trans("Projects");
|
||||
if ($_REQUEST["mode"]=='mine') $text=$langs->trans("MyProjects");
|
||||
|
||||
@ -63,7 +63,7 @@ $pagenext = $page + 1;
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
llxHeader("",$langs->trans("Projects"),"EN:Module_Projects|FR:Module_Projets|ES:Módulo_Proyectos");
|
||||
|
||||
$projectstatic = new Project($db);
|
||||
$userstatic = new User($db);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user