Revision 416393 of Template:block-title

  • Revision slug: Template:block-title
  • Revision title: Template:block-title
  • Revision id: 416393
  • Created:
  • Creator: ethertank
  • Is current revision? No
  • Comment OLD: <%=$0%> NEW: <%-$0%>
Tags: 

Revision Content

var el = env.locale; <% if (env.locale == "zh-TW") { %><%- template('小標', arguments) %><% } else { var blockId = uri.encode(string.replace($0,' ', '_')); %>><%- $0 %><% } %>

Revision Source

var el = env.locale;


<% if (env.locale == "zh-TW") {
    %><%- template('小標', arguments) %><%
} else {
    var blockId = uri.encode(string.replace($0,' ', '_'));
    %><span id="<%=blockId%>"><a id=<%=blockId%>><strong><%- $0 %></strong></span><%
} %>