/
Remove endless "!" inside admin templates
Remove endless "!" inside admin templates
Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/1565976435f1f2ab#
In earlier template parser versions, used in In-Portal we had problems distinguishing simple text and labels, that should be translated. At that times we invented ability to escape text with "!" in form "!label_here!" so it will be translated.
For quite some time this is no longer a problem and that ! in admin template actually do nothing and are stripped at the end. Example code:
<inp2:m_RenderElement name="inp_edit_options" prefix="formflds" field="ElementType" title="!la_prompt_InputType!"/>
As you can notice title parameter value displays the problem I've described.
We will remove all such occurrences of "!" in one release and will remove code, that strips ! in next version, so all users will be forced to to change their code as well.