XHTML Strict templates added for data list, commerce, file, image, and table versions of page layouts

This commit is contained in:
Steve Swanson 2006-04-06 13:59:36 +00:00
parent c0f60986aa
commit fd5be2ce2d
13 changed files with 785 additions and 0 deletions

View file

@ -0,0 +1,27 @@
#PBtmpl0000000000000021
<a href="<tmpl_var back.url>"><tmpl_var back.label></a>
<tmpl_if session.var.adminOn>
<p><tmpl_var controls></p>
</tmpl_if><p />
<table width="100%">
<tr>
<td class="tableHeader">Entry ID</td>
<tmpl_loop field_loop>
<tmpl_unless field.isMailField>
<td class="tableHeader"><tmpl_var field.label></td>
</tmpl_unless field.isMailField>
</tmpl_loop field_loop>
<td class="tableHeader">Submission Date</td>
</tr>
<tmpl_loop record_loop>
<tr>
<td class="tableData"><a href="<tmpl_var record.edit.url>"><tmpl_var record.entryId></a></td>
<tmpl_loop record.data_loop>
<tmpl_unless record.data.isMailField>
<td class="tableData"><tmpl_var record.data.value></td>
</tmpl_unless record.data.isMailField>
</tmpl_loop record.data_loop>
<td class="tableData"><tmpl_var record.submissionDate.human></td>
</tr>
</tmpl_loop record_loop>
</table>

View file

@ -0,0 +1,17 @@
#PBtmpl0000000000000017
<tmpl_if pluginsAvailable>
<tmpl_var message><br />
<tmpl_var formHeader>
<table border="0" cellspacing="0" cellpadding="5">
<tmpl_loop pluginLoop>
<tr>
<td><tmpl_var formElement></td>
<td align="left"><tmpl_var name></td>
</tr>
</tmpl_loop>
</table>
<tmpl_var formSubmit>
<tmpl_var formFooter>
<tmpl_else>
<tmpl_var noPluginsMessage>
</tmpl_if>

View file

@ -0,0 +1,17 @@
#PBtmplCSSM000000000001
<tmpl_if pluginsAvailable>
<tmpl_var message><br />
<tmpl_var formHeader>
<table border="0" cellspacing="0" cellpadding="5">
<tmpl_loop pluginLoop>
<tr>
<td><tmpl_var formElement></td>
<td align="left"><tmpl_var name></td>
</tr>
</tmpl_loop>
</table>
<tmpl_var formSubmit>
<tmpl_var formFooter>
<tmpl_else>
<tmpl_var noPluginsMessage>
</tmpl_if>

View file

@ -0,0 +1,51 @@
#PBtmplVSC0000000000001
<tmpl_if cartEmpty>
<tmpl_var cartEmpty.message>
<tmpl_else>
<tmpl_var updateForm.header>
<table>
<tr align="left">
<th></th>
<th style="border-bottom: 2px solid black">Product</th>
<th style="border-bottom: 2px solid black">Quantity</th>
<th style="border-bottom: 2px solid black">Price</th>
</tr>
<tmpl_if normalItems>
</tmpl_if>
<tmpl_loop normalItemsLoop>
<tr>
<td><tmpl_var deleteIcon></td>
<td align="left"><tmpl_var name></td>
<td align="center"><tmpl_var quantity.form></td>
<td align="right"><tmpl_var totalPrice></td>
</tr>
</tmpl_loop>
<tmpl_loop recurringItemsLoop>
<tr>
<td><tmpl_var deleteIcon></td>
<td align="left"><tmpl_var name></td>
<td align="center"><tmpl_var quantity.form></td>
<td align="right"><tmpl_var totalPrice></td>
</tr>
</tmpl_loop>
<tr style="border-top: 1px solid black">
<td></td>
<td style="border-top: 1px solid black">&nbsp;</td>
<td align="right" style="border-top: 1px solid black"><b>Total</b></td>
<td align="right" colspan="3" style="border-top: 1px solid black"><b><tmpl_var total></b></td>
</tr>
</table>
<tmpl_var updateForm.button>
<tmpl_var updateForm.footer>
<tmpl_var checkoutForm.header>
<tmpl_var checkoutForm.button>
<tmpl_var checkoutForm.footer>
</tmpl_if>

