|
19 | 19 | * @var Conf $conf |
20 | 20 | * @var DoliDB $db |
21 | 21 | * @var HookManager $hookmanager |
| 22 | + * @var Societe $mythirdpartyaccount |
22 | 23 | * @var Translate $langs |
| 24 | + * |
| 25 | + * @var string $initialaction |
23 | 26 | */ |
24 | 27 |
|
25 | 28 | // Protection to avoid direct call of template |
|
32 | 35 | <!-- BEGIN PHP TEMPLATE mymodulecustomerinstances.tpl.php --> |
33 | 36 | <?php |
34 | 37 |
|
| 38 | +/* |
35 | 39 | $plan = GETPOST('plan', 'alpha'); |
36 | 40 |
|
37 | 41 | $planarray = preg_split('/(,|;)/', $plan); |
38 | 42 | if (!empty($planarray[1])) { |
39 | 43 | $productref = 'array'; |
40 | 44 | } |
| 45 | +*/ |
41 | 46 |
|
42 | 47 | print ' |
43 | 48 | <div class="page-content-wrapper"> |
|
249 | 254 |
|
250 | 255 | // Customer (link to login on customer dashboard) |
251 | 256 | print '<span class="opacitymedium">'.$langs->trans("Customer").' : </span>'.$tmpcustomer->name; |
| 257 | + print ' '.dol_print_email($tmpcustomer->email); |
252 | 258 | print '<br>'; |
253 | 259 |
|
254 | 260 | // URL |
|
652 | 658 |
|
653 | 659 | print ' |
654 | 660 | </div> |
655 | | - </div> |
656 | | - <div class="tab-pane" id="tab_ssh_'.$contract->id.'"> |
657 | | - <p class="opacitymedium" style="padding: 15px">'.$langs->trans("SSHFTPDesc"); |
| 661 | + </div>'; |
| 662 | + |
| 663 | + print ' |
| 664 | + <div class="tab-pane" id="tab_ssh_'.$contract->id.'"> |
| 665 | + <p class="opacitymedium" style="padding: 15px">'.$langs->trans("SSHFTPDesc"); |
| 666 | + |
| 667 | + print '<p class="opacitymedium" style="padding: 15px">'.$langs->trans("AccessIsReservedTofinalCustomerOnly").'</p>'; |
| 668 | + /* |
658 | 669 | if ($directaccess == 1 || ($directaccess == 2 && empty($foundtemplate)) || ($directaccess == 3 && !empty($foundtemplate))) { |
659 | 670 | // Show message "To connect, you will need the following information:" |
660 | 671 | print '<br>'.$langs->trans("SSHFTPDesc2").' :'; |
|
704 | 715 | print '<p class="opacitymedium" style="padding: 15px">'.$langs->trans("SorryFeatureNotAvailableInYourPlan").'</p>'; |
705 | 716 | } |
706 | 717 | } |
| 718 | + */ |
707 | 719 |
|
708 | 720 | print ' |
709 | | - </div> <!-- END TAB SSH PANE --> |
| 721 | + </div> <!-- END TAB SSH PANE -->'; |
710 | 722 |
|
711 | | - <div class="tab-pane" id="tab_db_'.$contract->id.'"> |
712 | | - <p class="opacitymedium" style="padding: 15px">'.$langs->trans("DBDesc"); |
| 723 | + print ' |
| 724 | + <div class="tab-pane" id="tab_db_'.$contract->id.'"> |
| 725 | + <p class="opacitymedium" style="padding: 15px">'.$langs->trans("DBDesc"); |
| 726 | + |
| 727 | + print '<p class="opacitymedium" style="padding: 15px">'.$langs->trans("AccessIsReservedTofinalCustomerOnly").'</p>'; |
| 728 | + |
| 729 | + /* |
713 | 730 | if ($directaccess == 1 || ($directaccess == 2 && empty($foundtemplate)) || ($directaccess == 3 && !empty($foundtemplate))) { |
714 | 731 | // Show message "To connect, you will need the following information:" |
715 | 732 | print '<br>'.$langs->trans("DBDesc2").' :'; |
|
780 | 797 | print '<p class="opacitymedium" style="padding: 15px">'.$langs->trans("SorryFeatureNotAvailableInYourPlan").'</p>'; |
781 | 798 | } |
782 | 799 | } |
| 800 | + */ |
783 | 801 |
|
784 | 802 | print ' |
785 | 803 | </div> <!-- END TAB DB PANE --> |
|
0 commit comments