/[glsr]/trunk/templates/gentoo/admin/news.tpl
Gentoo

Diff of /trunk/templates/gentoo/admin/news.tpl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 150 Revision 151
1{INCLUDE header.tpl} 1{INCLUDE header.tpl}
2 2
3 <form name="news" method="POST" action="adminpanel.py"> 3 <form name="news" method="POST" action="admin/panel.py">
4 <input type="hidden" name="page" value="news" /> 4 <input type="hidden" name="page" value="news" />
5 5
6 <table width="80%" class="standard_table"> 6 <table width="80%" class="standard_table">
7 <tr> 7 <tr>
8 <td colspan="2" class="header"> 8 <td colspan="2" class="header">
58 </tr> 58 </tr>
59 {!IF} 59 {!IF}
60 60
61 {LOOP NEWS_LOOP} 61 {LOOP NEWS_LOOP}
62 <tr> 62 <tr>
63 <td class="std_row_0"><a href="{GLSR_URL}/adminpanel.py?page=news&news_id={NEWS_LOOP.news_id}&modify=modify">{NEWS_LOOP.news_subject}</a></td> 63 <td class="std_row_{is_odd(iterator(NEWS_LOOP))}"><a href="{GLSR_URL}/admin/panel.py?page=news&news_id={NEWS_LOOP.news_id}&modify=modify">{NEWS_LOOP.news_subject}</a></td>
64 <td class="std_row_0">{NEWS_LOOP.news_date}</td> 64 <td class="std_row_{is_odd(iterator(NEWS_LOOP))}">{NEWS_LOOP.news_date}</td>
65 <td class="std_row_0"><a href="{GLSR_URL}/profile.py?page=view&uid={NEWS_LOOP.news_author_id}">{NEWS_LOOP.news_author}</a></td> 65 <td class="std_row_{is_odd(iterator(NEWS_LOOP))}"><a href="{GLSR_URL}/profile.py?page=view&uid={NEWS_LOOP.news_author_id}">{NEWS_LOOP.news_author}</a></td>
66 <td class="std_row_0" align="center"><input type="checkbox" name="delete_btn" value="{NEWS_LOOP.news_id}" /></td> 66 <td class="std_row_{is_odd(iterator(NEWS_LOOP))}" align="center"><input type="checkbox" name="delete_btn" value="{NEWS_LOOP.news_id}" /></td>
67 </tr> 67 </tr>
68 {!LOOP} 68 {!LOOP}
69 69
70 {IF len(NEWS_LOOP) > 0} 70 {IF len(NEWS_LOOP) > 0}
71 <tr> 71 <tr>
72 <td class="std_cell" colspan="5" align="right"><input type="submit" class="button" name="delete" value="Delete" />&nbsp;&nbsp;</td> 72 <td class="standard_cell" colspan="5" align="right"><input type="submit" class="button" name="delete" value="Delete" />&nbsp;&nbsp;</td>
73 </tr> 73 </tr>
74 {!IF} 74 {!IF}
75 </table> 75 </table>
76 {!IF} 76 {!IF}
77 77

Legend:
Removed from v.150  
changed lines
  Added in v.151

  ViewVC Help
Powered by ViewVC 1.1.20