Fix filechecker
This commit is contained in:
parent
3c9d336148
commit
8c2b70c4a7
@ -95,13 +95,13 @@ print '<!-- for a local check target=local&xmlshortfile=... -->'."\n";
|
|||||||
if (dol_is_file($xmlfile))
|
if (dol_is_file($xmlfile))
|
||||||
{
|
{
|
||||||
print '<input type="radio" name="target" value="local"'.((! GETPOST('target') || GETPOST('target') == 'local') ? 'checked="checked"':'').'"> '.$langs->trans("LocalSignature").' = ';
|
print '<input type="radio" name="target" value="local"'.((! GETPOST('target') || GETPOST('target') == 'local') ? 'checked="checked"':'').'"> '.$langs->trans("LocalSignature").' = ';
|
||||||
print '<input name="xmlshortfile" class="flat minwidth200" value="'.dol_escape_htmltag($xmlshortfile).'">';
|
print '<input name="xmlshortfile" class="flat minwidth200 quatrevingtpercent" value="'.dol_escape_htmltag($xmlshortfile).'">';
|
||||||
print '<br>';
|
print '<br>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<input type="radio" name="target" value="local"> '.$langs->trans("LocalSignature").' = ';
|
print '<input type="radio" name="target" value="local"> '.$langs->trans("LocalSignature").' = ';
|
||||||
print '<input name="xmlshortfile" class="flat minwidth200" value="'.dol_escape_htmltag($xmlshortfile).'">';
|
print '<input name="xmlshortfile" class="flat minwidth200 quatrevingtpercent" value="'.dol_escape_htmltag($xmlshortfile).'">';
|
||||||
print ' <span class="warning">('.$langs->trans("AvailableOnlyOnPackagedVersions").')</span>';
|
print ' <span class="warning">('.$langs->trans("AvailableOnlyOnPackagedVersions").')</span>';
|
||||||
print '<br>';
|
print '<br>';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -23,7 +23,7 @@ include_once DOL_DOCUMENT_ROOT.'/core/modules/mailings/modules_mailings.php';
|
|||||||
*/
|
*/
|
||||||
class mailing_thirdparties extends MailingTargets
|
class mailing_thirdparties extends MailingTargets
|
||||||
{
|
{
|
||||||
var $name='ContactsCategories';
|
var $name='ThirdPartiesByCategories';
|
||||||
// This label is used if no translation is found for key XXX neither MailingModuleDescXXX where XXX=name is found
|
// This label is used if no translation is found for key XXX neither MailingModuleDescXXX where XXX=name is found
|
||||||
var $desc="Third parties (by categories)";
|
var $desc="Third parties (by categories)";
|
||||||
var $require_admin=0;
|
var $require_admin=0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user