diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/pdl/mod_cards.pdl | 2 | ||||
-rw-r--r-- | view/tpl/cards.tpl | 8 | ||||
-rwxr-xr-x | view/tpl/jot.tpl | 4 |
3 files changed, 12 insertions, 2 deletions
diff --git a/view/pdl/mod_cards.pdl b/view/pdl/mod_cards.pdl new file mode 100644 index 000000000..2d87136c9 --- /dev/null +++ b/view/pdl/mod_cards.pdl @@ -0,0 +1,2 @@ +[region=aside] +[widget=categories][var=cards]1[/var][/widget][/region] diff --git a/view/tpl/cards.tpl b/view/tpl/cards.tpl new file mode 100644 index 000000000..ae382a97f --- /dev/null +++ b/view/tpl/cards.tpl @@ -0,0 +1,8 @@ +<div class="generic-content-wrapper"> + <div class="section-title-wrapper"> + <h2>{{$title}}</h2> + </div> + {{$editor}} + {{$content}} +</div> + {{$pager}} diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl index 39ba9e59b..8e8070402 100755 --- a/view/tpl/jot.tpl +++ b/view/tpl/jot.tpl @@ -27,7 +27,7 @@ <input type="hidden" id="jot-consensus" name="consensus" value="{{if $consensus}}{{$consensus}}{{else}}0{{/if}}" /> <input type="hidden" id="jot-nocomment" name="nocomment" value="{{if $nocomment}}{{$nocomment}}{{else}}0{{/if}}" /> - {{if $webpage}} + {{if $webpage && $webpage != 6 }} <div id="jot-pagetitle-wrap" class="jothidden"> <input name="pagetitle" id="jot-pagetitle" type="text" placeholder="{{$placeholdpagetitle}}" value="{{$pagetitle}}"> </div> @@ -35,7 +35,7 @@ <div id="jot-title-wrap" class="jothidden"> <input name="title" id="jot-title" type="text" placeholder="{{$placeholdertitle}}" tabindex="1" value="{{$title}}"> </div> - {{if $catsenabled}} + {{if $catsenabled || $webpage == 6 }} <div id="jot-category-wrap" class="jothidden"> <input name="category" id="jot-category" type="text" placeholder="{{$placeholdercategory}}" value="{{$category}}" data-role="cat-tagsinput"> </div> |