css
This commit is contained in:
parent
a7515cb620
commit
e9b3d436ca
@ -43,10 +43,10 @@ if (!empty($conf->commande->enabled)) {
|
||||
print '<input type="text class="flat" id="generate_order_ref" name="generate_order_ref" value="'.GETPOST('generate_order_ref', 'alpha').'" size="10">';
|
||||
print '<input type="submit" class="none reposition button smallpaddingimp" value="'.$langs->trans("GetSecuredUrl").'">';
|
||||
if (GETPOST('generate_order_ref', 'alpha')) {
|
||||
print '<br> -> <strong class="wordbreak">';
|
||||
$url = getOnlinePaymentUrl(0, 'order', GETPOST('generate_order_ref', 'alpha'));
|
||||
print '<div class="urllink"><input type="text" class="wordbreak quatrevingtpercent" value="';
|
||||
print $url;
|
||||
print "</strong><br>\n";
|
||||
print '"></div>'."\n";
|
||||
}
|
||||
print '</form>';
|
||||
}
|
||||
@ -65,10 +65,10 @@ if (isModEnabled('facture')) {
|
||||
print '<input type="text class="flat" id="generate_invoice_ref" name="generate_invoice_ref" value="'.GETPOST('generate_invoice_ref', 'alpha').'" size="10">';
|
||||
print '<input type="submit" class="none reposition button smallpaddingimp" value="'.$langs->trans("GetSecuredUrl").'">';
|
||||
if (GETPOST('generate_invoice_ref', 'alpha')) {
|
||||
print '<br> -> <strong class="wordbreak">';
|
||||
$url = getOnlinePaymentUrl(0, 'invoice', GETPOST('generate_invoice_ref', 'alpha'));
|
||||
print '<div class="urllink"><input type="text" class="wordbreak quatrevingtpercent" value="';
|
||||
print $url;
|
||||
print "</strong><br>\n";
|
||||
print '"></div>'."\n";
|
||||
}
|
||||
print '</form>';
|
||||
}
|
||||
@ -87,10 +87,10 @@ if (!empty($conf->contrat->enabled)) {
|
||||
print '<input type="text class="flat" id="generate_contract_ref" name="generate_contract_ref" value="'.GETPOST('generate_contract_ref', 'alpha').'" size="10">';
|
||||
print '<input type="submit" class="none reposition button smallpaddingimp" value="'.$langs->trans("GetSecuredUrl").'">';
|
||||
if (GETPOST('generate_contract_ref')) {
|
||||
print '<br> -> <strong class="wordbreak">';
|
||||
$url = getOnlinePaymentUrl(0, 'contractline', GETPOST('generate_contract_ref', 'alpha'));
|
||||
print '<div class="urllink"><input type="text" class="wordbreak quatrevingtpercent" value="';
|
||||
print $url;
|
||||
print "</strong><br>\n";
|
||||
print '"></div>'."\n";
|
||||
}
|
||||
print '</form>';
|
||||
}
|
||||
@ -109,10 +109,10 @@ if (!empty($conf->adherent->enabled)) {
|
||||
print '<input type="text class="flat" id="generate_member_ref" name="generate_member_ref" value="'.GETPOST('generate_member_ref', 'alpha').'" size="10">';
|
||||
print '<input type="submit" class="none reposition button smallpaddingimp" value="'.$langs->trans("GetSecuredUrl").'">';
|
||||
if (GETPOST('generate_member_ref')) {
|
||||
print '<br> -> <strong class="wordbreak">';
|
||||
$url = getOnlinePaymentUrl(0, 'membersubscription', GETPOST('generate_member_ref', 'alpha'));
|
||||
print '<div class="urllink"><input type="text" class="wordbreak quatrevingtpercent" value="';
|
||||
print $url;
|
||||
print "</strong><br>\n";
|
||||
print '"></div>'."\n";
|
||||
}
|
||||
print '</form>';
|
||||
}
|
||||
@ -131,10 +131,10 @@ if (!empty($conf->don->enabled)) {
|
||||
print '<input type="text class="flat" id="generate_donation_ref" name="generate_donation_ref" value="'.GETPOST('generate_donation_ref', 'alpha').'" size="10">';
|
||||
print '<input type="submit" class="none reposition button smallpaddingimp" value="'.$langs->trans("GetSecuredUrl").'">';
|
||||
if (GETPOST('generate_donation_ref')) {
|
||||
print '<br> -> <strong class="wordbreak">';
|
||||
print '<div class="urllink"><input type="text" class="wordbreak quatrevingtpercent" value="';
|
||||
$url = getOnlinePaymentUrl(0, 'donation', GETPOST('generate_donation_ref', 'alpha'));
|
||||
print $url;
|
||||
print "</strong><br>\n";
|
||||
print '"></div>'."\n";
|
||||
}
|
||||
print '</form>';
|
||||
}
|
||||
|
||||
@ -293,7 +293,7 @@ if (empty($conf->stripeconnect->enabled)) {
|
||||
print '<br>';
|
||||
}
|
||||
print '<input class="minwidth300" type="text" name="STRIPE_LIVE_WEBHOOK_KEY" value="'.$conf->global->STRIPE_LIVE_WEBHOOK_KEY.'" placeholder="'.$langs->trans("Example").': whsec_xxxxxxxxxxxxxxxxxxxxxxxx">';
|
||||
$out = img_picto('', 'globe').' <span class="opacitymedium">'.$langs->trans("ToOfferALinkForLiveWebhook").'</span> ';
|
||||
$out = img_picto('', 'globe', 'class="pictofixedwidth"').' <span class="opacitymedium">'.$langs->trans("ToOfferALinkForLiveWebhook").'</span> ';
|
||||
$url = dol_buildpath('/public/stripe/ipn.php', 3);
|
||||
$out .= '<input type="text" id="onlinelivewebhookurl" class="minwidth500" value="'.$url.'" disabled>';
|
||||
$out .= ajax_autoselect("onlinelivewebhookurl", 0);
|
||||
@ -353,19 +353,19 @@ print '</td></tr>';
|
||||
|
||||
print '<tr class="oddeven"><td>';
|
||||
print $langs->trans("StripeUserAccountForActions").'</td><td>';
|
||||
print img_picto('', 'user').$form->select_dolusers($conf->global->STRIPE_USER_ACCOUNT_FOR_ACTIONS, 'STRIPE_USER_ACCOUNT_FOR_ACTIONS', 0);
|
||||
print img_picto('', 'user', 'class="pictofixedwidth"').$form->select_dolusers($conf->global->STRIPE_USER_ACCOUNT_FOR_ACTIONS, 'STRIPE_USER_ACCOUNT_FOR_ACTIONS', 0);
|
||||
print '</td></tr>';
|
||||
|
||||
print '<tr class="oddeven"><td>';
|
||||
print $langs->trans("BankAccount").'</td><td>';
|
||||
print img_picto('', 'bank_account').' ';
|
||||
print img_picto('', 'bank_account', 'class="pictofixedwidth"');
|
||||
$form->select_comptes($conf->global->STRIPE_BANK_ACCOUNT_FOR_PAYMENTS, 'STRIPE_BANK_ACCOUNT_FOR_PAYMENTS', 0, '', 1);
|
||||
print '</td></tr>';
|
||||
|
||||
if (getDolGlobalInt('MAIN_FEATURES_LEVEL') >= 2) { // What is this for ?
|
||||
print '<tr class="oddeven"><td>';
|
||||
print $langs->trans("BankAccountForBankTransfer").'</td><td>';
|
||||
print img_picto('', 'bank_account').' ';
|
||||
print img_picto('', 'bank_account', 'class="pictofixedwidth"');
|
||||
$form->select_comptes($conf->global->STRIPE_BANK_ACCOUNT_FOR_BANKTRANSFERS, 'STRIPE_BANK_ACCOUNT_FOR_BANKTRANSFERS', 0, '', 1);
|
||||
print '</td></tr>';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user