View file

@ -0,0 +1,19 @@
#PBtmpl0000000000000019
<table border="0">
<tmpl_loop purchaseHistoryLoop>
<tr>
<td><b><tmpl_var initDate></b></td>
<td><b><tmpl_var completionDate></b></td>
<td align="right"><b>$ <tmpl_var amount></b></td>
<td><b><tmpl_var status></b></td>
<td><tmpl_if canCancel><a href="<tmpl_var cancelUrl>">Cancel</a></tmpl_if></td>
</tr>
<tmpl_loop itemLoop>
<tr>
<td "align=right"><tmpl_var quantity> x </td>
<td "align=left"><tmpl_var itemName></td>
<td "align=right">$ <tmpl_var amount></td>
</tr>
</tmpl_loop>
</tmpl_loop>
</table>

View file

@ -0,0 +1,2 @@
#PBtmpl0000000000000024
<tmpl_if session.var.adminOn><tmpl_if controls><p><tmpl_var controls></p></tmpl_if></tmpl_if><a href="<tmpl_var fileUrl>"><img src="<tmpl_var fileIcon>" alt="<tmpl_var title>" style="border-style:none;" /><tmpl_var filename></a>

View file

@ -0,0 +1,2 @@
#PBtmpl0000000000000088
<tmpl_if session.var.adminOn><tmpl_if controls><p><tmpl_var controls></p></tmpl_if></tmpl_if><img src="<tmpl_var fileUrl>" <tmpl_var parameters> />

View file

@ -0,0 +1,20 @@
#PBtmpl00000000table125
#title:Left Column (Table)
#menuTitle:Left Column (Table)
#url:left_column_table
<div><a name="id<tmpl_var assetId>" id="id<tmpl_var assetId>"></a></div> <tmpl_if showAdmin> <p><tmpl_var controls></p> </tmpl_if> <tmpl_if displayTitle> <h2><tmpl_var title></h2> </tmpl_if>
<table cellpadding="5">
<tr>
<td class="firstColumn" align="left" valign="top">
<!-- begin position 1 --> <div class="layoutColumnPadding"> <tmpl_if showAdmin> <table border="0" id="position1" class="content"><tbody> </tmpl_if> <tmpl_loop position1_loop> <tmpl_if showAdmin> <tr id="td<tmpl_var id>"> <td><div id="td<tmpl_var id>_div" class="dragable"> </tmpl_if> <div class="content"><tmpl_var dragger.icon><tmpl_var content></div> <tmpl_if showAdmin> </div></td> </tr> </tmpl_if> </tmpl_loop> <tmpl_if showAdmin> </tbody></table> </tmpl_if> </div> <!-- end position 1 -->
</td>
<td class="secondColumn" align="left" valign="top">
<!-- begin position 2 --> <div class="layoutColumnPadding"> <tmpl_if showAdmin> <table border="0" id="position2" class="content"><tbody> </tmpl_if> <tmpl_loop position2_loop> <tmpl_if showAdmin> <tr id="td<tmpl_var id>"> <td><div id="td<tmpl_var id>_div" class="dragable"> </tmpl_if> <div class="content"><tmpl_var dragger.icon><tmpl_var content></div> <tmpl_if showAdmin> </div></td> </tr> </tmpl_if> </tmpl_loop> <tmpl_if showAdmin> </tbody></table> </tmpl_if> </div> <!-- end position 2 -->
</td>
</tr>
</table>
<tmpl_if description> <p><tmpl_var description></p> </tmpl_if> <tmpl_if showAdmin> <table><tr id="blank" class="hidden"><td><div><div class="empty">&nbsp;</div></div></td></tr></table> <tmpl_var dragger.init> </tmpl_if>
~~~
<style type="text/css"> .firstColumn { width: 35%; } .secondColumn { max-width: 65%; } </style>

