From: <am...@us...> - 2005-10-15 02:20:40
|
Update of /cvsroot/tikiwiki/tiki/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21965/templates Modified Files: Tag: BRANCH-1-9 tiki-view_tracker.tpl Log Message: Allow rating an item while creating it Index: tiki-view_tracker.tpl =================================================================== RCS file: /cvsroot/tikiwiki/tiki/templates/tiki-view_tracker.tpl,v retrieving revision 1.89.2.39 retrieving revision 1.89.2.40 diff -u -d -r1.89.2.39 -r1.89.2.40 --- tiki-view_tracker.tpl 14 Oct 2005 22:35:57 -0000 1.89.2.39 +++ tiki-view_tracker.tpl 15 Oct 2005 02:20:29 -0000 1.89.2.40 @@ -417,6 +417,12 @@ {/if} {/if} +{if $fields[ix].type eq 's' and $fields[ix].name eq "Rating" and $tiki_p_tracker_vote_ratings eq 'y'} + {section name=i loop=$fields[ix].options_array} + <input name="{$fields[ix].ins_id}" type="radio" value="{$fields[ix].options_array[i]|escape}">{$fields[ix].options_array[i]}</option> + {/section} +{/if} + {if $fields[ix].type eq 'u'} {if !$fields[ix].options or ($fields[ix].options eq '1' and $tiki_p_admin_trackers eq 'y')} <select name="{$fields[ix].ins_id}"> |