typo ortho
This commit is contained in:
parent
3b55eb1d82
commit
d1204e5e9b
@ -1074,7 +1074,7 @@ function fieldList($fieldlist, $obj = '', $tabname = '', $context = '')
|
|||||||
print '<td class="center">';
|
print '<td class="center">';
|
||||||
if ($context == 'edit' && !empty($obj->{$fieldlist[$field]}) && !in_array($obj->{$fieldlist[$field]}, array_keys($elementList)))
|
if ($context == 'edit' && !empty($obj->{$fieldlist[$field]}) && !in_array($obj->{$fieldlist[$field]}, array_keys($elementList)))
|
||||||
{
|
{
|
||||||
// Current tempalte type is an unknown type, so we must keep it as it is.
|
// Current template type is an unknown type, so we must keep it as it is.
|
||||||
print '<input type="hidden" name="type_template" value="'.$obj->{$fieldlist[$field]}.'">';
|
print '<input type="hidden" name="type_template" value="'.$obj->{$fieldlist[$field]}.'">';
|
||||||
print $obj->{$fieldlist[$field]};
|
print $obj->{$fieldlist[$field]};
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -3551,7 +3551,7 @@ if ($action == 'create')
|
|||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Lines from source (TODO Show them also when creating invoice from tempalte invoice)
|
// Lines from source (TODO Show them also when creating invoice from template invoice)
|
||||||
if (!empty($origin) && !empty($originid) && is_object($objectsrc))
|
if (!empty($origin) && !empty($originid) && is_object($objectsrc))
|
||||||
{
|
{
|
||||||
// TODO for compatibility
|
// TODO for compatibility
|
||||||
|
|||||||
@ -442,7 +442,7 @@ function dolSaveReadme($file, $content)
|
|||||||
/**
|
/**
|
||||||
* Show list of themes. Show all thumbs of themes/skins
|
* Show list of themes. Show all thumbs of themes/skins
|
||||||
*
|
*
|
||||||
* @param Website $website Object website to load the tempalte into
|
* @param Website $website Object website to load the template into
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function showWebsiteTemplates(Website $website)
|
function showWebsiteTemplates(Website $website)
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file htdocs/modulebuilder/tempalte/admin/myobject_extrafields.php
|
* \file htdocs/modulebuilder/template/admin/myobject_extrafields.php
|
||||||
* \ingroup mymodule
|
* \ingroup mymodule
|
||||||
* \brief Page to setup extra fields of myobject
|
* \brief Page to setup extra fields of myobject
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user