Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

124 lines (116 sloc) 3.528 kB
<% if $Var %>
<% end_if %>
<% if $Var %>
<% end_if %>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="css/main.css">
<body class="my-class">
# You are reading the ".properties" entry.
! The exclamation mark can also mark text as comments.
website =
language = English
# The backslash below tells the application to continue reading
# the value onto the next line.
message = Welcome to \
# Add spaces to the key
key\ with\ spaces = This is the value that could be looked up with the key "key with spaces".
# Unicode
tab : \u0009
Variable $Var
Variable in quote "$Var"
Delimited variable {$Var}
<% loop $Var %>
Variable $Var
<% end_loop %>
<% base_tag %>
<% include MetaTags %>
<li>Basic tag recognition. Recognizes the following tags:
<li><% if $Var %> - <% else_if %> - <% else %> - <% end_if %></li>
<li><% loop $Var %> - <% end_loop %></li>
<li><% with $Var %> - <% end_with %></li>
<li><% control $Var %> - <% end_control %></li>
<li><%-- Comment --%></li>
<li><% include File %></li>
<li><% base_tag %></li>
<li>Var statements, both {$Var} and $Var is supported.</li>
<li>Basic syntax highlighting</li>
<li>Brace matching</li>
<li>Code folding</li>
<li>HTML is recognized and can be formatted.</li>
<li>Error messages for mismatching blocks and unexpected blocks.<br>
Error messages for syntax errors in Var statements.
<li>Message about unrecognized tags.</li>
<% if $var %>
// This is a comment
<%-- This is a comment --%>
// Simple string translation
<%t Namespace.Entity "String to translate" %>
// Using the natural languate comment parameter to supply additional context information to translators
<%t SearchResults.NoResult "There are no results matching your query." is "A message displayed to users when the search produces no results." %>
// Using injection to add variables into the translated strings (note that $Name and $Greeting must be available in the current template scope).
<%t Header.Greeting "Hello {name} {greeting}" name=$Name greeting=$Greeting %>
<% if $Var %>
window.FBUserStatus = false;
window.fbAsyncInit = function() {
appId : '$Top.FacebookAppId',
status : true,
cookie : true,
xfbml : true,
oauth : true
FB.Event.subscribe('auth.login', function() {
if ($("#carousel").length == 0)
FB.getLoginStatus(function(response) {
window.FBUserStatus = response;
if (response.status === 'connected') {
$('#carousel, #arrow').animate({opacity:1},2000);
var uid = response.authResponse.userID;
var accessToken = response.authResponse.accessToken;
else {
if ($("#carousel").length > 0)
window.location.href = $("#carousel").data("url");
// the user isn't logged in to Facebook.
// Load the SDK Asynchronously
var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
if (d.getElementById(id)) {return;}
js = d.createElement('script'); = id; js.async = true;
js.src = "//";
ref.parentNode.insertBefore(js, ref);
Jump to Line
Something went wrong with that request. Please try again.