Added bulleted list and indent nav navigations, and also an html version default email used for data forms
This commit is contained in:
parent
9b6a80fdac
commit
f523827f9e
3 changed files with 128 additions and 0 deletions
57
docs/upgrades/templates-6.99.2/wgtemplate_bulleted_list.tmpl
Normal file
57
docs/upgrades/templates-6.99.2/wgtemplate_bulleted_list.tmpl
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
#PBnav00000000000bullet
|
||||
#title:Bulleted List
|
||||
#menuTitle:Bulleted List
|
||||
#url:bulleted_list
|
||||
#namespace:Navigation
|
||||
<tmpl_if session.var.adminOn>
|
||||
<tmpl_var controls><br />
|
||||
</tmpl_if>
|
||||
<tmpl_if displayTitle>
|
||||
<h2><tmpl_var title></h2>
|
||||
</tmpl_if>
|
||||
<tmpl_if description>
|
||||
<p><tmpl_var description></p>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_loop page_loop>
|
||||
<tmpl_if __FIRST__>
|
||||
<ul class="bulletList">
|
||||
</tmpl_if>
|
||||
|
||||
|
||||
<tmpl_loop page.depthDiff_loop>
|
||||
</ul></li>
|
||||
</tmpl_loop>
|
||||
|
||||
<li class="level<tmpl_var page.relDepth>"><a <tmpl_if page.newWindow>onclick="window.open('<tmpl_var page.url>')" href="#" <tmpl_else>href="<tmpl_var page.url>"</tmpl_if>><tmpl_var page.menuTitle></a>
|
||||
<tmpl_if page.hasViewableChildren>
|
||||
<ul>
|
||||
<tmpl_else>
|
||||
</li>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if __LAST__>
|
||||
<tmpl_loop page.indent_loop>
|
||||
<tmpl_unless __first__></li></tmpl_unless>
|
||||
</ul>
|
||||
</tmpl_loop>
|
||||
</li></ul>
|
||||
</tmpl_if>
|
||||
</tmpl_loop>
|
||||
~~~
|
||||
<style type="text/css">
|
||||
ul.bulletList li, ul.bulletList ul {
|
||||
margin-left:7px;
|
||||
padding-left:0px;
|
||||
font-size:9px;
|
||||
}
|
||||
|
||||
.bulletList .level0 {
|
||||
font-size:13px;
|
||||
}
|
||||
|
||||
.bulletList .level1 {
|
||||
font-size:11px;
|
||||
}
|
||||
</style>
|
||||
|
||||
12
docs/upgrades/templates-6.99.2/wgtemplate_default_email.tmpl
Normal file
12
docs/upgrades/templates-6.99.2/wgtemplate_default_email.tmpl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#PBtmpl0000000000000085
|
||||
<br /><br />
|
||||
<tmpl_loop field_loop>
|
||||
<table cellpadding="3" cellspacing="2" border="0" width="80%">
|
||||
<tmpl_unless field.isMailField>
|
||||
<tr>
|
||||
<td width="23%" align="right" bgcolor="#DFDFDF" style="background-color:#DFDFDF;"><b><tmpl_var field.label> :</b></td>
|
||||
<td width="75%" bgcolor="#F0F0F0" style="background-color:#F0F0F0;"><tmpl_var field.value></td>
|
||||
</tr>
|
||||
</tmpl_unless>
|
||||
</table>
|
||||
</tmpl_loop>
|
||||
59
docs/upgrades/templates-6.99.2/wgtemplate_indentnav.tmpl
Normal file
59
docs/upgrades/templates-6.99.2/wgtemplate_indentnav.tmpl
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
#PBnav00000000indentnav
|
||||
#title:Indent Nav
|
||||
#menuTitle:Indent Nav
|
||||
#url:indent_nav
|
||||
#namespace:Navigation
|
||||
<tmpl_if displayTitle>
|
||||
<h2><tmpl_var title></h2>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if description>
|
||||
<p><tmpl_var description></p>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if session.var.adminOn>
|
||||
<tmpl_var controls>
|
||||
</tmpl_if>
|
||||
|
||||
<div class="mainNav">
|
||||
<tmpl_loop page_loop>
|
||||
<div class="level<tmpl_var page.relDepth>">
|
||||
<a <tmpl_if page.isCurrent> class="navOn"</tmpl_if><tmpl_if page.isAncestor> class="anAncestor" </tmpl_if><tmpl_if page.newWindow>onclick="window.open('<tmpl_var page.url>')" href="#" <tmpl_else>href="<tmpl_var page.url>"</tmpl_if>><tmpl_var page.menuTitle></a>
|
||||
</div>
|
||||
</tmpl_loop>
|
||||
</div>
|
||||
~~~
|
||||
<style type="text/css">
|
||||
.mainNav {
|
||||
|
||||
}
|
||||
.mainNav a {
|
||||
|
||||
}
|
||||
a.navOn {
|
||||
|
||||
}
|
||||
a.anAncestor {
|
||||
|
||||
}
|
||||
div.level0 a {
|
||||
margin-left:0px;
|
||||
display:block;
|
||||
}
|
||||
div.level1 a {
|
||||
margin-left:15px;
|
||||
display:block;
|
||||
}
|
||||
div.level2 a {
|
||||
margin-left:30px;
|
||||
display:block;
|
||||
}
|
||||
div.level3 a {
|
||||
margin-left:45px;
|
||||
display:block;
|
||||
}
|
||||
div.level4 a {
|
||||
margin-left:60px;
|
||||
display:block;
|
||||
}
|
||||
</style>
|
||||
Loading…
Add table
Add a link
Reference in a new issue