mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 09:02:59 +01:00
Fix: better look
This commit is contained in:
@@ -1290,6 +1290,7 @@ function img_picto($alt, $picto, $options='', $pictoisfullpath=0)
|
|||||||
{
|
{
|
||||||
$picto = $regs[1];
|
$picto = $regs[1];
|
||||||
$path = $regs[2];
|
$path = $regs[2];
|
||||||
|
if (! preg_match('/(\.png|\.gif)$/i',$picto)) $picto.='.png';
|
||||||
// If img file not into standard path, we use alternate path
|
// If img file not into standard path, we use alternate path
|
||||||
if (defined('DOL_URL_ROOT_ALT') && DOL_URL_ROOT_ALT && ! file_exists(DOL_DOCUMENT_ROOT.'/'.$path.'/img/'.$picto)) $url = DOL_URL_ROOT_ALT;
|
if (defined('DOL_URL_ROOT_ALT') && DOL_URL_ROOT_ALT && ! file_exists(DOL_DOCUMENT_ROOT.'/'.$path.'/img/'.$picto)) $url = DOL_URL_ROOT_ALT;
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
htdocs/paypal/img/paypal_logo.png
Normal file
BIN
htdocs/paypal/img/paypal_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
@@ -133,7 +133,7 @@ if (! empty($nvpStr))
|
|||||||
|
|
||||||
dol_htmloutput_errors('',$errors);
|
dol_htmloutput_errors('',$errors);
|
||||||
|
|
||||||
print_barre_liste($langs->trans('PaypalTransaction'), $page, $_SERVER['PHP_SELF']);
|
print_fiche_titre($langs->trans('PaypalTransaction'), '', 'paypal_logo@paypal');
|
||||||
|
|
||||||
// Search parameters
|
// Search parameters
|
||||||
print '<form action="'.$_SERVER['PHP_SELF'].'" method="POST">';
|
print '<form action="'.$_SERVER['PHP_SELF'].'" method="POST">';
|
||||||
@@ -141,24 +141,18 @@ print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
|||||||
|
|
||||||
print '<table>';
|
print '<table>';
|
||||||
|
|
||||||
print '<tr>';
|
print '<tr><td>';
|
||||||
print '<td>'.$langs->trans('DateStart').': </td>';
|
print $langs->trans('DateStart').': ';
|
||||||
print '<td><input type="text" id="startDateStr" name="startDateStr" maxlength="20" size="10" value="'.$start_date_str.'" /></td>';
|
print '<input type="text" id="startDateStr" name="startDateStr" maxlength="20" size="10" value="'.$start_date_str.'" /> ';
|
||||||
print '</tr>';
|
|
||||||
|
|
||||||
print '<tr>';
|
print $langs->trans('DateEnd').': ';
|
||||||
print '<td>'.$langs->trans('DateEnd').': </td>';
|
print '<input type="text" id="endDateStr" name="endDateStr" maxlength="20" size="10" value="'.$end_date_str.'" /> ';
|
||||||
print '<td><input type="text" id="endDateStr" name="endDateStr" maxlength="20" size="10" value="'.$end_date_str.'" /></td>';
|
|
||||||
print '</tr>';
|
|
||||||
|
|
||||||
print '<tr>';
|
print $langs->trans('TransactionID').': ';
|
||||||
print '<td>'.$langs->trans('TransactionID').': </td>';
|
print '<input type="text" name="transactionID" /> ';
|
||||||
print '<td><input type="text" name="transactionID" /></td>';
|
|
||||||
print '</tr>';
|
|
||||||
|
|
||||||
print '<tr>';
|
print '<input type="submit" value="'.$langs->trans('Send').'" />';
|
||||||
print '<td><input type="submit" value="'.$langs->trans('Send').'" /></td>';
|
print '</td</tr>';
|
||||||
print '</tr>';
|
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
|
|||||||
Reference in New Issue
Block a user