|
@@ -207,15 +207,25 @@ $arrayofcss = array();
|
|
|
$replacemainarea = (empty($conf->dol_hide_leftmenu) ? '<div>' : '').'<div>';
|
|
|
llxHeader($head, $object->getFullName($langs).' - '.$langs->trans("PublicVirtualCard"), '', '', 0, 0, '', '', '', 'onlinepaymentbody'.(GETPOST('mode')=='preview' ? ' scalepreview cursorpointer virtualcardpreview' : ''), $replacemainarea, 1, 1);
|
|
|
|
|
|
+print '
|
|
|
+<style>
|
|
|
+@media (prefers-color-scheme: dark) {
|
|
|
+ form {
|
|
|
+ background-color: #CCC !important;
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|
|
|
+';
|
|
|
+
|
|
|
print '<span id="dolpaymentspan"></span>'."\n";
|
|
|
print '<div class="center">'."\n";
|
|
|
+
|
|
|
print '<form id="dolpaymentform" class="center" name="paymentform" action="'.$_SERVER["PHP_SELF"].'" method="POST">'."\n";
|
|
|
print '<input type="hidden" name="token" value="'.newToken().'">'."\n";
|
|
|
print '<input type="hidden" name="action" value="dosubmit">'."\n";
|
|
|
print '<input type="hidden" name="securekey" value="'.$securekey.'">'."\n";
|
|
|
print '<input type="hidden" name="entity" value="'.$entity.'" />';
|
|
|
print "\n";
|
|
|
-print '<!-- Form to view job -->'."\n";
|
|
|
|
|
|
// Output html code for logo
|
|
|
print '<div class="backgreypublicpayment">';
|