This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<t:if test="!isNull(link)"> | |
<t:if test="matches(link, 'http://example.com/.*')"> | |
<a href="${link}"> | |
</t:if> | |
<t:else> | |
<a href="${link}" target="_blank"> | |
</t:else> | |
</t:if> | |
<img src="${url}" alt="${alt_text}" /> | |
<t:if test="!isNull(link)"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<t:if test="path == '/''"> <!-- is home page --> </t:if> | |
<t:else> <!-- not homepage --> </t:else> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<t:list id="rss.channel.item"> | |
<t:set id="myDate" value="substring(pubDate, 5, 7)" /> | |
<t:set id="myMonth" value="substring(pubDate, 8, 11)" /> | |
<t:set id="myYear" value="substring(pubDate, 12, 16)" /> | |
<t:set id="myHour" value="substring(pubDate, 17, 19)" /> | |
<t:set id="myMinutes" value="substring(pubDate, 20, 22)" /> | |
<p>${pubDate} or ${myDate}/${myMonth}/${myYear} ${myHour}:${myMinutes}</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<t:if test="matches(header.User_Agent,'.*MSIE 7.0.*') || matches(header.User_Agent,'.*MSIE 6.0.*')"> | |
<div class="old-browser"> | |
<p>You're using old browser please, this website might not render properly in it. Please upgrade your browser to one of the following browsers to enjoy this website:</p> | |
<p><a href="http://windows.microsoft.com/en-US/internet-explorer/downloads/ie" target="_blank"><img src="http://www.microsoft.com/PressPass/ImageGallery/Images/Products/Windows/ie/logo_IE9-h_thumb.jpg" width="100" border="0" /></a> | |
<a href="http://www.mozilla.org/en-US/firefox/fx/" target="_blank"><img src="http://www.mozilla.org/img/covehead/firefox/brand-toolkit/identity-guidelines-mozilla-wordmark.png" width="100" border="0" /></a> | |
<a href="www.google.com/chrome" target="_blank"><img src="https://www.google.com/intl/en/images/logos/chrome_logo.gif" width="100" border="0" /></a> | |
<a href="http://www.apple.com/safari/download/" target="_blank"><img src="http://images.apple.com/safari/images/overview_safari_title. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
function ReinitializeAddThis(){ | |
if (window.addthis){ | |
window.addthis.ost = 0; | |
window.addthis.ready(); | |
} | |
} | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
table.paginator td { | |
border: 1px solid #ccc; | |
line-height: 1.5em; | |
padding: 2px 7px; | |
background: #fff; | |
} | |
table.paginator td a{ | |
text-decoration: none; | |
padding: 3px 5px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<t:if test="topic.length > 0"> | |
<t:list id="topic"> | |
<t:if test="index == 1"> | |
<t:set id="tops" value="concat(tops, '?topics=')" /> | |
<t:set id="tops" value="concat(tops, name)" /> | |
</t:if> | |
<t:else> | |
<t:set id="tops" value="concat(tops, '&topics=')" /> | |
<t:set id="tops" value="concat(tops, name)" /> | |
</t:else> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.searchDisplayResults { | |
margin: 1em 0 0; | |
} | |
.searchTitle { | |
padding: .75em 0 0; | |
margin: 0; | |
} | |
.searchTitle a {font-weight: bold; } | |
.searchTimeStamp { | |
font-size: .87em; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<t:set id="bodyClass" value="toLowerCase(type)" /> | |
<t:set id="bodyClass" value="trim(bodyClass)" /> | |
<t:set id="bodyClass" value="replace(bodyClass, ' ', '-')" /> | |
<t:set id="bodyClass" value="replace(bodyClass, '---', '-')" /> | |
<t:set id="bodyClass" value="replace(bodyClass, '-', '-')" /> | |
<t:if test="title == 'Search Results'"> | |
<t:set id="bodyClass" value="'search')" /> | |
</t:if> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<t:if test="length > 0"> | |
<t:set id="lastdate" value="15" /> | |
<ul> | |
<t:list> | |
<t:if test="month(date) != lastdate"> | |
<t:set id="fromMonth" value="month(date)+1" /> | |
<t:set id="toMonth" value="month(date)+2" /> | |
<t:set id="fromYear" value="year(date)" /> | |
<t:if test="fromMonth == 12"> | |
<t:set id="toYear" value="year(date)+1" /> |