View file

@ -0,0 +1,148 @@
#PBtmpl00000000table094
#title:News (Table)
#menuTitle:News (Table)
#url:news_table
<div><a name="id<tmpl_var assetId>" id="id<tmpl_var assetId>"></a></div>
<tmpl_if showAdmin>
<p><tmpl_var controls></p>
</tmpl_if>
<tmpl_if displayTitle>
<h2><tmpl_var title></h2>
</tmpl_if>
<tmpl_if description>
<p><tmpl_var description></p>
</tmpl_if>
<table cellpadding="5">
<tr>
<td align="left" valign="top" colspan="2">
<!-- begin position 1 -->
<div class="layoutColumnPadding">
<tmpl_if showAdmin>
<table border="0" id="position1" class="content"><tbody>
</tmpl_if>
<tmpl_loop position1_loop>
<tmpl_if showAdmin>
<tr id="td<tmpl_var id>">
<td><div id="td<tmpl_var id>_div" class="dragable">
</tmpl_if>
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
<tmpl_if showAdmin>
</div></td>
</tr>
</tmpl_if>
</tmpl_loop>
<tmpl_if showAdmin>
</tbody></table>
</tmpl_if>
</div>
<!-- end position 1 -->
</td>
</tr>
<tr>
<td class="firstColumn" align="left" valign="top">
<!-- begin position 2 -->
<div class="layoutColumnPadding">
<tmpl_if showAdmin>
<table border="0" id="position2" class="content"><tbody>
</tmpl_if>
<tmpl_loop position2_loop>
<tmpl_if showAdmin>
<tr id="td<tmpl_var id>">
<td><div id="td<tmpl_var id>_div" class="dragable">
</tmpl_if>
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
<tmpl_if showAdmin>
</div></td>
</tr>
</tmpl_if>
</tmpl_loop>
<tmpl_if showAdmin>
</tbody></table>
</tmpl_if>
</div>
<!-- end position 2 -->
</td>
<td class="secondColumn" align="left" valign="top">
<!-- begin position 3 -->
<div class="layoutColumnPadding">
<tmpl_if showAdmin>
<table border="0" id="position3" class="content"><tbody>
</tmpl_if>
<tmpl_loop position3_loop>
<tmpl_if showAdmin>
<tr id="td<tmpl_var id>">
<td><div id="td<tmpl_var id>_div" class="dragable">
</tmpl_if>
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
<tmpl_if showAdmin>
</div></td>
</tr>
</tmpl_if>
</tmpl_loop>
<tmpl_if showAdmin>
</tbody></table>
</tmpl_if>
</div>
<!-- end position 3 -->
</td>
</tr>
<tr>
<td align="left" valign="top" colspan="2">
<!-- begin position 4 -->
<div class="layoutColumnPadding">
<tmpl_if showAdmin>
<table border="0" id="position4" class="content"><tbody>
</tmpl_if>
<tmpl_loop position4_loop>
<tmpl_if showAdmin>
<tr id="td<tmpl_var id>">
<td><div id="td<tmpl_var id>_div" class="dragable">
</tmpl_if>
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
<tmpl_if showAdmin>
</div></td>
</tr>
</tmpl_if>
</tmpl_loop>
<tmpl_if showAdmin>
</tbody></table>
</tmpl_if>
</div>
<!-- end position 4 -->
</td>
</tr>
</table>
<tmpl_if showAdmin>
<table><tr id="blank" class="hidden"><td><div><div class="empty">&nbsp;</div></div></td></tr></table>
<tmpl_var dragger.init>
</tmpl_if>
~~~
<style type="text/css">
.firstColumn {
width: 50%;
}
.secondColumn {
width: 50%;
}
</style>

View file

