Merge HEAD, branch 'develop' of github.com:Dolibarr/dolibarr into develop
This commit is contained in:
commit
2653d173b9
File diff suppressed because one or more lines are too long
@ -412,13 +412,15 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
|
||||
|
||||
$morehtml .= $form->textwithpicto('', 'connect string '.$connectstringserver);
|
||||
} else {
|
||||
$morehtml .= 'IMAP functions not available on your PHP';
|
||||
$morehtml .= 'IMAP functions not available on your PHP. ';
|
||||
}
|
||||
|
||||
if (!$connection)
|
||||
{
|
||||
$morehtml .= 'Failed to open IMAP connection '.$connectstringsource;
|
||||
$morehtml .= '<br>'.imap_last_error();
|
||||
if (function_exists('imap_last_error')) {
|
||||
$morehtml .= '<br>'.imap_last_error();
|
||||
}
|
||||
//var_dump(imap_errors())
|
||||
} else {
|
||||
$morehtml .= imap_num_msg($connection);
|
||||
|
||||
@ -191,6 +191,16 @@ if (empty($_SERVER["SERVER_ADMIN"]) || $_SERVER["SERVER_ADMIN"] != 'doliwamp@loc
|
||||
print "</tr>";
|
||||
}
|
||||
|
||||
$functions = ["imap_open"];
|
||||
$name = "IMAP";
|
||||
|
||||
print "<tr>";
|
||||
print "<td>".$name."</td>";
|
||||
print getTableColumn($name, $loadedExtensions);
|
||||
print getTableColumnFunction($functions);
|
||||
print getResultColumn($name, $activatedExtensions, $loadedExtensions, $functions);
|
||||
print "</tr>";
|
||||
|
||||
$functions = array();
|
||||
$name = "xDebug";
|
||||
|
||||
@ -346,7 +356,7 @@ function getResultColumn($name, array $activated, array $loaded, array $function
|
||||
}
|
||||
|
||||
$html = "<td>";
|
||||
$html .= $result ? $langs->trans("PHPSupport", $name) : $langs->trans("ErrorPHPDoesNotSupport".$name);
|
||||
$html .= $result ? $langs->trans("PHPSupport", $name) : $langs->trans("ErrorPHPDoesNotSupport", $name);
|
||||
$html .= "</td>";
|
||||
|
||||
return $html;
|
||||
|
||||
@ -86,7 +86,7 @@ class box_birthdays extends ModeleBoxes
|
||||
{
|
||||
$tmparray = dol_getdate(dol_now(), true);
|
||||
|
||||
$sql = "SELECT u.rowid, u.firstname, u.lastname, u.birth";
|
||||
$sql = "SELECT u.rowid, u.firstname, u.lastname, u.birth, u.email, u.statut as status";
|
||||
$sql .= " FROM ".MAIN_DB_PREFIX."user as u";
|
||||
$sql .= " WHERE u.entity IN (".getEntity('user').")";
|
||||
$sql .= " AND u.statut = 1";
|
||||
@ -104,10 +104,13 @@ class box_birthdays extends ModeleBoxes
|
||||
while ($line < $num)
|
||||
{
|
||||
$objp = $this->db->fetch_object($result);
|
||||
|
||||
$userstatic->id = $objp->rowid;
|
||||
$userstatic->firstname = $objp->firstname;
|
||||
$userstatic->lastname = $objp->lastname;
|
||||
$userstatic->email = $objp->email;
|
||||
$userstatic->statut = $objp->status;
|
||||
|
||||
$dateb = $this->db->jdate($objp->birth);
|
||||
$age = date('Y', dol_now()) - date('Y', $dateb);
|
||||
|
||||
|
||||
@ -104,6 +104,7 @@ SuspenseAccountNotDefined=Suspense account isn't defined
|
||||
BoxLastCustomerShipments=Last customer shipments
|
||||
BoxTitleLastCustomerShipments=Latest %s customer shipments
|
||||
NoRecordedShipments=No recorded customer shipment
|
||||
BoxCustomersOutstandingBillReached=Customers with oustanding limit reached
|
||||
# Pages
|
||||
AccountancyHome=Accountancy
|
||||
ValidatedProjects=Validated projects
|
||||
|
||||
@ -251,6 +251,8 @@ ErrorLoginDateValidity=Error, this login is outside the validity date range
|
||||
ErrorValueLength=Length of field '<b>%s</b>' must be higher than '<b>%s</b>'
|
||||
ErrorReservedKeyword=The word '<b>%s</b>' is a reserved keyword
|
||||
ErrorNotAvailableWithThisDistribution=Not available with this distribution
|
||||
ErrorPublicInterfaceNotEnabled=Public interface was not enabled
|
||||
|
||||
# Warnings
|
||||
WarningParamUploadMaxFileSizeHigherThanPostMaxSize=Your PHP parameter upload_max_filesize (%s) is higher than PHP parameter post_max_size (%s). This is not a consistent setup.
|
||||
WarningPasswordSetWithNoAccount=A password was set for this member. However, no user account was created. So this password is stored but can't be used to login to Dolibarr. It may be used by an external module/interface but if you don't need to define any login nor password for a member, you can disable option "Manage a login for each member" from Member module setup. If you need to manage a login but don't need any password, you can keep this field empty to avoid this warning. Note: Email can also be used as a login if the member is linked to a user.
|
||||
|
||||
@ -231,7 +231,6 @@ TicketLogStatusChanged=Status changed: %s to %s
|
||||
TicketNotNotifyTiersAtCreate=Not notify company at create
|
||||
Unread=Unread
|
||||
TicketNotCreatedFromPublicInterface=Not available. Ticket was not created from public interface.
|
||||
PublicInterfaceNotEnabled=Public interface was not enabled
|
||||
ErrorTicketRefRequired=Ticket reference name is required
|
||||
|
||||
#
|
||||
|
||||
@ -71,7 +71,8 @@ $user_assign = new User($db);
|
||||
$user_create = new User($db);
|
||||
|
||||
if (!$conf->global->RECRUITMENT_ENABLE_PUBLIC_INTERFACE) {
|
||||
print '<div class="error">'.$langs->trans('PublicInterfaceForbidden').'</div>';
|
||||
$langs->load("errors");
|
||||
print '<div class="error">'.$langs->trans('ErrorPublicInterfaceNotEnabled').'</div>';
|
||||
$db->close();
|
||||
exit();
|
||||
}
|
||||
|
||||
@ -156,7 +156,8 @@ $conf->dol_hide_topmenu = 1;
|
||||
$conf->dol_hide_leftmenu = 1;
|
||||
|
||||
if (!$conf->global->RECRUITMENT_ENABLE_PUBLIC_INTERFACE) {
|
||||
print '<div class="error">'.$langs->trans('PublicInterfaceForbidden').'</div>';
|
||||
$langs->load("errors");
|
||||
print '<div class="error">'.$langs->trans('ErrorPublicInterfaceNotEnabled').'</div>';
|
||||
$db->close();
|
||||
exit();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user