fix: New templates XHML compliance
This commit is contained in:
parent
8b04aad855
commit
5a23f11707
25 changed files with 2960 additions and 1 deletions
|
|
@ -25,6 +25,7 @@
|
|||
- Made some improvements to the mail subsystems.
|
||||
- fix: Revised WebGUI::HTML::filter "all" so that text does not run together when
|
||||
tags are removed. Added additional tests to HTML.t. (Eric Kennedy)
|
||||
- fix: Templates XHTML compliance (Wouter van Oijen / ProcoliX)
|
||||
|
||||
|
||||
7.0.2
|
||||
|
|
|
|||
|
|
@ -0,0 +1,65 @@
|
|||
#PBtmpl0000000000000016
|
||||
<a href="<tmpl_var viewShoppingCart.url>"><tmpl_var viewShoppingCart.label></a> ·
|
||||
<a href="<tmpl_var changePayment.url>"><tmpl_var changePayment.label></a> ·
|
||||
<a href="<tmpl_var changeShipping.url>"><tmpl_var changeShipping.label></a><br />
|
||||
<br />
|
||||
|
||||
<tmpl_var title><br />
|
||||
<ul>
|
||||
<tmpl_loop errorLoop>
|
||||
<li><tmpl_var message></li>
|
||||
</tmpl_loop>
|
||||
</ul>
|
||||
|
||||
<table> <tr align="left">
|
||||
<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" align='center'>Price</th>
|
||||
<th style="border-bottom: 2px solid black">Amount</th>
|
||||
<th style="border-bottom: 2px solid black">Each</th>
|
||||
</tr>
|
||||
|
||||
<tmpl_if normalItems>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_loop normalItemsLoop>
|
||||
<tr>
|
||||
<td align="left"><tmpl_var name></td>
|
||||
<td align="center"><tmpl_var quantity></td>
|
||||
<td align="right"><tmpl_var price></td>
|
||||
<td align="right"><tmpl_var totalPrice></td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</tmpl_loop>
|
||||
|
||||
<tmpl_loop recurringItemsLoop>
|
||||
<tr>
|
||||
<td align="left"><tmpl_var name></td>
|
||||
<td align="center"><tmpl_var quantity></td>
|
||||
<td align="left"><tmpl_var price></td>
|
||||
<td align="right"><tmpl_var totalPrice></td>
|
||||
<td align="left"><tmpl_var period></td>
|
||||
</tr>
|
||||
</tmpl_loop>
|
||||
<tr style="border-top: 1px solid black">
|
||||
<td colspan='2' style="border-top: 1px solid black"> </td>
|
||||
<td align="right" style="border-top: 1px solid black"><b>Subtotal</b></td>
|
||||
<td align="right" style="border-top: 1px solid black"><b><tmpl_var subtotal></b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" align="right">Shipping</td>
|
||||
<td align="right"><tmpl_var shippingCost></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" align="right"><tmpl_var discountsApplied.label></td>
|
||||
<td align="right"><tmpl_var discountsApplied></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" align="right" style="border-top: 1px solid black"><b>Total</b></td>
|
||||
<td align="right" style="border-top: 1px solid black"><b><tmpl_var total></b></td>
|
||||
|
||||
</table>
|
||||
|
||||
<br /><br />
|
||||
|
||||
<tmpl_var form>
|
||||
275
docs/upgrades/templates-7.0.3/default_ems_template.tmpl
Normal file
275
docs/upgrades/templates-7.0.3/default_ems_template.tmpl
Normal file
|
|
@ -0,0 +1,275 @@
|
|||
#EventManagerTmpl000001
|
||||
<a name="id<tmpl_var assetId>" id="id<tmpl_var assetId>"></a>
|
||||
<tmpl_if displayTitle>
|
||||
<h2><tmpl_var title></h2>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if session.var.adminOn>
|
||||
<p><tmpl_var controls></p><br /><br />
|
||||
</tmpl_if>
|
||||
|
||||
<table cellpadding="3" cellspacing="0" style="width:98%" class="EMS_view">
|
||||
<tr>
|
||||
<td valign="top">
|
||||
|
||||
<tmpl_if canManageEvents>
|
||||
<br />
|
||||
<table cellpadding="5" cellspacing="0" style="width:100%">
|
||||
<tr style="height:30px;">
|
||||
<td valign="top" style="width:190px;"><a href="<tmpl_var manageEvents.url>">Manage Events</a></td>
|
||||
<td>(Event Directors and Staff)</td>
|
||||
</tr>
|
||||
<tr style="height:30px">
|
||||
<td valign="top" style="width:190px;"><a href="<tmpl_var manageRegistrants.url>">Manage Registrants</a></td>
|
||||
<td>(Event Directors and Staff)</td>
|
||||
</tr>
|
||||
</tmpl_if>
|
||||
|
||||
<tr style="height:30px">
|
||||
<td valign="top" style="width:190px;"><a href="<tmpl_var managePurchases.url>">Modify Existing Badge</a></td>
|
||||
<td>Add Events to a Badge you've already purchased</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td style="width:250px" valign="top" align="center">
|
||||
|
||||
<tmpl_if cart.purchaseLoop>
|
||||
<div class="cart">
|
||||
<h2>Shopping Cart</h2>
|
||||
|
||||
<tmpl_loop cart.purchaseLoop>
|
||||
<div class="cartContent">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<b><tmpl_var purchase.mainEventTitle></b><br />
|
||||
<tmpl_loop registrantInfoLoop>
|
||||
Name: <tmpl_var firstName> <tmpl_var lastName>
|
||||
</tmpl_loop>
|
||||
<br />
|
||||
Additional Price: $<tmpl_var newPrice>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border-top:solid silver 1px;">
|
||||
<a href="<tmpl_var edit.url>" class="button"><img src="^Extras;/toolbar/bullet/edit.gif" style="border-style:none" alt="edit" /></a>
|
||||
<a href="<tmpl_var delete.url>" class="button"><img src="^Extras;/toolbar/bullet/delete.gif" style="border-style:none" alt="delete" /></a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</tmpl_loop>
|
||||
|
||||
<a href="<tmpl_var emptyCart.url>">Empty Cart</a><br /><a href="<tmpl_var checkout.url>">Checkout</a>
|
||||
</div>
|
||||
</tmpl_if>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
|
||||
<div>
|
||||
<span class="StepLabel">Step 1: </span> Choose a badge from the list below, or click the link above to add events to a badge you've already purchased.
|
||||
</div>
|
||||
<br />
|
||||
|
||||
<table width="100%" border="0" cellpadding="8" cellspacing="0">
|
||||
<tmpl_loop events_loop>
|
||||
<tr>
|
||||
<td valign="top" colspan="7"><tmpl_var event></td>
|
||||
</tr>
|
||||
</tmpl_loop>
|
||||
</table>
|
||||
<tmpl_var paginateBar>
|
||||
~~~
|
||||
|
||||
<style type="text/css">
|
||||
.EMS_view {
|
||||
background-color:#F4F4F4;
|
||||
border:solid #E2E2E2 1px;
|
||||
-moz-border-radius:15px;
|
||||
}
|
||||
.EMS_view a {
|
||||
width:200px;
|
||||
background-color:#E2E2E2;
|
||||
padding:5px;
|
||||
color:gray;
|
||||
border:solid silver 1px;
|
||||
text-decoration:none;
|
||||
font-weight:bold;
|
||||
text-align:center;
|
||||
-moz-border-radius:10px;
|
||||
display:block;
|
||||
font-size:7pt;
|
||||
margin-left:10px;
|
||||
-moz-box-sizing:border-box;
|
||||
}
|
||||
.EMS_view a:hover {
|
||||
background-color:#F0F0F0;
|
||||
border-color:#E2E2E2;
|
||||
}
|
||||
tr.oddRow td {
|
||||
background-color:#DADADA;
|
||||
border-right:solid gray 1px;
|
||||
}
|
||||
tr.evenRow td {
|
||||
background-color:#E8E8E8;
|
||||
border-right:solid gray 1px;
|
||||
}
|
||||
.manageEvents {
|
||||
margin-top:5px;
|
||||
margin-bottom:5px;
|
||||
}
|
||||
.datacardtitle {
|
||||
background: #3D5690;
|
||||
color: white;
|
||||
font-family: verdana;
|
||||
font-weight: bold;
|
||||
font-size:13px;
|
||||
}
|
||||
|
||||
.leftnav{
|
||||
padding: 1px 1px 1px 1px;
|
||||
background: white;
|
||||
color: black;
|
||||
font-family: verdana;
|
||||
font-weight: bold;
|
||||
font-size:11px;
|
||||
border: 2px #3D5690 ridge;
|
||||
}
|
||||
.leftnavon{
|
||||
padding: 1px 1px 1px 1px;
|
||||
background: yellow;
|
||||
color: black;
|
||||
font-family: verdana;
|
||||
font-weight: bold;
|
||||
font-size:11px;
|
||||
border: 2px #3D5690 ridge;
|
||||
}
|
||||
.calendartitle {
|
||||
background: #3D5690;
|
||||
color: white;
|
||||
font-family: verdana;
|
||||
font-weight: bold;
|
||||
font-size:11px;
|
||||
}
|
||||
.filter-select {
|
||||
font-family: verdana;
|
||||
font-size: 10px;
|
||||
font-weight: normal;
|
||||
color: black;
|
||||
width: 105px;
|
||||
}
|
||||
.compare-select {
|
||||
font-family: verdana;
|
||||
font-size: 10px;
|
||||
font-weight: normal;
|
||||
color: black;
|
||||
width: 76px;
|
||||
}
|
||||
.filter-text {
|
||||
font-family: verdana;
|
||||
font-size: 10px;
|
||||
font-weight: normal;
|
||||
color: black;
|
||||
width: 114px;
|
||||
}
|
||||
.smLink {
|
||||
font-family: verdana;
|
||||
font-size: 10px;
|
||||
font-weight: normal;
|
||||
color: blue;
|
||||
}
|
||||
|
||||
.StepLabel { font-family: Tahoma; font-size: 14pt; letter-spacing: 2pt; color: #234E9C;
|
||||
font-weight: bold }
|
||||
.cart {
|
||||
background-color:#F0F0F0;
|
||||
-moz-border-radius:15px;
|
||||
padding:5px;
|
||||
-moz-box-sizing:border-box;
|
||||
box-sizing:border-box;
|
||||
font-family:verdana;
|
||||
font-size:9pt;
|
||||
border:solid #E2E2E2 1px;
|
||||
margin-right:10px;
|
||||
text-align:left;
|
||||
}
|
||||
.cart h2 {
|
||||
width:100%;
|
||||
font-size:12.5pt;
|
||||
background-color:#E2E2E2;
|
||||
text-align:center;
|
||||
-moz-border-radius-topLeft:15px;
|
||||
-moz-border-radius-topRight:15px;
|
||||
margin:0px;
|
||||
border:solid #E0E0E0 1px;
|
||||
padding:5px;
|
||||
-moz-box-sizing:border-box;
|
||||
box-sizing:border-box;
|
||||
color:gray;
|
||||
}
|
||||
.cartContent {
|
||||
background-color:#F4F4F4;
|
||||
margin:0px;
|
||||
margin-top:5px;
|
||||
margin-bottom:5px;
|
||||
border:solid #E0E0E0 1px;
|
||||
padding:5px;
|
||||
-moz-box-sizing:border-box;
|
||||
box-sizing:border-box;
|
||||
font-family:verdana;
|
||||
font-size:9pt;
|
||||
}
|
||||
.cartContent a.button {
|
||||
background-color:#CF1D1D;
|
||||
padding:5px;
|
||||
color:white;
|
||||
border:solid #9C1616 1px;
|
||||
text-decoration:none;
|
||||
font-weight:bold;
|
||||
text-align:center;
|
||||
-moz-border-radius:10px;
|
||||
font-size:7pt;
|
||||
margin-left:10px;
|
||||
margin-top:2px;
|
||||
width:auto;
|
||||
display:block;
|
||||
float:right;
|
||||
}
|
||||
.cartContent a.button:hover {
|
||||
background-color:#9C1616;
|
||||
color:#CF1D1D;
|
||||
color:white;
|
||||
}
|
||||
.cartFooter {
|
||||
width:100%;
|
||||
background-color:#E2E2E2;
|
||||
-moz-border-radius-bottomLeft:15px;
|
||||
-moz-border-radius-bottomRight:15px;
|
||||
margin:0px;
|
||||
border:solid #E0E0E0 1px;
|
||||
padding:5px;
|
||||
-moz-box-sizing:border-box;
|
||||
box-sizing:border-box;
|
||||
text-align:center;
|
||||
}
|
||||
.cartFooter a {
|
||||
|
||||
background-color:#E2E2E2;
|
||||
padding:5px;
|
||||
color:gray;
|
||||
border:solid #F4F4F4 1px;
|
||||
text-decoration:none;
|
||||
font-weight:bold;
|
||||
text-align:center;
|
||||
-moz-border-radius:10px;
|
||||
display:block;
|
||||
}
|
||||
.cartFooter a:hover {
|
||||
background-color:#F0F0F0;
|
||||
color:gray;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -0,0 +1,130 @@
|
|||
#EventManagerTmpl000005
|
||||
<script type="text/javascript">
|
||||
function confirmDelete(url) {
|
||||
if(confirm("Are you sure you wish to delete ALL registrations tied to this purchaseId?")) {
|
||||
location.href=url;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<tmpl_if session.var.adminOn>
|
||||
<p><tmpl_var controls></p><br /><br />
|
||||
</tmpl_if>
|
||||
<h2><tmpl_var viewPurchaseTitle></h2>
|
||||
|
||||
<tmpl_if canReturn><tmpl_if canReturnTransaction>
|
||||
<div style="text-align:right;">
|
||||
(<a href="<tmpl_var appUrl>?func=returnItem;tid=<tmpl_var transactionId>">Return Entire Purchase</a>)
|
||||
</div>
|
||||
</tmpl_if></tmpl_if>
|
||||
|
||||
<tmpl_loop purchasesLoop>
|
||||
<table width="100%" border="0" class="viewPurchase">
|
||||
<tr>
|
||||
<td class="badgeTitle">Badge Name</td>
|
||||
<td class="itinerary">
|
||||
Itinerary <tmpl_if canReturn><tmpl_if canReturnItinerary>(<a href="<tmpl_var appUrl>?func=returnItem;pid=<tmpl_var purchaseId>">Return Entire Itinerary</a>)</tmpl_if></tmpl_if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="badgeName" valign="top">
|
||||
<tmpl_var firstName> <tmpl_var lastName><br /><tmpl_if canReturn><a href="<tmpl_var appUrl>?func=editRegistrant;badgeId=<tmpl_var badgeId>"><img src="/extras/toolbar/bullet/edit.gif" alt="edit" border="0" /></a></tmpl_if><br />
|
||||
<a href="<tmpl_var appUrl>?func=viewPurchase;badgeId=<tmpl_var badgeId>">View All Registrations for this Registrant</a>
|
||||
<br /><br /><tmpl_unless registrantView>
|
||||
<tmpl_if purchaseEventId><tmpl_if canAddEvents><tmpl_if canReturnItinerary><a href="<tmpl_var appUrl>?func=addEventsToBadge;bid=<tmpl_var badgeId>;eventId=<tmpl_var purchaseEventId>">Add Events To Badge</a><tmpl_else>Returned</tmpl_if></tmpl_if></tmpl_if>
|
||||
</tmpl_unless>
|
||||
</td>
|
||||
<td valign="top">
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td><strong>Event Title</strong></td>
|
||||
<td><strong>Event Dates</strong></td>
|
||||
<tmpl_if canReturn>
|
||||
<td><strong>Return Registration</strong></td>
|
||||
</tmpl_if>
|
||||
</tr>
|
||||
<tmpl_loop regLoop>
|
||||
<tr<tmpl_unless __ODD__> class="evenRow"<tmpl_else> class="oddRow"</tmpl_unless>>
|
||||
<td><tmpl_var sku>: <tmpl_var title></td>
|
||||
<td><tmpl_var startDateHuman> - <tmpl_var endDateHuman></td>
|
||||
<tmpl_if canReturn>
|
||||
<td><tmpl_if returned>RETURNED<tmpl_else><a href="<tmpl_var appUrl>?func=returnItem;rid=<tmpl_var registrationId>">Return This Registration</a></tmpl_if></td>
|
||||
</tmpl_if>
|
||||
</tr>
|
||||
</tmpl_loop>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</tmpl_loop>
|
||||
|
||||
<br /><br />
|
||||
<tmpl_if hasIncompleteTransactions>
|
||||
|
||||
<table width="100%">
|
||||
<tr><td colspan="6" align="center"><h2>Unpurchased Registrations</h2></td></tr>
|
||||
<tr><td colspan="6">Badge Id: <tmpl_var badgeId></td></tr>
|
||||
<tr><td height="10" colspan="6"> </td></tr>
|
||||
<tr><th>Event Number</th>
|
||||
<th>Title</th>
|
||||
<th>RegistrationId</th>
|
||||
<th>Returned</th>
|
||||
<th>Transaction Id</th>
|
||||
<th>Status</th>
|
||||
</tr>
|
||||
|
||||
<tmpl_loop incompleteTransactions_loop>
|
||||
<tr><td height="10" colspan="6"> </td></tr>
|
||||
<tr><td colspan="4" bgcolor="#a0a0a0">Purchase Id: <tmpl_var purchaseId>
|
||||
<tmpl_if canDeleteRegistration>
|
||||
<br/>
|
||||
<a href="javascript:void(confirmDelete('<tmpl_var deleteRegistration.url>'));"><tmpl_var deleteRegistration.label></a>
|
||||
</tmpl_if>
|
||||
</td>
|
||||
<td bgcolor="#a0a0a0"><tmpl_var form.header><tmpl_var form.transactionSelect></td><td bgcolor="#a0a0a0"><tmpl_var form.submit><tmpl_var form.footer></td></tr>
|
||||
<tmpl_loop unpurchased_loop>
|
||||
<tr
|
||||
<tmpl_if __ODD__>bgcolor="#e0e0e0"
|
||||
<tmpl_else>bgcolor="#c0c0c0"
|
||||
</tmpl_if>
|
||||
>
|
||||
<td><tmpl_var sku></td>
|
||||
<td><tmpl_var title></td>
|
||||
<td><tmpl_var registrationId></td>
|
||||
<td align="center"><tmpl_var returned></td>
|
||||
<td><tmpl_var transactionId></td>
|
||||
<td><tmpl_var transactioStatus></td>
|
||||
</tr>
|
||||
</tmpl_loop>
|
||||
</tmpl_loop>
|
||||
</table>
|
||||
</tmpl_if>
|
||||
~~~
|
||||
<style type="text/css">
|
||||
.viewPurchase {
|
||||
border-bottom:solid silver 2px;
|
||||
}
|
||||
.viewPurchase td {
|
||||
font-size:10pt;
|
||||
}
|
||||
tr.oddRow td {
|
||||
background-color:#DADADA;
|
||||
border-right:solid gray 1px;
|
||||
}
|
||||
tr.evenRow td {
|
||||
background-color:#E8E8E8;
|
||||
border-right:solid gray 1px;
|
||||
}
|
||||
td.badgeTitle, td.itinerary {
|
||||
font-size:9pt;
|
||||
font-weight:bold;
|
||||
border-bottom:solid gray 1px;
|
||||
}
|
||||
td.badgeName {
|
||||
font-size:9pt;
|
||||
font-style:italic;
|
||||
}
|
||||
h2 {
|
||||
margin-bottom:3px;
|
||||
}
|
||||
</style>
|
||||
2
docs/upgrades/templates-7.0.3/default_file_macro.tmpl
Normal file
2
docs/upgrades/templates-7.0.3/default_file_macro.tmpl
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
#PBtmpl0000000000000039
|
||||
<a href="<tmpl_var file.url>"><img src="<tmpl_var file.icon>" style="border-style:none;vertical-align:middle;" alt="<tmpl_var file.name>" /><tmpl_var file.name></a>
|
||||
47
docs/upgrades/templates-7.0.3/default_pm_gantt_chart.tmpl
Normal file
47
docs/upgrades/templates-7.0.3/default_pm_gantt_chart.tmpl
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
#ProjectManagerTMPL0003
|
||||
<script type="text/javascript">
|
||||
var taskArray=<tmpl_var project.task.array>;
|
||||
</script>
|
||||
<div class="barPositions">
|
||||
<tmpl_loop task.div.loop>
|
||||
<tmpl_if task.isMilestone>
|
||||
<div class="milestone" style="left:<tmpl_var task.div.left>px;top:<tmpl_var task.div.top>px;">♦</div>
|
||||
<tmpl_else>
|
||||
<div class="projectBar" style="left:<tmpl_var task.div.left>px;top:<tmpl_var task.div.top>px;width:<tmpl_var task.div.width>px;">
|
||||
<div class="statusBar" style="width:<tmpl_var task.div.percentComplete>%;"></div>
|
||||
<tmpl_if task.hasPredecessor>
|
||||
<div class="projectLineH" style="top:4px;left:50px;width:75px;height:28px;">
|
||||
<div class="projectLineV"></div>
|
||||
</div>
|
||||
</tmpl_if>
|
||||
<tmpl_if task.hasResource>
|
||||
<div class="projectLabel" style="left:<tmpl_var task.div.label.left>px;top:3px;margin-top:-3px;">
|
||||
<tmpl_var task.resource.name>
|
||||
</div>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
</tmpl_if>
|
||||
</tmpl_loop>
|
||||
<a name="<tmpl_var project.table.width>" id="projectTableWidth"></a>
|
||||
<a name="<tmpl_var project.scroll.percentWidth>" id="projectScrollPercentWidth"></a>
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:<tmpl_var scrollWidth>px;z-index:1;">
|
||||
<tr class="monthNames">
|
||||
<tmpl_loop months.loop>
|
||||
<td colspan="<tmpl_var month.colspan>" class="monthName" style="height:20px;"><tmpl_var month.name></td>
|
||||
</tmpl_loop>
|
||||
</tr>
|
||||
<tr class="dates">
|
||||
<tmpl_loop days.loop>
|
||||
<td align="center" style="width:23px"><tmpl_var day.number></td>
|
||||
</tmpl_loop>
|
||||
</tr>
|
||||
<tmpl_loop task.count.loop>
|
||||
<tr>
|
||||
<td colspan="<tmpl_var total.colspan>" class="empty" style="height:21px;"> </td>
|
||||
</tr>
|
||||
</tmpl_loop>
|
||||
</table>
|
||||
<br />
|
||||
</div>
|
||||
|
||||
~~~
|
||||
144
docs/upgrades/templates-7.0.3/default_pm_view.tmpl
Normal file
144
docs/upgrades/templates-7.0.3/default_pm_view.tmpl
Normal file
|
|
@ -0,0 +1,144 @@
|
|||
#ProjectManagerTMPL0001
|
||||
<tmpl_if session.var.adminOn>
|
||||
<p><tmpl_var controls></p>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if displayTitle>
|
||||
<h2><tmpl_var title></h2>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if description>
|
||||
<div class="fontSettings">
|
||||
<tmpl_var description>
|
||||
</div>
|
||||
</tmpl_if>
|
||||
|
||||
<script type="text/javascript">
|
||||
function doDelete(url) {
|
||||
if( confirm('<tmpl_var project.delete.warning>') ) {
|
||||
location.href=url;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<table cellpadding="3" cellspacing="0" border="0" class="projectView">
|
||||
<tr>
|
||||
<td colspan="3" style="border-style:none;text-align:left;" valign="bottom">
|
||||
<tmpl_if canEditProjects><a href="<tmpl_var project.create>"><tmpl_var project.create.label></a><tmpl_else> </tmpl_if>
|
||||
</td>
|
||||
<td style="border-style:none;text-align:right" colspan="3">
|
||||
<form action="" style="margin:0px;">
|
||||
<p style="margin:0px;">
|
||||
<select>
|
||||
<option>All Projects</option>
|
||||
</select>
|
||||
</p>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="header">
|
||||
<td><tmpl_var project.name.label></td>
|
||||
<td><tmpl_var project.startDate.label></td>
|
||||
<td><tmpl_var project.endDate.label></td>
|
||||
<td><tmpl_var project.cost.label></td>
|
||||
<td><tmpl_var project.complete.label></td>
|
||||
<tmpl_if canEditProjects>
|
||||
<td><tmpl_var project.actions.label></td>
|
||||
</tmpl_if>
|
||||
</tr>
|
||||
<tmpl_if noProjects>
|
||||
<tr><td class="projectNames" colspan="<tmpl_var empty.colspan>"><tmpl_var noProjects></td></tr>
|
||||
<tmpl_else>
|
||||
<tmpl_loop project.loop>
|
||||
<tr class="alt">
|
||||
<td class="projectNames">
|
||||
<a href="<tmpl_var project.view.url>"><tmpl_var project.name.data></a>
|
||||
</td>
|
||||
<td><tmpl_var project.startDate.data></td>
|
||||
<td><tmpl_var project.endDate.data></td>
|
||||
<td><tmpl_var project.cost.data.int></td>
|
||||
<td>
|
||||
<div class="completeContainer">
|
||||
<div class="completeBar" style="width:<tmpl_var project.complete.data.int>%;"></div>
|
||||
<div class="completeText"><tmpl_var project.complete.data.float>%</div>
|
||||
</div>
|
||||
</td>
|
||||
<tmpl_if canEditProjects>
|
||||
<td>
|
||||
<!-- <a href="#"><img src="<tmpl_var extras>/add.gif" style="border-style:none;" alt="" /></a> -->
|
||||
<a href="<tmpl_var project.edit.url>"><img src="<tmpl_var extras>/edit.gif" style="border-style:none;" title="<tmpl_var project.edit.title>" alt="edit" /></a>
|
||||
<a href="javascript:void(doDelete('<tmpl_var project.delete.url>'));"><img src="<tmpl_var extras>/delete.gif" style="border-style:none;" title="<tmpl_var project.delete.title>" alt="delete" /></a>
|
||||
</td>
|
||||
</tmpl_if>
|
||||
</tr>
|
||||
</tmpl_loop>
|
||||
</tmpl_if>
|
||||
</table>
|
||||
|
||||
~~~
|
||||
<style type="text/css">
|
||||
.fontSettings {
|
||||
font-family:arial;
|
||||
font-size:9pt;
|
||||
}
|
||||
.projectView td {
|
||||
border:solid silver 1px;
|
||||
border-bottom:solid gray 1px;
|
||||
font-size:9pt;
|
||||
font-family:arial;
|
||||
}
|
||||
.projectView a {
|
||||
color:#3391DD;
|
||||
}
|
||||
tr.header td {
|
||||
font-weight:bold;
|
||||
}
|
||||
td.projectNames {
|
||||
white-space:nowrap;
|
||||
}
|
||||
td.projectNames a {
|
||||
display:block;
|
||||
color:#3391DD;
|
||||
}
|
||||
td.projectNames a.level1 {
|
||||
margin:0 10px;
|
||||
}
|
||||
td.projectNames a.level2 {
|
||||
margin:0px 10px 0px 20px;
|
||||
}
|
||||
td.projectNames a.level3 {
|
||||
margin:0px 10px 0px 30px;
|
||||
}
|
||||
td.projectNames a.level4 {
|
||||
margin:0px 10px 0px 40px;
|
||||
}
|
||||
td.projectNames a.level5 {
|
||||
margin:0px 10px 0px 50px;
|
||||
}
|
||||
tr.alt td {
|
||||
background-color:#F0F0F0;
|
||||
}
|
||||
div.completeContainer {
|
||||
position:relative;
|
||||
z-index:0;
|
||||
background: #000;
|
||||
color:white;
|
||||
text-align:center;
|
||||
}
|
||||
div.completeBar {
|
||||
position:absolute;
|
||||
height:100%;
|
||||
top:0px;
|
||||
left:0px;
|
||||
background: #7AB7E9;
|
||||
z-index:1;
|
||||
}
|
||||
div.completeText {
|
||||
position:relative;
|
||||
height:100%;
|
||||
top:0px;
|
||||
left:0px;
|
||||
z-index:2;
|
||||
}
|
||||
</style>
|
||||
67
docs/upgrades/templates-7.0.3/default_poll.tmpl
Normal file
67
docs/upgrades/templates-7.0.3/default_poll.tmpl
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
#PBtmpl0000000000000055
|
||||
<a name="id<tmpl_var assetId>" id="id<tmpl_var assetId>"></a>
|
||||
|
||||
<tmpl_if session.var.adminOn>
|
||||
<p><tmpl_var controls></p>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if displayTitle>
|
||||
<h2><tmpl_var title></h2>
|
||||
</tmpl_if>
|
||||
|
||||
<div class="fontSettings">
|
||||
<tmpl_if description>
|
||||
<tmpl_var description>
|
||||
<p />
|
||||
</tmpl_if>
|
||||
|
||||
<span class="pollQuestion"><tmpl_var question></span><br />
|
||||
|
||||
<tmpl_if canVote>
|
||||
<tmpl_var form.start>
|
||||
<tmpl_loop answer_loop>
|
||||
<tmpl_var answer.form> <tmpl_var answer.text><br />
|
||||
</tmpl_loop>
|
||||
<p />
|
||||
<tmpl_var form.submit>
|
||||
<tmpl_var form.end>
|
||||
<tmpl_else>
|
||||
<tmpl_if hasImageGraph>
|
||||
<img src="<tmpl_var graphUrl>" alt="graph" />
|
||||
<tmpl_else>
|
||||
<tmpl_loop answer_loop>
|
||||
<span class="pollAnswer"><tmpl_var answer.text><br /></span>
|
||||
<table cellpadding=0 cellspacing=0 border=0>
|
||||
<tr>
|
||||
<td width="<tmpl_var answer.graphWidth>" class="pollColor">^Spacer(1,1);</td>
|
||||
<td class="pollAnswer"> <tmpl_var answer.percent>% (<tmpl_var answer.total>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</tmpl_loop>
|
||||
<span class="pollAnswer"><hr size="1"><b><tmpl_var responses.label>:</b> <tmpl_var responses.total></span>
|
||||
</tmpl_if>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
|
||||
|
||||
~~~
|
||||
<style type="text/css">
|
||||
.fontSettings {
|
||||
font-family:arial;
|
||||
font-size:9pt;
|
||||
}
|
||||
h2 {
|
||||
font-family:arial;
|
||||
margin-top:3px;
|
||||
margin-bottom:3px;
|
||||
}
|
||||
.pollQuestion {
|
||||
border-bottom:solid gray 1px;
|
||||
font-family:arial;
|
||||
font-size:10pt;
|
||||
font-weight:bold;
|
||||
}
|
||||
.pollColor {
|
||||
background-color:gray;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -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 price></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 price></td>
|
||||
</tr>
|
||||
</tmpl_loop>
|
||||
<tr style="border-top: 1px solid black">
|
||||
<td></td>
|
||||
<td style="border-top: 1px solid black"> </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>
|
||||
378
docs/upgrades/templates-7.0.3/default_submission.tmpl
Normal file
378
docs/upgrades/templates-7.0.3/default_submission.tmpl
Normal file
|
|
@ -0,0 +1,378 @@
|
|||
#PBtmpl0000000000000067
|
||||
<a name="id<tmpl_var assetId>" id="id<tmpl_var assetId>"></a>
|
||||
|
||||
<tmpl_if session.var.adminOn>
|
||||
<p><tmpl_var controls></p>
|
||||
</tmpl_if>
|
||||
|
||||
<h2><tmpl_var title></h2>
|
||||
|
||||
<div class="defaultSubmissionDetails">
|
||||
<tmpl_if avatar.url>
|
||||
<div style="width: 100%; text-align: center;">
|
||||
<img src="<tmpl_var avatar.url>" alt="<tmpl_var username>" />
|
||||
</div>
|
||||
</tmpl_if>
|
||||
<b><tmpl_var user.label>:</b>
|
||||
<tmpl_if user.isVisitor>
|
||||
<tmpl_var username>
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var userProfile.url>"><tmpl_var username></a>
|
||||
</tmpl_if>
|
||||
<br />
|
||||
<b><tmpl_var date.label>:</b> <tmpl_var dateSubmitted.human><br />
|
||||
<b><tmpl_var views.label>:</b> <tmpl_var views><br />
|
||||
<b><tmpl_var rating.label>:</b> <tmpl_var rating>
|
||||
<tmpl_unless hasRated>
|
||||
<tmpl_var rate.label> [ <p style="display:inline;vertical-align:middle;"><a href="<tmpl_var rate.url.thumbsUp>"><img src="<tmpl_var thumbsUp.icon.url>" alt="+" style="border: 0px;vertical-align:middle;" /></a></p> | <p style="display:inline;vertical-align:middle;"><a href="<tmpl_var rate.url.thumbsDown>"><img src="<tmpl_var thumbsDown.icon.url>" alt="-" style="border: 0px;vertical-align:middle;" /></a></p> ]
|
||||
</tmpl_unless>
|
||||
<br />
|
||||
<tmpl_if user.isModerator>
|
||||
<b><tmpl_var status.label>:</b> <tmpl_var status> [ <tmpl_if isArchived> <a href="<tmpl_var unarchive.url>"><tmpl_var unarchive.label></a> <tmpl_else> <a href="<tmpl_var archive.url>"><tmpl_var archive.label></a></tmpl_if> ]<br />
|
||||
<tmpl_else>
|
||||
<tmpl_if user.isPoster>
|
||||
<b><tmpl_var status.label>:</b> <tmpl_var status><br />
|
||||
</tmpl_if>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
|
||||
<div class="collaborationThreadContent">
|
||||
<p><b><tmpl_var userDefined2> <tmpl_var userDefined3></b></p>
|
||||
<tmpl_var content>
|
||||
</div>
|
||||
|
||||
<tmpl_if attachment_loop>
|
||||
<br />
|
||||
<tmpl_loop attachment_loop>
|
||||
<div style="float: left; padding: 5px;">
|
||||
<a href="<tmpl_var url>">
|
||||
<tmpl_if isImage>
|
||||
<img src="<tmpl_var thumbnail>" style="border-style:none;" alt="<tmpl_var filename>" />
|
||||
<tmpl_else>
|
||||
<img src="<tmpl_var icon>" style="border-style:none;vertical-align:middle;" alt="<tmpl_var filename>" /></a> <a href="<tmpl_var url>"><tmpl_var filename>
|
||||
</tmpl_if>
|
||||
</a>
|
||||
</div>
|
||||
</tmpl_loop>
|
||||
<div style="clear: both;"></div>
|
||||
<br />
|
||||
</tmpl_if>
|
||||
|
||||
|
||||
|
||||
<tmpl_unless isLocked>
|
||||
<div class="postControls">
|
||||
<tmpl_if user.canReply>
|
||||
<a href="<tmpl_var reply.url>" class="controlLink"><tmpl_var reply.label></a>
|
||||
•
|
||||
</tmpl_if>
|
||||
<tmpl_if user.canEdit>
|
||||
<a href="<tmpl_var edit.url>" class="controlLink"><tmpl_var edit.label></a>
|
||||
•
|
||||
<a href="<tmpl_var delete.url>" class="controlLink"><tmpl_var delete.label></a>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
</tmpl_unless>
|
||||
|
||||
<div style="clear:both;"></div>
|
||||
|
||||
<tmpl_if repliesAllowed>
|
||||
<div style="float: left; width: 70%">
|
||||
<h2><tmpl_var replies.label></h2>
|
||||
</div>
|
||||
<div style="width: 30%; float: left; text-align: right;">
|
||||
<tmpl_if layout.isFlat>
|
||||
<a href="<tmpl_var layout.nested.url>"><tmpl_var layout.nested.label></a>
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var layout.flat.url>"><tmpl_var layout.flat.label></a>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
|
||||
<tmpl_if layout.isFlat>
|
||||
<!-- begin flat layout -->
|
||||
<tmpl_loop post_loop>
|
||||
<tmpl_unless isThreadRoot>
|
||||
<div class="postBorder<tmpl_if isCurrent>Current</tmpl_if>">
|
||||
<a name="id<tmpl_var assetId>"></a>
|
||||
<div class="postSubject">
|
||||
<tmpl_var title>
|
||||
</div>
|
||||
<div class="postData">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<tmpl_if avatar.url>
|
||||
<td style="padding-right: 10px;">
|
||||
<img src="<tmpl_var avatar.url>" alt="<tmpl_var username>" />
|
||||
</td>
|
||||
</tmpl_if>
|
||||
<td style="padding-right: 25px;text-align:left;">
|
||||
<b><tmpl_var user.label>:</b>
|
||||
<tmpl_if user.isVisitor>
|
||||
<tmpl_var username>
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var userProfile.url>"><tmpl_var username></a>
|
||||
</tmpl_if>
|
||||
<br />
|
||||
<b><tmpl_var date.label>:</b> <tmpl_var dateSubmitted.human>
|
||||
</td>
|
||||
<td style="text-align:left;">
|
||||
<b><tmpl_var rating.label>:</b> <tmpl_var rating>
|
||||
<tmpl_unless hasRated>
|
||||
<tmpl_var rate.label> [ <p style="display:inline;vertical-align:middle;"><a href="<tmpl_var rate.url.thumbsUp>"><img src="<tmpl_var thumbsUp.icon.url>" alt="+" style="border: 0px;vertical-align:middle;" /></a></p> | <p style="display:inline;vertical-align:middle;"><a href="<tmpl_var rate.url.thumbsDown>"><img src="<tmpl_var thumbsDown.icon.url>" alt="-" style="border: 0px;vertical-align:middle;" /></a></p> ]
|
||||
</tmpl_unless>
|
||||
<br />
|
||||
<b><tmpl_var status.label>:</b> <tmpl_var status><br />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="postMessage">
|
||||
<tmpl_var content>
|
||||
<tmpl_loop attachment_loop>
|
||||
<div style="float: left; padding: 5px;">
|
||||
<a href="<tmpl_var url>">
|
||||
<tmpl_if isImage>
|
||||
<img src="<tmpl_var thumbnail>" style="border-style:none;" alt="<tmpl_var filename>" />
|
||||
<tmpl_else>
|
||||
<img src="<tmpl_var icon>" style="border-style:none;vertical-align:middle;" alt="<tmpl_var filename>" /></a> <a href="<tmpl_var url>"><tmpl_var filename>
|
||||
</tmpl_if>
|
||||
</a>
|
||||
</div>
|
||||
</tmpl_loop>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
<tmpl_unless isLocked>
|
||||
<div class="postControls">
|
||||
<tmpl_if user.canReply>
|
||||
<a href="<tmpl_var reply.url>" class="controlLink"><tmpl_var reply.label></a>
|
||||
•
|
||||
</tmpl_if>
|
||||
<tmpl_if user.canEdit>
|
||||
<a href="<tmpl_var edit.url>" class="controlLink"><tmpl_var edit.label></a>
|
||||
•
|
||||
<a href="<tmpl_var delete.url>" class="controlLink"><tmpl_var delete.label></a>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
</tmpl_unless>
|
||||
</div>
|
||||
</tmpl_unless>
|
||||
</tmpl_loop>
|
||||
<!-- end flat layout -->
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if layout.isNested>
|
||||
<!-- begin nested layout -->
|
||||
<tmpl_loop post_loop>
|
||||
<tmpl_unless isThreadRoot>
|
||||
<div style="margin-left: <tmpl_var depthX10>px;">
|
||||
<div class="postBorder<tmpl_if isCurrent>Current</tmpl_if>">
|
||||
<a name="id<tmpl_var assetId>"></a>
|
||||
<div class="postSubject">
|
||||
<tmpl_var title>
|
||||
</div>
|
||||
<div class="postData">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<tmpl_if avatar.url>
|
||||
<td style="padding-right: 10px;">
|
||||
<img src="<tmpl_var avatar.url>" alt="<tmpl_var username>" />
|
||||
</td>
|
||||
</tmpl_if>
|
||||
<td style="padding-right: 25px;text-align:left;">
|
||||
<b><tmpl_var user.label>:</b>
|
||||
<tmpl_if user.isVisitor>
|
||||
<tmpl_var username>
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var userProfile.url>"><tmpl_var username></a>
|
||||
</tmpl_if>
|
||||
<br />
|
||||
<b><tmpl_var date.label>:</b> <tmpl_var dateSubmitted.human>
|
||||
</td>
|
||||
<td style="text-align:left;">
|
||||
<b><tmpl_var rating.label>:</b> <tmpl_var rating>
|
||||
<tmpl_unless hasRated>
|
||||
<tmpl_var rate.label> [ <p style="display:inline;vertical-align:middle;"><a href="<tmpl_var rate.url.thumbsUp>"><img src="<tmpl_var thumbsUp.icon.url>" alt="+" style="border: 0px;vertical-align:middle;" /></a></p> | <p style="display:inline;vertical-align:middle;"><a href="<tmpl_var rate.url.thumbsDown>"><img src="<tmpl_var thumbsDown.icon.url>" alt="-" style="border: 0px;vertical-align:middle;" /></a></p> ]
|
||||
</tmpl_unless>
|
||||
<br />
|
||||
<b><tmpl_var status.label>:</b> <tmpl_var status><br />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="postMessage">
|
||||
<tmpl_var content>
|
||||
<tmpl_loop attachment_loop>
|
||||
<div style="float: left; padding: 5px;">
|
||||
<a href="<tmpl_var url>">
|
||||
<tmpl_if isImage>
|
||||
<img src="<tmpl_var thumbnail>" style="border-style:none;" alt="<tmpl_var filename>" />
|
||||
<tmpl_else>
|
||||
<img src="<tmpl_var icon>" style="border-style:none;vertical-align:middle;" alt="<tmpl_var filename>" /></a> <a href="<tmpl_var url>"><tmpl_var filename>
|
||||
</tmpl_if>
|
||||
</a>
|
||||
</div>
|
||||
</tmpl_loop>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
<tmpl_unless isLocked>
|
||||
<div class="postControls">
|
||||
<tmpl_if user.canReply>
|
||||
<a href="<tmpl_var reply.url>" class="controlLink"><tmpl_var reply.label></a>
|
||||
•
|
||||
</tmpl_if>
|
||||
<tmpl_if user.canEdit>
|
||||
<a href="<tmpl_var edit.url>" class="controlLink"><tmpl_var edit.label></a>
|
||||
•
|
||||
<a href="<tmpl_var delete.url>" class="controlLink"><tmpl_var delete.label></a>
|
||||
</tmpl_if><br />
|
||||
</div>
|
||||
</tmpl_unless>
|
||||
</div>
|
||||
</div>
|
||||
</tmpl_unless>
|
||||
</tmpl_loop>
|
||||
<!-- end nested layout -->
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if pagination.pageCount.isMultiple>
|
||||
<div class="pagination" style="margin-top: 20px;">
|
||||
[ <tmpl_var pagination.previousPage> | <tmpl_var pagination.pageList.upTo10> | <tmpl_var pagination.nextPage> ]
|
||||
</div>
|
||||
</tmpl_if>
|
||||
</tmpl_if>
|
||||
|
||||
<div class="postControls">
|
||||
<tmpl_if previous.url>
|
||||
<a href="<tmpl_var previous.url>" class="controlLink"><tmpl_var previous.label></a>
|
||||
•
|
||||
</tmpl_if>
|
||||
<a href="<tmpl_var collaboration.url>" class="controlLink"><tmpl_var back.label></a>
|
||||
|
||||
<tmpl_if next.url>
|
||||
•
|
||||
<a href="<tmpl_var next.url>" class="controlLink"><tmpl_var next.label></a>
|
||||
</tmpl_if>
|
||||
<tmpl_if user.canPost>
|
||||
•
|
||||
<a href="<tmpl_var add.url>" class="controlLink"><tmpl_var add.label></a>
|
||||
•
|
||||
</tmpl_if>
|
||||
<tmpl_if user.isModerator>
|
||||
<tmpl_if isSticky>
|
||||
<a href="<tmpl_var unstick.url>" class="controlLink"><tmpl_var unstick.label></a>
|
||||
•
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var stick.url>" class="controlLink"><tmpl_var stick.label></a>
|
||||
•
|
||||
</tmpl_if>
|
||||
<tmpl_if isLocked>
|
||||
<a href="<tmpl_var unlock.url>" class="controlLink"><tmpl_var unlock.label></a>
|
||||
•
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var lock.url>" class="controlLink"><tmpl_var lock.label></a>
|
||||
•
|
||||
</tmpl_if>
|
||||
</tmpl_if>
|
||||
<tmpl_unless user.isVisitor>
|
||||
<tmpl_if user.isSubscribed>
|
||||
<a href="<tmpl_var unsubscribe.url>" class="controlLink"><tmpl_var unsubscribe.label></a>
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var subscribe.url>" class="controlLink"><tmpl_var subscribe.label></a>
|
||||
</tmpl_if>
|
||||
</tmpl_unless>
|
||||
<br />
|
||||
</div>
|
||||
~~~
|
||||
<style type="text/css">
|
||||
.defaultSubmissionDetails
|
||||
{
|
||||
float: right;
|
||||
padding: 2px;
|
||||
margin: 2px;
|
||||
font-size:9pt;
|
||||
font-family:arial;
|
||||
margin-bottom:20px;
|
||||
}
|
||||
|
||||
.defaultSubmissionDetails a
|
||||
{
|
||||
color:#29587E;
|
||||
}
|
||||
|
||||
.postBorder {
|
||||
border: 1px solid #cccccc;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.postBorderCurrent {
|
||||
border: 3px dotted black;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.postSubject {
|
||||
border-bottom: 1px solid #cccccc;
|
||||
font-weight: bold;
|
||||
padding: 3px;
|
||||
font-family:arial;
|
||||
}
|
||||
.postData {
|
||||
border-bottom: 1px solid #cccccc;
|
||||
background-color: #eeeeee;
|
||||
padding: 3px;
|
||||
}
|
||||
.postData td {
|
||||
font-size: 9pt;
|
||||
color: black;
|
||||
font-family:arial;
|
||||
}
|
||||
.postControls {
|
||||
border-top: 1px solid #cccccc;
|
||||
background-color: #676767;
|
||||
color: black;
|
||||
padding: 3px;
|
||||
font-family:arial;
|
||||
clear:both;
|
||||
width:100%;
|
||||
display:block;
|
||||
-moz-box-sizing:border-box;
|
||||
text-align:right;
|
||||
margin-top:1px;
|
||||
}
|
||||
.postControls a:link, .postControls a:visited
|
||||
{
|
||||
text-decoration:underline;
|
||||
color:white;
|
||||
}
|
||||
.postControls a:hover {
|
||||
text-decoration:none;
|
||||
}
|
||||
.postMessage {
|
||||
padding: 3px;
|
||||
}
|
||||
.currentThread {
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
.threadHead {
|
||||
font-weight: bold;
|
||||
border-bottom: 1px solid #cccccc;
|
||||
font-size: 9pt;
|
||||
background-color: #eeeeee;
|
||||
color: black;
|
||||
padding: 3px;
|
||||
font-family:arial;
|
||||
}
|
||||
.threadData {
|
||||
font-size: 11px;
|
||||
padding: 3px;
|
||||
font-family:arial;
|
||||
}
|
||||
|
||||
|
||||
.collaborationThreadContent
|
||||
{
|
||||
font-family:arial;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
</style>
|
||||
272
docs/upgrades/templates-7.0.3/default_thread.tmpl
Normal file
272
docs/upgrades/templates-7.0.3/default_thread.tmpl
Normal file
|
|
@ -0,0 +1,272 @@
|
|||
#PBtmpl0000000000000032
|
||||
<div><a name="id<tmpl_var assetId>" id="id<tmpl_var assetId>"></a></div>
|
||||
|
||||
<tmpl_if session.var.adminOn>
|
||||
<p><tmpl_var controls></p>
|
||||
</tmpl_if>
|
||||
|
||||
|
||||
<div style="float: left; width: 70%">
|
||||
<h2><a href="<tmpl_var collaboration.url>"><tmpl_var collaboration.title></a></h2>
|
||||
</div>
|
||||
<div style="width: 30%; float: left; text-align: right;">
|
||||
<tmpl_if layout.isFlat>
|
||||
<a href="<tmpl_var layout.nested.url>"><tmpl_var layout.nested.label></a>
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var layout.flat.url>"><tmpl_var layout.flat.label></a>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
|
||||
<tmpl_if layout.isFlat>
|
||||
<!-- begin flat layout -->
|
||||
<tmpl_loop post_loop>
|
||||
<div class="postBorder<tmpl_if isCurrent>Current</tmpl_if>">
|
||||
<a name="id<tmpl_var assetId>"></a>
|
||||
<div class="postSubject">
|
||||
<tmpl_var title>
|
||||
</div>
|
||||
<div class="postData">
|
||||
<tmpl_if avatar.url>
|
||||
<div style="float: left; padding-right: 10px;">
|
||||
<img src="<tmpl_var avatar.url>" alt="<tmpl_var username>" />
|
||||
</div>
|
||||
</tmpl_if>
|
||||
<div style="float: left; padding-right: 25px;">
|
||||
<b><tmpl_var user.label>:</b>
|
||||
<tmpl_if user.isVisitor>
|
||||
<tmpl_var username>
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var userProfile.url>"><tmpl_var username></a>
|
||||
</tmpl_if>
|
||||
<br />
|
||||
<b><tmpl_var date.label>:</b> <tmpl_var dateSubmitted.human><br />
|
||||
</div>
|
||||
<div>
|
||||
<b><tmpl_var views.label>:</b> <tmpl_var views><br />
|
||||
<b><tmpl_var rating.label>:</b> <tmpl_var rating>
|
||||
<tmpl_unless hasRated>
|
||||
<tmpl_var rate.label> [ <p style="display:inline;vertical-align:middle;"><a href="<tmpl_var rate.url.thumbsUp>"><img src="<tmpl_var thumbsUp.icon.url>" alt="+" style="border: 0px;vertical-align:middle;" /></a></p> | <p style="display:inline;vertical-align:middle;"><a href="<tmpl_var rate.url.thumbsDown>"><img src="<tmpl_var thumbsDown.icon.url>" alt="-" style="border: 0px;vertical-align:middle;" /></a></p> ]
|
||||
</tmpl_unless>
|
||||
<br />
|
||||
<tmpl_if user.isModerator>
|
||||
<b><tmpl_var status.label>:</b> <tmpl_var status> [ <a href="<tmpl_var approve.url>"><tmpl_var approve.label></a> | <a href="<tmpl_var deny.url>"><tmpl_var deny.label></a> ]<br />
|
||||
<tmpl_else>
|
||||
<tmpl_if user.isPoster>
|
||||
<b><tmpl_var status.label>:</b> <tmpl_var status> [ <tmpl_if isArchived> <a href="<tmpl_var unarchive.url>"><tmpl_var unarchive.label></a> <tmpl_else> <a href="<tmpl_var archive.url>"><tmpl_var archive.label></a></tmpl_if> ]<br />
|
||||
</tmpl_if>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
</div>
|
||||
<div class="postMessage">
|
||||
<tmpl_var content>
|
||||
<tmpl_loop attachment_loop>
|
||||
<div style="float: left; padding: 5px;">
|
||||
<a href="<tmpl_var url>">
|
||||
<tmpl_if isImage>
|
||||
<img src="<tmpl_var thumbnail>" style="border-style:none;" alt="<tmpl_var filename>" />
|
||||
<tmpl_else>
|
||||
<img src="<tmpl_var icon>" style="border-style:none;vertical-align:middle;" alt="<tmpl_var filename>" /></a> <a href="<tmpl_var url>">< <tmpl_var filename>
|
||||
</tmpl_if>
|
||||
</a>
|
||||
</div>
|
||||
</tmpl_loop>
|
||||
<div style="clear: both;"></div>
|
||||
|
||||
</div>
|
||||
<tmpl_unless isLocked>
|
||||
<div class="postControls">
|
||||
<tmpl_if user.canReply>
|
||||
<a href="<tmpl_var reply.url>"><tmpl_var reply.label></a> •
|
||||
</tmpl_if>
|
||||
<tmpl_if user.canEdit>
|
||||
<a href="<tmpl_var edit.url>"><tmpl_var edit.label></a> •
|
||||
<a href="<tmpl_var delete.url>"><tmpl_var delete.label></a>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
</tmpl_unless>
|
||||
</div>
|
||||
</tmpl_loop>
|
||||
<!-- end flat layout -->
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if layout.isNested>
|
||||
<!-- begin nested layout -->
|
||||
<tmpl_loop post_loop>
|
||||
<div style="margin-left: <tmpl_var depthX10>px;">
|
||||
<div class="postBorder<tmpl_if isCurrent>Current</tmpl_if>">
|
||||
<a name="id<tmpl_var assetId>"></a>
|
||||
<div class="postSubject">
|
||||
<tmpl_var title>
|
||||
</div>
|
||||
<div class="postData">
|
||||
<tmpl_if avatar.url>
|
||||
<div style="float: left; padding-right: 10px;">
|
||||
<img src="<tmpl_var avatar.url>" alt="<tmpl_var username>" />
|
||||
</div>
|
||||
</tmpl_if>
|
||||
<div style="float: left; padding-right: 25px;">
|
||||
<b><tmpl_var user.label>:</b>
|
||||
<tmpl_if user.isVisitor>
|
||||
<tmpl_var username>
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var userProfile.url>"><tmpl_var username></a>
|
||||
</tmpl_if>
|
||||
<br />
|
||||
<b><tmpl_var date.label>:</b> <tmpl_var dateSubmitted.human><br />
|
||||
</div>
|
||||
<div>
|
||||
<b><tmpl_var views.label>:</b> <tmpl_var views><br />
|
||||
<b><tmpl_var rating.label>:</b> <tmpl_var rating>
|
||||
<tmpl_unless hasRated>
|
||||
<tmpl_var rate.label> [ <p style="display:inline;vertical-align:middle;"><a href="<tmpl_var rate.url.thumbsUp>"><img src="<tmpl_var thumbsUp.icon.url>" alt="+" style="border: 0px;vertical-align:middle;" /></a></p> | <p style="display:inline;vertical-align:middle;"><a href="<tmpl_var rate.url.thumbsDown>"><img src="<tmpl_var thumbsDown.icon.url>" alt="-" style="border: 0px;vertical-align:middle;" /></a></p> ]
|
||||
</tmpl_unless>
|
||||
<br />
|
||||
<tmpl_if user.isPoster>
|
||||
<b><tmpl_var status.label>:</b> <tmpl_var status> [ <tmpl_if isArchived> <a href="<tmpl_var unarchive.url>"><tmpl_var unarchive.label></a> <tmpl_else> <a href="<tmpl_var archive.url>"><tmpl_var archive.label></a></tmpl_if> ]<br />
|
||||
</tmpl_if>
|
||||
</div>
|
||||
</div>
|
||||
<div class="postMessage">
|
||||
<tmpl_var content>
|
||||
<tmpl_loop attachment_loop>
|
||||
<div style="float: left; padding: 5px;">
|
||||
<a href="<tmpl_var url>">
|
||||
<tmpl_if isImage>
|
||||
<img src="<tmpl_var thumbnail>" style="border-style:none;" alt="<tmpl_var filename>" />
|
||||
<tmpl_else>
|
||||
<img src="<tmpl_var icon>" style="border-style:none;vertical-align:middle;" alt="<tmpl_var filename>" /></a> <a href="<tmpl_var url>"><tmpl_var filename>
|
||||
</tmpl_if>
|
||||
</a>
|
||||
</div>
|
||||
</tmpl_loop>
|
||||
<div style="clear: both;"></div>
|
||||
|
||||
</div>
|
||||
<tmpl_unless isLocked>
|
||||
<div class="postControls">
|
||||
<tmpl_if user.canReply>
|
||||
<a href="<tmpl_var reply.url>"><tmpl_var reply.label></a> •
|
||||
</tmpl_if>
|
||||
<tmpl_if user.canEdit>
|
||||
<a href="<tmpl_var edit.url>"><tmpl_var edit.label></a> •
|
||||
<a href="<tmpl_var delete.url>"><tmpl_var delete.label></a>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
</tmpl_unless>
|
||||
</div>
|
||||
</div>
|
||||
</tmpl_loop>
|
||||
<!-- end nested layout -->
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if pagination.pageCount.isMultiple>
|
||||
<div class="pagination" style="margin-top: 20px;">
|
||||
[ <tmpl_var pagination.previousPage> | <tmpl_var pagination.pageList.upTo10> | <tmpl_var pagination.nextPage> ]
|
||||
</div>
|
||||
</tmpl_if>
|
||||
|
||||
<div style="margin-top: 20px;" class="bottomControls">
|
||||
<tmpl_if previous.url>
|
||||
<a href="<tmpl_var previous.url>"><tmpl_var previous.label></a> •
|
||||
</tmpl_if>
|
||||
<tmpl_if next.url>
|
||||
<a href="<tmpl_var next.url>"><tmpl_var next.label></a> •
|
||||
</tmpl_if>
|
||||
<tmpl_if user.canPost>
|
||||
<a href="<tmpl_var add.url>"><tmpl_var add.label></a> •
|
||||
</tmpl_if>
|
||||
<tmpl_if user.isModerator>
|
||||
<tmpl_if isSticky>
|
||||
<a href="<tmpl_var unstick.url>"><tmpl_var unstick.label></a> •
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var stick.url>"><tmpl_var stick.label></a> •
|
||||
</tmpl_if>
|
||||
<tmpl_if isLocked>
|
||||
<a href="<tmpl_var unlock.url>"><tmpl_var unlock.label></a> •
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var lock.url>"><tmpl_var lock.label></a> •
|
||||
</tmpl_if>
|
||||
</tmpl_if>
|
||||
<tmpl_unless user.isVisitor>
|
||||
<tmpl_if user.isSubscribed>
|
||||
<a href="<tmpl_var unsubscribe.url>"><tmpl_var unsubscribe.label></a>
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var subscribe.url>"><tmpl_var subscribe.label></a>
|
||||
</tmpl_if>
|
||||
</tmpl_unless>
|
||||
</div>
|
||||
~~~
|
||||
<style type="text/css">
|
||||
.postBorder {
|
||||
border: 1px solid #cccccc;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.postBorderCurrent {
|
||||
border: 3px dotted black;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.postSubject {
|
||||
border-bottom: 1px solid #cccccc;
|
||||
font-weight: bold;
|
||||
padding: 3px;
|
||||
}
|
||||
.postData {
|
||||
border-bottom: 1px solid #cccccc;
|
||||
font-size: 9pt;
|
||||
background-color: #eeeeee;
|
||||
color: black;
|
||||
padding: 3px;
|
||||
}
|
||||
.postData a {
|
||||
color:#29587E;
|
||||
text-decoration:underline;
|
||||
}
|
||||
.postData a:hover {
|
||||
text-decoration:none;
|
||||
}
|
||||
.postControls {
|
||||
border-top: 1px solid #cccccc;
|
||||
background-color: #676767;
|
||||
color: black;
|
||||
padding: 3px;
|
||||
text-align:right;
|
||||
}
|
||||
.postControls a:link, .postControls a:visited {
|
||||
color:white;
|
||||
text-decoration:underline;
|
||||
}
|
||||
.postControls a:hover {
|
||||
text-decoration:none;
|
||||
}
|
||||
.bottomControls {
|
||||
background-color:#676767;
|
||||
padding: 3px;
|
||||
text-align:right;
|
||||
}
|
||||
.bottomControls a:link, .bottomControls a:visited {
|
||||
color:white;
|
||||
text-decoration:underline;
|
||||
}
|
||||
.bottomControls a:hover {
|
||||
text-decoration:none;
|
||||
}
|
||||
.postMessage {
|
||||
padding: 3px;
|
||||
}
|
||||
.currentThread {
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
.threadHead {
|
||||
font-weight: bold;
|
||||
border-bottom: 1px solid #cccccc;
|
||||
font-size: 9pt;
|
||||
background-color: #eeeeee;
|
||||
color: black;
|
||||
padding: 3px;
|
||||
}
|
||||
.threadData {
|
||||
font-size: 11px;
|
||||
padding: 3px;
|
||||
}
|
||||
</style>
|
||||
64
docs/upgrades/templates-7.0.3/default_tt_row.tmpl
Normal file
64
docs/upgrades/templates-7.0.3/default_tt_row.tmpl
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
#TimeTrackingTMPL000003
|
||||
<table class="timeTracking02" cellpadding="3" cellspacing="0">
|
||||
<tbody id="ttbody">
|
||||
<tr class="tt_title" id="tt_title">
|
||||
<td colspan="4" align="left"><tmpl_var time.report.header></td>
|
||||
<td colspan="2" align="right"><tmpl_var time.report.totalHours.label> <strong style="color:red;" id="totalHours"><tmpl_var time.totalHours></strong></td>
|
||||
</tr>
|
||||
<tr class="tt_header" id="tt_header">
|
||||
<td width="10%"><tmpl_var time.report.date.label></td>
|
||||
<td width="20%"><tmpl_var time.report.project.label></td>
|
||||
<td width="20%"><tmpl_var time.report.task.label></td>
|
||||
<td width="10%"><tmpl_var time.report.hours.label></td>
|
||||
<td width="40%"><tmpl_var time.report.comments.label></td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tmpl_loop time.entry.loop>
|
||||
<tr id="<tmpl_var row.id>">
|
||||
<td class="cell"><tmpl_var form.taskEntryId><tmpl_var form.date></td>
|
||||
<td class="cell"><tmpl_var form.project></td>
|
||||
<td class="cell"><tmpl_var form.task></td>
|
||||
<td class="cell"><tmpl_var form.hours></td>
|
||||
<td class="cell"><tmpl_var form.comments></td>
|
||||
<td><img src="<tmpl_var extras>/delete.gif" border="0" onclick="removeRow('<tmpl_var row.id>')" style="cursor:pointer" alt="delete" /></td>
|
||||
</tr>
|
||||
</tmpl_loop>
|
||||
<tr class="tt_empty" id="tt_empty">
|
||||
<td colspan="6" style="border-top:solid gray 2px;">
|
||||
<table width="100%" cellpadding="2" cellspacing="0">
|
||||
<tr>
|
||||
<td align="left"><a href="<tmpl_var report.lastWeek.url>" class="PM_blueLink"><b>‹</b> Last Week</a></td>
|
||||
<td align="right"><a href="<tmpl_var report.nextWeek.url>" class="PM_blueLink">Next Week <b>›</b></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" style="border-bottom:solid #F0F0F0 1px;"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:60%;" align="left">
|
||||
<tmpl_var time.report.complete.label><tmpl_var form.isComplete>
|
||||
</td>
|
||||
<td style="width:40%" align="right">
|
||||
<input type="button" value="<tmpl_var time.add.row.label>" onclick="addRow();" />   <input type="submit" value="<tmpl_var time.save.label>" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<tmpl_unless report.isComplete>
|
||||
<table style="display:none" id="tt_table">
|
||||
<tbody>
|
||||
<tr id="<tmpl_var row.id>">
|
||||
<td class="cell"><tmpl_var form.taskEntryId><tmpl_var form.date></td>
|
||||
<td class="cell"><tmpl_var form.project></td>
|
||||
<td class="cell"><tmpl_var form.task></td>
|
||||
<td class="cell"><tmpl_var form.hours></td>
|
||||
<td class="cell"><tmpl_var form.comments></td>
|
||||
<td><img src="<tmpl_var extras>/delete.gif" border="0" onclick="removeRow()" style="cursor:pointer" alt="delete" /></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</tmpl_unless>
|
||||
~~~
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
#PBtmpl0000000000000014
|
||||
<h2><tmpl_var title></h2>
|
||||
|
||||
<tmpl_if recover.message>
|
||||
<tmpl_var recover.message>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_var recover.form.header>
|
||||
<tmpl_var recover.form.hidden>
|
||||
<table>
|
||||
<tr>
|
||||
<td class="formDescription" valign="top"><tmpl_var recover.form.email.label></td>
|
||||
<td class="tableData"><tmpl_var recover.form.email></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="formDescription" valign="top"></td>
|
||||
<td class="tableData"><tmpl_var recover.form.submit></td>
|
||||
</tr>
|
||||
</table>
|
||||
<tmpl_var recover.form.footer>
|
||||
|
||||
<div class="accountOptions">
|
||||
<ul>
|
||||
<tmpl_if anonymousRegistration.isAllowed>
|
||||
<li><a href="<tmpl_var createAccount.url>"><tmpl_var createAccount.label></a></li>
|
||||
</tmpl_if>
|
||||
<li><a href="<tmpl_var login.url>"><tmpl_var login.label></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
349
docs/upgrades/templates-7.0.3/job.tmpl
Normal file
349
docs/upgrades/templates-7.0.3/job.tmpl
Normal file
|
|
@ -0,0 +1,349 @@
|
|||
#PBtmpl0000000000000098
|
||||
<a name="id<tmpl_var assetId>" id="id<tmpl_var assetId>"></a>
|
||||
|
||||
<tmpl_if session.var.adminOn>
|
||||
<p><tmpl_var controls></p>
|
||||
</tmpl_if>
|
||||
|
||||
<h2><tmpl_var title></h2>
|
||||
|
||||
<tmpl_if user.isModerator>
|
||||
<div style="float: right; font-size: 11px; border: 1px solid #cccccc; padding: 2px; margin: 2px;">
|
||||
<b><tmpl_var status.label>:</b> <tmpl_var status> [ <tmpl_if isArchived><a href="<tmpl_var unarchive.url>"><tmpl_var unarchive.label></a> <tmpl_else> <a href="<tmpl_var archive.url>"><tmpl_var archive.label></a></tmpl_if> ]<br />
|
||||
</div>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if content>
|
||||
<b>Job Description</b><br />
|
||||
<p><tmpl_var content></p>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if userDefined3>
|
||||
<b>Job Requirements</b><br />
|
||||
<p><tmpl_var userDefined3></p>
|
||||
</tmpl_if>
|
||||
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td class="tableHeader">Date Posted</td>
|
||||
<td class="tableData"><tmpl_var dateSubmitted.human> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tableHeader">Location</td>
|
||||
<td class="tableData"><tmpl_var userDefined2> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tableHeader">Compensation</td>
|
||||
<td class="tableData"><tmpl_var userDefined1> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tableHeader">Views</td>
|
||||
<td class="tableData"><tmpl_var views> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<tmpl_if attachment_loop>
|
||||
<br />
|
||||
<tmpl_loop attachment_loop>
|
||||
<div style="float: left; padding: 5px;">
|
||||
<a href="<tmpl_var url>">
|
||||
<tmpl_if isImage>
|
||||
<img src="<tmpl_var thumbnail>" style="border-style:none;" alt="<tmpl_var filename>" />
|
||||
<tmpl_else>
|
||||
<img src="<tmpl_var icon>" style="border-style:none;vertical-align:middle;" alt="<tmpl_var filename>" /></a> <a href="<tmpl_var url>"><tmpl_var filename>
|
||||
</tmpl_if>
|
||||
</a>
|
||||
</div>
|
||||
</tmpl_loop>
|
||||
<div style="clear: both;"></div>
|
||||
<br />
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_unless isLocked>
|
||||
<div class="postControls">
|
||||
<tmpl_if user.canReply>
|
||||
<a href="<tmpl_var reply.url>"><tmpl_var reply.label></a>
|
||||
•
|
||||
</tmpl_if>
|
||||
<tmpl_if user.canEdit>
|
||||
<a href="<tmpl_var edit.url>"><tmpl_var edit.label></a>
|
||||
•
|
||||
<a href="<tmpl_var delete.url>"><tmpl_var delete.label></a>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
</tmpl_unless>
|
||||
|
||||
<tmpl_if repliesAllowed>
|
||||
|
||||
<div style="float: left; width: 70%">
|
||||
<h2><tmpl_var replies.label></h2>
|
||||
</div>
|
||||
<div style="width: 30%; float: left; text-align: right;">
|
||||
<tmpl_if layout.isFlat>
|
||||
<a href="<tmpl_var layout.nested.url>"><tmpl_var layout.nested.label></a>
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var layout.flat.url>"><tmpl_var layout.flat.label></a>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
|
||||
<tmpl_if layout.isFlat>
|
||||
<!-- begin flat layout -->
|
||||
<tmpl_loop post_loop>
|
||||
<tmpl_unless isThreadRoot>
|
||||
<div class="postBorder<tmpl_if isCurrent>Current</tmpl_if>">
|
||||
<a name="id<tmpl_var assetId>"></a>
|
||||
<div class="postSubject">
|
||||
<tmpl_var title>
|
||||
</div>
|
||||
<div class="postData">
|
||||
<div style="float: left; width: 50%">
|
||||
<b><tmpl_var user.label>:</b>
|
||||
<tmpl_if user.isVisitor>
|
||||
<tmpl_var username>
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var userProfile.url>"><tmpl_var username></a>
|
||||
</tmpl_if>
|
||||
<br />
|
||||
<b><tmpl_var date.label>:</b> <tmpl_var dateSubmitted.human><br />
|
||||
</div>
|
||||
<div>
|
||||
<b><tmpl_var views.label>:</b> <tmpl_var views><br />
|
||||
<b><tmpl_var rating.label>:</b> <tmpl_var rating>
|
||||
<tmpl_unless hasRated>
|
||||
<tmpl_var rate.label> [ <p style="display:inline;vertical-align:middle;"><a href="<tmpl_var rate.url.thumbsUp>"><img src="<tmpl_var thumbsUp.icon.url>" alt="+" style="border: 0px;vertical-align:middle;" /></a></p> | <p style="display:inline;vertical-align:middle;"><a href="<tmpl_var rate.url.thumbsDown>"><img src="<tmpl_var thumbsDown.icon.url>" alt="-" style="border: 0px;vertical-align:middle;" /></a></p> ]
|
||||
</tmpl_unless>
|
||||
<br />
|
||||
<tmpl_if user.isPoster>
|
||||
<b><tmpl_var status.label>:</b> <tmpl_var status><br />
|
||||
</tmpl_if>
|
||||
</div>
|
||||
</div>
|
||||
<div class="postMessage">
|
||||
<tmpl_var content>
|
||||
<tmpl_loop attachment_loop>
|
||||
<div style="float: left; padding: 5px;">
|
||||
<a href="<tmpl_var url>">
|
||||
<tmpl_if isImage>
|
||||
<img src="<tmpl_var thumbnail>" style="border-style:none;" alt="<tmpl_var filename>" />
|
||||
<tmpl_else>
|
||||
<img src="<tmpl_var icon>" style="border-style:none;vertical-align:middle;" alt="<tmpl_var filename>" /></a> <a href="<tmpl_var url>"><tmpl_var filename>
|
||||
</tmpl_if>
|
||||
</a>
|
||||
</div>
|
||||
</tmpl_loop>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
<tmpl_unless isLocked>
|
||||
<div class="postControls">
|
||||
<tmpl_if user.canReply>
|
||||
<a href="<tmpl_var reply.url>"><tmpl_var reply.label></a>
|
||||
•
|
||||
</tmpl_if>
|
||||
<tmpl_if user.canEdit>
|
||||
<a href="<tmpl_var edit.url>"><tmpl_var edit.label></a>
|
||||
•
|
||||
<a href="<tmpl_var delete.url>"><tmpl_var delete.label></a>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
</tmpl_unless>
|
||||
</div>
|
||||
</tmpl_unless>
|
||||
</tmpl_loop>
|
||||
<!-- end flat layout -->
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if layout.isNested>
|
||||
<!-- begin nested layout -->
|
||||
<tmpl_loop post_loop>
|
||||
<tmpl_unless isThreadRoot>
|
||||
<div style="margin-left: <tmpl_var depthX10>px;">
|
||||
<div class="postBorder<tmpl_if isCurrent>Current</tmpl_if>">
|
||||
<a name="id<tmpl_var assetId>"></a>
|
||||
<div class="postSubject">
|
||||
<tmpl_var title>
|
||||
</div>
|
||||
<div class="postData">
|
||||
<div style="float: left; width: 50%">
|
||||
<b><tmpl_var user.label>:</b>
|
||||
<tmpl_if user.isVisitor>
|
||||
<tmpl_var username>
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var userProfile.url>"><tmpl_var username></a>
|
||||
</tmpl_if>
|
||||
<br />
|
||||
<b><tmpl_var date.label>:</b> <tmpl_var dateSubmitted.human><br />
|
||||
</div>
|
||||
<div>
|
||||
<b><tmpl_var views.label>:</b> <tmpl_var views><br />
|
||||
<b><tmpl_var rating.label>:</b> <tmpl_var rating>
|
||||
<tmpl_unless hasRated>
|
||||
<tmpl_var rate.label> [ <p style="display:inline;vertical-align:middle;"><a href="<tmpl_var rate.url.thumbsUp>"><img src="<tmpl_var thumbsUp.icon.url>" alt="+" style="border: 0px;vertical-align:middle;" /></a></p> | <p style="display:inline;vertical-align:middle;"><a href="<tmpl_var rate.url.thumbsDown>"><img src="<tmpl_var thumbsDown.icon.url>" alt="-" style="border: 0px;vertical-align:middle;" /></a></p> ]
|
||||
</tmpl_unless>
|
||||
<br />
|
||||
<tmpl_if user.isPoster>
|
||||
<b><tmpl_var status.label>:</b> <tmpl_var status><br />
|
||||
</tmpl_if>
|
||||
</div>
|
||||
</div>
|
||||
<div class="postMessage">
|
||||
<tmpl_var content>
|
||||
<tmpl_loop attachment_loop>
|
||||
<div style="float: left; padding: 5px;">
|
||||
<a href="<tmpl_var url>">
|
||||
<tmpl_if isImage>
|
||||
<img src="<tmpl_var thumbnail>" style="border-style:none;" alt="<tmpl_var filename>" />
|
||||
<tmpl_else>
|
||||
<img src="<tmpl_var icon>" style="border-style:none;vertical-align:middle;" alt="<tmpl_var filename>" /></a> <a href="<tmpl_var url>"><tmpl_var filename>
|
||||
</tmpl_if>
|
||||
</a>
|
||||
</div>
|
||||
</tmpl_loop>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
<tmpl_unless isLocked>
|
||||
<div class="postControls">
|
||||
<tmpl_if user.canReply>
|
||||
<a href="<tmpl_var reply.url>"><tmpl_var reply.label></a>
|
||||
•
|
||||
</tmpl_if>
|
||||
<tmpl_if user.canEdit>
|
||||
<a href="<tmpl_var edit.url>"><tmpl_var edit.label></a>
|
||||
•
|
||||
<a href="<tmpl_var delete.url>"><tmpl_var delete.label></a>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
</tmpl_unless>
|
||||
</div>
|
||||
</div>
|
||||
</tmpl_unless>
|
||||
</tmpl_loop>
|
||||
<!-- end nested layout -->
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if pagination.pageCount.isMultiple>
|
||||
<div class="pagination" style="margin-top: 20px;">
|
||||
[ <tmpl_var pagination.previousPage> | <tmpl_var pagination.pageList.upTo10> | <tmpl_var pagination.nextPage> ]
|
||||
</div>
|
||||
</tmpl_if>
|
||||
</tmpl_if>
|
||||
|
||||
<div class="postControls">
|
||||
<tmpl_if previous.url>
|
||||
<a href="<tmpl_var previous.url>"><tmpl_var previous.label></a>
|
||||
•
|
||||
</tmpl_if>
|
||||
<a href="<tmpl_var collaboration.url>"><tmpl_var back.label></a>
|
||||
<tmpl_if next.url>
|
||||
•
|
||||
<a href="<tmpl_var next.url>"><tmpl_var next.label></a>
|
||||
</tmpl_if>
|
||||
<tmpl_if user.canPost>
|
||||
•
|
||||
<a href="<tmpl_var add.url>"><tmpl_var add.label></a>
|
||||
•
|
||||
</tmpl_if>
|
||||
<tmpl_if user.isModerator>
|
||||
<tmpl_if isSticky>
|
||||
<a href="<tmpl_var unstick.url>"><tmpl_var unstick.label></a>
|
||||
•
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var stick.url>"><tmpl_var stick.label></a>
|
||||
•
|
||||
</tmpl_if>
|
||||
<tmpl_if isLocked>
|
||||
<a href="<tmpl_var unlock.url>"><tmpl_var unlock.label></a>
|
||||
•
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var lock.url>"><tmpl_var lock.label></a>
|
||||
•
|
||||
</tmpl_if>
|
||||
</tmpl_if>
|
||||
<tmpl_unless user.isVisitor>
|
||||
<tmpl_if user.isSubscribed>
|
||||
<a href="<tmpl_var unsubscribe.url>"><tmpl_var unsubscribe.label></a>
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var subscribe.url>"><tmpl_var subscribe.label></a>
|
||||
</tmpl_if>
|
||||
</tmpl_unless>
|
||||
</div>
|
||||
~~~
|
||||
<style type="text/css">
|
||||
.postBorder {
|
||||
border: 1px solid #cccccc;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.postBorderCurrent {
|
||||
border: 3px dotted black;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.postSubject {
|
||||
border-bottom: 1px solid #cccccc;
|
||||
font-weight: bold;
|
||||
padding: 3px;
|
||||
font-family:arial;
|
||||
font-size:9pt;
|
||||
}
|
||||
.postData {
|
||||
border-bottom: 1px solid #cccccc;
|
||||
font-family:arial;
|
||||
font-size:9pt;
|
||||
background-color: #eeeeee;
|
||||
color: black;
|
||||
padding: 3px;
|
||||
}
|
||||
.postControls
|
||||
{
|
||||
background:#676767;
|
||||
display:block;
|
||||
text-align:right;
|
||||
padding:3px;
|
||||
font-size:9pt;
|
||||
font-family:arial;
|
||||
margin-top: 1px;
|
||||
}
|
||||
.postControls a:link, .postControls a:visited
|
||||
{
|
||||
color:white;
|
||||
text-decoration:underline;
|
||||
}
|
||||
.postControls a:hover {
|
||||
text-decoration:none;
|
||||
}
|
||||
.postMessage {
|
||||
padding: 3px;
|
||||
}
|
||||
.currentThread {
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
.threadHead {
|
||||
font-weight: bold;
|
||||
border-bottom: 1px solid #cccccc;
|
||||
font-family:arial;
|
||||
font-size:9pt;
|
||||
background-color: #eeeeee;
|
||||
color: black;
|
||||
padding: 3px;
|
||||
}
|
||||
.threadData {
|
||||
font-family:arial;
|
||||
font-size:9pt;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
.tableHeader
|
||||
{
|
||||
width:20%;
|
||||
background-color:#DADADA;
|
||||
font-family:arial;
|
||||
font-size:9pt;
|
||||
}
|
||||
|
||||
.tableData
|
||||
{
|
||||
width:80%;
|
||||
border:solid #DADADA 1px;
|
||||
font-family:arial;
|
||||
font-size:9pt;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -0,0 +1,57 @@
|
|||
#MultiSearchTmpl0000001
|
||||
<a name="id<tmpl_var assetId>"></a>
|
||||
|
||||
<tmpl_if session.var.adminOn>
|
||||
<p><tmpl_var controls></p>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if displayTitle>
|
||||
<h2><tmpl_var title></h2>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if description>
|
||||
<tmpl_var description><p />
|
||||
</tmpl_if>
|
||||
<script type="text/javascript">
|
||||
function domultisearch() {
|
||||
var sf = document.getElementById("multisearchform");
|
||||
var submitto = sf.sengines.options[sf.sengines.selectedIndex].value + escape(sf.searchterms.value);
|
||||
window.open(submitto);
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
<div style="width:100%">
|
||||
<form id="multisearchform" onsubmit="return domultisearch();" action="">
|
||||
<table cellpadding="2" cellspacing="0" class="multiSearch" border="0">
|
||||
<tr>
|
||||
<td align="right">Search:</td>
|
||||
<td>
|
||||
<select name="sengines">
|
||||
<option value="http://www.google.com/search?q=" selected="selected">Google</option>
|
||||
<option value="http://news.google.com/news?q=">Google News</option>
|
||||
<option value="http://www.flickr.com/photos/tags/">Flickr Photos</option>
|
||||
<option value="http://www.digg.com/search?submit=Submit&search=">Digg.com</option>
|
||||
<option value="http://www.altavista.com/web/results?q=">Alta Vista</option>
|
||||
<option value="http://search.yahoo.com/search?p=">Yahoo!</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">For:</td>
|
||||
<td><input type="text" name="searchterms" /> <input type="submit" name="SearchSubmit" value="Search" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
~~~
|
||||
<style type="text/css">
|
||||
h2 {
|
||||
font-family:arial;
|
||||
margin-top:3px;
|
||||
margin-bottom:3px;
|
||||
}
|
||||
.multiSearch {
|
||||
background-color:#DADADA;
|
||||
border:solid gray 1px;
|
||||
}
|
||||
</style>
|
||||
384
docs/upgrades/templates-7.0.3/request_tracker_post.tmpl
Normal file
384
docs/upgrades/templates-7.0.3/request_tracker_post.tmpl
Normal file
|
|
@ -0,0 +1,384 @@
|
|||
#PBtmpl0000000000000209
|
||||
<a name="id<tmpl_var assetId>" id="id<tmpl_var assetId>"></a>
|
||||
|
||||
<tmpl_if session.var.adminOn>
|
||||
<p><tmpl_var controls></p>
|
||||
</tmpl_if>
|
||||
|
||||
<h2><tmpl_var title></h2>
|
||||
|
||||
<div class="defaultSubmissionDetails">
|
||||
<tmpl_if avatar.url>
|
||||
<div style="width: 100%; text-align: center;">
|
||||
<img src="<tmpl_var avatar.url>" alt="<tmpl_var username>" />
|
||||
</div>
|
||||
</tmpl_if>
|
||||
<b><tmpl_var user.label>:</b>
|
||||
<tmpl_if user.isVisitor>
|
||||
<tmpl_var username>
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var userProfile.url>"><tmpl_var username></a>
|
||||
</tmpl_if>
|
||||
<br />
|
||||
<b><tmpl_var date.label>:</b> <tmpl_var dateSubmitted.human><br />
|
||||
<b><tmpl_var severity.label>:</b> <tmpl_var userDefined1><br />
|
||||
<b><tmpl_var views.label>:</b> <tmpl_var views><br />
|
||||
<b><tmpl_var rating.label>:</b> <tmpl_var rating>
|
||||
<tmpl_unless hasRated>
|
||||
<tmpl_var rate.label> [ <p style="display:inline;vertical-align:middle;"><a href="<tmpl_var rate.url.thumbsUp>"><img src="<tmpl_var thumbsUp.icon.url>" alt="+" style="border: 0px;vertical-align:middle;" /></a></p> | <p style="display:inline;vertical-align:middle;"><a href="<tmpl_var rate.url.thumbsDown>"><img src="<tmpl_var thumbsDown.icon.url>" alt="-" style="border: 0px;vertical-align:middle;" /></a></p> ]
|
||||
</tmpl_unless>
|
||||
<br />
|
||||
<tmpl_if user.isModerator>
|
||||
<b><tmpl_var status.label>:</b> <tmpl_if isArchived><tmpl_var closed.label> [ <a href="<tmpl_var unarchive.url>"><tmpl_var open.label></a> <tmpl_else> <tmpl_var open.label> [ <a href="<tmpl_var archive.url>"><tmpl_var close.label></a></tmpl_if> ]<br />
|
||||
<tmpl_else>
|
||||
<tmpl_if user.isPoster>
|
||||
<b><tmpl_var status.label>:</b> <tmpl_if isArchived><tmpl_var closed.label> <tmpl_else> <tmpl_var open.label></tmpl_if><br />
|
||||
</tmpl_if>
|
||||
</tmpl_if>
|
||||
<tmpl_if karmaIsEnabled>
|
||||
<b><tmpl_var karmaRank.label>:</b> <tmpl_var karmaRank><br />
|
||||
<b><tmpl_var transferkarma.label>:</b>
|
||||
<tmpl_var transfer.karma.form>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
|
||||
<div class="collaborationThreadContent">
|
||||
<tmpl_var content>
|
||||
</div>
|
||||
|
||||
<tmpl_if attachment_loop>
|
||||
<br />
|
||||
<tmpl_loop attachment_loop>
|
||||
<div style="float: left; padding: 5px;">
|
||||
<a href="<tmpl_var url>">
|
||||
<tmpl_if isImage>
|
||||
<img src="<tmpl_var thumbnail>" style="border-style:none;" alt="<tmpl_var filename>" />
|
||||
<tmpl_else>
|
||||
<img src="<tmpl_var icon>" style="border-style:none;vertical-align:middle;" alt="<tmpl_var filename>" /></a> <a href="<tmpl_var url>"><tmpl_var filename>
|
||||
</tmpl_if>
|
||||
</a>
|
||||
</div>
|
||||
</tmpl_loop>
|
||||
<div style="clear: both;"></div>
|
||||
<br />
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_unless isLocked>
|
||||
<div class="postControls">
|
||||
<tmpl_if user.canReply>
|
||||
<a href="<tmpl_var reply.url>"><tmpl_var reply.label></a>
|
||||
•
|
||||
</tmpl_if>
|
||||
<tmpl_if user.canEdit>
|
||||
<a href="<tmpl_var edit.url>"><tmpl_var edit.label></a>
|
||||
•
|
||||
<a href="<tmpl_var delete.url>"><tmpl_var delete.label></a>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
</tmpl_unless>
|
||||
|
||||
<div style="clear:both;"></div>
|
||||
|
||||
<tmpl_if repliesAllowed>
|
||||
<div style="float: left; width: 70%">
|
||||
<h2><tmpl_var replies.label></h2>
|
||||
</div>
|
||||
<div style="width: 30%; float: left; text-align: right;">
|
||||
<tmpl_if layout.isFlat>
|
||||
<a href="<tmpl_var layout.nested.url>"><tmpl_var layout.nested.label></a>
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var layout.flat.url>"><tmpl_var layout.flat.label></a>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
|
||||
<tmpl_if layout.isFlat>
|
||||
<!-- begin flat layout -->
|
||||
<tmpl_loop post_loop>
|
||||
<tmpl_unless isThreadRoot>
|
||||
<div class="postBorder<tmpl_if isCurrent>Current</tmpl_if>">
|
||||
<a name="id<tmpl_var assetId>"></a>
|
||||
<div class="postSubject">
|
||||
<tmpl_var title>
|
||||
</div>
|
||||
<div class="postData">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<tmpl_if avatar.url>
|
||||
<td style="padding-right: 10px;">
|
||||
<img src="<tmpl_var avatar.url>" alt="<tmpl_var username>" />
|
||||
</td>
|
||||
</tmpl_if>
|
||||
<td style="padding-right: 25px;text-align:left;">
|
||||
<b><tmpl_var user.label>:</b>
|
||||
<tmpl_if user.isVisitor>
|
||||
<tmpl_var username>
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var userProfile.url>"><tmpl_var username></a>
|
||||
</tmpl_if>
|
||||
<br />
|
||||
<b><tmpl_var date.label>:</b> <tmpl_var dateSubmitted.human>
|
||||
</td>
|
||||
<td style="text-align:left;">
|
||||
<b><tmpl_var rating.label>:</b> <tmpl_var rating>
|
||||
<tmpl_unless hasRated>
|
||||
<tmpl_var rate.label> [ <p style="display:inline;vertical-align:middle;"><a href="<tmpl_var rate.url.thumbsUp>"><img src="<tmpl_var thumbsUp.icon.url>" alt="+" style="border: 0px;vertical-align:middle;" /></a></p> | <p style="display:inline;vertical-align:middle;"><a href="<tmpl_var rate.url.thumbsDown>"><img src="<tmpl_var thumbsDown.icon.url>" alt="-" style="border: 0px;vertical-align:middle;" /></a></p> ]
|
||||
</tmpl_unless>
|
||||
<br />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="postMessage">
|
||||
<tmpl_var content>
|
||||
<tmpl_loop attachment_loop>
|
||||
<div style="float: left; padding: 5px;">
|
||||
<a href="<tmpl_var url>">
|
||||
<tmpl_if isImage>
|
||||
<img src="<tmpl_var thumbnail>" style="border-style:none;" alt="<tmpl_var filename>" />
|
||||
<tmpl_else>
|
||||
<img src="<tmpl_var icon>" style="border-style:none;vertical-align:middle;" alt="<tmpl_var filename>" /></a> <a href="<tmpl_var url>"><tmpl_var filename>
|
||||
</tmpl_if>
|
||||
</a>
|
||||
</div>
|
||||
</tmpl_loop>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
<tmpl_unless isLocked>
|
||||
<div class="postControls">
|
||||
<tmpl_if user.canReply>
|
||||
<a href="<tmpl_var reply.url>"><tmpl_var reply.label></a>
|
||||
•
|
||||
</tmpl_if>
|
||||
<tmpl_if user.canEdit>
|
||||
<a href="<tmpl_var edit.url>"><tmpl_var edit.label></a>
|
||||
•
|
||||
<a href="<tmpl_var delete.url>"><tmpl_var delete.label></a>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
</tmpl_unless>
|
||||
</div>
|
||||
</tmpl_unless>
|
||||
</tmpl_loop>
|
||||
<!-- end flat layout -->
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if layout.isNested>
|
||||
<!-- begin nested layout -->
|
||||
<tmpl_loop post_loop>
|
||||
<tmpl_unless isThreadRoot>
|
||||
<div style="margin-left: <tmpl_var depthX10>px;">
|
||||
<div class="postBorder<tmpl_if isCurrent>Current</tmpl_if>">
|
||||
<a name="id<tmpl_var assetId>"></a>
|
||||
<div class="postSubject">
|
||||
<tmpl_var title>
|
||||
</div>
|
||||
<div class="postData">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<tmpl_if avatar.url>
|
||||
<td style="padding-right: 10px;">
|
||||
<img src="<tmpl_var avatar.url>" alt="<tmpl_var username>" />
|
||||
</td>
|
||||
</tmpl_if>
|
||||
<td style="padding-right: 25px;text-align:left;">
|
||||
<b><tmpl_var user.label>:</b>
|
||||
<tmpl_if user.isVisitor>
|
||||
<tmpl_var username>
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var userProfile.url>"><tmpl_var username></a>
|
||||
</tmpl_if>
|
||||
<br />
|
||||
<b><tmpl_var date.label>:</b> <tmpl_var dateSubmitted.human>
|
||||
</td>
|
||||
<td style="text-align:left;">
|
||||
<b><tmpl_var rating.label>:</b> <tmpl_var rating>
|
||||
<tmpl_unless hasRated>
|
||||
<tmpl_var rate.label> [ <p style="display:inline;vertical-align:middle;"><a href="<tmpl_var rate.url.thumbsUp>"><img src="<tmpl_var thumbsUp.icon.url>" alt="+" style="border: 0px;vertical-align:middle;" /></a></p> | <p style="display:inline;vertical-align:middle;"><a href="<tmpl_var rate.url.thumbsDown>"><img src="<tmpl_var thumbsDown.icon.url>" alt="-" style="border: 0px;vertical-align:middle;" /></a></p> ]
|
||||
</tmpl_unless>
|
||||
<br />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="postMessage">
|
||||
<tmpl_var content>
|
||||
<tmpl_loop attachment_loop>
|
||||
<div style="float: left; padding: 5px;">
|
||||
<a href="<tmpl_var url>">
|
||||
<tmpl_if isImage>
|
||||
<img src="<tmpl_var thumbnail>" style="border-style:none;" alt="<tmpl_var filename>" />
|
||||
<tmpl_else>
|
||||
<img src="<tmpl_var icon>" style="border-style:none;vertical-align:middle;" alt="<tmpl_var filename>" /></a> <a href="<tmpl_var url>"><tmpl_var filename>
|
||||
</tmpl_if>
|
||||
</a>
|
||||
</div>
|
||||
</tmpl_loop>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
<tmpl_unless isLocked>
|
||||
<div class="postControls">
|
||||
<tmpl_if user.canReply>
|
||||
<a href="<tmpl_var reply.url>"><tmpl_var reply.label></a>
|
||||
•
|
||||
</tmpl_if>
|
||||
<tmpl_if user.canEdit>
|
||||
<a href="<tmpl_var edit.url>"><tmpl_var edit.label></a>
|
||||
•
|
||||
<a href="<tmpl_var delete.url>"><tmpl_var delete.label></a>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
</tmpl_unless>
|
||||
</div>
|
||||
</div>
|
||||
</tmpl_unless>
|
||||
</tmpl_loop>
|
||||
<!-- end nested layout -->
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if pagination.pageCount.isMultiple>
|
||||
<div class="pagination" style="margin-top: 20px;">
|
||||
[ <tmpl_var pagination.previousPage> | <tmpl_var pagination.pageList.upTo10> | <tmpl_var pagination.nextPage> ]
|
||||
</div>
|
||||
</tmpl_if>
|
||||
</tmpl_if>
|
||||
|
||||
<div class="postControls">
|
||||
<tmpl_if previous.url>
|
||||
<a href="<tmpl_var previous.url>"><tmpl_var previous.label></a>
|
||||
•
|
||||
</tmpl_if>
|
||||
<a href="<tmpl_var collaboration.url>"><tmpl_var back.label></a>
|
||||
|
||||
<tmpl_if next.url>
|
||||
•
|
||||
<a href="<tmpl_var next.url>"><tmpl_var next.label></a>
|
||||
</tmpl_if>
|
||||
<tmpl_if user.canPost>
|
||||
•
|
||||
<a href="<tmpl_var add.url>"><tmpl_var add.label></a>
|
||||
•
|
||||
</tmpl_if>
|
||||
<tmpl_if user.isModerator>
|
||||
<tmpl_if isSticky>
|
||||
<a href="<tmpl_var unstick.url>"><tmpl_var unstick.label></a>
|
||||
•
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var stick.url>"><tmpl_var stick.label></a>
|
||||
•
|
||||
</tmpl_if>
|
||||
<tmpl_if isLocked>
|
||||
<a href="<tmpl_var unlock.url>"><tmpl_var unlock.label></a>
|
||||
•
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var lock.url>"><tmpl_var lock.label></a>
|
||||
•
|
||||
</tmpl_if>
|
||||
</tmpl_if>
|
||||
<tmpl_unless user.isVisitor>
|
||||
<tmpl_if user.isSubscribed>
|
||||
<a href="<tmpl_var unsubscribe.url>"><tmpl_var unsubscribe.label></a>
|
||||
<tmpl_else>
|
||||
<a href="<tmpl_var subscribe.url>"><tmpl_var subscribe.label></a>
|
||||
</tmpl_if>
|
||||
</tmpl_unless>
|
||||
</div>
|
||||
~~~
|
||||
<style type="text/css">
|
||||
.defaultSubmissionDetails
|
||||
{
|
||||
float: right;
|
||||
padding: 2px;
|
||||
margin: 2px;
|
||||
font-size:9pt;
|
||||
font-family:arial;
|
||||
margin-bottom:20px;
|
||||
}
|
||||
|
||||
.defaultSubmissionDetails a
|
||||
{
|
||||
color:#29587E;
|
||||
}
|
||||
|
||||
.postBorder {
|
||||
border: 1px solid #cccccc;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.postBorderCurrent {
|
||||
border: 3px dotted black;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.postSubject {
|
||||
border-bottom: 1px solid #cccccc;
|
||||
font-weight: bold;
|
||||
padding: 3px;
|
||||
font-family:arial;
|
||||
}
|
||||
.postData {
|
||||
border-bottom: 1px solid #cccccc;
|
||||
background-color: #eeeeee;
|
||||
padding: 3px;
|
||||
}
|
||||
.postData td {
|
||||
font-size: 9pt;
|
||||
color: black;
|
||||
font-family:arial;
|
||||
}
|
||||
.postControls {
|
||||
border-top: 1px solid #cccccc;
|
||||
background-color: #eeeeee;
|
||||
color: black;
|
||||
padding: 3px;
|
||||
font-family:arial;
|
||||
clear:both;
|
||||
width:100%;
|
||||
display:block;
|
||||
-moz-box-sizing:border-box;
|
||||
}
|
||||
.postMessage {
|
||||
padding: 3px;
|
||||
}
|
||||
.currentThread {
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
.threadHead {
|
||||
font-weight: bold;
|
||||
border-bottom: 1px solid #cccccc;
|
||||
font-size: 9pt;
|
||||
background-color: #eeeeee;
|
||||
color: black;
|
||||
padding: 3px;
|
||||
font-family:arial;
|
||||
}
|
||||
.threadData {
|
||||
font-size: 11px;
|
||||
padding: 3px;
|
||||
font-family:arial;
|
||||
}
|
||||
|
||||
.postControls
|
||||
{
|
||||
background:#676767;
|
||||
display:block;
|
||||
text-align:right;
|
||||
padding:3px;
|
||||
font-size:9pt;
|
||||
font-family:arial;
|
||||
margin-top: 1px;
|
||||
}
|
||||
.postControls a:link, .postControls a:visited
|
||||
{
|
||||
color:white;
|
||||
text-decoration:underline;
|
||||
}
|
||||
.postControls a:hover {
|
||||
text-decoration:none;
|
||||
}
|
||||
.collaborationThreadContent
|
||||
{
|
||||
font-family:arial;
|
||||
font-size:9pt;
|
||||
}
|
||||
</style>
|
||||
81
docs/upgrades/templates-7.0.3/sqlform_search.tmpl
Normal file
81
docs/upgrades/templates-7.0.3/sqlform_search.tmpl
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
#SQLFormSearchTmpl00001
|
||||
<a name="id<tmpl_var assetId>"></a>
|
||||
|
||||
<tmpl_if session.var.adminOn>
|
||||
<p><tmpl_var controls></p>
|
||||
</tmpl_if>
|
||||
|
||||
<div class="SQLForm-contentBox">
|
||||
|
||||
<tmpl_if displayTitle>
|
||||
<h1><tmpl_var title></h1>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_var managementLinks>
|
||||
|
||||
<h2>Search records</h2>
|
||||
<a href="<tmpl_var superSearch.url>"><tmpl_var superSearch.label></a><br />
|
||||
|
||||
<tmpl_if errorOccurred>
|
||||
Some error(s) occurred:
|
||||
<ul>
|
||||
<tmpl_loop errorLoop>
|
||||
<li><tmpl_var error.message></li>
|
||||
</tmpl_loop>
|
||||
</ul>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_var searchForm>
|
||||
|
||||
<tmpl_if showFieldsDefined>
|
||||
<tmpl_var searchResults.header>
|
||||
<tmpl_var searchResults.actionButtons>
|
||||
<table border="0">
|
||||
<tr>
|
||||
<th></th>
|
||||
<tmpl_if showMetaData>
|
||||
<th>Last update</th>
|
||||
<th>Last update by</th>
|
||||
</tmpl_if>
|
||||
<tmpl_loop headerLoop>
|
||||
<th <tmpl_if
|
||||
header.sort.onThis>color="red"</tmpl_if>>
|
||||
<a href="<tmpl_var header.sort.url>">
|
||||
<tmpl_var header.title>
|
||||
<tmpl_if header.sort.onThis><tmpl_if header.sort.ascending>(asc)<tmpl_else>(desc)</tmpl_if></tmpl_if></a></th>
|
||||
</tmpl_loop>
|
||||
</tr>
|
||||
<tmpl_loop searchResults.recordLoop>
|
||||
<tr>
|
||||
<td><tmpl_var record.controls></td>
|
||||
<tmpl_if showMetaData>
|
||||
<td><tmpl_var record.updateDate></td>
|
||||
<td><tmpl_var record.updatedBy></td>
|
||||
</tmpl_if>
|
||||
<tmpl_loop record.valueLoop>
|
||||
<td>
|
||||
<tmpl_if record.value.isFile>
|
||||
<tmpl_if record.value>
|
||||
<a href="<tmpl_var record.value.downloadUrl>">
|
||||
<tmpl_if record.value.isImage>
|
||||
<img width="100" src="<tmpl_var record.value.downloadUrl>" alt="<tmpl_var record.value.downloadUrl>" />
|
||||
<tmpl_else>
|
||||
Click here for file
|
||||
</tmpl_if>
|
||||
</a>
|
||||
</tmpl_if>
|
||||
<tmpl_else>
|
||||
<tmpl_var record.value>
|
||||
</tmpl_if>
|
||||
</td>
|
||||
</tmpl_loop>
|
||||
</tr>
|
||||
</tmpl_loop>
|
||||
</table>
|
||||
<tmpl_var searchResults.actionButtons>
|
||||
<tmpl_var searchResults.footer>
|
||||
<tmpl_else>
|
||||
No fields are defined to be shown in the search results.
|
||||
</tmpl_if>
|
||||
|
||||
</div>
|
||||
94
docs/upgrades/templates-7.0.3/stock_data_default_view.tmpl
Normal file
94
docs/upgrades/templates-7.0.3/stock_data_default_view.tmpl
Normal file
|
|
@ -0,0 +1,94 @@
|
|||
#StockDataTMPL000000001
|
||||
<a name="id<tmpl_var assetId>"></a>
|
||||
|
||||
<tmpl_if session.var.adminOn>
|
||||
<p><tmpl_var controls></p>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if displayTitle>
|
||||
<h2><tmpl_var title></h2>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if description>
|
||||
<tmpl_var description><p />
|
||||
</tmpl_if>
|
||||
|
||||
<table cellpadding="0" cellspacing="0" border="0" class="qmmt_main" width="100%">
|
||||
<tr>
|
||||
<td colspan="3" style="text-align: left">
|
||||
<div class="qmmt_header_bar" style="padding-top: 1px; padding-bottom: 1px; border-bottom-width: 1px;">
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="100%">
|
||||
<tr>
|
||||
<td class="qmmt_header_text">Stock Watch</td>
|
||||
<td class="qmmt_header_text" style="text-align: right; padding-right: 3px; font-weight: normal;">
|
||||
<div id="qm_textChange_7310">
|
||||
<span class="qmmt_header_text" style="font-weight:normal;"><b>Last Update: </b> <tmpl_var lastUpdate.default> EDT</span></div>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
|
||||
function qm_UpdateText_7310(phase){
|
||||
switch (phase) {
|
||||
case 1: document.getElementById('qm_textChange_7310').innerHTML = '<span class="qmmt_header_text" style="font-weight:normal;">delayed 20 minutes</span>';
|
||||
setTimeout("qm_UpdateText_7310(2)", 5000);
|
||||
break;
|
||||
case 2: document.getElementById('qm_textChange_7310').innerHTML = '<span class="qmmt_header_text" style="font-weight:normal;"><b>Last Update: </b> <tmpl_var lastUpdate.default> EDT</span>';
|
||||
setTimeout("qm_UpdateText_7310(3)", 5000);
|
||||
break;
|
||||
case 3: document.getElementById('qm_textChange_7310').innerHTML = '<a href="http://www.quotemedia.com/" style="text-decoration:none;"><span class="qmmt_header_text" style="font-weight:normal;">Yahoo Finance</span></a>';
|
||||
setTimeout("qm_UpdateText_7310(1)", 5000);
|
||||
break;
|
||||
}
|
||||
}
|
||||
qm_UpdateText_7310(2);
|
||||
//]]>
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
function openDetail_2961(symbol) {
|
||||
var w = 670;
|
||||
var h = 286;
|
||||
var winl = (screen.width - w) / 2;
|
||||
var wint = (screen.height - h) / 2;
|
||||
var winprops ='height='+h+',width='+w+',top='+wint+',left='+winl+',toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1';
|
||||
win = window.open("<tmpl_var stock.display.url>" + escape(symbol), "DetailedQuote", winprops);
|
||||
if (parseInt(navigator.appVersion) >= 4) {
|
||||
win.window.focus();
|
||||
}
|
||||
}
|
||||
//]]>
|
||||
</script>
|
||||
<table cellpadding="0" cellspacing="0" style="padding: 2px;" width="100%">
|
||||
<tr class="qmmt_main">
|
||||
<td class="qmmt_text" style="font-weight: bold; text-align: left; padding-left: 3px;white-space:nowrap;"> Name </td>
|
||||
<td class="qmmt_text" style="font-weight: bold; text-align: left; padding-left: 3px; white-space:nowrap;width:8%;">Symbol</td>
|
||||
<td class="qmmt_text" style="font-weight: bold; text-align: right; white-space:nowrap;width:9%;">Last</td>
|
||||
<td class="qmmt_text" style="font-weight: bold; text-align: center; white-space:nowrap;width:4%">Tick</td>
|
||||
<td class="qmmt_text" style="font-weight: bold; text-align: right; white-space:nowrap; width:7%;">Chg</td>
|
||||
</tr>
|
||||
<tmpl_loop stocks.loop>
|
||||
<tr class='<tmpl_if __ODD__>qmmt_cycle<tmpl_else>qmmt_main</tmpl_if>'>
|
||||
<td class="qmmt_text" style="padding-left: 3px;white-space:nowrap;"><tmpl_var stocks.name></td>
|
||||
<td class="qmmt_text" style="text-align: left; padding-left: 3px;white-space:nowrap;">
|
||||
<a class="qmmt" style="text-decoration: none;" href="javascript:openDetail_2961('<tmpl_var stocks.symbol>')"><tmpl_var stocks.symbol></a>
|
||||
</td>
|
||||
<td class="qmmt_text" style="text-align: right;white-space:nowrap;"><tmpl_var stocks.last></td>
|
||||
<td class="qmmt_text" style="text-align: center;white-space:nowrap;" align="right">
|
||||
<img src="<tmpl_var extrasFolder>/<tmpl_var stocks.net.icon>" alt="" />
|
||||
</td>
|
||||
<td class="qmmt_text<tmpl_if stocks.net.isUp>_up<tmpl_else><tmpl_if stocks.net.isDown>_down</tmpl_if></tmpl_if>" style="text-align: right;whitespace:nowrap;"><tmpl_var stocks.net></td>
|
||||
</tr>
|
||||
</tmpl_loop>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
~~~
|
||||
<link rel="stylesheet" type="text/css" href="<tmpl_var extrasFolder>/tools.css" />
|
||||
213
docs/upgrades/templates-7.0.3/stockdata_default_display.tmpl
Normal file
213
docs/upgrades/templates-7.0.3/stockdata_default_display.tmpl
Normal file
|
|
@ -0,0 +1,213 @@
|
|||
#StockDataTMPL000000002
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
<style type="text/css">
|
||||
.qmmt_tab
|
||||
{
|
||||
background-color: #eeeeee;
|
||||
border-top-color: #cccccc;
|
||||
border-right: 1px solid #cccccc;
|
||||
}
|
||||
.qmmt_tabactive
|
||||
{
|
||||
border-right: 1px solid #cccccc;
|
||||
}
|
||||
body {
|
||||
color:#000;
|
||||
background-color:#f1f1f1;
|
||||
}
|
||||
a:link, a:visited {
|
||||
color:#0000cc;
|
||||
}
|
||||
a:hover {
|
||||
color:#FF0000;
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" type="text/css" href="<tmpl_var extrasFolder>/tools.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div><a name="id<tmpl_var assetId>"></a></div>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
var symbol = "<tmpl_var stocks.symbol>";
|
||||
function isIE() {
|
||||
var ua = navigator.userAgent.toLowerCase();
|
||||
var isIE = ( (ua.indexOf("msie") != -1) && (ua.indexOf("opera") == -1) && (ua.indexOf("webtv") == -1) );
|
||||
return (isIE);
|
||||
}
|
||||
|
||||
function enableTab(obj, scale){
|
||||
for (i=0; i < 7; i++) {
|
||||
document.getElementById('qm_ch_tab' + i + '_9350').className = (i == obj) ? 'qmmt_tabactive' : 'qmmt_tab';
|
||||
document.getElementById('qm_ch_tab' + i + '_9350').style.cursor = (i == obj) ? 'default' : (isIE()) ? 'hand': 'pointer';
|
||||
document.getElementById('qm_ch_tab' + i + '_9350').style.borderTop = (i == obj) ? '0px' : '1px solid';
|
||||
}
|
||||
document.getElementById('chartimg').src = "http://ichart.finance.yahoo.com/z?s=" + symbol + "&t=" + scale + "&q=l&l=off&z=s&p=s";
|
||||
}
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
<table cellpadding="0" cellspacing="0" border="0" class="qmmt_main" width="650">
|
||||
<tr>
|
||||
<td style="text-align: center;">
|
||||
<div class="qmmt_header_bar" style="padding-bottom: 1px; border-bottom-width: 1px; ">
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="100%">
|
||||
<tr>
|
||||
<td><span class="qmmt_header_text" style="padding-left:5px;"><tmpl_var stocks.name> (<tmpl_var stocks.symbol>)</span></td>
|
||||
<td align="right" style="padding-right:3px;">
|
||||
<span class="qmmt_header_text" style="text-align: right; font-weight:normal;">
|
||||
<div style="white-space:nowrap;" id="qm_textChange_5920">1:23 PM EDT</div>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
function qm_UpdateText_5920(phase){
|
||||
switch (phase) {
|
||||
case 1:
|
||||
document.getElementById('qm_textChange_5920').innerHTML = '<span class="qmmt_header_text" style="font-weight:normal;">Delayed</span>';
|
||||
setTimeout("qm_UpdateText_5920(2)", 5000);
|
||||
break;
|
||||
case 2:
|
||||
document.getElementById('qm_textChange_5920').innerHTML = '<span class="qmmt_header_text" style="font-weight:normal;">1:23 PM EDT</span>';
|
||||
setTimeout("qm_UpdateText_5920(3)", 5000);
|
||||
break;
|
||||
case 3:
|
||||
document.getElementById('qm_textChange_5920').innerHTML = '<a href="http://finance.yahoo.com/" style="text-decoration:none;"><span class="qmmt_header_text" style="font-weight:normal;">Yahoo Finance</span></a>';
|
||||
setTimeout("qm_UpdateText_5920(1)", 5000);
|
||||
break;
|
||||
}
|
||||
}
|
||||
qm_UpdateText_5920(2);
|
||||
//]]>
|
||||
</script>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: center;">
|
||||
<table cellpadding="2" cellspacing="0" border="0" width="100%">
|
||||
<tr>
|
||||
<td style="text-align: center;width:40%">
|
||||
<img id="chartimg" style="width:350px;height:205px;vertical-align:center;" src="http://ichart.finance.yahoo.com/z?s=<tmpl_var stocks.symbol>&t=1d&q=l&l=off&z=s&p=s" alt="chart" />
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="100%">
|
||||
<tr>
|
||||
<td id="qm_ch_tab0_9350" class="qmmt_tabactive" onclick="enableTab('0', '1d')" style="cursor: default; border-left: 0px; border-bottom: 0px; border-top: 0px; padding-top:1px; padding-bottom:1px; font-weight: normal;width: 14%;">Today</td>
|
||||
<td id="qm_ch_tab1_9350" class="qmmt_tab" onclick="enableTab('1', '5d')" style="cursor: default; border-bottom: 0px; padding-top:1px; padding-bottom:1px; font-weight: normal;width: 14%;">5d</td>
|
||||
<td id="qm_ch_tab2_9350" class="qmmt_tab" onclick="enableTab('2', '1m')" style="cursor: default; border-bottom: 0px; padding-top:1px; padding-bottom:1px; font-weight: normal;width: 14%;">1m</td>
|
||||
<td id="qm_ch_tab3_9350" class="qmmt_tab" onclick="enableTab('3', '3m')" style="cursor: default; border-bottom: 0px; padding-top:1px; padding-bottom:1px; font-weight: normal;width: 14%;">3m</td>
|
||||
<td id="qm_ch_tab4_9350" class="qmmt_tab" onclick="enableTab('4', '1y')" style="cursor: default; border-bottom: 0px; padding-top:1px; padding-bottom:1px; font-weight: normal;width: 14%;">1y</td>
|
||||
<td id="qm_ch_tab5_9350" class="qmmt_tab" onclick="enableTab('5', '5y')" style="cursor: default; border-bottom: 0px; padding-top:1px; padding-bottom:1px; font-weight: normal;width: 14%;">5y</td>
|
||||
<td id="qm_ch_tab6_9350" class="qmmt_tab" onclick="enableTab('6', 'my')" style="cursor: default; border-right: 0px; border-bottom: 0px; padding-top:1px; padding-bottom:1px; font-weight: normal;width: 14%;">20y</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td align="center" style="width:30%">
|
||||
<table cellpadding="2" cellspacing="0" border="0" width="95%">
|
||||
<tr class="qmmt_main">
|
||||
<td class="qmmt_text">Last Price</td>
|
||||
<td class="qmmt_text" style="text-align: right; font-weight: bold;"><tmpl_var stocks.last></td>
|
||||
</tr>
|
||||
<tr class="qmmt_cycle">
|
||||
<td class="qmmt_text"> Market Cap </td>
|
||||
<td class="qmmt_text" style="text-align: right; font-weight: bold;"><tmpl_var stocks.cap></td>
|
||||
</tr>
|
||||
<tr class="qmmt_main"><td class="qmmt_text"> Change </td>
|
||||
<td class="qmmt_text<tmpl_if stocks.net.isUp>_up<tmpl_else><tmpl_if stocks.net.isDown>_down</tmpl_if></tmpl_if>" style="text-align: right; font-weight: bold;">
|
||||
<img style="vertical-align:center;" src='<tmpl_var extrasFolder>/<tmpl_var stocks.net.icon>' alt="" /> <tmpl_var stocks.net>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="qmmt_cycle">
|
||||
<td class="qmmt_text"> Open </td>
|
||||
<td class="qmmt_text" style="text-align: right; font-weight: bold;"><tmpl_var stocks.open></td>
|
||||
</tr>
|
||||
<tr class="qmmt_main">
|
||||
<td class="qmmt_text"> Day High </td>
|
||||
<td class="qmmt_text" style="text-align: right; font-weight: bold;"><tmpl_var stocks.high></td>
|
||||
</tr>
|
||||
<tr class="qmmt_cycle">
|
||||
<td class="qmmt_text">Bid</td>
|
||||
<td class="qmmt_text" style="text-align: right; font-weight: bold;"><tmpl_var stocks.bid></td>
|
||||
</tr>
|
||||
<tr class="qmmt_main">
|
||||
<td class="qmmt_text"> 52 Wk High </td>
|
||||
<td class="qmmt_text" style="text-align: right; font-weight: bold;"><tmpl_var stocks.year_high></td>
|
||||
</tr>
|
||||
<tr class="qmmt_cycle">
|
||||
<td class="qmmt_text"> E.P.S. </td>
|
||||
<td class="qmmt_text" style="text-align: right; font-weight: bold;"><tmpl_var stocks.eps></td>
|
||||
</tr>
|
||||
<tr class="qmmt_main">
|
||||
<td class="qmmt_text"> Ex-Div Date </td>
|
||||
<td class="qmmt_text" style="text-align: right; font-weight: bold;"><tmpl_var stocks.ex_div></td>
|
||||
</tr>
|
||||
<tr class="qmmt_cycle">
|
||||
<td class="qmmt_text"> Yield </td>
|
||||
<td class="qmmt_text" style="text-align: right; font-weight: bold;"><tmpl_var stocks.yield></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td align="center" style="width:30%;">
|
||||
<table cellpadding="2" cellspacing="0" border="0" width="95%">
|
||||
<tr class="qmmt_main">
|
||||
<td class="qmmt_text"> Last Trade </td>
|
||||
<td class="qmmt_text" style="text-align: right; font-weight: bold;"><tmpl_var lastUpdate.us></td>
|
||||
</tr>
|
||||
<tr class="qmmt_cycle">
|
||||
<td class="qmmt_text"> Volume </td>
|
||||
<td class="qmmt_text" style="text-align: right; font-weight: bold;"><tmpl_var stocks.volume.millions> m</td>
|
||||
</tr>
|
||||
<tr class="qmmt_main">
|
||||
<td class="qmmt_text">% Change </td>
|
||||
<td class="qmmt_text<tmpl_if stocks.net.isUp>_up<tmpl_else><tmpl_if stocks.net.isDown>_down</tmpl_if></tmpl_if>" style="text-align: right; font-weight: bold;"><tmpl_var stocks.p_change>%</td>
|
||||
</tr>
|
||||
<tr class="qmmt_cycle">
|
||||
<td class="qmmt_text"> Prev Close </td>
|
||||
<td class="qmmt_text" style="text-align: right; font-weight: bold;"><tmpl_var stocks.close></td>
|
||||
</tr>
|
||||
<tr class="qmmt_main">
|
||||
<td class="qmmt_text"> Day Low </td>
|
||||
<td class="qmmt_text" style="text-align: right; font-weight: bold;"><tmpl_var stocks.low></td>
|
||||
</tr>
|
||||
<tr class="qmmt_cycle">
|
||||
<td class="qmmt_text"> Ask </td>
|
||||
<td class="qmmt_text" style="text-align: right; font-weight: bold;"><tmpl_var stocks.ask></td>
|
||||
</tr>
|
||||
<tr class="qmmt_main">
|
||||
<td class="qmmt_text"> 52 Wk Low </td>
|
||||
<td class="qmmt_text" style="text-align: right; font-weight: bold;"><tmpl_var stocks.year_low></td>
|
||||
</tr>
|
||||
<tr class="qmmt_cycle">
|
||||
<td class="qmmt_text"> P/E Ratio </td>
|
||||
<td class="qmmt_text" style="text-align: right; font-weight: bold;"><tmpl_var stocks.pe></td>
|
||||
</tr>
|
||||
<tr class="qmmt_main">
|
||||
<td class="qmmt_text"> Dividend </td>
|
||||
<td class="qmmt_text" style="text-align: right; font-weight: bold;"><tmpl_var stocks.div></td>
|
||||
</tr>
|
||||
<tr class="qmmt_cycle">
|
||||
<td class="qmmt_text"> Exchange </td>
|
||||
<td class="qmmt_text" style="text-align: right; font-weight: bold;"><tmpl_var stocks.exchange></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div style="text-align:center;">
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="650">
|
||||
<tr>
|
||||
<td>
|
||||
<div class="qmmt_text" style="text-align:right;"><br /><a href="javascript:window.close()" style="color:#0000cc">CLOSE</a></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
#PBtmpl0000000000000053
|
||||
<tmpl_if batchDescription>
|
||||
Batch: <tmpl_var batchDescription>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_var message><br />
|
||||
<tmpl_var codeForm>
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
#PBtmpl0000000000000046
|
||||
<h2><tmpl_var name></h2>
|
||||
<tmpl_var description><br />
|
||||
<br />
|
||||
<br />
|
||||
$ <tmpl_var price><br />
|
||||
<a href="<tmpl_var url>">Subscribe now</a><br />
|
||||
50
docs/upgrades/templates-7.0.3/table_default_page.tmpl
Normal file
50
docs/upgrades/templates-7.0.3/table_default_page.tmpl
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
#PBtmpl000000000table54
|
||||
#create
|
||||
#title:Default Page (Table)
|
||||
#menuTitle:Default Page (Table)
|
||||
#url:default_page_table
|
||||
#namespace:Layout
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td class="content"><tmpl_var dragger.icon><tmpl_var content></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</div></td></tr>
|
||||
</tmpl_if>
|
||||
</tmpl_loop>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
</tbody></table>
|
||||
</tmpl_if>
|
||||
</div>
|
||||
|
||||
<tmpl_if showAdmin>
|
||||
<table><tr id="blank" class="hidden"><td><div><div class="empty"> </div></div></td></tr></table>
|
||||
<tmpl_var dragger.init>
|
||||
</tmpl_if>
|
||||
153
docs/upgrades/templates-7.0.3/table_one_over_three.tmpl
Normal file
153
docs/upgrades/templates-7.0.3/table_one_over_three.tmpl
Normal file
|
|
@ -0,0 +1,153 @@
|
|||
#PBtmpl00000000table109
|
||||
#create
|
||||
#title:One Over Three (Table)
|
||||
#menuTitle:One Over Three (Table)
|
||||
#url:one_over_three_table
|
||||
#namespace:Layout
|
||||
<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"> </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>
|
||||
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
#PBtmpl0000000000000097
|
||||
|
||||
<a name="id<tmpl_var assetId>" id="id<tmpl_var assetId>"></a>
|
||||
|
||||
<tmpl_if session.var.adminOn>
|
||||
|
|
|
|||
40
docs/upgrades/templates-7.0.3/weatherdata_default_view.tmpl
Normal file
40
docs/upgrades/templates-7.0.3/weatherdata_default_view.tmpl
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
#WeatherDataTmpl0000001
|
||||
<a name="id<tmpl_var assetId>"></a>
|
||||
|
||||
<tmpl_if session.var.adminOn>
|
||||
<p><tmpl_var controls></p>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if displayTitle>
|
||||
<h2><tmpl_var title></h2>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_if description>
|
||||
<tmpl_var description><p></p>
|
||||
</tmpl_if>
|
||||
|
||||
<tmpl_loop ourLocations.loop>
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td rowspan="3" style="width:55px;"><img src="<tmpl_var iconUrl>" alt="<tmpl_var iconUrl>" /></td>
|
||||
<td style="background-color:#E0E0E0;">
|
||||
<div class="weatherTitle">
|
||||
<div style="float:left;"> <b><tmpl_var cityState></b></div>
|
||||
|
||||
<div style="float:right;margin-right:1px;margin-top:2px;vertical-align:middle;">
|
||||
<a href="#" style="color:gray;font-weight:bold;">X</a>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<tmpl_var sky><br /><tmpl_var tempF>°F<br />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><br /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</tmpl_loop>
|
||||
Loading…
Add table
Add a link
Reference in a new issue