Ignore:
Timestamp:
04/16/09 02:33:03 (15 years ago)
Author:
nanardon
Message:
  • cleanup old functions and switch everything to new objects
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/root/templates/admin/index.tt

    r206 r207  
    11[% vote = c.model('Vote') %] 
    2 [% poll = c.model('Vote').poll('voteid') %] 
     2[% poll = c.model('Vote').poll(voteid) %] 
    33 
    44[% FOREACH voteid = c.model('Vote').list_comming_vote %] 
    5 <a href="[% c.uri_for('/admin', voteid) %]">[% c.model('Vote').poll('voteid').info('label') | html %]</a> 
     5<a href="[% c.uri_for('/admin', voteid) %]">[% poll.info('label') | html %]</a> 
    66<br> 
    77[% END %] 
Note: See TracChangeset for help on using the changeset viewer.