Update setup page

This commit is contained in:
Laurent Destailleur 2021-03-21 21:29:11 +01:00
parent f3f773733d
commit c69ad6ee8b
2 changed files with 4 additions and 5 deletions

View File

@ -18,4 +18,4 @@ ModuleZapierForDolibarrDesc = Zapier for Dolibarr module
ZapierForDolibarrSetup=Setup of Zapier for Dolibarr
ZapierDescription=Interface with Zapier
ZapierAbout=About the module Zapier
ZapierSetupPage=Page to setup the module Zapier
ZapierSetupPage=There is no need for a setup on Dolibarr side to use Zapier. However, you must generate and publish a package on zapier to be able to use Zapier with Dolibarr. See documentation on <a href="https://wiki.dolibarr.org/index.php/Module_Zapier">this wiki page</a>.

View File

@ -76,9 +76,6 @@ print load_fiche_titre($langs->trans($page_name), $linkback, 'object_zapier');
$head = zapierAdminPrepareHead();
print dol_get_fiche_head($head, 'settings', '', -1, "zapier");
// Setup page goes here
echo '<span class="opacitymedium">'.$langs->trans("ZapierSetupPage").'</span><br><br>';
if ($action == 'edit') {
print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'">';
@ -118,7 +115,9 @@ if ($action == 'edit') {
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=edit">'.$langs->trans("Modify").'</a>';
print '</div>';
} else {
print '<br>'.$langs->trans("NothingToSetup");
// Setup page goes here
echo '<br><br><span class="opacitymediumdisabled">'.$langs->trans("ZapierSetupPage").'</span><br><br>';
//print '<br>'.$langs->trans("NothingToSetup");
}
}