forked from Wavyzz/dolibarr
Debug v22
This commit is contained in:
@@ -81,7 +81,7 @@ LanguageMustNotBeSameThanClonedPage=You clone a page as a translation. The langu
|
||||
ParentPageId=Parent page ID
|
||||
WebsiteId=Website ID
|
||||
CreateByFetchingExternalPage=Create page/container by fetching page from external URL...
|
||||
OrEnterPageInfoManually=Or create page from scratch or from a page template...
|
||||
OrEnterPageInfoManually=Create page from scratch or from a page template...
|
||||
FetchAndCreate=Fetch and Create
|
||||
ExportSite=Export website
|
||||
ImportSite=Import website template
|
||||
@@ -99,7 +99,7 @@ SorryWebsiteIsCurrentlyOffLine=Sorry, this website is currently off line. Please
|
||||
WEBSITE_USE_WEBSITE_ACCOUNTS=Enable the table of web site account for thirdparties
|
||||
WEBSITE_USE_WEBSITE_ACCOUNTSTooltip=Enable the table to store the web site accounts (login/pass) for each third party
|
||||
YouMustDefineTheHomePage=You must first define the default Home page
|
||||
OnlyEditionOfSourceForGrabbedContentFuture=Warning: Creating a web page by importing an external web page is reserved for experienced users. Depending on the complexity of source page, the result of importation may differ from the original. Also if the source page uses common CSS styles or conflicting JavaScript, it may break the look or features of the Website editor when working on this page. This method is a quicker way to create a page but it is recommended to create your new page from scratch or from a suggested page template.<br>Note also that the inline editor might not work correctly when used on a grabbed external page.
|
||||
OnlyEditionOfSourceForGrabbedContentFuture=Warning: Creating a web page by importing an external web page is reserved for experienced users. Depending on the complexity of source page, the result of importation will probably never be complete. Also if the source page uses common CSS styles or conflicting JavaScript, it may break the look or features of the Website editor when working on this page. This method is a quick way to create a page for very advanced users when source page allows it, but it is recommended to create your new page from scratch or from a suggested page template.<br>Note also that the inline editor might not work correctly when used on a grabbed external page.
|
||||
OnlyEditionOfSourceForGrabbedContent=Only HTML source modification is possible when content is grabbed from an external site
|
||||
GrabImagesInto=Grab also images found into css and page.
|
||||
ImagesShouldBeSavedInto=Images should be saved into directory
|
||||
@@ -455,3 +455,4 @@ SampleGoalOne=Promote cooperation and solidarity among members.
|
||||
SampleGoaltwo=Encourage responsible and sustainable practices across all activities.
|
||||
SampleGoalthree=Support impactful projects that benefit society as a whole.
|
||||
SHOW_LANG_SELECTOR=Display language selection dropdown
|
||||
ForAdvancedWebmastersOnly=For technical webmasters only
|
||||
|
||||
@@ -4732,6 +4732,8 @@ if ($action == 'editmeta' || $action == 'createcontainer') { // Edit properties
|
||||
print '<hr class="tablecheckboxcreatemanually'.$hiddenmanuallyafterload.'">';
|
||||
}
|
||||
|
||||
|
||||
|
||||
print '<table class="border tableforfield nobackground centpercent tablecheckboxcreatemanually'.$hiddenmanuallyafterload.'">';
|
||||
|
||||
if ($action != 'createcontainer') {
|
||||
@@ -5184,6 +5186,8 @@ if ($action == 'editmeta' || $action == 'createcontainer') { // Edit properties
|
||||
print '</table>';
|
||||
|
||||
if ($action == 'createcontainer') {
|
||||
$langs->load("website");
|
||||
|
||||
print '<div class="center tablecheckboxcreatemanually'.$hiddenmanuallyafterload.'">';
|
||||
|
||||
print '<input type="submit" class="button small" name="addcontainer" value="'.$langs->trans("Create").'">';
|
||||
@@ -5191,14 +5195,17 @@ if ($action == 'editmeta' || $action == 'createcontainer') { // Edit properties
|
||||
|
||||
print '</div>';
|
||||
|
||||
|
||||
print '<br>';
|
||||
|
||||
if (!empty($conf->use_javascript_ajax)) {
|
||||
print '<input type="radio" name="radiocreatefrom" id="checkboxcreatefromfetching" value="checkboxcreatefromfetching"'.(GETPOST('radiocreatefrom') == 'checkboxcreatefromfetching' ? ' checked' : '').'> ';
|
||||
}
|
||||
print '<label for="checkboxcreatefromfetching"><span class="opacitymediumxx">'.$langs->trans("CreateByFetchingExternalPage").'</span></label><br>';
|
||||
print '<label for="checkboxcreatefromfetching"><span class="opacitymediumxx">'.$langs->trans("CreateByFetchingExternalPage").'</span> <span class="small opacitymedium">('.$langs->trans("ForAdvancedWebmastersOnly").')</small></label><br>';
|
||||
print '<hr class="tablecheckboxcreatefromfetching'.$hiddenfromfetchingafterload.'">';
|
||||
|
||||
print info_admin($langs->trans("OnlyEditionOfSourceForGrabbedContentFuture"), 0, 0, 'warning tablecheckboxcreatefromfetching'.$hiddenfromfetchingafterload);
|
||||
print '<br>';
|
||||
|
||||
print '<table class="tableforfield centpercent tablecheckboxcreatefromfetching'.$hiddenfromfetchingafterload.'">';
|
||||
print '<tr><td class="titlefield tdtop">';
|
||||
print $langs->trans("URL");
|
||||
@@ -5218,10 +5225,6 @@ if ($action == 'editmeta' || $action == 'createcontainer') { // Edit properties
|
||||
print '<input class="button small" style="margin-top: 5px" type="submit" name="fetchexternalurl" value="'.dol_escape_htmltag($langs->trans("FetchAndCreate")).'">';
|
||||
print '<input class="button button-cancel small" type="submit" name="preview" value="'.$langs->trans("Cancel").'">';
|
||||
|
||||
print '<br><br>';
|
||||
|
||||
print info_admin($langs->trans("OnlyEditionOfSourceForGrabbedContentFuture"), 0, 0, 'warning');
|
||||
|
||||
print '</td></tr>';
|
||||
print '</table>';
|
||||
}
|
||||
@@ -5288,9 +5291,6 @@ if ($action == 'editmeta' || $action == 'createcontainer') { // Edit properties
|
||||
});
|
||||
</script>';
|
||||
}
|
||||
//print '</div>';
|
||||
|
||||
//print dol_get_fiche_end();
|
||||
|
||||
print '</div>';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user