--- /tmp/dsg/dolibarr/htdocs/product/canvas/service/tpl/github_19.0.3_card_create.tpl.php +++ /tmp/dsg/dolibarr/htdocs/product/canvas/service/tpl/client_card_create.tpl.php @@ -19 +19,2 @@ -if (empty($conf) || !is_object($conf)) { +if (empty($conf) || !is_object($conf)) +{ @@ -34 +35 @@ -print dol_get_fiche_head(''); +dol_fiche_head(''); @@ -42 +43 @@ - + @@ -52,3 +53 @@ -trans("RefAlreadyExists"); -} ?> +trans("RefAlreadyExists"); ?> --- /tmp/dsg/dolibarr/htdocs/product/canvas/service/tpl/github_19.0.3_card_edit.tpl.php +++ /tmp/dsg/dolibarr/htdocs/product/canvas/service/tpl/client_card_edit.tpl.php @@ -19 +19,2 @@ -if (empty($conf) || !is_object($conf)) { +if (empty($conf) || !is_object($conf)) +{ @@ -35 +36 @@ -print dol_get_fiche_head($head, 'card', $titre, 0, 'service'); +dol_fiche_head($head, 'card', $titre, 0, 'service'); @@ -41 +42 @@ - + @@ -81,2 +82,2 @@ -
">     -">
+
">     +">
--- /tmp/dsg/dolibarr/htdocs/product/canvas/service/tpl/github_19.0.3_card_view.tpl.php +++ /tmp/dsg/dolibarr/htdocs/product/canvas/service/tpl/client_card_view.tpl.php @@ -19 +19,2 @@ -if (empty($conf) || !is_object($conf)) { +if (empty($conf) || !is_object($conf)) +{ @@ -33 +34 @@ -print dol_get_fiche_head($head, 'card', $titre, -1, 'service'); +dol_fiche_head($head, 'card', $titre, -1, 'service'); @@ -36 +37 @@ -$object->next_prev_filter = " fk_product_type = ".((int) $object->type); +$object->next_prev_filter = " fk_product_type = ".$object->type; @@ -39,3 +40 @@ -if ($user->socid && !in_array('product', explode(',', getDolGlobalString('MAIN_MODULES_FOR_EXTERNAL')))) { - $shownav = 0; -} +if ($user->socid && !in_array('product', explode(',', $conf->global->MAIN_MODULES_FOR_EXTERNAL))) $shownav = 0; @@ -79 +78 @@ -note)); ?> +note; ?>