diff --git a/htdocs/langs/en_US/website.lang b/htdocs/langs/en_US/website.lang index 4f656cfaac5..cc7e5e507e2 100644 --- a/htdocs/langs/en_US/website.lang +++ b/htdocs/langs/en_US/website.lang @@ -21,6 +21,7 @@ AddWebsite=Add website Webpage=Web page/container AddPage=Add page/container HomePage=Home Page +PageContainer=Page/container PreviewOfSiteNotYetAvailable=Preview of your website %s not yet available. You must first add a page. RequestedPageHasNoContentYet=Requested page with id %s has no content yet, or cache file .tpl.php was removed. Edit content of the page to solve this. PageContent=Page/Contenair diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 14136ba445b..f086f7fa5de 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -3445,11 +3445,19 @@ tr.visible { /* Module website */ /* ============================================================================== */ +.nobordertransp { + border: 0px; + background-color: transparent; + background-image: none; +} .websitebar { - border-bottom: 1px solid #888; + border-bottom: 1px solid #ccc; background: #eee; display: inline-block; } +.websitebar .buttonDelete, .websitebar .button { + text-shadow: none; +} .websitebar .button, .websitebar .buttonDelete { padding: 2px 5px 3px 5px !important; @@ -3460,13 +3468,12 @@ tr.visible { display: inline-block; padding-left: 10px; vertical-align: middle; - /* line-height: 29px; */ } .websitetools { float: right; - /* height: 28px; */ } .websiteselection, .websitetools { + margin-top: 3px; padding-top: 3px; padding-bottom: 3px; } @@ -3816,12 +3823,13 @@ a.cke_dialog_ui_button_ok span { .aceeditorstatusbar { margin: 0; padding: 0; + padding-: 10px; left: 0; right: 0; bottom: 0; - height: 20px; background-color: #ebebeb; - color: #666; + height: 28px; + line-height: 2.2em; } .ace_status-indicator { color: gray; diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index dd568d9ba60..d173e7416af 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -3535,8 +3535,13 @@ tr.visible { /* Module website */ /* ============================================================================== */ +.nobordertransp { + border: 0px; + background-color: transparent; + background-image: none; +} .websitebar { - border-bottom: 1px solid #888; + border-bottom: 1px solid #ccc; background: #eee; } .websitebar .button, .websitebar .buttonDelete @@ -3549,12 +3554,16 @@ tr.visible { display: inline-block; padding-left: 10px; vertical-align: middle; - line-height: 29px; } .websitetools { float: right; - height: 28px; } +.websiteselection, .websitetools { + margin-top: 3px; + padding-top: 3px; + padding-bottom: 3px; +} + .websiteinputurl { display: inline-block; vertical-align: top; @@ -3912,11 +3921,13 @@ a.cke_dialog_ui_button_ok span { .aceeditorstatusbar { margin: 0; padding: 0; + padding-: 10px; left: 0; right: 0; bottom: 0; - height: 20px; color: #666; + height: 28px; + line-height: 2.2em; } .ace_status-indicator { color: gray; diff --git a/htdocs/website/index.php b/htdocs/website/index.php index d030bdb4647..08ce57cfede 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -1117,7 +1117,8 @@ $moreheadjs.=''."\n"; llxHeader($moreheadcss.$moreheadjs, $langs->trans("websiteetup"), $help_url, '', 0, 0, $arrayofjs, $arrayofcss, '', '', ''."\n".'
'); -print "\n".'
'; +print "\n".''; + print ''; if ($action == 'createsite') { @@ -1156,6 +1157,7 @@ if ($action == 'edit') print ''; } +print '
'; // Add a margin under toolbar ? $style=''; @@ -1170,12 +1172,12 @@ if (count($object->records) > 0) { // ***** Part for web sites - print '
'; - print ''; + print '
'; + print $langs->trans("Website").' : '; print '
'; print '
'; - print $langs->trans("WebSite").': '; + print ' '; print '
'; // List of website @@ -1199,7 +1201,9 @@ if (count($object->records) > 0) $out.=''; $out.=ajax_combobox('website'); print $out; - print ''; + //print ''; + print ''; + if ($website) { @@ -1215,14 +1219,14 @@ if (count($object->records) > 0) print '   '; - print ''; + print ''; //print ''; - print ''; - print ''; + print ''; + print ''; print '   '; - print ''; + print ''; /*print ''.dol_escape_htmltag($langs->trans("MediaFiles")).''; print '