Форма Создания/Редактирования

Вы можете принять Colors/Actions также к форме Редактирования.

Следующие модификации должны быть выполнены для нескольких файлов, но должны быть одинаковы в каждом файле!

  • Smarty/tempates/Inventory/InventoryCreateView.tpl
  • Smarty/templates/Inventory/InventoryEditView.tpl
  • Smarty/tempates/salesEditView.tpl
Вставить в конце файла
{include_php file='./modules/Colorizer/EditViewGenerator.php'}
Поиск
{else}
<td colspan=4 class="detailedViewHeader">
<b>{$header}</b>
{/if}
</td>
</tr>
<!-- Handle the ui types display -->
{include file="DisplayFields.tpl"}
Заменить весь блок следующим кодом
{else}
</table>
	  <table border=0 cellspacing=0 cellpadding=0 width=100% class="small" id="tbl{" "|str_replace:"":$header}Head">
	<td colspan=4 class="detailedViewHeader">
		<b>{$header}</b>
	{/if}
	</td>
	  </tr>
   </table>
	 <table border=0 cellspacing=0 cellpadding=0 width=100% class="small" id="tbl{" "|str_replace:"":$header}Content">
<!-- Handle the ui types display -->
{include file="DisplayFields.tpl"}
Ваш комментарий. Вики-синтаксис разрешён:
  _   __  _____  _   __ __  __   ___ 
 | | / / / ___/ | | / / \ \/ /  / _ \
 | |/ / / (_ /  | |/ /   \  /  / // /
 |___/  \___/   |___/    /_/  /____/