view.tpl 1.04 KB
Newer Older
Alastair Pharo's avatar
Alastair Pharo committed
1
2
3
4
{* 

  This template displays a list of the user's blog posts for a particular blog.

Penny Leach's avatar
Penny Leach committed
5
6
7
8
9
 *}

{include file="header.tpl"}

<div id="column-right">
Alastair Pharo's avatar
Alastair Pharo committed
10
{include file="adminmenu.tpl"}
Penny Leach's avatar
Penny Leach committed
11
</div>
Alastair Pharo's avatar
Alastair Pharo committed
12

13
{include file="columnleftstart.tpl"}
Alastair Pharo's avatar
Alastair Pharo committed
14
			<h2>{str section="artefact.blog" tag="viewblog"} - {$blog->get('title')|escape}</h2>
Penny Leach's avatar
Penny Leach committed
15
			
Penny Leach's avatar
Penny Leach committed
16
			<div id="myblogs">
Alastair Pharo's avatar
Alastair Pharo committed
17
18
19
                                <div>
                                    <a href="{$WWWROOT}artefact/blog/settings/?id={$blog->get('id')}">{str section="artefact.blog" tag="settings"}</a>
                                </div>
20

Penny Leach's avatar
Penny Leach committed
21
				<div class="newpost">
22
					<a href="{$WWWROOT}/artefact/blog/editpost.php?blog={$blog->get('id')}">{str section="artefact.blog" tag="addpost"}</a>
Penny Leach's avatar
Penny Leach committed
23
24
25
26
27
28
29
30
31
				</div>
		
			<table id="postlist">
				<thead>
				</thead>
				<tbody>
				</tbody>
			</table>
				
Penny Leach's avatar
Penny Leach committed
32
				<div class="newpost">
33
					<a href="{$WWWROOT}/artefact/blog/editpost.php?blog={$blog->get('id')}">{str section="artefact.blog" tag="addpost"}</a>
Penny Leach's avatar
Penny Leach committed
34
				</div>
Penny Leach's avatar
Penny Leach committed
35
36
37
				
			</div>
				
38
{include file="columnleftend.tpl"}
Alastair Pharo's avatar
Alastair Pharo committed
39
{include file="footer.tpl"}