diff --git a/htdocs/website/index.php b/htdocs/website/index.php
index 3d80906003d..26199b90d0b 100644
--- a/htdocs/website/index.php
+++ b/htdocs/website/index.php
@@ -3262,9 +3262,9 @@ if ($action == 'replacesite' || $action == 'replacesiteconfirm')
print $langs->trans("SearchReplaceInto");
print '';
print '
';
- print ' '.$langs->trans("Content");
- print ' '.$langs->trans("Title").' | '.$langs->trans("Description").' | '.$langs->trans("Keywords");
- print ' '.$langs->trans("GlobalCSSorJS");
+ print ' '.$langs->trans("Content").'
';
+ print ' '.$langs->trans("Title").' | '.$langs->trans("Description").' | '.$langs->trans("Keywords").'
';
+ print ' '.$langs->trans("GlobalCSSorJS").'
';
print '
';
print '';
@@ -3327,7 +3327,9 @@ if ($action == 'replacesite' || $action == 'replacesiteconfirm')
if (get_class($answerrecord) == 'WebsitePage')
{
print '';
- print '| '.$langs->trans("Container").' | ';
+ print ''.$langs->trans("Container").' - ';
+ print $langs->trans($answerrecord->type_container); // TODO Use label of container
+ print ' | ';
print '';
print $answerrecord->getNomUrl(1);
print ' ('.($answerrecord->title ? $answerrecord->title : $langs->trans("NoTitle")).')';
@@ -3339,7 +3341,23 @@ if ($action == 'replacesite' || $action == 'replacesiteconfirm')
else
{
print ' |
';
- print '| '.$answerrecord['type'].' | ';
+ print '';
+
+ $translateofrecordtype = array(
+ 'website_csscontent'=>'WEBSITE_CSS_INLINE',
+ 'website_jscontent'=>'WEBSITE_JS_INLINE',
+ 'website_robotcontent'=>'WEBSITE_ROBOT',
+ 'website_htmlheadercontent'=>'WEBSITE_HTML_HEADER',
+ 'website_htaccess'=>'WEBSITE_HTACCESS',
+ 'website_readme'=>'WEBSITE_README',
+ 'website_manifestjson'=>'WEBSITE_MANIFEST_JSON'
+ );
+ if (! empty($translateofrecordtype[$answerrecord['type']])) {
+ print $langs->trans($translateofrecordtype[$answerrecord['type']]);
+ } else {
+ print $answerrecord['type'];
+ }
+ print ' | ';
print '';
$backtopageurl = $_SERVER["PHP_SELF"].'?action=replacesiteconfirm&searchstring='.urlencode($searchkey).'&optioncontent='.GETPOST('optioncontent', 'aZ09').'&optionmeta='.GETPOST('optionmeta', 'aZ09').'&optionsitefiles='.GETPOST('optionsitefiles', 'aZ09');
print 'ref.'&backtopage='.urlencode($backtopageurl).'">'.$langs->trans("EditCss").'';
|