1 <%include include/head.html>
3 <script language="javascript">
4 /* register input field/textarea swap. */
5 $(document).ready(function() {
6 registerInputTextareaSwap("#sone input.createpost", "What are you doing?");
7 registerInputTextareaSwap("#sone input.create-reply", "Write a Reply…");
11 <h1><%= Page.Index.Page.Title|l10n|insert needle="{sone}" key=currentSone.name|html></h1>
14 <form action="createPost.html" method="post">
16 <label for="text"><%= Page.Index.Label.Text|l10n|html></label>
17 <input class="createpost" name="text" />
20 <button type="submit"><%= Page.Index.Button.Post|l10n|html></button>
25 <h1><%= Page.Index.PostList.Title|l10n|html></h1>
29 <%include include/viewPost.html>
31 <div><%= Page.Index.PostList.Text.NoPostYet|l10n|html></div>
35 <h1><%= Page.Index.AddSone.Title|l10n|html></h1>
37 <div><%= Page.Index.AddSone.Description|l10n|html></div>
39 <form action="addSone.html" method="post">
40 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
41 <input id="addsone" type="text" name="request-uri" />
42 <button type="submit"><%= Page.Index.AddSone.Button.Add|l10n|html></button>
45 <%include include/tail.html>