|
f5bd05c5
»
|
vito |
2008-05-03 |
* Theme::load will now acce... |
1 |
{% extends "layout.twig" %} |
|
ab6da60c
»
|
vito |
2008-05-03 |
More work on post managemen... |
2 |
|
|
e96f0403
»
|
vito |
2008-05-05 |
More admin updates. |
3 |
{% block title %}${ "Manage Posts" | translate }{% endblock %} |
| |
4 |
|
|
f5bd05c5
»
|
vito |
2008-05-03 |
* Theme::load will now acce... |
5 |
{% block content %} |
|
ab6da60c
»
|
vito |
2008-05-03 |
More work on post managemen... |
6 |
<h1>${ "Manage Posts" | translate }</h1> |
|
73d062ba
»
|
vito |
2008-05-21 |
Added 'Need More Detail?' f... |
7 |
<h2>${ "Need more detail?" | translate }</h2> |
| |
8 |
<form class="detail" action="index.php" method="get" accept-charset="utf-8"> |
|
1a1c9bc0
»
|
vito |
2008-06-03 |
* Implemented help dialogue... |
9 |
<fieldset> |
| |
10 |
<input type="hidden" name="action" value="manage_posts" /> |
| |
11 |
<div class="left pad margin-right"> |
|
9032f030
»
|
vito |
2008-07-09 |
Added some basic core help ... |
12 |
<h3> |
| |
13 |
${ "Search…" | translate } |
| |
14 |
<a href="{% admin "help&id=filtering_results" %}" class="help emblem"><img src="images/icons/help.png" alt="help" /></a> |
| |
15 |
</h3> |
|
1a1c9bc0
»
|
vito |
2008-06-03 |
* Implemented help dialogue... |
16 |
<input class="text" type="text" name="query" value="${ GET.query | escape }" id="query" /> <button type="submit" class="inline">${ "Search →" | translate }</button> |
| |
17 |
</div> |
| |
18 |
<div class="left pad"> |
| |
19 |
<h3>${ "Browse by month:" | translate }</h3> |
| |
20 |
<select name="month"> |
| |
21 |
<option value="">----------</option> |
|
16b55e79
»
|
vito |
2008-06-11 |
Removed some Theme aspects ... |
22 |
{% for archive in theme.archives_list %} |
|
5cffbb5e
»
|
vito |
2008-06-24 |
* Moved all date representa... |
23 |
<option value="${ archive.when | strftime("%Y-%m") }"${ GET.month | option_selected(archive.when | strftime("%Y-%m")) }>${ archive.when | strftime("%B %Y") } ($archive.count)</option> |
|
1a1c9bc0
»
|
vito |
2008-06-03 |
* Implemented help dialogue... |
24 |
{% endfor %} |
| |
25 |
</select> |
| |
26 |
<button type="submit" class="inline">${ "Show →" | translate }</button> |
| |
27 |
</div> |
|
edc05821
»
|
vito |
2008-06-24 |
* AJAX editing form should ... |
28 |
<div class="clear"></div> |
|
1a1c9bc0
»
|
vito |
2008-06-03 |
* Implemented help dialogue... |
29 |
</fieldset> |
|
73d062ba
»
|
vito |
2008-05-21 |
Added 'Need More Detail?' f... |
30 |
</form> |
| |
31 |
<br /> |
|
4e3143b9
»
|
vito |
2008-08-29 |
Added bulk tag managing and... |
32 |
<h2>{% if GET.query %}${ "Search Results" | translate }{% else %}${ "Last 25 Posts" | translate }{% endif %}</h2> |
|
ab6da60c
»
|
vito |
2008-05-03 |
More work on post managemen... |
33 |
<table border="0" cellspacing="0" cellpadding="0" class="wide"> |
|
05fcaa5c
»
|
vito |
2008-05-10 |
* Restructuring of JS libra... |
34 |
<thead> |
| |
35 |
<tr class="head"> |
| |
36 |
<th>${ "Title" | translate }</th> |
| |
37 |
<th>${ "Posted" | translate }</th> |
| |
38 |
<th>${ "Status" | translate }</th> |
| |
39 |
<th>${ "Author" | translate }</th> |
|
a223b55d
»
|
vito |
2008-06-04 |
* Removed {% trigger "foo" %} |
40 |
${ trigger.call("manage_posts_column_header") } |
|
05fcaa5c
»
|
vito |
2008-05-10 |
* Restructuring of JS libra... |
41 |
<th colspan="2">${ "Controls" | translate }</th> |
| |
42 |
</tr> |
| |
43 |
</thead> |
| |
44 |
<tbody> |
|
2f03a04d
»
|
vito |
2008-06-11 |
* Added new Paginator class... |
45 |
{% for post in posts.paginated %} |
|
40723b52
»
|
vito |
2008-09-06 |
* Group-specific post statu... |
46 |
<tr id="post_$post.id" class="post $post.status_class{% if loop.last %} last{% endif %}"> |
|
83444868
»
|
vito |
2008-07-08 |
Encode the & in the dirty p... |
47 |
<td class="main"><a href="$post.url">${ post.title | truncate }</a></td> |
|
05fcaa5c
»
|
vito |
2008-05-10 |
* Restructuring of JS libra... |
48 |
<td>${ post.created_at | strftime }</td> |
|
40723b52
»
|
vito |
2008-09-06 |
* Group-specific post statu... |
49 |
<td>$post.status_name</td> |
|
05fcaa5c
»
|
vito |
2008-05-10 |
* Restructuring of JS libra... |
50 |
<td>$post.user.login</td> |
|
d8ce51ba
»
|
vito |
2008-06-07 |
Removed Twig filter. |
51 |
${ trigger.call("manage_posts_column", post) } |
|
23783147
»
|
vito |
2008-06-07 |
Improved controls column on... |
52 |
{% if post.editable and post.deletable %} |
|
65c64fed
»
|
vito |
2008-06-09 |
Various l10n updates and fi... |
53 |
<td class="controls">${ post.edit_link('<img src="images/icons/edit.png" alt="edit" /> '~("edit" | translate)) }</td> |
| |
54 |
<td class="controls">${ post.delete_link('<img src="images/icons/delete.png" alt="delete" /> '~("delete" | translate)) }</td> |
|
23783147
»
|
vito |
2008-06-07 |
Improved controls column on... |
55 |
{% elseif post.editable or post.deletable %} |
|
65c64fed
»
|
vito |
2008-06-09 |
Various l10n updates and fi... |
56 |
${ post.edit_link('<img src="images/icons/edit.png" alt="edit" /> '~("edit" | translate), '<td class="controls" colspan="2">', '</td>') } |
| |
57 |
${ post.delete_link('<img src="images/icons/delete.png" alt="delete" /> '~("delete" | translate), '<td class="controls" colspan="2">', '</td>') } |
|
8d242fda
»
|
brucep |
2008-06-07 |
Manage Posts should only sh... |
58 |
{% endif %} |
|
05fcaa5c
»
|
vito |
2008-05-10 |
* Restructuring of JS libra... |
59 |
</tr> |
|
1a1c9bc0
»
|
vito |
2008-06-03 |
* Implemented help dialogue... |
60 |
{% else %} |
|
22f8427f
»
|
vito |
2008-06-10 |
Finished porting over Comme... |
61 |
<tr class="last"> |
|
1a1c9bc0
»
|
vito |
2008-06-03 |
* Implemented help dialogue... |
62 |
<td colspan="6" class="center"><span class="sub">${ "(none)" | translate }</span></td> |
| |
63 |
</tr> |
|
ab6da60c
»
|
vito |
2008-05-03 |
More work on post managemen... |
64 |
{% endfor %} |
|
05fcaa5c
»
|
vito |
2008-05-10 |
* Restructuring of JS libra... |
65 |
</tbody> |
|
ab6da60c
»
|
vito |
2008-05-03 |
More work on post managemen... |
66 |
</table> |
|
65c64fed
»
|
vito |
2008-06-09 |
Various l10n updates and fi... |
67 |
<br /> |
|
e1c0389f
»
|
vito |
2008-09-06 |
* Added "Page # of #" text ... |
68 |
<div class="pagination"> |
| |
69 |
$posts.next_link |
| |
70 |
$posts.prev_link |
| |
71 |
{% if posts.paginated and posts.pages > 1 %} |
| |
72 |
<span class="pages">${ "Page %d of %d" | translate | format(posts.page, posts.pages) }</span> |
| |
73 |
{% endif %} |
| |
74 |
</div> |
|
f5bd05c5
»
|
vito |
2008-05-03 |
* Theme::load will now acce... |
75 |
{% endblock %} |