mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
NEW : llxHeader body css for donation
This commit is contained in:
@@ -173,7 +173,9 @@ if (isModEnabled('accounting')) {
|
||||
$formaccounting = new FormAccounting($db);
|
||||
}
|
||||
|
||||
llxHeader('', $langs->trans("DonationsSetup"), 'DonConfiguration');
|
||||
$help_url = '';
|
||||
llxHeader('', $langs->trans("DonationsSetup"), $help_url, '', 0, 0, '', '', '', 'mod-donation page-admin');
|
||||
|
||||
$linkback = '<a href="'.DOL_URL_ROOT.'/admin/modules.php?restore_lastsearch_values=1">'.$langs->trans("BackToModuleList").'</a>';
|
||||
print load_fiche_titre($langs->trans("DonationsSetup"), $linkback, 'title_setup');
|
||||
|
||||
|
||||
@@ -63,7 +63,8 @@ require DOL_DOCUMENT_ROOT.'/core/actions_extrafields.inc.php';
|
||||
|
||||
$textobject = $langs->transnoentitiesnoconv("Donations");
|
||||
|
||||
llxHeader('', $langs->trans("DonationsSetup"));
|
||||
$help_url = '';
|
||||
llxHeader('', $langs->trans("DonationsSetup"), $help_url, '', 0, 0, '', '', '', 'mod-donation page-admin_extrafields');
|
||||
|
||||
$linkback = '<a href="'.DOL_URL_ROOT.'/admin/modules.php?restore_lastsearch_values=1">'.$langs->trans("BackToModuleList").'</a>';
|
||||
print load_fiche_titre($langs->trans("DonationsSetup"), $linkback, 'title_setup');
|
||||
|
||||
@@ -391,7 +391,7 @@ $title = $langs->trans("Donation");
|
||||
|
||||
$help_url = 'EN:Module_Donations|FR:Module_Dons|ES:Módulo_Donaciones|DE:Modul_Spenden';
|
||||
|
||||
llxHeader('', $title, $help_url);
|
||||
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-donation page-card');
|
||||
|
||||
$form = new Form($db);
|
||||
$formfile = new FormFile($db);
|
||||
|
||||
@@ -111,7 +111,7 @@ $title = $langs->trans('Donation')." - ".$langs->trans('Documents');
|
||||
|
||||
$help_url = 'EN:Module_Donations|FR:Module_Dons|ES:Módulo_Donaciones|DE:Modul_Spenden';
|
||||
|
||||
llxHeader('', $title, $help_url);
|
||||
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-donation page-card_documents');
|
||||
|
||||
|
||||
if ($object->id) {
|
||||
|
||||
@@ -56,7 +56,7 @@ $donstatic = new Don($db);
|
||||
|
||||
$help_url = 'EN:Module_Donations|FR:Module_Dons|ES:Módulo_Donaciones|DE:Modul_Spenden';
|
||||
|
||||
llxHeader('', $langs->trans("Donations"), $help_url);
|
||||
llxHeader('', $langs->trans("Donations"), $help_url, '', 0, 0, '', '', '', 'mod-donation page-index');
|
||||
|
||||
$nb = array();
|
||||
$somme = array();
|
||||
|
||||
@@ -69,7 +69,7 @@ $title = $langs->trans('Donation')." - ".$langs->trans('Info');
|
||||
|
||||
$help_url = 'EN:Module_Donations|FR:Module_Dons|ES:Módulo_Donaciones|DE:Modul_Spenden';
|
||||
|
||||
llxHeader('', $title, $help_url);
|
||||
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-donation page-card_info');
|
||||
|
||||
$form = new Form($db);
|
||||
if (isModEnabled('project')) {
|
||||
|
||||
@@ -202,7 +202,7 @@ if ($num == 1 && !getDolGlobalInt('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $sea
|
||||
// Output page
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', 'bodyforlist'); // Can use also classforhorizontalscrolloftabs instead of bodyforlist for no horizontal scroll
|
||||
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-donation page-list'); // Can use also classforhorizontalscrolloftabs instead of bodyforlist for no horizontal scroll
|
||||
|
||||
// Example : Adding jquery code
|
||||
// print '<script type="text/javascript">
|
||||
|
||||
@@ -86,7 +86,7 @@ $title = $langs->trans('Donation')." - ".$langs->trans('Notes');
|
||||
|
||||
$help_url = 'EN:Module_Donations|FR:Module_Dons|ES:Módulo_Donaciones|DE:Modul_Spenden';
|
||||
|
||||
llxHeader('', $title, $help_url);
|
||||
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-donation page-card_notes');
|
||||
|
||||
$form = new Form($db);
|
||||
if (isModEnabled('project')) {
|
||||
|
||||
@@ -78,8 +78,8 @@ if ($action == 'confirm_delete' && $confirm == 'yes' && $user->hasRight('don', '
|
||||
/*
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
$title = $langs->trans("Payment");
|
||||
llxHeader('', $title, '', '', 0, 0, '', '', '', 'mod-donation page-payment_card');
|
||||
|
||||
$don = new Don($db);
|
||||
$form = new Form($db);
|
||||
|
||||
@@ -139,8 +139,8 @@ if ($action == 'add_payment') {
|
||||
*/
|
||||
|
||||
$form = new Form($db);
|
||||
|
||||
llxHeader();
|
||||
$title = $langs->trans("Payment");
|
||||
llxHeader('', $title, '', '', 0, 0, '', '', '', 'mod-donation page-payment');
|
||||
|
||||
|
||||
$sql = "SELECT sum(p.amount) as total";
|
||||
|
||||
@@ -58,10 +58,10 @@ $result = restrictedArea($user, 'don');
|
||||
*/
|
||||
|
||||
$form = new Form($db);
|
||||
$title = $langs->trans("DonationsStatistics");
|
||||
llxHeader('', $title, '', '', 0, 0, '', '', '', 'mod-donation page-stats');
|
||||
|
||||
llxHeader();
|
||||
|
||||
print load_fiche_titre($langs->trans("StatisticsOfDonations"), $mesg);
|
||||
print load_fiche_titre($langs->trans("DonationsStatistics"), $mesg);
|
||||
|
||||
|
||||
dol_mkdir($dir);
|
||||
|
||||
@@ -33,3 +33,4 @@ DONATION_ART978=Show article 978 from CGI if you are concerned
|
||||
DonationPayment=Donation payment
|
||||
DonationValidated=Donation %s validated
|
||||
DonationUseThirdparties=Use the address of an existing thirdparty as the address of the donor
|
||||
DonationsStatistics=Donation's statistics
|
||||
|
||||
Reference in New Issue
Block a user