diff options
-rw-r--r-- | view/tpl/wiki_page_list.tpl | 9 | ||||
-rw-r--r-- | view/tpl/wikilist.tpl | 12 |
2 files changed, 21 insertions, 0 deletions
diff --git a/view/tpl/wiki_page_list.tpl b/view/tpl/wiki_page_list.tpl new file mode 100644 index 000000000..015ffb930 --- /dev/null +++ b/view/tpl/wiki_page_list.tpl @@ -0,0 +1,9 @@ +<div id="wiki_page_list" class="widget"> + <h3>{{$header}}</h3> + <ul class="nav nav-pills nav-stacked"> + {{foreach $pages as $page}} + <li><a href="">{{$page}}</a></li> + {{/foreach}} + </ul> +</div> + diff --git a/view/tpl/wikilist.tpl b/view/tpl/wikilist.tpl new file mode 100644 index 000000000..b76bb359c --- /dev/null +++ b/view/tpl/wikilist.tpl @@ -0,0 +1,12 @@ +<div id="wiki_list" class="widget"> + <h3>{{$header}}</h3> + <ul class="nav nav-pills nav-stacked"> + {{foreach $read as $r}} + <li><a href="">{{$r}}</a></li> + {{/foreach}} + {{foreach $write as $r}} + <li><a href="">{{$r}}</a></li> + {{/foreach}} + </ul> +</div> + |