From 8dcec30d8938b302382b652dfabd494b99eb8db1 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Sat, 13 May 2017 21:17:08 +0200 Subject: [PATCH] Start debug of module stripe --- htdocs/stripe/lib/stripe.lib.php | 45 -------------------------------- 1 file changed, 45 deletions(-) diff --git a/htdocs/stripe/lib/stripe.lib.php b/htdocs/stripe/lib/stripe.lib.php index c454296a304..5f0b1bd0404 100644 --- a/htdocs/stripe/lib/stripe.lib.php +++ b/htdocs/stripe/lib/stripe.lib.php @@ -51,52 +51,7 @@ function stripeadmin_prepare_head() return $head; } -/** - * Show header - * - * @param string $title Title of page - * @param string $head Head string to add int head section - * @return void - */ -function llxHeaderStripe($title, $head = "") -{ - global $user, $conf, $langs; - - header("Content-type: text/html; charset=".$conf->file->character_set_client); - - print '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">'; - //print '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd>'; - print "\n"; - print "<html>\n"; - print "<head>\n"; - print '<meta name="robots" content="noindex,nofollow">'."\n"; - print '<meta name="keywords" content="dolibarr,payment,online">'."\n"; - print '<meta name="description" content="Welcome on Dolibarr online payment form">'."\n"; - print "<title>".$title."</title>\n"; - if ($head) print $head."\n"; - if (! empty($conf->global->STRIPE_CSS_URL)) print '<link rel="stylesheet" type="text/css" href="'.$conf->global->STRIPE_CSS_URL.'?lang='.$langs->defaultlang.'">'."\n"; - else - { - print '<link rel="stylesheet" type="text/css" href="'.DOL_URL_ROOT.$conf->css.'?lang='.$langs->defaultlang.'">'."\n"; - print '<style type="text/css">'; - print '.CTableRow1 { margin: 1px; padding: 3px; font: 12px verdana,arial; background: #e6E6eE; color: #000000; -moz-border-radius-topleft:6px; -moz-border-radius-topright:6px; -moz-border-radius-bottomleft:6px; -moz-border-radius-bottomright:6px;}'; - print '.CTableRow2 { margin: 1px; padding: 3px; font: 12px verdana,arial; background: #FFFFFF; color: #000000; -moz-border-radius-topleft:6px; -moz-border-radius-topright:6px; -moz-border-radius-bottomleft:6px; -moz-border-radius-bottomright:6px;}'; - print '</style>'; - } - print "</head>\n"; - print '<body style="margin: 20px;">'."\n"; -} -/** - * Show footer - * - * @return void - */ -function llxFooterStripe() -{ - print "</body>\n"; - print "</html>\n"; -} /** * Return string with full Url -- GitLab