@ -0,0 +1,151 @@
#PBtmpl00000000table109
#title:One Over Three (Table)
#menuTitle:One Over Three (Table)
#url:one_over_three_table
<div><a name="id<tmpl_var assetId>" id="id<tmpl_var assetId>"></a></div>
<tmpl_if showAdmin>
<p><tmpl_var controls></p>
</tmpl_if>
<tmpl_if displayTitle>
<h2><tmpl_var title></h2>
</tmpl_if>
<tmpl_if description>
<p><tmpl_var description></p>
</tmpl_if>
<table cellpadding="5">
<tr>
<td colspan="3" align="left" valign="top">
<!-- begin position 1 -->
<div class="layoutColumnPadding">
<tmpl_if showAdmin>
<table border="0" id="position1" class="content"><tbody>
</tmpl_if>
<tmpl_loop position1_loop>
<tmpl_if showAdmin>
<tr id="td<tmpl_var id>">
<td><div id="td<tmpl_var id>_div" class="dragable">
</tmpl_if>
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
<tmpl_if showAdmin>
</div></td>
</tr>
</tmpl_if>
</tmpl_loop>
<tmpl_if showAdmin>
</tbody></table>
</tmpl_if>
</div>
<!-- end position 1 -->
</td>
</tr>
<tr>
<td class="firstColumn" align="left" valign="top">
<!-- begin position 2 -->
<div class="layoutColumnPadding">
<tmpl_if showAdmin>
<table border="0" id="position2" class="content"><tbody>
</tmpl_if>
<tmpl_loop position2_loop>
<tmpl_if showAdmin>
<tr id="td<tmpl_var id>">
<td><div id="td<tmpl_var id>_div" class="dragable">
</tmpl_if>
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
<tmpl_if showAdmin>
</div></td>
</tr>
</tmpl_if>
</tmpl_loop>
<tmpl_if showAdmin>
</tbody></table>
</tmpl_if>
</div>
<!-- end position 2 -->
</td>
<td class="secondColumn" align="left" valign="top">
<!-- begin position 3 -->
<div class="layoutColumnPadding">
<tmpl_if showAdmin>
<table border="0" id="position3" class="content"><tbody>
</tmpl_if>
<tmpl_loop position3_loop>
<tmpl_if showAdmin>
<tr id="td<tmpl_var id>">
<td><div id="td<tmpl_var id>_div" class="dragable">
</tmpl_if>
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
<tmpl_if showAdmin>
</div></td>
</tr>
</tmpl_if>
</tmpl_loop>
<tmpl_if showAdmin>
</tbody></table>
</tmpl_if>
</div>
<!-- end position 3 -->
</td>
<td class="thirdColumn" align="left" valign="top">
<!-- begin position 4 -->
<div class="layoutColumnPadding">
<tmpl_if showAdmin>
<table border="0" id="position4" class="content"><tbody>
</tmpl_if>
<tmpl_loop position4_loop>
<tmpl_if showAdmin>
<tr id="td<tmpl_var id>">
<td><div id="td<tmpl_var id>_div" class="dragable">
</tmpl_if>
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
<tmpl_if showAdmin>
</div></td>
</tr>
</tmpl_if>
</tmpl_loop>
<tmpl_if showAdmin>
</tbody></table>
</tmpl_if>
</div>
<!-- end position 4 -->
</td>
</tr>
</table>
<tmpl_if showAdmin>
<table><tr id="blank" class="hidden"><td><div><div class="empty">&nbsp;</div></div></td></tr></table>
<tmpl_var dragger.init>
</tmpl_if>
~~~
<style type="text/css">
.firstColumn {
width: 33%;
}
.secondColumn {
width: 33%;
}
.thirdColumn {
width: 33%;
}
</style>

View file

