⬆️ Add jQuery migration script
[Sone.git] / src / main / resources / templates / include / head.html
index 9988e68..9e96aaa 100644 (file)
@@ -7,6 +7,7 @@
        <script src="javascript/jquery-1.4.2.js" language="javascript"></script>
        <script src="javascript/jquery.url.js" language="javascript"></script>
        <script src="javascript/jquery.fieldselection.js" language="javascript"></script>
+       <script src="http://code.jquery.com/jquery-migrate-1.4.1.js"></script>
        <script src="javascript/sone.js" language="javascript"></script>
 
        <div id="offline-marker"></div>
@@ -44,7 +45,7 @@
                                <a class="picture" href="index.html">
                                        <%ifnull !currentSone>
                                                <%ifnull !currentSone.profile.avatar>
-                                                       <%currentSone.profile.avatar|image-link max-width=80 max-height=80 mode=enlarge title="Profile Avatar">
+                                                       <%currentSone.profile.avatar|image-link max-width==80 max-height==80 mode==enlarge title=="Profile Avatar">
                                                <%else>
                                                        <img src="/WebOfTrust/GetIdenticon?identity=<% currentSone.id|html>&amp;width=80&amp;height=80" width="80" height="80" alt="Profile Avatar" />
                                                <%/if>
@@ -55,8 +56,7 @@
                        </div>
                        <%ifnull ! currentSone>
                                <div id="home-sone">
-                                       <% currentSone|store key=sone>
-                                       <%include include/viewSone.html>
+                                       <%include include/viewSone.html sone=currentSone>
                                </div>
                        <%/if>
                        <form id="search" action="search.html" method="get">