Fix: W3C
This commit is contained in:
parent
8b391e1b7a
commit
f47e80dca1
@ -878,15 +878,15 @@ if ($rowid)
|
|||||||
print '<tr><td valign="top" class="fieldrequired">'.$langs->trans('MoreActions');
|
print '<tr><td valign="top" class="fieldrequired">'.$langs->trans('MoreActions');
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
print '<input type="radio" class="moreaction" id="none" name="paymentsave" value="none"'.(!$bankdirect&&!$bankviainvoice?' checked="true"':'').'> '.$langs->trans("None").'<br>';
|
print '<input type="radio" class="moreaction" id="none" name="paymentsave" value="none"'.(!$bankdirect&&!$bankviainvoice?' checked="checked"':'').'> '.$langs->trans("None").'<br>';
|
||||||
if ($conf->banque->enabled)
|
if ($conf->banque->enabled)
|
||||||
{
|
{
|
||||||
print '<input type="radio" class="moreaction" id="bankdirect" name="paymentsave" value="bankdirect"'.($bankdirect?' checked="true"':'');
|
print '<input type="radio" class="moreaction" id="bankdirect" name="paymentsave" value="bankdirect"'.($bankdirect?' checked="checked"':'');
|
||||||
print '> '.$langs->trans("MoreActionBankDirect").'<br>';
|
print '> '.$langs->trans("MoreActionBankDirect").'<br>';
|
||||||
}
|
}
|
||||||
if ($conf->banque->enabled && $conf->societe->enabled && $conf->facture->enabled)
|
if ($conf->banque->enabled && $conf->societe->enabled && $conf->facture->enabled)
|
||||||
{
|
{
|
||||||
print '<input type="radio" class="moreaction" id="bankviainvoice" name="paymentsave" value="bankviainvoice"'.($bankviainvoice?' checked="true"':'');
|
print '<input type="radio" class="moreaction" id="bankviainvoice" name="paymentsave" value="bankviainvoice"'.($bankviainvoice?' checked="checked"':'');
|
||||||
if (empty($adh->fk_soc) || empty($bankviainvoice)) print ' disabled="true"';
|
if (empty($adh->fk_soc) || empty($bankviainvoice)) print ' disabled="true"';
|
||||||
print '> '.$langs->trans("MoreActionBankViaInvoice");
|
print '> '.$langs->trans("MoreActionBankViaInvoice");
|
||||||
if ($adh->fk_soc) print ' ('.$langs->trans("ThirdParty").': '.$company->getNomUrl(1).')';
|
if ($adh->fk_soc) print ' ('.$langs->trans("ThirdParty").': '.$company->getNomUrl(1).')';
|
||||||
@ -901,7 +901,7 @@ if ($rowid)
|
|||||||
}
|
}
|
||||||
if ($conf->societe->enabled && $conf->facture->enabled)
|
if ($conf->societe->enabled && $conf->facture->enabled)
|
||||||
{
|
{
|
||||||
print '<input type="radio" class="moreaction" id="invoiceonly" name="paymentsave" value="invoiceonly"'.($invoiceonly?' checked="true"':'');
|
print '<input type="radio" class="moreaction" id="invoiceonly" name="paymentsave" value="invoiceonly"'.($invoiceonly?' checked="checked"':'');
|
||||||
if (empty($adh->fk_soc) || empty($bankviainvoice)) print ' disabled="true"';
|
if (empty($adh->fk_soc) || empty($bankviainvoice)) print ' disabled="true"';
|
||||||
print '> '.$langs->trans("MoreActionInvoiceOnly");
|
print '> '.$langs->trans("MoreActionInvoiceOnly");
|
||||||
if ($adh->fk_soc) print ' ('.$langs->trans("ThirdParty").': '.$company->getNomUrl(1).')';
|
if ($adh->fk_soc) print ' ('.$langs->trans("ThirdParty").': '.$company->getNomUrl(1).')';
|
||||||
@ -964,7 +964,7 @@ if ($rowid)
|
|||||||
$subjecttosend=$adh->makeSubstitution($conf->global->ADHERENT_MAIL_COTIS_SUBJECT);
|
$subjecttosend=$adh->makeSubstitution($conf->global->ADHERENT_MAIL_COTIS_SUBJECT);
|
||||||
$texttosend=$adh->makeSubstitution($adht->getMailOnSubscription());
|
$texttosend=$adh->makeSubstitution($adht->getMailOnSubscription());
|
||||||
|
|
||||||
$tmp='<input name="sendmail" type="checkbox"'.($conf->global->ADHERENT_DEFAULT_SENDINFOBYMAIL?' checked="true"':'').'>';
|
$tmp='<input name="sendmail" type="checkbox"'.($conf->global->ADHERENT_DEFAULT_SENDINFOBYMAIL?' checked="checked"':'').'>';
|
||||||
$helpcontent='';
|
$helpcontent='';
|
||||||
$helpcontent.='<b>'.$langs->trans("MailFrom").'</b>: '.$conf->global->ADHERENT_MAIL_FROM.'<br>'."\n";
|
$helpcontent.='<b>'.$langs->trans("MailFrom").'</b>: '.$conf->global->ADHERENT_MAIL_FROM.'<br>'."\n";
|
||||||
$helpcontent.='<b>'.$langs->trans("MailRecipient").'</b>: '.$adh->email.'<br>'."\n";
|
$helpcontent.='<b>'.$langs->trans("MailRecipient").'</b>: '.$adh->email.'<br>'."\n";
|
||||||
|
|||||||
@ -715,7 +715,7 @@ if ($id)
|
|||||||
print '<tr><td>'.$langs->trans("Title").'</td><td colspan="3"><input type="text" name="label" size="50" value="'.$act->label.'"></td></tr>';
|
print '<tr><td>'.$langs->trans("Title").'</td><td colspan="3"><input type="text" name="label" size="50" value="'.$act->label.'"></td></tr>';
|
||||||
|
|
||||||
// Full day event
|
// Full day event
|
||||||
print '<tr><td>'.$langs->trans("EventOnFullDay").'</td><td colspan="3"><input type="checkbox" id="fullday" name="fullday" '.($act->fulldayevent?' checked="true"':'').'></td></tr>';
|
print '<tr><td>'.$langs->trans("EventOnFullDay").'</td><td colspan="3"><input type="checkbox" id="fullday" name="fullday" '.($act->fulldayevent?' checked="checked"':'').'></td></tr>';
|
||||||
|
|
||||||
// Date start
|
// Date start
|
||||||
print '<tr><td nowrap="nowrap" class="fieldrequired">'.$langs->trans("DateActionStart").'</td><td colspan="3">';
|
print '<tr><td nowrap="nowrap" class="fieldrequired">'.$langs->trans("DateActionStart").'</td><td colspan="3">';
|
||||||
|
|||||||
@ -293,7 +293,7 @@ if ($_GET["action"] == 'create')
|
|||||||
|
|
||||||
if ($conf->global->PRODUCT_SHOW_WHEN_CREATE) print '<tr><td colspan="3"> </td></tr>';
|
if ($conf->global->PRODUCT_SHOW_WHEN_CREATE) print '<tr><td colspan="3"> </td></tr>';
|
||||||
|
|
||||||
print '<tr><td valign="top"><input type="radio" name="createmode" value="empty" checked="true"></td>';
|
print '<tr><td valign="top"><input type="radio" name="createmode" value="empty" checked="checked"></td>';
|
||||||
print '<td valign="top" colspan="2">'.$langs->trans("CreateEmptyPropal").'</td></tr>';
|
print '<td valign="top" colspan="2">'.$langs->trans("CreateEmptyPropal").'</td></tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1578,7 +1578,7 @@ if ($action == 'create')
|
|||||||
|
|
||||||
// Standard invoice
|
// Standard invoice
|
||||||
print '<tr height="18"><td width="16px" valign="middle">';
|
print '<tr height="18"><td width="16px" valign="middle">';
|
||||||
print '<input type="radio" name="type" value="0"'.(GETPOST('type')==0?' checked="true"':'').'>';
|
print '<input type="radio" name="type" value="0"'.(GETPOST('type')==0?' checked="checked"':'').'>';
|
||||||
print '</td><td valign="middle">';
|
print '</td><td valign="middle">';
|
||||||
$desc=$html->textwithpicto($langs->trans("InvoiceStandardAsk"),$langs->transnoentities("InvoiceStandardDesc"),1);
|
$desc=$html->textwithpicto($langs->trans("InvoiceStandardAsk"),$langs->transnoentities("InvoiceStandardDesc"),1);
|
||||||
print $desc;
|
print $desc;
|
||||||
@ -1586,7 +1586,7 @@ if ($action == 'create')
|
|||||||
|
|
||||||
// Deposit
|
// Deposit
|
||||||
print '<tr height="18"><td width="16px" valign="middle">';
|
print '<tr height="18"><td width="16px" valign="middle">';
|
||||||
print '<input type="radio" name="type" value="3"'.(GETPOST('type')==3?' checked="true"':'').'>';
|
print '<input type="radio" name="type" value="3"'.(GETPOST('type')==3?' checked="checked"':'').'>';
|
||||||
print '</td><td valign="middle">';
|
print '</td><td valign="middle">';
|
||||||
$desc=$html->textwithpicto($langs->trans("InvoiceDeposit"),$langs->transnoentities("InvoiceDepositDesc"),1);
|
$desc=$html->textwithpicto($langs->trans("InvoiceDeposit"),$langs->transnoentities("InvoiceDepositDesc"),1);
|
||||||
print $desc;
|
print $desc;
|
||||||
@ -1596,7 +1596,7 @@ if ($action == 'create')
|
|||||||
if ($conf->global->FACTURE_USE_PROFORMAT)
|
if ($conf->global->FACTURE_USE_PROFORMAT)
|
||||||
{
|
{
|
||||||
print '<tr height="18"><td width="16px" valign="middle">';
|
print '<tr height="18"><td width="16px" valign="middle">';
|
||||||
print '<input type="radio" name="type" value="4"'.(GETPOST('type')==4?' checked="true"':'').'>';
|
print '<input type="radio" name="type" value="4"'.(GETPOST('type')==4?' checked="checked"':'').'>';
|
||||||
print '</td><td valign="middle">';
|
print '</td><td valign="middle">';
|
||||||
$desc=$html->textwithpicto($langs->trans("InvoiceProForma"),$langs->transnoentities("InvoiceProFormaDesc"),1);
|
$desc=$html->textwithpicto($langs->trans("InvoiceProForma"),$langs->transnoentities("InvoiceProFormaDesc"),1);
|
||||||
print $desc;
|
print $desc;
|
||||||
@ -1605,7 +1605,7 @@ if ($action == 'create')
|
|||||||
|
|
||||||
// Replacement
|
// Replacement
|
||||||
print '<tr height="18"><td valign="middle">';
|
print '<tr height="18"><td valign="middle">';
|
||||||
print '<input type="radio" name="type" value="1"'.(GETPOST('type')==1?' checked=true':'');
|
print '<input type="radio" name="type" value="1"'.(GETPOST('type')==1?' checked="checked"':'');
|
||||||
if (! $options) print ' disabled="true"';
|
if (! $options) print ' disabled="true"';
|
||||||
print '>';
|
print '>';
|
||||||
print '</td><td valign="middle">';
|
print '</td><td valign="middle">';
|
||||||
|
|||||||
@ -412,7 +412,7 @@ if ($action == 'new')
|
|||||||
print '<td>'.$value["banque"]."</td>\n";
|
print '<td>'.$value["banque"]."</td>\n";
|
||||||
print '<td align="right">'.price($value["amount"]).'</td>';
|
print '<td align="right">'.price($value["amount"]).'</td>';
|
||||||
print '<td align="center">';
|
print '<td align="center">';
|
||||||
print '<input id="'.$value["id"].'" class="flat checkforremise_'.$bid.'" checked="true" type="checkbox" name="toRemise[]" value="'.$value["id"].'">';
|
print '<input id="'.$value["id"].'" class="flat checkforremise_'.$bid.'" checked="checked" type="checkbox" name="toRemise[]" value="'.$value["id"].'">';
|
||||||
print '</td>' ;
|
print '</td>' ;
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
|
|||||||
@ -138,7 +138,7 @@ if ($_GET["action"] == 'edit')
|
|||||||
print '<td colspan="2">'.$langs->trans("Alert").': ';
|
print '<td colspan="2">'.$langs->trans("Alert").': ';
|
||||||
if ($contact->birthday_alert)
|
if ($contact->birthday_alert)
|
||||||
{
|
{
|
||||||
print '<input type="checkbox" name="birthday_alert" checked="true"></td>';
|
print '<input type="checkbox" name="birthday_alert" checked="checked"></td>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2047,8 +2047,8 @@ class Form
|
|||||||
$more.='<tr>';
|
$more.='<tr>';
|
||||||
$more.='<td valign="top">'.$input['label'].' </td><td valign="top" align="left">';
|
$more.='<td valign="top">'.$input['label'].' </td><td valign="top" align="left">';
|
||||||
$more.='<input type="checkbox" class="flat" id="'.$input['name'].'" name="'.$input['name'].'"';
|
$more.='<input type="checkbox" class="flat" id="'.$input['name'].'" name="'.$input['name'].'"';
|
||||||
if (! is_bool($input['value']) && $input['value'] != 'false') $more.=' checked="true"';
|
if (! is_bool($input['value']) && $input['value'] != 'false') $more.=' checked="checked"';
|
||||||
if (is_bool($input['value']) && $input['value']) $more.=' checked="true"';
|
if (is_bool($input['value']) && $input['value']) $more.=' checked="checked"';
|
||||||
if ($input['disabled']) $more.=' disabled="true"';
|
if ($input['disabled']) $more.=' disabled="true"';
|
||||||
$more.=' /></td>';
|
$more.=' /></td>';
|
||||||
$more.='<td valign="top" align="left"> </td>';
|
$more.='<td valign="top" align="left"> </td>';
|
||||||
|
|||||||
@ -968,7 +968,7 @@ if ($_GET['action'] == 'create')
|
|||||||
|
|
||||||
// Standard invoice
|
// Standard invoice
|
||||||
print '<tr height="18"><td width="16px" valign="middle">';
|
print '<tr height="18"><td width="16px" valign="middle">';
|
||||||
print '<input type="radio" name="type" value="0"'.($_POST['type']==0?' checked="true"':'').'>';
|
print '<input type="radio" name="type" value="0"'.($_POST['type']==0?' checked="checked"':'').'>';
|
||||||
print '</td><td valign="middle">';
|
print '</td><td valign="middle">';
|
||||||
$desc=$html->textwithpicto($langs->trans("InvoiceStandardAsk"),$langs->transnoentities("InvoiceStandardDesc"),1);
|
$desc=$html->textwithpicto($langs->trans("InvoiceStandardAsk"),$langs->transnoentities("InvoiceStandardDesc"),1);
|
||||||
print $desc;
|
print $desc;
|
||||||
@ -977,7 +977,7 @@ if ($_GET['action'] == 'create')
|
|||||||
/*
|
/*
|
||||||
// Deposit
|
// Deposit
|
||||||
print '<tr height="18"><td width="16px" valign="middle">';
|
print '<tr height="18"><td width="16px" valign="middle">';
|
||||||
print '<input type="radio" name="type" value="3"'.($_POST['type']==3?' checked="true"':'').'>';
|
print '<input type="radio" name="type" value="3"'.($_POST['type']==3?' checked="checked"':'').'>';
|
||||||
print '</td><td valign="middle">';
|
print '</td><td valign="middle">';
|
||||||
$desc=$html->textwithpicto($langs->trans("InvoiceDeposit"),$langs->transnoentities("InvoiceDepositDesc"),1);
|
$desc=$html->textwithpicto($langs->trans("InvoiceDeposit"),$langs->transnoentities("InvoiceDepositDesc"),1);
|
||||||
print $desc;
|
print $desc;
|
||||||
@ -987,7 +987,7 @@ if ($_GET['action'] == 'create')
|
|||||||
if ($conf->global->FACTURE_USE_PROFORMAT)
|
if ($conf->global->FACTURE_USE_PROFORMAT)
|
||||||
{
|
{
|
||||||
print '<tr height="18"><td width="16px" valign="middle">';
|
print '<tr height="18"><td width="16px" valign="middle">';
|
||||||
print '<input type="radio" name="type" value="4"'.($_POST['type']==4?' checked="true"':'').'>';
|
print '<input type="radio" name="type" value="4"'.($_POST['type']==4?' checked="checked"':'').'>';
|
||||||
print '</td><td valign="middle">';
|
print '</td><td valign="middle">';
|
||||||
$desc=$html->textwithpicto($langs->trans("InvoiceProForma"),$langs->transnoentities("InvoiceProFormaDesc"),1);
|
$desc=$html->textwithpicto($langs->trans("InvoiceProForma"),$langs->transnoentities("InvoiceProFormaDesc"),1);
|
||||||
print $desc;
|
print $desc;
|
||||||
@ -996,7 +996,7 @@ if ($_GET['action'] == 'create')
|
|||||||
|
|
||||||
// Replacement
|
// Replacement
|
||||||
print '<tr height="18"><td valign="middle">';
|
print '<tr height="18"><td valign="middle">';
|
||||||
print '<input type="radio" name="type" value="1"'.($_POST['type']==1?' checked=true':'');
|
print '<input type="radio" name="type" value="1"'.($_POST['type']==1?' checked="checked"':'');
|
||||||
if (! $options) print ' disabled="true"';
|
if (! $options) print ' disabled="true"';
|
||||||
print '>';
|
print '>';
|
||||||
print '</td><td valign="middle">';
|
print '</td><td valign="middle">';
|
||||||
|
|||||||
@ -1182,7 +1182,7 @@ if ($step == 5 && $datatoimport)
|
|||||||
print $langs->trans("Option");
|
print $langs->trans("Option");
|
||||||
print '</td><td>';
|
print '</td><td>';
|
||||||
print '<input type="checkbox" name="excludefirstline" value="1"';
|
print '<input type="checkbox" name="excludefirstline" value="1"';
|
||||||
print ($excludefirstline?' checked="true"':'');
|
print ($excludefirstline?' checked="checked"':'');
|
||||||
print ' onClick="javascript: window.location=\''.$_SERVER["PHP_SELF"].'?leftmenu=import&excludefirstline='.($excludefirstline?'0':'1').'&step=5'.$param2.'\';">';
|
print ' onClick="javascript: window.location=\''.$_SERVER["PHP_SELF"].'?leftmenu=import&excludefirstline='.($excludefirstline?'0':'1').'&step=5'.$param2.'\';">';
|
||||||
print ' '.$langs->trans("DoNotImportFirstLine");
|
print ' '.$langs->trans("DoNotImportFirstLine");
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
@ -1532,7 +1532,7 @@ if ($step == 6 && $datatoimport)
|
|||||||
print $langs->trans("Option");
|
print $langs->trans("Option");
|
||||||
print '</td><td>';
|
print '</td><td>';
|
||||||
print '<input type="checkbox" name="excludefirstline" value="1" disabled="true"';
|
print '<input type="checkbox" name="excludefirstline" value="1" disabled="true"';
|
||||||
print ($excludefirstline?' checked="true"':'');
|
print ($excludefirstline?' checked="checked"':'');
|
||||||
print '>';
|
print '>';
|
||||||
print ' '.$langs->trans("DoNotImportFirstLine");
|
print ' '.$langs->trans("DoNotImportFirstLine");
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|||||||
@ -435,7 +435,7 @@ if ($id || $ref)
|
|||||||
print '<td>'.$labeltoshow.'</td>';
|
print '<td>'.$labeltoshow.'</td>';
|
||||||
if($product->is_sousproduit($id, $objp->rowid))
|
if($product->is_sousproduit($id, $objp->rowid))
|
||||||
{
|
{
|
||||||
$addchecked = ' checked="true"';
|
$addchecked = ' checked="checked"';
|
||||||
$qty=$product->is_sousproduit_qty;
|
$qty=$product->is_sousproduit_qty;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@ -250,7 +250,7 @@ foreach ($demoprofiles as $profilarray)
|
|||||||
print '<tr>';
|
print '<tr>';
|
||||||
print '<td width="50"><a href="'.$urlwithmod.'" id="a1'.$profilarray['key'].'" class="modulelineshow"><img src="'.$profilarray['icon'].'" width="48" border="0" alt="Demo '.$profilarray['label'].'"></a></td>';
|
print '<td width="50"><a href="'.$urlwithmod.'" id="a1'.$profilarray['key'].'" class="modulelineshow"><img src="'.$profilarray['icon'].'" width="48" border="0" alt="Demo '.$profilarray['label'].'"></a></td>';
|
||||||
//print '<td><input type="radio" name="demochoice"';
|
//print '<td><input type="radio" name="demochoice"';
|
||||||
//if ($profilarray['default']) print ' checked="true"';
|
//if ($profilarray['default']) print ' checked="checked"';
|
||||||
//print ' value="'.$profilarray['key'].'"></td>';
|
//print ' value="'.$profilarray['key'].'"></td>';
|
||||||
print '<td><a href="'.$urlwithmod.'" id="a2'.$profilarray['key'].'" class="modulelineshow">'.$langs->trans($profilarray['label']).'</a></td></tr>'."\n";
|
print '<td><a href="'.$urlwithmod.'" id="a2'.$profilarray['key'].'" class="modulelineshow">'.$langs->trans($profilarray['label']).'</a></td></tr>'."\n";
|
||||||
|
|
||||||
@ -274,7 +274,7 @@ foreach ($demoprofiles as $profilarray)
|
|||||||
if ($modulo == 0) print '<tr>';
|
if ($modulo == 0) print '<tr>';
|
||||||
print '<td><input type="checkbox" class="checkbox" name="'.$modulekeyname.'" value="1"';
|
print '<td><input type="checkbox" class="checkbox" name="'.$modulekeyname.'" value="1"';
|
||||||
if (in_array($modulekeyname,$alwaysuncheckedmodules)) print ' disabled="true"';
|
if (in_array($modulekeyname,$alwaysuncheckedmodules)) print ' disabled="true"';
|
||||||
if (! in_array($modulekeyname,$alwaysuncheckedmodules) && (! in_array($modulekeyname,$listofdisabledmodules) || in_array($modulekeyname,$alwayscheckedmodules))) print ' checked="true"';
|
if (! in_array($modulekeyname,$alwaysuncheckedmodules) && (! in_array($modulekeyname,$listofdisabledmodules) || in_array($modulekeyname,$alwayscheckedmodules))) print ' checked="checked"';
|
||||||
print '>'.$val->getName().' ';
|
print '>'.$val->getName().' ';
|
||||||
print '<!-- id='.$val->numero.' -->';
|
print '<!-- id='.$val->numero.' -->';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|||||||
@ -29,9 +29,9 @@ dol_htmloutput_errors($this->control->tpl['error'],$this->control->tpl['errors']
|
|||||||
<?php echo $this->control->tpl['ajax_selecttype']; ?>
|
<?php echo $this->control->tpl['ajax_selecttype']; ?>
|
||||||
<br>
|
<br>
|
||||||
<?php echo $langs->trans("ThirdPartyType") ?>:
|
<?php echo $langs->trans("ThirdPartyType") ?>:
|
||||||
<input type="radio" id="radiocompany" class="flat" name="private" value="0"'<?php echo (! $_REQUEST["private"]?' checked="true"':''); ?>>
|
<input type="radio" id="radiocompany" class="flat" name="private" value="0"'<?php echo (! $_REQUEST["private"]?' checked="checked"':''); ?>>
|
||||||
<?php echo $langs->trans("Company/Fundation"); ?>
|
<?php echo $langs->trans("Company/Fundation"); ?>
|
||||||
<input type="radio" id="radioprivate" class="flat" name="private" value="1"'<?php echo (! $_REQUEST["private"]?'':' checked="true"'); ?>> <?php echo $langs->trans("Individual"); ?> (<?php echo $langs->trans("ToCreateContactWithSameName") ?>)
|
<input type="radio" id="radioprivate" class="flat" name="private" value="1"'<?php echo (! $_REQUEST["private"]?'':' checked="checked"'); ?>> <?php echo $langs->trans("Individual"); ?> (<?php echo $langs->trans("ToCreateContactWithSameName") ?>)
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<?php echo $this->control->tpl['ajax_selectcountry']; ?>
|
<?php echo $this->control->tpl['ajax_selectcountry']; ?>
|
||||||
|
|||||||
@ -29,9 +29,9 @@ dol_htmloutput_errors($this->control->tpl['error'],$this->control->tpl['errors']
|
|||||||
<?php echo $this->control->tpl['ajax_selecttype']; ?>
|
<?php echo $this->control->tpl['ajax_selecttype']; ?>
|
||||||
<br>
|
<br>
|
||||||
<?php echo $langs->trans("ThirdPartyType") ?>:
|
<?php echo $langs->trans("ThirdPartyType") ?>:
|
||||||
<input type="radio" id="radiocompany" class="flat" name="private" value="0"'<?php echo (! $_REQUEST["private"]?' checked="true"':''); ?>>
|
<input type="radio" id="radiocompany" class="flat" name="private" value="0"'<?php echo (! $_REQUEST["private"]?' checked="checked"':''); ?>>
|
||||||
<?php echo $langs->trans("Company/Fundation"); ?>
|
<?php echo $langs->trans("Company/Fundation"); ?>
|
||||||
<input type="radio" id="radioprivate" class="flat" name="private" value="1"'<?php echo (! $_REQUEST["private"]?'':' checked="true"'); ?>> <?php echo $langs->trans("Individual"); ?> (<?php echo $langs->trans("ToCreateContactWithSameName") ?>)
|
<input type="radio" id="radioprivate" class="flat" name="private" value="1"'<?php echo (! $_REQUEST["private"]?'':' checked="checked"'); ?>> <?php echo $langs->trans("Individual"); ?> (<?php echo $langs->trans("ToCreateContactWithSameName") ?>)
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<?php echo $this->control->tpl['ajax_selectcountry']; ?>
|
<?php echo $this->control->tpl['ajax_selectcountry']; ?>
|
||||||
|
|||||||
@ -700,10 +700,10 @@ else
|
|||||||
|
|
||||||
print "<br>\n";
|
print "<br>\n";
|
||||||
print $langs->trans("ThirdPartyType").': ';
|
print $langs->trans("ThirdPartyType").': ';
|
||||||
print '<input type="radio" id="radiocompany" class="flat" name="private" value="0"'.(! GETPOST("private")?' checked="true"':'');
|
print '<input type="radio" id="radiocompany" class="flat" name="private" value="0"'.(! GETPOST("private")?' checked="checked"':'');
|
||||||
print '> '.$langs->trans("Company/Fundation");
|
print '> '.$langs->trans("Company/Fundation");
|
||||||
print ' ';
|
print ' ';
|
||||||
print '<input type="radio" id="radioprivate" class="flat" name="private" value="1"'.(! GETPOST("private")?'':' checked="true"');
|
print '<input type="radio" id="radioprivate" class="flat" name="private" value="1"'.(! GETPOST("private")?'':' checked="checked"');
|
||||||
print '> '.$langs->trans("Individual");
|
print '> '.$langs->trans("Individual");
|
||||||
print ' ('.$langs->trans("ToCreateContactWithSameName").')';
|
print ' ('.$langs->trans("ToCreateContactWithSameName").')';
|
||||||
print "<br>\n";
|
print "<br>\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user