3 <div id="formPassword"><% formPassword|html></div>
5 <script src="javascript/jquery-1.4.2.js" language="javascript"></script>
6 <script src="javascript/sone.js" language="javascript"></script>
8 <script language="javascript">
9 /* this initializes the status update input field. */
10 $(document).ready(function() {
11 registerInputTextareaSwap("#sone #update-status .status-input", "WebInterface.DefaultText.StatusUpdate", "text", false);
15 <script language="javascript">
16 /* these functions are necessary for updating Sone statuses. */
17 $(document).ready(function() {
18 $("#sone .sone").each(function() {
19 watchSone($(this).find(".id").text());
24 <script language="javascript">
25 /* this initializes all reply input fields. */
26 $(document).ready(function() {
27 registerInputTextareaSwap("#sone input.reply-input", "WebInterface.DefaultText.Reply", "text", false);
32 <script language="javascript">
33 /* replace all “delete” buttons with javascript. */
34 $(document).ready(function() {
35 $("#sone .post").each(function() {
36 postId = $(this).attr("id");
37 enhanceDeletePostButton("#sone .post#" + postId + " > .status-line .delete button", postId);
39 $("#sone .post#" + postId + " .reply").each(function() {
40 replyId = $(this).attr("id");
41 (function(postId, reply, replyId) {
42 reply.find(".delete button").each(function() {
43 enhanceDeleteReplyButton("#sone .post#" + postId + " .reply#" + replyId + " .delete button", replyId);
45 })(postId, $(this), replyId);
54 <div id="profile" class="<%ifnull currentSone>offline<%else>online<%/if>">
55 <a class="picture" href="index.html"> </a>
56 <%ifnull ! currentSone>
58 <% currentSone|store key=sone>
59 <%include include/viewSone.html>
60 <%include include/updateStatus.html>