%{$_|lang:'_CONTENT_MANAGEMENT'}%
%{if $POST.id_sm_components}%%{$_|lang:'_EDIT'}% %{$POST.type|slownik:'ComponentsType':'value'}% [
%{if $POST.title}%%{$POST.title}%%{else}%%{$POST.path}%%{/if}%
]%{else}%%{$_|lang:'_DEFINE_COMPONENT'}%%{/if}%
%{if $POST.id_sm_components}%
%{/if}%
%{$POST|field:'title':'_COMPONENT_TITLE':'text':'maxlength=256':$VALID:'':'head head-slim':'data data-slim'}% %{$POST|field:'description':'_COMPONENT_DESCRIPTION':'text':'maxlength=512':$VALID:'':'head head-slim':'data data-slim'}% %{if $POST.id_sm_components}% %{if $POST.type eq 'COMPONENT_TYPE'|config or $POST.type eq 'COMPONENT_TYPE_2'|config}% %{$POST.type|slownik:'ComponentsType':'select':'':$able|field:'type':'_COMPONENT_TYPE':'select':'style=width:400px;':$VALID.type:'':'head head-slim':'data data-slim'}% %{else}%
%{$POST.type|slownik:'ComponentsType':'select'|field:'typec':'_COMPONENT_TYPE':'select':'style=width:400px;&disabled=disabled':$VALID.type:'':'head head-slim':'data data-slim'}% %{/if}%
%{$POST.path|field:'pathc':'_COMPONENT_PATH':'text':'maxlength=256&disabled=disabled':$VALID.path:'':'head head-slim':'data data-slim'}%
%{'1'|field:'new':'_NEW_COMPONENT':'checkbox':'disabled=disabled':$VALID:'':'head head-slim':'data data-slim'}% %{else}% %{if $POST.type}%%{assign var="type" value=$POST.type}%%{else}%%{assign var="type" value='COMPONENT_TYPE'|config}%%{/if}% %{$type|slownik:'ComponentsType':'select'|field:'type':'_COMPONENT_TYPE':'select':'style=width:400px;':$VALID:'':'head head-slim':'data data-slim'}% %{$POST|field:'path':'_COMPONENT_PATH':'text':'maxlength=256':$VALID:'':'head head-slim path':'data data-slim path'}% %{$POST|field:'name':'_COMPONENT_NAME':'text':'maxlength=256':$VALID:'':'head head-slim name':'data data-slim name'}% %{$POST|field:'new':'_NEW_COMPONENT':'checkbox':'':$VALID:'':'head head-slim':'data data-slim'}% %{/if}%
%{$_|lang:'_INPUT_PHP_CODE'}%
%{$POST.content|stripslashes|htmlspecialchars}%
%{$_|lang:'_INPUT_HTML_CODE'}%
%{$POST.content2|stripslashes|htmlspecialchars}%
%{'PluginPanelButtonsList'|plugin}%