it's also a way to avoid someone writing for example a php script and posting to a normal form like comment. php is removed from normal forms input
On Tue, Aug 30, 2011 at 3:49 PM, rg1024 <[email protected]> wrote: > probably the problem is that <php doesn't work in forms as i recently wrote > (line 66 of php.php) > I don't know the reason for this...but suspect is the a way to avoid aiki > markup when somebody are editing a widget. > > -- > You received this bug notification because you are subscribed to > aikiframework. > https://bugs.launchpad.net/bugs/836828 > > Title: > php is not working inside sql > > Status in Aiki Framework: > New > > Bug description: > php is not working inside inline sql > > example from ocal > > <select id="permission_((userid))"> > (sql( > (SELECT * from aiki_users_groups|| > <option value="[-[group_level]-]" <php if [-[group_level]-] == > ((usergroup)) then selected="selected" php>>[-[group_permissions]-] > <php str_replace(foo,bar,foobar) php></option>) > )sql) > </select> > > it displays > > <select id="permission_655411"> > > <option value="1" >SystemGOD </option> > <option value="2" >librarian </option> > <option value="3" >ViewPublished </option> > > <option value="101" >nothing </option> > <option value="4" >normal </option> > <option value="3" >employees </option> > </select> > > no selected="selected" and no barbar > > To manage notifications about this bug go to: > https://bugs.launchpad.net/aikiframework/+bug/836828/+subscriptions > -- Bassel Safadi http://bassel.ws http://aikilab.org Global +1 323-545-3855 Singapore +65 93488349 -- You received this bug notification because you are a member of Aiki Framework Admins, which is subscribed to aikiframework. https://bugs.launchpad.net/bugs/836828 Title: php is not working inside sql Status in Aiki Framework: New Bug description: php is not working inside inline sql example from ocal <select id="permission_((userid))"> (sql( (SELECT * from aiki_users_groups|| <option value="[-[group_level]-]" <php if [-[group_level]-] == ((usergroup)) then selected="selected" php>>[-[group_permissions]-] <php str_replace(foo,bar,foobar) php></option>) )sql) </select> it displays <select id="permission_655411"> <option value="1" >SystemGOD </option> <option value="2" >librarian </option> <option value="3" >ViewPublished </option> <option value="101" >nothing </option> <option value="4" >normal </option> <option value="3" >employees </option> </select> no selected="selected" and no barbar To manage notifications about this bug go to: https://bugs.launchpad.net/aikiframework/+bug/836828/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~aikiframework.admins Post to : [email protected] Unsubscribe : https://launchpad.net/~aikiframework.admins More help : https://help.launchpad.net/ListHelp

