diff --git a/dev/tools/apstats.php b/dev/tools/apstats.php index 06be8685d1e..a24aa2fcff5 100755 --- a/dev/tools/apstats.php +++ b/dev/tools/apstats.php @@ -788,6 +788,7 @@ $html .= ''; $html .= ''; $html .= ''; +$html .= '
'; $html .= 'You can use this URL for RSS notifications: '.$outputfilerss.'

'; $html .= ''; @@ -926,6 +927,7 @@ if ($fh) { } + /** * function to format a number * diff --git a/htdocs/website/index.php b/htdocs/website/index.php index e3e9858af59..6cf99137d44 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -3118,7 +3118,7 @@ if (!GETPOST('hide_websitemenu')) { if (isModEnabled('category')) { //print ''; - print dolButtonToOpenUrlInDialogPopup('categories', $langs->transnoentitiesnoconv("Categories"), '', '/categories/index.php?leftmenu=website&nosearch=1&type=website_page&website='.urlencode($website->ref), $disabled); + print dolButtonToOpenUrlInDialogPopup('categories', $langs->transnoentitiesnoconv("Categories"), '', '/categories/index.php?leftmenu=website&nosearch=1&type='.urlencode(Categorie::TYPE_WEBSITE_PAGE).'&website='.urlencode($website->ref), $disabled); } print ''; @@ -4520,6 +4520,9 @@ if ($action == 'editmeta' || $action == 'createcontainer') { // Edit properties print ''.$form->editfieldkey('Categories', 'categories', '', $objectpage, 0).''; print img_picto('', 'category', 'class="pictofixedwidth"'); print $form->multiselectarray('categories', $cate_arbo, (GETPOSTISSET('categories') ? GETPOST('categories', 'array') : $arrayselected), null, null, 'minwidth200 widthcentpercentminusxx'); + + print dolButtonToOpenUrlInDialogPopup('categories', $langs->transnoentitiesnoconv("Categories"), img_picto('', 'add'), '/categories/index.php?leftmenu=website&nosearch=1&type='.urlencode(Categorie::TYPE_WEBSITE_PAGE).'&website='.urlencode($website->ref), $disabled); + print ""; }