Debug v21
This commit is contained in:
parent
16b28e4d16
commit
a41fe4637d
1 changed files with 10 additions and 9 deletions
|
|
@ -2905,7 +2905,7 @@ llxHeader($moreheadcss.$moreheadjs, $langs->trans("Website").(empty($website->re
|
|||
|
||||
print "\n";
|
||||
print '<!-- Open form for all page -->'."\n";
|
||||
print '<form action="'.$_SERVER["PHP_SELF"].($action == 'file_manager' ? '?uploadform=1' : '').'" method="POST" enctype="multipart/form-data" class="websiteformtoolbar">';
|
||||
print '<form action="'.$_SERVER["PHP_SELF"].($action == 'file_manager' ? '?uploadform=1' : '').'" method="POST" enctype="multipart/form-data" class="websiteformtoolbar">'."\n";
|
||||
print '<input type="hidden" name="token" value="'.newToken().'">';
|
||||
print '<input type="hidden" name="backtopage" value="'.$backtopage.'">';
|
||||
print '<input type="hidden" name="dol_openinpopup" value="'.$dol_openinpopup.'">';
|
||||
|
|
@ -2947,7 +2947,7 @@ if ($mode) {
|
|||
print '<input type="hidden" name="mode" value="'.$mode.'">';
|
||||
}
|
||||
|
||||
print '<div>';
|
||||
print '<div>'."\n";
|
||||
|
||||
// Add a margin under toolbar ?
|
||||
$style = '';
|
||||
|
|
@ -2991,7 +2991,7 @@ if (!GETPOST('hide_websitemenu')) {
|
|||
|
||||
|
||||
//var_dump($objectpage);exit;
|
||||
print '<div class="centpercent websitebar'.(GETPOST('dol_openinpopup', 'aZ09') ? ' hiddenforpopup' : '').'">';
|
||||
print '<div class="centpercent websitebar'.(GETPOST('dol_openinpopup', 'aZ09') ? ' hiddenforpopup' : '').'">'."\n";
|
||||
|
||||
//
|
||||
// Toolbar for websites
|
||||
|
|
@ -3291,10 +3291,10 @@ if (!GETPOST('hide_websitemenu')) {
|
|||
//
|
||||
|
||||
if ($websitekey && $websitekey != '-1' && (!in_array($action, array('editcss', 'editmenu', 'importsite', 'file_manager', 'replacesite', 'replacesiteconfirm'))) && (!in_array($mode, array('replacesite'))) && !$file_manager) {
|
||||
print '</div>'; // Close current websitebar to open a new one
|
||||
print '</div>'."\n"; // Close current websitebar to open a new one
|
||||
|
||||
print '<!-- Toolbar for websitepage -->';
|
||||
print '<div class="centpercent websitebar"'.($style ? ' style="'.$style.'"' : '').'>';
|
||||
print '<div class="centpercent websitebar"'.($style ? ' style="'.$style.'"' : '').'>'."\n";
|
||||
|
||||
print '<div class="websiteselection hideonsmartphoneimp minwidth75 tdoverflowmax100 inline-block">';
|
||||
print $langs->trans("PageContainer").': ';
|
||||
|
|
@ -3854,7 +3854,7 @@ if (!GETPOST('hide_websitemenu')) {
|
|||
}
|
||||
}
|
||||
|
||||
print '</div>'; // end current websitebar
|
||||
print '</div>'."\n"; // end current websitebar
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -5537,7 +5537,8 @@ if ((empty($action) || $action == 'preview' || $action == 'createfromclone' || $
|
|||
*/
|
||||
|
||||
$out .= "</head>\n";
|
||||
$out .= "\n<body>";
|
||||
$out .= "\n";
|
||||
$out .= "<body>\n";
|
||||
|
||||
|
||||
$out .= '<div id="websitecontentundertopmenu" class="websitecontentundertopmenu boostrap-iso">'."\n";
|
||||
|
|
@ -5618,9 +5619,9 @@ if ((empty($action) || $action == 'preview' || $action == 'createfromclone' || $
|
|||
$out .= dolWebsiteReplacementOfLinks($object, $newcontent, 0, 'html', $objectpage->id)."\n";
|
||||
//$out.=$newcontent;
|
||||
|
||||
$out .= '</div>';
|
||||
$out .= '</div>'."\n";
|
||||
|
||||
$out .= '</div> <!-- End div id=websitecontentundertopmenu -->';
|
||||
$out .= '</div> <!-- End div id=websitecontentundertopmenu -->'."\n";
|
||||
|
||||
/*if ($includepageintoaframeoradiv == 'iframe')
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue