diff --git a/htdocs/core/class/doleditor.class.php b/htdocs/core/class/doleditor.class.php index de5ef1f2e9f..8c7a88e925a 100644 --- a/htdocs/core/class/doleditor.class.php +++ b/htdocs/core/class/doleditor.class.php @@ -96,7 +96,7 @@ class DolEditor $this->cols = (preg_match('/%/', $cols) ? $cols : max(40, $cols)); // If $cols is a percent, we keep it, otherwise, we take max $this->height = $height; $this->width = $width; - } + } } // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps @@ -259,7 +259,7 @@ class DolEditor })'; $out .= ''."\n"; } - +var_dump($this->height); $out .= '
'pencil-alt', 'grip_title'=>'arrows-alt', 'grip'=>'arrows-alt', 'help'=>'info-circle',
'generic'=>'file', 'holiday'=>'umbrella-beach', 'member'=>'users', 'mrp'=>'cubes', 'trip'=>'wallet', 'group'=>'users',
'sign-out'=>'sign-out-alt',
- 'switch_off'=>'toggle-off', 'switch_on'=>'toggle-on', 'check'=>'check', 'bookmark'=>'star', 'bookmark'=>'star', 'stats' => 'chart-bar',
- 'bank'=>'university', 'close_title'=>'window-close', 'delete'=>'trash', 'edit'=>'pencil-alt', 'filter'=>'filter', 'split'=>'code-branch',
+ 'switch_off'=>'toggle-off', 'switch_on'=>'toggle-on', 'check'=>'check', 'bookmark'=>'star', 'bookmark'=>'star',
+ 'bank'=>'university', 'close_title'=>'window-close', 'delete'=>'trash', 'edit'=>'pencil-alt', 'filter'=>'filter',
'list-alt'=>'list-alt', 'calendar'=>'calendar-alt', 'calendarweek'=>'calendar-week', 'calendarmonth'=>'calendar-alt', 'calendarday'=>'calendar-day', 'calendarperuser'=>'table',
- 'multicurrency'=>'dollar-sign', 'other'=>'square', 'resource'=>'laptop-house',
+ 'intervention'=>'ambulance', 'multicurrency'=>'dollar-sign',
'error'=>'exclamation-triangle', 'warning'=>'exclamation-triangle',
+ 'other'=>'square', 'playdisabled'=>'play', 'preview'=>'binoculars', 'project'=>'sitemap', 'projectpub'=>'sitemap', 'projecttask'=>'tasks',
+ 'resize'=>'crop',
'payment'=>'money-bill-alt', 'phoning'=>'phone', 'phoning_fax'=>'fax', 'printer'=>'print', 'product'=>'cube', 'service'=>'concierge-bell',
- 'stock'=>'box-open', 'technic'=>'cogs', 'ticket'=>'ticket-alt',
+ 'resource'=>'laptop-house',
+ 'stock'=>'box-open', 'stats' => 'chart-bar', 'split'=>'code-branch', 'technic'=>'cogs', 'ticket'=>'ticket-alt',
'title_setup'=>'tools', 'title_accountancy'=>'money-check-alt', 'title_bank'=>'university', 'title_hrm'=>'umbrella-beach',
'title_agenda'=>'calendar-alt',
- 'playdisabled'=>'play', 'preview'=>'binoculars', 'project'=>'sitemap', 'resize'=>'crop',
'uparrow'=>'mail-forward',
'jabber'=>'comment-o'
);
@@ -3245,10 +3248,11 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
'contract'=>'bg-infoxbox-contrat',
'multicurrency'=>'bg-infoxbox-bank_account',
'check'=>'font-status4',
- 'hrm'=>'bg-infoxbox-adherent', 'group'=>'bg-infoxbox-adherent',
+ 'hrm'=>'bg-infoxbox-adherent', 'group'=>'bg-infoxbox-adherent', 'intervention'=>'bg-infoxbox-contrat',
'members'=>'bg-infoxbox-adherent', 'member'=>'bg-infoxbox-adherent', 'user'=>'bg-infoxbox-adherent', 'users'=>'bg-infoxbox-adherent',
'error'=>'pictoerror', 'warning'=>'pictowarning', 'switch_on'=>'font-status4',
- 'holiday'=>'bg-infoxbox-holiday', 'payment'=>'bg-infoxbox-bank_account', 'project'=>'bg-infoxbox-project', 'resource'=>'bg-infoxbox-action',
+ 'holiday'=>'bg-infoxbox-holiday', 'payment'=>'bg-infoxbox-bank_account', 'project'=>'bg-infoxbox-project', 'projecttask'=>'bg-infoxbox-project',
+ 'resource'=>'bg-infoxbox-action',
'ticket'=>'bg-infoxbox-contrat', 'title_hrm'=>'bg-infoxbox-holiday', 'trip'=>'bg-infoxbox-expensereport', 'title_agenda'=>'bg-infoxbox-action',
'list-alt'=>'imgforviewmode', 'calendar'=>'imgforviewmode', 'calendarweek'=>'imgforviewmode', 'calendarmonth'=>'imgforviewmode', 'calendarday'=>'imgforviewmode', 'calendarperuser'=>'imgforviewmode'
);
@@ -3263,7 +3267,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
'edit'=>'#444', 'note'=>'#999', 'error'=>'', 'listlight'=>'#999',
'lot'=>'#a69944', 'mrp'=>'#a69944', 'product'=>'#a69944', 'service'=>'#a69944', 'stock'=>'#a69944',
'other'=>'#ddd',
- 'playdisabled'=>'#ccc', 'printer'=>'#444', 'resize'=>'#444', 'rss'=>'#cba',
+ 'playdisabled'=>'#ccc', 'printer'=>'#444', 'projectpub'=>'#986c6a', 'resize'=>'#444', 'rss'=>'#cba',
'stats'=>'#444', 'switch_off'=>'#999', 'uparrow'=>'#555', 'warning'=>''
);
if (isset($arrayconvpictotocolor[$pictowithouttext])) {
@@ -3349,7 +3353,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
* @param int $srconly Return only content of the src attribute of img.
* @param int $notitle 1=Disable tag title. Use it if you add js tooltip, to avoid duplicate tooltip.
* @return string Return img tag
- * @see #img_picto, #img_picto_common
+ * @see img_picto(), img_picto_common()
*/
function img_object($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $srconly = 0, $notitle = 0)
{
@@ -3365,7 +3369,7 @@ function img_object($titlealt, $picto, $moreatt = '', $pictoisfullpath = false,
* @param int $pictoisfullpath If 1, image path is a full path
* @param string $morecss More CSS
* @return string Return img tag
- * @see #img_object, #img_picto
+ * @see img_object(), img_picto()
*/
function img_weather($titlealt, $picto, $moreatt = '', $pictoisfullpath = 0, $morecss = '')
{
@@ -3392,7 +3396,7 @@ function img_weather($titlealt, $picto, $moreatt = '', $pictoisfullpath = 0, $mo
* @param string $moreatt Add more attribute on img tag
* @param int $pictoisfullpath If 1, image path is a full path
* @return string Return img tag
- * @see #img_object, #img_picto
+ * @see img_object(), img_picto()
*/
function img_picto_common($titlealt, $picto, $moreatt = '', $pictoisfullpath = 0)
{
diff --git a/htdocs/fichinter/card.php b/htdocs/fichinter/card.php
index 43ff4c978d8..07f9b24476a 100644
--- a/htdocs/fichinter/card.php
+++ b/htdocs/fichinter/card.php
@@ -1395,7 +1395,6 @@ elseif ($id > 0 || !empty($ref))
print ''.(empty($conf->global->FICHINTER_WITHOUT_DURATION) ? $langs->trans('Duration') : '').' ';
print ' ';
print ' ';
- print ' ';
print "\n";
}
while ($i < $num)
@@ -1420,16 +1419,14 @@ elseif ($id > 0 || !empty($ref))
print "\n";
- // Icone d'edition et suppression
+ // Econ to edit and delete
if ($object->statut == 0 && $user->rights->ficheinter->creer)
{
print '';
- print 'id.'&action=editline&line_id='.$objp->rowid.'#'.$objp->rowid.'">';
+ print 'id.'&action=editline&line_id='.$objp->rowid.'#'.$objp->rowid.'">';
print img_edit();
print '';
- print ' ';
- print '';
- print 'id.'&action=ask_deleteline&line_id='.$objp->rowid.'">';
+ print 'id.'&action=ask_deleteline&line_id='.$objp->rowid.'">';
print img_delete();
print ' ';
print '';
@@ -1437,13 +1434,13 @@ elseif ($id > 0 || !empty($ref))
{
if ($i > 0)
{
- print 'id.'&action=up&line_id='.$objp->rowid.'">';
+ print 'id.'&action=up&line_id='.$objp->rowid.'">';
print img_up();
print '';
}
if ($i < $num - 1)
{
- print 'id.'&action=down&line_id='.$objp->rowid.'">';
+ print 'id.'&action=down&line_id='.$objp->rowid.'">';
print img_down();
print '';
}
@@ -1452,7 +1449,7 @@ elseif ($id > 0 || !empty($ref))
}
else
{
- print ' ';
+ print ' ';
}
print '';
@@ -1470,7 +1467,7 @@ elseif ($id > 0 || !empty($ref))
// Line in update mode
if ($object->statut == 0 && $action == 'editline' && $user->rights->ficheinter->creer && GETPOST('line_id', 'int') == $objp->rowid)
{
- print '';
+ print ' ';
print '';
print ''; // ancre pour retourner sur la ligne
@@ -1499,8 +1496,9 @@ elseif ($id > 0 || !empty($ref))
}
print ' ';
- print '';
- print '
';
+ print '';
+ print '';
+ print ' ';
print ' '."\n";
$line = new FichinterLigne($db);
@@ -1534,7 +1532,7 @@ elseif ($id > 0 || !empty($ref))
print "\n";
}
- print ''."\n";
+ print ' '."\n";
print '';
// editeur wysiwyg
if (empty($conf->global->FICHINTER_EMPTY_LINE_DESC)) {
diff --git a/htdocs/fichinter/index.php b/htdocs/fichinter/index.php
index fdf5a222dee..c371be369f3 100644
--- a/htdocs/fichinter/index.php
+++ b/htdocs/fichinter/index.php
@@ -57,11 +57,12 @@ if ($user->socid > 0)
$fichinterstatic = new Fichinter($db);
$form = new Form($db);
$formfile = new FormFile($db);
+
$help_url = "EN:ModuleFichinters|FR:Module_Fiche_Interventions|ES:Módulo_FichaInterventiones";
llxHeader("", $langs->trans("Interventions"), $help_url);
-print load_fiche_titre($langs->trans("InterventionsArea"));
+print load_fiche_titre($langs->trans("InterventionsArea"), '', 'commercial');
print '';
diff --git a/htdocs/index.php b/htdocs/index.php
index 026e6dc8347..d7d15a12fba 100644
--- a/htdocs/index.php
+++ b/htdocs/index.php
@@ -152,17 +152,18 @@ if (empty($user->socid) && empty($conf->global->MAIN_DISABLE_GLOBAL_BOXSTATS))
// Class file containing the method load_state_board for each line
$includes = array(
DOL_DOCUMENT_ROOT."/user/class/user.class.php",
- DOL_DOCUMENT_ROOT."/societe/class/client.class.php",
+ DOL_DOCUMENT_ROOT."/adherents/class/adherent.class.php",
+ DOL_DOCUMENT_ROOT."/societe/class/client.class.php",
DOL_DOCUMENT_ROOT."/societe/class/client.class.php",
DOL_DOCUMENT_ROOT."/fourn/class/fournisseur.class.php",
DOL_DOCUMENT_ROOT."/contact/class/contact.class.php",
- DOL_DOCUMENT_ROOT."/adherents/class/adherent.class.php",
DOL_DOCUMENT_ROOT."/product/class/product.class.php",
DOL_DOCUMENT_ROOT."/product/class/product.class.php",
DOL_DOCUMENT_ROOT."/comm/propal/class/propal.class.php",
DOL_DOCUMENT_ROOT."/commande/class/commande.class.php",
DOL_DOCUMENT_ROOT."/compta/facture/class/facture.class.php",
- DOL_DOCUMENT_ROOT."/contrat/class/contrat.class.php",
+ DOL_DOCUMENT_ROOT."/don/class/don.class.php",
+ DOL_DOCUMENT_ROOT."/contrat/class/contrat.class.php",
DOL_DOCUMENT_ROOT."/fichinter/class/fichinter.class.php",
DOL_DOCUMENT_ROOT."/fourn/class/fournisseur.commande.class.php",
DOL_DOCUMENT_ROOT."/fourn/class/fournisseur.facture.class.php",
@@ -170,116 +171,119 @@ if (empty($user->socid) && empty($conf->global->MAIN_DISABLE_GLOBAL_BOXSTATS))
DOL_DOCUMENT_ROOT."/projet/class/project.class.php",
DOL_DOCUMENT_ROOT."/expensereport/class/expensereport.class.php",
DOL_DOCUMENT_ROOT."/holiday/class/holiday.class.php",
- DOL_DOCUMENT_ROOT."/don/class/don.class.php",
DOL_DOCUMENT_ROOT."/ticket/class/ticket.class.php"
);
// Name class containing the method load_state_board for each line
- $classes = array('User',
- 'Client',
- 'Client',
- 'Fournisseur',
- 'Contact',
- 'Adherent',
- 'Product',
- 'Product',
- 'Propal',
- 'Commande',
- 'Facture',
- 'Contrat',
- 'Fichinter',
- 'CommandeFournisseur',
- 'FactureFournisseur',
- 'SupplierProposal',
- 'Project',
- 'ExpenseReport',
- 'Holiday',
- 'Don',
- 'Ticket',
+ $classes = array(
+ 'User',
+ 'Adherent',
+ 'Client',
+ 'Client',
+ 'Fournisseur',
+ 'Contact',
+ 'Product',
+ 'Product',
+ 'Propal',
+ 'Commande',
+ 'Facture',
+ 'Don',
+ 'Contrat',
+ 'Fichinter',
+ 'CommandeFournisseur',
+ 'FactureFournisseur',
+ 'SupplierProposal',
+ 'Project',
+ 'ExpenseReport',
+ 'Holiday',
+ 'Ticket',
);
// Cle array returned by the method load_state_board for each line
- $keys = array('users',
- 'customers',
- 'prospects',
- 'suppliers',
- 'contacts',
- 'members',
- 'products',
- 'services',
- 'proposals',
- 'orders',
- 'invoices',
- 'contracts',
- 'interventions',
- 'supplier_orders',
- 'supplier_invoices',
- 'askprice',
- 'projects',
- 'expensereports',
- 'holidays',
- 'donations',
- 'ticket'
+ $keys = array(
+ 'users',
+ 'members',
+ 'customers',
+ 'prospects',
+ 'suppliers',
+ 'contacts',
+ 'products',
+ 'services',
+ 'proposals',
+ 'orders',
+ 'invoices',
+ 'donations',
+ 'contracts',
+ 'interventions',
+ 'supplier_orders',
+ 'supplier_invoices',
+ 'askprice',
+ 'projects',
+ 'expensereports',
+ 'holidays',
+ 'ticket'
);
// Dashboard Icon lines
- $icons = array('user',
- 'company',
- 'company',
- 'company',
- 'contact',
- 'user',
- 'product',
- 'service',
- 'propal',
- 'order',
- 'bill',
- 'contract',
- 'intervention',
- 'order',
- 'bill',
- 'propal',
- 'projectpub',
- 'trip',
- 'holiday',
- 'generic',
- 'ticket',
+ $icons = array(
+ 'user',
+ 'user',
+ 'company',
+ 'company',
+ 'company',
+ 'contact',
+ 'product',
+ 'service',
+ 'propal',
+ 'order',
+ 'bill',
+ 'generic',
+ 'contract',
+ 'intervention',
+ 'order',
+ 'bill',
+ 'propal',
+ 'project',
+ 'trip',
+ 'holiday',
+ 'ticket',
);
// Translation keyword
- $titres = array("Users",
- "ThirdPartyCustomersStats",
- "ThirdPartyProspectsStats",
- "Suppliers",
- "Contacts",
- "Members",
- "Products",
- "Services",
- "CommercialProposalsShort",
- "CustomersOrders",
- "BillsCustomers",
- "Contracts",
- "Interventions",
- "SuppliersOrders",
- "SuppliersInvoices",
- "SupplierProposalShort",
- "Projects",
- "ExpenseReports",
- "Holidays",
- "Donations",
- "Ticket",
+ $titres = array(
+ "Users",
+ "Members",
+ "ThirdPartyCustomersStats",
+ "ThirdPartyProspectsStats",
+ "Suppliers",
+ "Contacts",
+ "Products",
+ "Services",
+ "CommercialProposalsShort",
+ "CustomersOrders",
+ "BillsCustomers",
+ "Donations",
+ "Contracts",
+ "Interventions",
+ "SuppliersOrders",
+ "SuppliersInvoices",
+ "SupplierProposalShort",
+ "Projects",
+ "ExpenseReports",
+ "Holidays",
+ "Ticket",
);
// Dashboard Link lines
$links = array(
DOL_URL_ROOT.'/user/list.php',
- DOL_URL_ROOT.'/societe/list.php?type=c&mainmenu=companies',
+ DOL_URL_ROOT.'/adherents/list.php?statut=1&mainmenu=members',
+ DOL_URL_ROOT.'/societe/list.php?type=c&mainmenu=companies',
DOL_URL_ROOT.'/societe/list.php?type=p&mainmenu=companies',
DOL_URL_ROOT.'/societe/list.php?type=f&mainmenu=companies',
DOL_URL_ROOT.'/contact/list.php?mainmenu=companies',
- DOL_URL_ROOT.'/adherents/list.php?statut=1&mainmenu=members',
- DOL_URL_ROOT.'/adherents/list.php?statut=-1&mainmenu=members',
DOL_URL_ROOT.'/product/list.php?type=0&mainmenu=products',
DOL_URL_ROOT.'/product/list.php?type=1&mainmenu=products',
DOL_URL_ROOT.'/comm/propal/list.php?mainmenu=commercial&leftmenu=propals',
DOL_URL_ROOT.'/commande/list.php?mainmenu=commercial&leftmenu=orders',
DOL_URL_ROOT.'/compta/facture/list.php?mainmenu=billing&leftmenu=customers_bills',
- DOL_URL_ROOT.'/contrat/list.php?mainmenu=commercial&leftmenu=contracts',
+ DOL_URL_ROOT.'/don/list.php?leftmenu=donations',
+ DOL_URL_ROOT.'/contrat/list.php?mainmenu=commercial&leftmenu=contracts',
DOL_URL_ROOT.'/fichinter/list.php?mainmenu=commercial&leftmenu=ficheinter',
DOL_URL_ROOT.'/fourn/commande/list.php?mainmenu=commercial&leftmenu=orders_suppliers',
DOL_URL_ROOT.'/fourn/facture/list.php?mainmenu=billing&leftmenu=suppliers_bills',
@@ -287,23 +291,23 @@ if (empty($user->socid) && empty($conf->global->MAIN_DISABLE_GLOBAL_BOXSTATS))
DOL_URL_ROOT.'/projet/list.php?mainmenu=project',
DOL_URL_ROOT.'/expensereport/list.php?mainmenu=hrm&leftmenu=expensereport',
DOL_URL_ROOT.'/holiday/list.php?mainmenu=hrm&leftmenu=holiday',
- DOL_URL_ROOT.'/don/list.php?leftmenu=donations',
DOL_URL_ROOT.'/ticket/list.php?leftmenu=ticket'
);
// Translation lang files
$langfile = array(
"users",
- "companies",
+ "members",
+ "companies",
"prospects",
"suppliers",
"companies",
- "members",
"products",
"products",
"propal",
"orders",
"bills",
- "contracts",
+ "donations",
+ "contracts",
"interventions",
"bills",
"bills",
@@ -311,7 +315,6 @@ if (empty($user->socid) && empty($conf->global->MAIN_DISABLE_GLOBAL_BOXSTATS))
"projects",
"trips",
"holiday",
- "donations",
"ticket"
);
@@ -588,7 +591,7 @@ if (empty($conf->global->MAIN_DISABLE_GLOBAL_WORKBOARD)) {
'groupName' => 'Members',
'globalStatsKey' => 'members',
'stats' =>
- array('member_shift', 'member_expired'),
+ array('member_shift', 'member_expired'),
),
'ExpenseReport' =>
array(
@@ -923,6 +926,7 @@ if (empty($user->socid) && empty($conf->global->MAIN_DISABLE_GLOBAL_BOXSTATS))
}
if (!empty($boxstatFromHook) || !empty($boxstatItems)) {
+ $boxstat .= ''."\n";
$boxstat .= '';
$boxstat .= '';
$boxstat .= '';
diff --git a/htdocs/projet/class/project.class.php b/htdocs/projet/class/project.class.php
index 9035df18742..0e793361d2b 100644
--- a/htdocs/projet/class/project.class.php
+++ b/htdocs/projet/class/project.class.php
@@ -1046,9 +1046,12 @@ class Project extends CommonObject
$result = '';
$label = '';
- if ($option != 'nolink') $label = ''.$langs->trans("ShowProject").'';
+ if ($option != 'nolink') $label = ''.$langs->trans("Project").'';
$label .= ($label ? '
' : '').''.$langs->trans('Ref').': '.$this->ref; // The space must be after the : to not being explode when showing the title in img_picto
$label .= ($label ? '
' : '').''.$langs->trans('Label').': '.$this->title; // The space must be after the : to not being explode when showing the title in img_picto
+ if (isset($this->public)) {
+ $label .= '
'.$langs->trans("Visibility").": ".($this->public ? $langs->trans("SharedProject") : $langs->trans("PrivateProject"));
+ }
if (!empty($this->thirdparty_name))
$label .= ($label ? '
' : '').''.$langs->trans('ThirdParty').': '.$this->thirdparty_name; // The space must be after the : to not being explode when showing the title in img_picto
if (!empty($this->dateo))
diff --git a/htdocs/projet/list.php b/htdocs/projet/list.php
index 8ed94cc1180..26b00bae2a9 100644
--- a/htdocs/projet/list.php
+++ b/htdocs/projet/list.php
@@ -289,7 +289,7 @@ else dol_print_error($db);
if (count($listofprojectcontacttype) == 0) $listofprojectcontacttype[0] = '0'; // To avoid sql syntax error if not found
$distinct = 'DISTINCT'; // We add distinct until we are added a protection to be sure a contact of a project and task is only once.
-$sql = "SELECT ".$distinct." p.rowid as id, p.ref, p.title, p.fk_statut, p.fk_opp_status, p.public, p.fk_user_creat";
+$sql = "SELECT ".$distinct." p.rowid as id, p.ref, p.title, p.fk_statut as status, p.fk_opp_status, p.public, p.fk_user_creat";
$sql .= ", p.datec as date_creation, p.dateo as date_start, p.datee as date_end, p.opp_amount, p.opp_percent, (p.opp_amount*p.opp_percent/100) as opp_weighted_amount, p.tms as date_update, p.budget_amount, p.usage_opportunity, p.usage_task, p.usage_bill_time";
$sql .= ", s.rowid as socid, s.nom as name, s.email";
$sql .= ", cls.code as opp_status_code";
@@ -713,7 +713,9 @@ while ($i < min($num, $limit))
$object->public = $obj->public;
$object->ref = $obj->ref;
$object->datee = $db->jdate($obj->date_end);
- $object->statut = $obj->fk_statut;
+ $object->statut = $obj->status; // deprecated
+ $object->status = $obj->status;
+ $object->public = $obj->public;
$object->opp_status = $obj->fk_opp_status;
$object->title = $obj->title;
diff --git a/htdocs/theme/eldy/info-box.inc.php b/htdocs/theme/eldy/info-box.inc.php
index 3222cbe7964..86d2f96ead3 100644
--- a/htdocs/theme/eldy/info-box.inc.php
+++ b/htdocs/theme/eldy/info-box.inc.php
@@ -205,7 +205,7 @@ if (GETPOSTISSET('THEME_AGRESSIVENESS_RATIO')) $conf->global->THEME_AGRESSIVENES
}
.bg-infoxbox-project{
- color: global->THEME_AGRESSIVENESS_RATIO); ?> !important;
+ color: global->THEME_AGRESSIVENESS_RATIO); ?> !important;
}
.bg-infoxbox-action{
color: global->THEME_AGRESSIVENESS_RATIO); ?> !important;
diff --git a/htdocs/website/index.php b/htdocs/website/index.php
index 437ef5b498d..32c51d3eef1 100644
--- a/htdocs/website/index.php
+++ b/htdocs/website/index.php
@@ -3328,6 +3328,8 @@ if ($action == 'editmeta' || $action == 'createcontainer')
{
$fuser->fetch($pageauthorid);
print $fuser->getNomUrl(1);
+ } else {
+ print ''.$langs->trans("Unknown").'';
}
print ' ';