@ -0,0 +1,90 @@
#PBtmpl00000000table131
#title:Right Column (Table)
#menuTitle:Right Column (Table)
#url:right_column_table
<div><a name="id<tmpl_var assetId>" id="id<tmpl_var assetId>"></a></div>
<tmpl_if showAdmin>
<p><tmpl_var controls></p>
</tmpl_if>
<tmpl_if displayTitle>
<h2><tmpl_var title></h2>
</tmpl_if>
<tmpl_if description>
<p><tmpl_var description></p>
</tmpl_if>
<table cellspacing="5">
<tr>
<td class="firstColumn" valign="top" align="left">
<!-- begin position 1 -->
<div class="layoutColumnPadding">
<tmpl_if showAdmin>
<table border="0" id="position1" class="content"><tbody>
</tmpl_if>
<tmpl_loop position1_loop>
<tmpl_if showAdmin>
<tr id="td<tmpl_var id>">
<td><div id="td<tmpl_var id>_div" class="dragable">
</tmpl_if>
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
<tmpl_if showAdmin>
</div></td>
</tr>
</tmpl_if>
</tmpl_loop>
<tmpl_if showAdmin>
</tbody></table>
</tmpl_if>
</div>
<!-- end position 1 -->
</td>
<td class="secondColumn" valign="top" align="left">
<!-- begin position 2 -->
<div class="layoutColumnPadding">
<tmpl_if showAdmin>
<table border="0" id="position2" class="content"><tbody>
</tmpl_if>
<tmpl_loop position2_loop>
<tmpl_if showAdmin>
<tr id="td<tmpl_var id>">
<td><div id="td<tmpl_var id>_div" class="dragable">
</tmpl_if>
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
<tmpl_if showAdmin>
</div></td>
</tr>
</tmpl_if>
</tmpl_loop>
<tmpl_if showAdmin>
</tbody></table>
</tmpl_if>
</div>
<!-- end position 2 -->
</td>
</tr>
</table>
<tmpl_if showAdmin>
<table><tr id="blank" class="hidden"><td><div><div class="empty">&nbsp;</div></div></td></tr></table>
<tmpl_var dragger.init>
</tmpl_if>
~~~
<style type="text/css">
.firstColumn {
width: 65%;
}
.secondColumn {
width: 35%;
}
</style>

View file

@ -0,0 +1,91 @@
#PBtmpl00000000table135
#title:Side By Side (Table)
#menuTitle:Side By Side (Table)
#url:side_by_side_table
<div><a name="id<tmpl_var assetId>" id="id<tmpl_var assetId>"></a></div>
<tmpl_if showAdmin>
<p><tmpl_var controls></p>
</tmpl_if>
<tmpl_if displayTitle>
<h2><tmpl_var title></h2>
</tmpl_if>
<tmpl_if description>
<p><tmpl_var description></p>
</tmpl_if>
<table>
<tr>
<td class="firstColumn" valign="top" align="left">
<!-- begin position 1 -->
<div class="layoutColumnPadding">
<tmpl_if showAdmin>
<table border="0" id="position1" class="content"><tbody>
</tmpl_if>
<tmpl_loop position1_loop>
<tmpl_if showAdmin>
<tr id="td<tmpl_var id>">
<td><div id="td<tmpl_var id>_div" class="dragable">
</tmpl_if>
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
<tmpl_if showAdmin>
</div></td>
</tr>
</tmpl_if>
</tmpl_loop>
<tmpl_if showAdmin>
</tbody></table>
</tmpl_if>
</div>
<!-- end position 1 -->
</td>
<td class="secondColumn" valign="top" align="left">
<!-- begin position 2 -->
<div class="layoutColumnPadding">
<tmpl_if showAdmin>
<table border="0" id="position2" class="content"><tbody>
</tmpl_if>
<tmpl_loop position2_loop>
<tmpl_if showAdmin>
<tr id="td<tmpl_var id>">
<td><div id="td<tmpl_var id>_div" class="dragable">
</tmpl_if>
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
<tmpl_if showAdmin>
</div></td>
</tr>
</tmpl_if>
</tmpl_loop>
<tmpl_if showAdmin>
</tbody></table>
</tmpl_if>
</div>
<!-- end position 2 -->
</td>
</tr>
</table>
<tmpl_if showAdmin>
<table><tr id="blank" class="hidden"><td><div><div class="empty">&nbsp;</div></div></td></tr></table>
<tmpl_var dragger.init>
</tmpl_if>
~~~
<style type="text/css">
.firstColumn {
width: 50%;
}
.secondColumn {
width:50%;
}
</style>

