Minor fixes
This commit is contained in:
parent
7278d1f2c6
commit
c653acd4ce
@ -566,7 +566,7 @@ foreach ($dirmodels as $reldir)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
print "<td align=\"center\">\n";
|
print "<td align=\"center\">\n";
|
||||||
print '<a href="'.$_SERVER["PHP_SELF"].'?action=set&value='.$name.'&scandir='.$module->scandir.'&label='.urlencode($module->name).'">'.img_picto($langs->trans("Disabled"),'switch_off').'</a>';
|
print '<a href="'.$_SERVER["PHP_SELF"].'?action=set&value='.$name.'&scandir='.$module->scandir.'&label='.urlencode($module->name).'">'.img_picto($langs->trans("SetAsDefault"),'switch_off').'</a>';
|
||||||
print "</td>";
|
print "</td>";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -578,7 +578,7 @@ foreach ($dirmodels as $reldir)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<a href="'.$_SERVER["PHP_SELF"].'?action=setdoc&value='.$name.'&scandir='.$module->scandir.'&label='.urlencode($module->name).'" alt="'.$langs->trans("Default").'">'.img_picto($langs->trans("Disabled"),'off').'</a>';
|
print '<a href="'.$_SERVER["PHP_SELF"].'?action=setdoc&value='.$name.'&scandir='.$module->scandir.'&label='.urlencode($module->name).'" alt="'.$langs->trans("Default").'">'.img_picto($langs->trans("SetAsDefault"),'off').'</a>';
|
||||||
}
|
}
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
|
|||||||
@ -1394,6 +1394,11 @@ class Commande extends CommonOrder
|
|||||||
return -2;
|
return -2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
dol_syslog(get_class($this)."::addline status of order must be Draft to allow use of ->addline()", LOG_ERR);
|
||||||
|
return -3;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -411,6 +411,7 @@ RefreshPhoneLink=Refresh link
|
|||||||
LinkToTest=Clickable link generated for user <strong>%s</strong> (click phone number to test)
|
LinkToTest=Clickable link generated for user <strong>%s</strong> (click phone number to test)
|
||||||
KeepEmptyToUseDefault=Keep empty to use default value
|
KeepEmptyToUseDefault=Keep empty to use default value
|
||||||
DefaultLink=Default link
|
DefaultLink=Default link
|
||||||
|
SetAsDefault=Set as default
|
||||||
ValueOverwrittenByUserSetup=Warning, this value may be overwritten by user specific setup (each user can set his own clicktodial url)
|
ValueOverwrittenByUserSetup=Warning, this value may be overwritten by user specific setup (each user can set his own clicktodial url)
|
||||||
ExternalModule=External module - Installed into directory %s
|
ExternalModule=External module - Installed into directory %s
|
||||||
BarcodeInitForThirdparties=Mass barcode init for thirdparties
|
BarcodeInitForThirdparties=Mass barcode init for thirdparties
|
||||||
|
|||||||
@ -1723,7 +1723,7 @@ div.tabs {
|
|||||||
clear:both;
|
clear:both;
|
||||||
height:100%;
|
height:100%;
|
||||||
}
|
}
|
||||||
div.tabsElem { margin-top: 8px; } /* To avoid overlap of tabs when not browser */
|
div.tabsElem { margin-top: 6px; } /* To avoid overlap of tabs when not browser */
|
||||||
|
|
||||||
div.tabBar {
|
div.tabBar {
|
||||||
color: #<?php echo $colortextbacktab; ?>;
|
color: #<?php echo $colortextbacktab; ?>;
|
||||||
@ -1788,7 +1788,7 @@ a.tabTitle {
|
|||||||
|
|
||||||
a.tab:link, a.tab:visited, a.tab:hover, a.tab#active {
|
a.tab:link, a.tab:visited, a.tab:hover, a.tab#active {
|
||||||
font-family: <?php print $fontlist ?>;
|
font-family: <?php print $fontlist ?>;
|
||||||
padding: 5px 12px 5px;
|
padding: 7px 12px 7px;
|
||||||
margin: 0em 0.2em;
|
margin: 0em 0.2em;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user