Invenzzia »

IMPORTANT ANNOUNCEMENT

Due to the uncertain status of the Flyspray project, lack of new releases and moving the code repository to Github, we decided to shutdown this issue tracker by the end of January 2011. From that date, the bugs should be reported directly in Github project repositories.

List of repositories:

Open Power Template 2.x family

PLEASE PROVIDE THE TEMPLATES AND/OR PHP CODE IN THE TASK DESCRIPTION (Not URL-s to them). THAT ALLOWS US TO REPRODUCE THE PROBLEM! OTHERWISE WE ARE NOT ABLE TO HELP YOU!

Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!
Tasklist

FS#103 - short opt:insert in element

Attached to Project: Open Power Template
Opened by Damian Nowak (Nowaker) - Tuesday, 28 July 2009, 05:52 GMT-8
Last edited by Zyx (Zyx) - Thursday, 15 April 2010, 02:46 GMT-8
Task Type Feature Request
Category Template syntax
Status Closed
Assigned To Zyx (Zyx)
Operating System OS-independent
Severity Very Low
Priority Normal
Reported Version 2.0.0
Due in Version 2.1.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Now:
~~~
<div>
<opt:insert snippet="content">
default
</opt:insert>
</div>
~~~

Could be:
~~~
<div id="lay_center" opt:insert="content">
default
</div>
~~~
This task depends upon

Closed by  Zyx (Zyx)
Thursday, 15 April 2010, 02:46 GMT-8
Reason for closing:  Implemented
Additional comments about closing:  Implemented in OPT 2.1 - migrating to `opt:use`, `opt:insert` handled by automatic migration of deprecated syntax.
Comment by Zyx (Zyx) - Wednesday, 29 July 2009, 00:05 GMT-8
opt:use - already implemented.
Comment by Damian Nowak (Nowaker) - Friday, 28 August 2009, 09:36 GMT-8
  • Field changed: Percent Complete (100% → 0%)
Why creating two names for one action? opt:use attribute should be replaced with opt:insert attribute.
Comment by Zyx (Zyx) - Friday, 28 August 2009, 09:37 GMT-8
Well, actually you're right. The bigger template syntax revision is planned for OPT 2.1. Since this version, opt:insert attribute will be introduced and opt:use will become an alias, and later - deprecated.

Loading...