View file

@ -0,0 +1,150 @@
#PBtmpl00000000table118
#title:Three Over One (Table)
#menuTitle:Three Over One (Table)
#url:three_over_one_table
<div><a name="id<tmpl_var assetId>" id="id<tmpl_var assetId>"></a></div>
<tmpl_if showAdmin>
<p><tmpl_var controls></p>
</tmpl_if>
<tmpl_if displayTitle>
<h2><tmpl_var title></h2>
</tmpl_if>
<tmpl_if description>
<p><tmpl_var description></p>
</tmpl_if>
<table cellpadding="5">
<tr>
<td class="firstColumn" align="left" valign="top">
<!-- begin position 1 -->
<div class="layoutColumnPadding">
<tmpl_if showAdmin>
<table border="0" id="position1" class="content"><tbody>
</tmpl_if>
<tmpl_loop position1_loop>
<tmpl_if showAdmin>
<tr id="td<tmpl_var id>">
<td><div id="td<tmpl_var id>_div" class="dragable">
</tmpl_if>
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
<tmpl_if showAdmin>
</div></td>
</tr>
</tmpl_if>
</tmpl_loop>
<tmpl_if showAdmin>
</tbody></table>
</tmpl_if>
</div>
<!-- end position 1 -->
</td>
<td class="secondColumn" align="left" valign="top">
<!-- begin position 2 -->
<div class="layoutColumnPadding">
<tmpl_if showAdmin>
<table border="0" id="position2" class="content"><tbody>
</tmpl_if>
<tmpl_loop position2_loop>
<tmpl_if showAdmin>
<tr id="td<tmpl_var id>">
<td><div id="td<tmpl_var id>_div" class="dragable">
</tmpl_if>
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
<tmpl_if showAdmin>
</div></td>
</tr>
</tmpl_if>
</tmpl_loop>
<tmpl_if showAdmin>
</tbody></table>
</tmpl_if>
</div>
<!-- end position 2 -->
</td>
<td class="thirdColumn" align="left" valign="top">
<!-- begin position 3 -->
<div class="layoutColumnPadding">
<tmpl_if showAdmin>
<table border="0" id="position3" class="content"><tbody>
</tmpl_if>
<tmpl_loop position3_loop>
<tmpl_if showAdmin>
<tr id="td<tmpl_var id>">
<td><div id="td<tmpl_var id>_div" class="dragable">
</tmpl_if>
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
<tmpl_if showAdmin>
</div></td>
</tr>
</tmpl_if>
</tmpl_loop>
<tmpl_if showAdmin>
</tbody></table>
</tmpl_if>
</div>
<!-- end position 3 -->
</td>
</tr>
<tr>
<td align="left" valign="top" colspan="3">
<!-- begin position 4 -->
<div class="layoutColumnPadding">
<tmpl_if showAdmin>
<table border="0" id="position4" class="content"><tbody>
</tmpl_if>
<tmpl_loop position4_loop>
<tmpl_if showAdmin>
<tr id="td<tmpl_var id>">
<td><div id="td<tmpl_var id>_div" class="dragable">
</tmpl_if>
<div class="content"><tmpl_var dragger.icon><tmpl_var content></div>
<tmpl_if showAdmin>
</div></td>
</tr>
</tmpl_if>
</tmpl_loop>
<tmpl_if showAdmin>
</tbody></table>
</tmpl_if>
</div>
<!-- end position 4 -->
</td>
</tr>
</table>
<tmpl_if showAdmin>
<table><tr id="blank" class="hidden"><td><div><div class="empty">&nbsp;</div></div></td></tr></table>
<tmpl_var dragger.init>
</tmpl_if>
~~~
<style type="text/css">
.firstColumn {
width: 33%;
}
.secondColumn {
width: 33%;
}
.thirdColumn {
width: 33%;
}
</style>