Skip to content

Commit

Permalink
Merge branch 'master' of [email protected]:DoliCloud/SellYourSaas.git
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Sep 22, 2024
2 parents 822e873 + 66090d4 commit 4b2d234
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions admin/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@
print '<td>';
print '<input class="minwidth300" type="text" name="DOLICLOUD_SCRIPTS_PATH" value="'.getDolGlobalString('DOLICLOUD_SCRIPTS_PATH').'">';
print '</td>';
print '<td><span class="opacitymedium small">'.dol_buildpath('sellyoursaas/scripts').'</span></td>';
print '<td><span class="opacitymedium small wordbreak">'.dol_buildpath('sellyoursaas/scripts').'</span></td>';
print '</tr>';

foreach ($arrayofsuffixfound as $service => $suffix) {
Expand All @@ -345,7 +345,8 @@
$constname = 'SELLYOURSAAS_DEFAULT_PRODUCT'.$suffix;
print '<!-- constname = '.$constname.' -->';
$defaultproductid = getDolGlobalString($constname);
print $form->select_produits($defaultproductid, 'SELLYOURSAAS_DEFAULT_PRODUCT'.$suffix, '', 0, 0, 1, 2, '', 0, array(), 0, '1', 0, 'maxwidth500');
print img_product('', 'product', 'class="pictofixedwidth"');
print $form->select_produits($defaultproductid, 'SELLYOURSAAS_DEFAULT_PRODUCT'.$suffix, '', 0, 0, 1, 2, '', 0, array(), 0, '1', 0, 'minwidth175 maxwidth500 widthcentpercentminusx');
print '</td>';
print '<td><span class="opacitymedium small">My SaaS service for instance</span></td>';
print '</tr>';
Expand Down Expand Up @@ -383,14 +384,14 @@
print '<td>';
print '<input class="minwidth300" type="text" name="SELLYOURSAAS_REFS_URL" value="'.getDolGlobalString('SELLYOURSAAS_REFS_URL').'">';
print '</td>';
print '<td><span class="opacitymedium small">https://admin.mysaasdomainname.com/git</span></td>';
print '<td><span class="opacitymedium small wordbreak">https://admin.mysaasdomainname.com/git</span></td>';
print '</tr>';

print '<tr class="oddeven"><td class="fieldrequired">'.$langs->trans("SellYourSaasAccountUrl").'</td>';
print '<td>';
print '<input class="minwidth300" type="text" name="SELLYOURSAAS_ACCOUNT_URL" value="'.getDolGlobalString('SELLYOURSAAS_ACCOUNT_URL').'">';
print '</td>';
print '<td><span class="opacitymedium small">https://myaccount.mysaasdomainname.com<br>Note: The virtual host for this domain must point to <strong>'.dol_buildpath('sellyoursaas/myaccount').'</strong></span></td>';
print '<td><span class="opacitymedium small wordbreak">https://myaccount.mysaasdomainname.com<br>Note: The virtual host for this domain must point to <strong>'.dol_buildpath('sellyoursaas/myaccount').'</strong></span></td>';
print '</tr>';

foreach ($arrayofsuffixfound as $service => $suffix) {
Expand Down

0 comments on commit 4b2d234

Please sign in to comment.