<% /* Copyright 2009 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ %><% helpers.addBodyClass(bodyClass); helpers.setHtmlTitle(toHTML(padId + " / " + rlabel)); helpers.setBodyId("padviewbody"); helpers.includeCss("broadcast.css"); helpers.setRobotsPolicy({index: false, follow: false}) helpers.includeJQuery(); helpers.includeCometJs(); helpers.includeJs("json2.js"); helpers.includeJs("pad_utils.js"); helpers.includeJs("broadcast_slider.js"); helpers.includeJs("broadcast_revisions.js"); helpers.includeJs("easysync2_client.js"); helpers.includeJs("domline_client.js"); helpers.includeJs("linestylefilter_client.js"); helpers.includeJs("cssmanager_client.js"); helpers.includeJs("broadcast.js"); helpers.addToHead('\n\n'); function dfmt(t) { var d = new Date(t); return d.toString(); } function exportOption(type, label, requiresOffice, url, title) { url = url || '/ep/pad/export/'+padId+'/'+revisionId+'?format='+type; var aStart = [''].join(''); var r = [''); return r.join(''); } %>
<% if (isProAccountHolder) { %>
<%= toHTML(account.email) %> (sign out)
<% } else if (isPro) { %> <% } %>
style="font-size: 3em;" <% } %> >

<%= padTitle %>

<%= rlabel %>
Saved <%= ["Jan", "Feb", "March", "April", "May", "June", "July", "Aug", "Sept", "Oct", "Nov", "Dec"][new Date(savedWhen).getMonth()] %> <%= new Date(savedWhen).getDate() %>, <%= new Date(savedWhen).getFullYear() %>
style="font-size: 1.3em;" <% } %> > <%= padHTML %>