This commit is contained in:
Laurent Destailleur 2019-01-23 15:30:54 +01:00
parent ad54a2b8af
commit 278b3e0b08
2 changed files with 4 additions and 3 deletions

View File

@ -3917,6 +3917,7 @@ tr.visible {
display: inline-block;
padding-left: 10px;
vertical-align: middle;
line-height: 28px;
}
.websitetools {
float: right;

View File

@ -1818,14 +1818,14 @@ if (! GETPOST('hide_websitemenu'))
// Toolbar for websites
print '<div class="websitetools">';
print '<div class="websitetools websiteselection">';
if ($action == 'preview' || $action == 'createfromclone' || $action == 'createpagefromclone')
{
$urlext=$virtualurl;
$urlint=$urlwithroot.'/public/website/index.php?website='.$websitekey;
print '<div class="websiteinputurl" id="websiteinputurl">';
print '<div class="websiteinputurl valignmiddle" id="websiteinputurl">';
$linktotestonwebserver = '<a href="'.($virtualurl?$virtualurl:'#').'" class="valignmiddle">';
$linktotestonwebserver.= $langs->trans("TestDeployOnWeb", $virtualurl).' '.img_picto('','object_globe');
$linktotestonwebserver.= '</a>';
@ -1856,7 +1856,7 @@ if (! GETPOST('hide_websitemenu'))
$htmltext.='<br>';
$htmltext.=$langs->trans("YouCanAlsoTestWithPHPS", $dataroot);
}
print $form->textwithpicto($linktotestonwebserver, $htmltext, 1, 'none', '', 0, 2, 'helpvirtualhost');
print $form->textwithpicto($linktotestonwebserver, $htmltext, 1, 'none', 'valignmiddle', 0, 2, 'helpvirtualhost');
print '</div>';
}