summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rwxr-xr-xtemplate/about_us.st12
-rwxr-xr-xtemplate/altar_log.st20
-rwxr-xr-xtemplate/altar_user_log.st20
-rwxr-xr-xtemplate/banner.old.st46
-rwxr-xr-xtemplate/banner_dis.st22
-rwxr-xr-xtemplate/directory.st4
-rwxr-xr-xtemplate/error_ie.st25
-rwxr-xr-xtemplate/fame2.st13
-rwxr-xr-xtemplate/footer.st4
-rwxr-xr-xtemplate/form_login.st4
-rwxr-xr-xtemplate/frontpage copy.st48
-rwxr-xr-xtemplate/frontpage.st76
-rwxr-xr-xtemplate/frontpagePROFILE.st37
-rwxr-xr-xtemplate/frontpage_halloffame.st66
-rwxr-xr-xtemplate/fullscreen.st70
-rwxr-xr-xtemplate/fullscreen_front.st13
-rwxr-xr-xtemplate/google_analytics.st2
-rwxr-xr-xtemplate/head.st2
-rwxr-xr-xtemplate/head_edge.st2
-rwxr-xr-xtemplate/help.st14
-rwxr-xr-xtemplate/hiscore_test.st20
-rw-r--r--template/json_tags_block.st7
-rwxr-xr-xtemplate/log.st29
-rwxr-xr-xtemplate/newlog.st11
-rwxr-xr-xtemplate/nigga.st28
-rwxr-xr-xtemplate/popular.st19
-rwxr-xr-xtemplate/profile.st18
-rwxr-xr-xtemplate/profilenew.st4
-rwxr-xr-xtemplate/rooms/butt.st2
-rwxr-xr-xtemplate/search_files.st6
-rwxr-xr-xtemplate/simplerlog.st31
-rwxr-xr-xtemplate/single_message.st19
-rwxr-xr-xtemplate/tagged_dumps.st23
-rwxr-xr-xtemplate/test.st3
-rwxr-xr-xtemplate/topic.st19
-rwxr-xr-xtemplate/userlog.st19
36 files changed, 292 insertions, 466 deletions
diff --git a/template/about_us.st b/template/about_us.st
index 1659f4f..b31a622 100755
--- a/template/about_us.st
+++ b/template/about_us.st
@@ -2,16 +2,10 @@
<head>
<link href="/static/css/pages.css?v=20260130" rel="stylesheet" type="text/css" media="screen" />
<link href="/static/css/header.css?v=20260130" rel="stylesheet" type="text/css" media="screen" />
- <script type="text/javascript" src="/static/js/win.js"></script>
- <script type="text/javascript">
-
-jQuery(function()
-{
- jQuery('.scroll-pane').jScrollPane();
-});
- </script>
- <title>dump.fm: about us</title>
+ <title>dump.fm: about us</title>
$head()$
+ <script type="text/javascript" src="/static/js/win.js"></script>
+ <script type="text/javascript" src="/static/js/pages/scroll_pane_init.js?v=20260203"></script>
</head>
<body class="profile" onload="
javascript:CreateDropdownWindow('about the site', '360px', true, 'news', 70, 75);
diff --git a/template/altar_log.st b/template/altar_log.st
index 5d826ef..5d64397 100755
--- a/template/altar_log.st
+++ b/template/altar_log.st
@@ -1,11 +1,12 @@
<html>
<head>
- <title>dump.fm log</title>
-$head()$
- <script>
- jQuery(document).ready(initLog);
- </script>
- </head>
+ <title>dump.fm log</title>
+ $head()$
+ <script>
+ var Recips = [];
+ </script>
+ <script type="text/javascript" src="/static/js/pages/log_init.js?v=20260203"></script>
+ </head>
<body>
$banner()$
<div id="content">
@@ -19,12 +20,7 @@ $banner()$
<span class="content"><center>
$dumps: { d | $log_dump(dump=d)$ }$
</center></span>
- $if(json_tags)$
- <script>
- $json_tags: { j | $j$;
- }$
- </script>
- $endif$
+ $json_tags_block(json_tags=json_tags)$
$else$
No dumps!
$endif$
diff --git a/template/altar_user_log.st b/template/altar_user_log.st
index 75159a6..fe1065b 100755
--- a/template/altar_user_log.st
+++ b/template/altar_user_log.st
@@ -1,11 +1,12 @@
<html>
<head>
- <title>dump.fm log</title>
- $head()$
- <script>
- jQuery(document).ready(initLog);
- </script>
- </head>
+ <title>dump.fm log</title>
+ $head()$
+ <script>
+ var Recips = [];
+ </script>
+ <script type="text/javascript" src="/static/js/pages/log_init.js?v=20260203"></script>
+ </head>
<body>
$banner()$
<div id="content">
@@ -19,12 +20,7 @@
<span class="content">
$dumps: { d | $log_dump(dump=d)$ }$
</span>
- $if(json_tags)$
- <script>
- $json_tags: { j | $j$;
- }$
- </script>
- $endif$
+ $json_tags_block(json_tags=json_tags)$
$else$
No dumps!
$endif$
diff --git a/template/banner.old.st b/template/banner.old.st
index 4cc706e..09ad520 100755
--- a/template/banner.old.st
+++ b/template/banner.old.st
@@ -1,21 +1,21 @@
<div id="rapper7">
- <div id="header7">
- <div id="logoicons">
- <div id="logo7">
- <div align="center">
- <img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 />
- <a class="img_roll" href="$domain$"></a>
- </div>
- </div>
- <div class="white">
- $if(!user_nick)$
- <div id="bar7dis">
- $else$
- <div id="bar7">
- $endif$
- <div style="float: left;">
- <div align="center">
- $if(user_nick)$
+ <div id="header7">
+ <div id="logoicons">
+ <div id="logo7">
+ <div align="center">
+ <img class="is-hidden" border="0" width="0" height="0" alt="" />
+ <a class="img_roll" href="$domain$"></a>
+ </div>
+ </div>
+ <div class="white">
+ $if(!user_nick)$
+ <div id="bar7dis">
+ $else$
+ <div id="bar7">
+ $endif$
+ <div class="float-left">
+ <div align="center">
+ $if(user_nick)$
<!-- <a href="$domain$/log" onclick="pageTracker._trackEvent('button', 'banner-log'); return true;"> <img src="/static/img/thumbs/logbaricon.png"/> Log</a> -->
<a href="$domain$/$user_nick$" onclick="pageTracker._trackEvent('button', 'banner-profile'); return true;">
@@ -67,7 +67,7 @@
$if(user_nick)$
<!-- <div id="facebooklike">
- <iframe src="https://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2Fdumpfm%2F240317626149%3Fref%3Dts&amp;layout=button_count&amp;show_faces=true&amp;width=100&amp;action=like&amp;font=segoe+ui&amp;colorscheme=dark&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe>
+ <iframe src="https://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2Fdumpfm%2F240317626149%3Fref%3Dts&amp;layout=button_count&amp;show_faces=true&amp;width=100&amp;action=like&amp;font=segoe+ui&amp;colorscheme=dark&amp;height=21" scrolling="no" frameborder="0" allowTransparency="true" id="fblike"></iframe>
</div> -->
@@ -109,11 +109,11 @@
- <div id="inpage-search-results" style="background-color: white;">
- <div id="search-controls">
- <span id="search-message"></span>
- <a id="search-control-close" href="javascript:Search.close()">close</a>
- </div>
+ <div id="inpage-search-results" class="bg-white">
+ <div id="search-controls">
+ <span id="search-message"></span>
+ <a id="search-control-close" href="javascript:Search.close()">close</a>
+ </div>
<div id="search-results-images"></div>
</div>
</div>
diff --git a/template/banner_dis.st b/template/banner_dis.st
index f55fbbe..8a399af 100755
--- a/template/banner_dis.st
+++ b/template/banner_dis.st
@@ -12,15 +12,15 @@ $endif$
<div id="dislogo">
<div align="center">
- <img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 />
- <a href="https://dismagazine.com"><img src="/static/img/dis.png" class="dislogo"><a class="img_rolldis" href="$domain$"></a>
- </div>
+ <img class="is-hidden" border="0" width="0" height="0" alt="" />
+ <a href="https://dismagazine.com"><img src="/static/img/dis.png" class="dislogo"><a class="img_rolldis" href="$domain$"></a>
+ </div>
</div>
- <div id="bar7dis">
- <div style="float: left;">
- <div align="center">
- $if(user_nick)$
+ <div id="bar7dis">
+ <div class="float-left">
+ <div align="center">
+ $if(user_nick)$
<!-- <a href="$domain$/log" onclick="pageTracker._trackEvent('button', 'banner-log'); return true;"> <img src="/static/img/thumbs/logbaricon.png"/> Log</a> -->
@@ -41,10 +41,10 @@ $endif$
</div>
- $if(user_nick)$
- <!-- <div id="facebooklike">
- <iframe src="https://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2Fdumpfm%2F240317626149%3Fref%3Dts&amp;layout=button_count&amp;show_faces=true&amp;width=100&amp;action=like&amp;font=segoe+ui&amp;colorscheme=dark&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe>
- </div> ---!>
+ $if(user_nick)$
+ <!-- <div id="facebooklike">
+ <iframe src="https://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2Fdumpfm%2F240317626149%3Fref%3Dts&amp;layout=button_count&amp;show_faces=true&amp;width=100&amp;action=like&amp;font=segoe+ui&amp;colorscheme=dark&amp;height=21" scrolling="no" frameborder="0" allowTransparency="true" id="fblike"></iframe>
+ </div> ---!>
<div id="dissearchbox">
<input type="text" name="search-query" id="search-query" />
diff --git a/template/directory.st b/template/directory.st
index 149f284..9b6ff76 100755
--- a/template/directory.st
+++ b/template/directory.st
@@ -6,9 +6,7 @@
<title>dump.fm directory</title>
$endif$
$head()$
- <script>
- jQuery(document).ready(initDirectory);
- </script>
+ <script type="text/javascript" src="/static/js/pages/directory_init.js?v=20260203"></script>
</head>
<body class="profile">
$banner()$
diff --git a/template/error_ie.st b/template/error_ie.st
index 340c4c3..371559b 100755
--- a/template/error_ie.st
+++ b/template/error_ie.st
@@ -1,8 +1,17 @@
-<div id="iesucks" style="margin:10%;font-size:15px;font-family:Arial, sans serif;color:black;">
-<center>
-<img src="http://coteriemusicblog.files.wordpress.com/2008/02/1.gif">
-<h2>
-WHOA HOLD UP!! dump.fm only works with Firefox, Chrome or Safari ... (possibly Opera) ... sorry dude...
-</h2>
-</DIV>
-</center> \ No newline at end of file
+<html>
+ <head>
+ <title>dump.fm</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <link rel="stylesheet" type="text/css" href="/static/css/error_ie.css?v=20260131">
+ </head>
+ <body>
+ <div id="iesucks">
+ <center>
+ <img src="https://coteriemusicblog.files.wordpress.com/2008/02/1.gif" alt="" />
+ <h2>
+ WHOA HOLD UP!! dump.fm only works with Firefox, Chrome or Safari ... (possibly Opera) ... sorry dude...
+ </h2>
+ </center>
+ </div>
+ </body>
+</html>
diff --git a/template/fame2.st b/template/fame2.st
index 58ec622..e742b24 100755
--- a/template/fame2.st
+++ b/template/fame2.st
@@ -1,12 +1,13 @@
<html>
<head>
<title>dump.fm hall of fame</title>
- $head()$
- <link rel="stylesheet" type="text/css" href="/static/css/fame.css?v=20260131">
- <script>
- jQuery(document).ready(initLog);
- </script>
- </head>
+ $head()$
+ <link rel="stylesheet" type="text/css" href="/static/css/fame.css?v=20260131">
+ <script>
+ var Recips = [];
+ </script>
+ <script type="text/javascript" src="/static/js/pages/log_init.js?v=20260203"></script>
+ </head>
<body>
$banner()$
<div id="content">
diff --git a/template/footer.st b/template/footer.st
index a2f4bac..13b6271 100755
--- a/template/footer.st
+++ b/template/footer.st
@@ -1,7 +1,7 @@
<a href="/">dump.fm</a>
-<!--<a href="/about_us" style="word-spacing: normal">About Us</a>
-<a href="/help" style="word-spacing: normal">Help FAQ</a>
+<!--<a href="/about_us">About Us</a>
+<a href="/help">Help FAQ</a>
<a href="/terms">Terms</a>-->
$google_analytics()$
$debug_log()$
diff --git a/template/form_login.st b/template/form_login.st
index 95b6333..d1ebfd8 100755
--- a/template/form_login.st
+++ b/template/form_login.st
@@ -27,6 +27,4 @@
</fieldset>
</div>
<script src="/static/js/home.js?v=20260126" type="text/javascript"></script>
-<script type="text/javascript">
- jQuery(document).ready(initExpandableLoginForm)
-</script>
+<script type="text/javascript" src="/static/js/pages/expandable_login_init.js?v=20260203"></script>
diff --git a/template/frontpage copy.st b/template/frontpage copy.st
index 641f931..7a6b1c9 100755
--- a/template/frontpage copy.st
+++ b/template/frontpage copy.st
@@ -1,14 +1,6 @@
<html>
<head>
- <script type="text/javascript">
-function refreshing()
-{
-frm=document.getElementsByName("posts")[0];
-frm.src=frm.src;
-setTimeout("refreshing()",300000);
-}
-</script>
- <title>dump.fm</title>
+ <title>dump.fm</title>
<!---HEAD --->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="keywords" content="dump.fm, image chat, realtime, internet 3.0, dump, dump fm, image dump, pictures, image links, image board, scott ostler, ryder ripps">
@@ -34,35 +26,23 @@ setTimeout("refreshing()",300000);
<link rel="shortcut icon" href="/static/favicon.ico">
<!--END HEAD-->
- <script>
- var Recips = [];
- jQuery(function() {
- initLog(Recips)
- });
- </script>
-
- <script>
-jQuery(window).load(function(){
- jQuery('#posts').masonry({ columnWidth: 275 });
- jQuery('#posts').masonry({ singleMode: true });
- jQuery('#posts').masonry({ resizeable: true });
- jQuery('#posts').masonry({ animate: true});
-
-
- });
+ <script>
+ var Recips = [];
+ var MasonryColumnWidth = 275;
+ </script>
+ <script type="text/javascript" src="/static/js/pages/log_init.js?v=20260203"></script>
+ <script type="text/javascript" src="/static/js/pages/frontpage_refresh.js?v=20260203"></script>
-</script>
-
-
-
+
+
</head>
<body onload="refreshing()" class="$if(logged_in)$logged-in$else$logged-out$endif$">
-
- <!--
- <iframe src="$domain$/fullscreen"style="overflow:hidden;width:100%;height:100%;border:0px;z-index:-1;position:fixed;top:0px;left:0px;"></iframe>
- -->
+
+ <!--
+ <iframe src="$domain$/fullscreen" class="fullscreen-bg"></iframe>
+ -->
<!--START BANNER-->
<div id="banner">
@@ -197,6 +177,6 @@ $debug_log()$
<span class="loading-bar-label">Loading...</span>
<span class="loading-bar-track"><span id="LB1" class="loading-bar-fill"></span></span>
</span>
-<script type="text/javascript">m00=document.getElementsByTagName("img");m01=m00.length;function images_loading_bar(){m02=0;for(i=0;i<m01;i++)m02+=(m00[i].complete)?1:0;document.getElementById("LB1").style.width=Math.round(m02/m01*100)+'px';if(m02==m01)setTimeout("document.getElementById('LB0').style.display='none'",128); else setTimeout("images_loading_bar()", 64);};images_loading_bar();</script>
+<script type="text/javascript">if (typeof images_loading_bar === "function") { images_loading_bar(); }</script>
</body>
</html>
diff --git a/template/frontpage.st b/template/frontpage.st
index bf8ce22..88c0e25 100755
--- a/template/frontpage.st
+++ b/template/frontpage.st
@@ -1,13 +1,5 @@
<html>
<head>
- <script type="text/javascript">
-function refreshing()
-{
-frm=document.getElementsByName("posts")[0];
-frm.src=frm.src;
-setTimeout("refreshing()",300000);
-}
-</script>
<title>dump.fm</title>
<!---HEAD --->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
@@ -27,42 +19,30 @@ setTimeout("refreshing()",300000);
<link href="/static/css/front.css?v=20260130.2" media="screen, projection" rel="stylesheet" type="text/css">
<link href="/static/css/frontpage_legacy.css?v=20260130" media="screen, projection" rel="stylesheet" type="text/css">
- $if(!logged_in)$
- <script type="text/javascript" src="/static/js/popup.js"></script>
- $endif$
-
- <link rel="shortcut icon" href="/static/favicon.ico">
-
- <!--END HEAD-->
- <script>
- var Recips = [];
- jQuery(function() {
- initLog(Recips)
- });
- </script>
-
- <script>
-jQuery(window).load(function(){
- jQuery('#posts').masonry({ columnWidth: 275 });
- jQuery('#posts').masonry({ singleMode: true });
- jQuery('#posts').masonry({ resizeable: true });
- jQuery('#posts').masonry({ animate: true});
+ $if(!logged_in)$
+ <script type="text/javascript" src="/static/js/popup.js"></script>
+ $endif$
+ <link rel="shortcut icon" href="/static/favicon.ico">
+
+ <!--END HEAD-->
+ <script>
+ var Recips = [];
+ var MasonryColumnWidth = 275;
+ </script>
+ <script type="text/javascript" src="/static/js/pages/log_init.js?v=20260203"></script>
+ <script type="text/javascript" src="/static/js/pages/frontpage_refresh.js?v=20260203"></script>
- });
-
-</script>
-
-
-
+
+
</head>
<body onload="refreshing()" class="$if(logged_in)$logged-in$else$logged-out$endif$">
-
- <!--
- <iframe src="$domain$/fullscreen"style="overflow:hidden;width:100%;height:100%;border:0px;z-index:-1;position:fixed;top:0px;left:0px;"></iframe>
- -->
+
+ <!--
+ <iframe src="$domain$/fullscreen" class="fullscreen-bg"></iframe>
+ -->
<!--START BANNER-->
<div id="banner">
@@ -141,13 +121,13 @@ jQuery(window).load(function(){
<div class="alttxt">
dump.fm is an elite real-time image chat community. we host more than 1,500,000 images.
- register <a href="/register">here.</a>
- <br>view the dump.fm feed in <a href="/fullscreen">fullscreen. :)</a>
- <!-- <br> <br> <iframe src="$domain$/fullscreen" style="overflow:hidden;width:240px;height:200px;border:0px;"></iframe>
- <br><br>
- <strong>
- <a href="$domain$/login" class="signin">sign in</a></strong>or <strong><a href="$domain$/register">register</a>
- </strong>-->
+ register <a href="/register">here.</a>
+ <br>view the dump.fm feed in <a href="/fullscreen">fullscreen. :)</a>
+ <!-- <br> <br> <iframe src="$domain$/fullscreen" class="fullscreen-thumb"></iframe>
+ <br><br>
+ <strong>
+ <a href="$domain$/login" class="signin">sign in</a></strong>or <strong><a href="$domain$/register">register</a>
+ </strong>-->
</div>
$endif$
</div>
@@ -174,8 +154,8 @@ $endif$
<!--<br><br><center>
<div id="footer">
@2011 <a href="/">dump.fm</a>
-<a href="$domain$/about_us" style="word-spacing: normal">About Us</a>
-<a href="$domain$/help" style="word-spacing: normal">Help FAQ</a>
+<a href="$domain$/about_us">About Us</a>
+<a href="$domain$/help">Help FAQ</a>
<a href="$domain$/terms">Terms</a>
<a href="$domain$/privacy">Privacy</a>
</div></center>
@@ -199,6 +179,6 @@ $debug_log()$
<span class="loading-bar-label">Loading...</span>
<span class="loading-bar-track"><span id="LB1" class="loading-bar-fill"></span></span>
</span>
-<script type="text/javascript">m00=document.getElementsByTagName("img");m01=m00.length;function images_loading_bar(){m02=0;for(i=0;i<m01;i++)m02+=(m00[i].complete)?1:0;document.getElementById("LB1").style.width=Math.round(m02/m01*100)+'px';if(m02==m01)setTimeout("document.getElementById('LB0').style.display='none'",128); else setTimeout("images_loading_bar()", 64);};images_loading_bar();</script>
+<script type="text/javascript">if (typeof images_loading_bar === "function") { images_loading_bar(); }</script>
</body>
</html>
diff --git a/template/frontpagePROFILE.st b/template/frontpagePROFILE.st
index a586c31..6f64d61 100755
--- a/template/frontpagePROFILE.st
+++ b/template/frontpagePROFILE.st
@@ -38,27 +38,15 @@ $endif$
-<!--END HEAD-->
-<script>
- var Recips = [];
- jQuery(function() {
- initLog(Recips)
- });
- </script>
+ <!--END HEAD-->
+ <script>
+ var Recips = [];
+ var MasonryColumnWidth = 275;
+ </script>
+ <script type="text/javascript" src="/static/js/pages/log_init.js?v=20260203"></script>
- <script>
-jQuery(window).load(function(){
- jQuery('#posts').masonry({ columnWidth: 275 });
- jQuery('#posts').masonry({ singleMode: true });
- jQuery('#posts').masonry({ resizeable: true });
- jQuery('#posts').masonry({ animate: true});
-
-
- });
-</script>
-
-
-
+
+
</head>
@@ -168,12 +156,7 @@ You are viewing the current trending images posted to dump.fm; a super fun commu
$dumps: { d | $hall_log_dump(dump=d)$ }$
- $if(json_tags)$
- <script>
- $json_tags: { j | $j$;
- }$
- </script>
- $endif$
+ $json_tags_block(json_tags=json_tags)$
$else$
No dumps!
$endif$
@@ -225,6 +208,6 @@ $debug_log()$
<span class="loading-bar-label">Loading...</span>
<span class="loading-bar-track"><span id="LB1" class="loading-bar-fill"></span></span>
</span>
-<script type="text/javascript">m00=document.getElementsByTagName("img");m01=m00.length;function images_loading_bar(){m02=0;for(i=0;i<m01;i++)m02+=(m00[i].complete)?1:0;document.getElementById("LB1").style.width=Math.round(m02/m01*100)+'px';if(m02==m01)setTimeout("document.getElementById('LB0').style.display='none'",128); else setTimeout("images_loading_bar()", 64);};images_loading_bar();</script>
+<script type="text/javascript">if (typeof images_loading_bar === "function") { images_loading_bar(); }</script>
</body>
</html>
diff --git a/template/frontpage_halloffame.st b/template/frontpage_halloffame.st
index e8cea25..394f527 100755
--- a/template/frontpage_halloffame.st
+++ b/template/frontpage_halloffame.st
@@ -1,14 +1,6 @@
<html>
<head>
- <script type="text/javascript">
-function refreshing()
-{
-frm=document.getElementsByName("posts")[0];
-frm.src=frm.src;
-setTimeout("refreshing()",300000);
-}
-</script>
- <title>dump.fm</title>
+ <title>dump.fm</title>
<!---HEAD --->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="keywords" content="dump.fm, image chat, realtime, internet 3.0, dump, dump fm, image dump, pictures, image links, image board, scott ostler, ryder ripps">
@@ -34,35 +26,23 @@ setTimeout("refreshing()",300000);
<link rel="shortcut icon" href="/static/favicon.ico">
<!--END HEAD-->
- <script>
- var Recips = [];
- jQuery(function() {
- initLog(Recips)
- });
- </script>
-
- <script>
-jQuery(window).load(function(){
- jQuery('#posts').masonry({ columnWidth: 275 });
- jQuery('#posts').masonry({ singleMode: true });
- jQuery('#posts').masonry({ resizeable: true });
- jQuery('#posts').masonry({ animate: true});
-
-
- });
+ <script>
+ var Recips = [];
+ var MasonryColumnWidth = 275;
+ </script>
+ <script type="text/javascript" src="/static/js/pages/log_init.js?v=20260203"></script>
+ <script type="text/javascript" src="/static/js/pages/frontpage_refresh.js?v=20260203"></script>
-</script>
-
-
-
+
+
</head>
<body onload="refreshing()" class="$if(logged_in)$logged-in$else$logged-out$endif$">
-
- <!--
- <iframe src="$domain$/fullscreen"style="overflow:hidden;width:100%;height:100%;border:0px;z-index:-1;position:fixed;top:0px;left:0px;"></iframe>
- -->
+
+ <!--
+ <iframe src="$domain$/fullscreen" class="fullscreen-bg"></iframe>
+ -->
<!--START BANNER-->
<div id="banner">
@@ -139,13 +119,13 @@ jQuery(window).load(function(){
<div class="alttxt">
dump.fm is an elite real-time image chat community. we host more than 1,500,000 images.
- register <a href="/register">here.</a>
- <br>view the dump.fm feed in <a href="/fullscreen">fullscreen. :)</a>
- <!-- <br> <br> <iframe src="$domain$/fullscreen" style="overflow:hidden;width:240px;height:200px;border:0px;"></iframe>
- <br><br>
- <strong>
- <a href="$domain$/login" class="signin">sign in</a></strong>or <strong><a href="$domain$/register">register</a>
- </strong>-->
+ register <a href="/register">here.</a>
+ <br>view the dump.fm feed in <a href="/fullscreen">fullscreen. :)</a>
+ <!-- <br> <br> <iframe src="$domain$/fullscreen" class="fullscreen-thumb"></iframe>
+ <br><br>
+ <strong>
+ <a href="$domain$/login" class="signin">sign in</a></strong>or <strong><a href="$domain$/register">register</a>
+ </strong>-->
</div>
$endif$
</div>
@@ -172,8 +152,8 @@ $endif$
<!--<br><br><center>
<div id="footer">
@2011 <a href="/">dump.fm</a>
-<a href="$domain$/about_us" style="word-spacing: normal">About Us</a>
-<a href="$domain$/help" style="word-spacing: normal">Help FAQ</a>
+<a href="$domain$/about_us">About Us</a>
+<a href="$domain$/help">Help FAQ</a>
<a href="$domain$/terms">Terms</a>
<a href="$domain$/privacy">Privacy</a>
</div></center>
@@ -197,6 +177,6 @@ $debug_log()$
<span class="loading-bar-label">Loading...</span>
<span class="loading-bar-track"><span id="LB1" class="loading-bar-fill"></span></span>
</span>
-<script type="text/javascript">m00=document.getElementsByTagName("img");m01=m00.length;function images_loading_bar(){m02=0;for(i=0;i<m01;i++)m02+=(m00[i].complete)?1:0;document.getElementById("LB1").style.width=Math.round(m02/m01*100)+'px';if(m02==m01)setTimeout("document.getElementById('LB0').style.display='none'",128); else setTimeout("images_loading_bar()", 64);};images_loading_bar();</script>
+<script type="text/javascript">if (typeof images_loading_bar === "function") { images_loading_bar(); }</script>
</body>
</html>
diff --git a/template/fullscreen.st b/template/fullscreen.st
index 5879804..54960fc 100755
--- a/template/fullscreen.st
+++ b/template/fullscreen.st
@@ -5,23 +5,17 @@
<script src="/static/js/pichat.js?v=20260130"></script>
<script src="/static/js/fullscreen.js?v=20260126"></script>
$if(user_nick)$
- $else$
- <script src="/static/js/register.js"></script>
- $endif$
- <script>
- var LoggedIn = $if(user_nick)$true$else$false$endif$;
- var Timestamp = $timestamp$;
- var newwindow;
- function pop(url) {
- newwindow=window.open(url,'name','height=50,width=400,left=20,top=20,location=0,status=0,scrollbar=0,resizable=0');
- if (window.focus) {newwindow.focus()}
- }
- </script>
-
- <link rel="stylesheet" type="text/css" href="/static/css/fullscreen_box.css?v=20260131">
- <script>jQuery(initLogin)</script>
- </head>
- <body>
+ $else$
+ <script src="/static/js/register.js"></script>
+ $endif$
+ <script>
+ var LoggedIn = $if(user_nick)$true$else$false$endif$;
+ var Timestamp = $timestamp$;
+ </script>
+
+ <link rel="stylesheet" type="text/css" href="/static/css/fullscreen_box.css?v=20260131">
+ </head>
+ <body>
$if(user_nick)$
@@ -75,40 +69,8 @@
</div>
$endif$
- <div id="big-image"></div>
- <script>
- function choice(a) { return a[Math.floor(Math.random()*a.length)] }
- var urls = [
- "https://archive.hump.fm/images/20100601/1275428508049-dumpfm-foot-oie_oie_overlay-1.gif",
- "https://archive.hump.fm/images/20100928/1285728674225-dumpfm-timb-running.unicorn.gif",
- "https://archive.hump.fm/images/20100726/1280119193796-dumpfm-enso-human-condition.gif",
- "https://archive.hump.fm/images/20100521/1274415795577-dumpfm-ucnv-mx.gif",
- "https://archive.hump.fm/images/20100912/1284315873224-dumpfm-Neontoast-1283990707508-dumpfm-crunkus-crabtoon.gif",
- "https://archive.hump.fm/images/20110927/1317105622918-dumpfm-peachfist-test8scam.gif",
- "https://archive.hump.fm/images/20110323/1300915179773-dumpfm-blingscience-fishtank.gif",
- "https://archive.hump.fm/images/20110418/1303108538834-dumpfm-LAVARLAMAR-lettuce_lavarlamar.gif",
- "https://s3.amazonaws.com/i.asdf.us/im/84/gradient_horse_1318306378_1322355741_ryz_1337322355_ryz.gif",
- "https://archive.hump.fm/images/20110724/1311552093462-dumpfm-hologrampa-1291586335941-dumpfm-jeeeelings-cat_face_wink_hologrampa-lettuce.gif",
- "https://s3.amazonaws.com/i.asdf.us/im/be/tt7620731fltt_1315431978.gif"
- ]
- if (window.location.href.indexOf("nologin") != -1) {
- jQuery("#loginbox").hide();
- }
- document.getElementById("big-image").innerHTML = "<img src='" + choice(urls) + "'>"
- initFullscreen()
- initRegister()
- jQuery(startChatUpdater)
- jQuery("#reglink").click(function(e){
- e.preventDefault();
- jQuery("#loginbox").hide();
- jQuery("#registerbox").show().addClass("b");
- return false;
- });
- jQuery("#nickInput").focus();
- $if(user_nick)$
- $else$
- $endif$
- </script>
- $google_analytics()$
- </body>
-</html>
+ <div id="big-image"></div>
+ <script type="text/javascript" src="/static/js/pages/fullscreen_init.js?v=20260203"></script>
+ $google_analytics()$
+ </body>
+ </html>
diff --git a/template/fullscreen_front.st b/template/fullscreen_front.st
index b0bfb4d..2eadf1f 100755
--- a/template/fullscreen_front.st
+++ b/template/fullscreen_front.st
@@ -7,19 +7,12 @@
<script>
var LoggedIn = $if(user_nick)$true$else$false$endif$;
var Timestamp = $timestamp$;
- var newwindow;
- function pop(url) {
- newwindow=window.open(url,'name','height=50,width=400,left=20,top=20,location=0,status=0,scrollbar=0,resizable=0');
- if (window.focus) {newwindow.focus()}
- }
- jQuery(startChatUpdater);
</script>
- <link rel="stylesheet" type="text/css" href="/static/css/fullscreen_base.css?v=20260131">
+ <script type="text/javascript" src="/static/js/pages/fullscreen_front_init.js?v=20260203"></script>
+ <link rel="stylesheet" type="text/css" href="/static/css/fullscreen_base.css?v=20260131">
<link rel="stylesheet" type="text/css" href="/static/css/fullscreen_bigtext.css?v=20260129">
</head>
<body>
- <script>
- initFullscreen()
- </script>
+ <script type="text/javascript" src="/static/js/pages/fullscreen_front_run.js?v=20260203"></script>
</body>
</html>
diff --git a/template/google_analytics.st b/template/google_analytics.st
index 883102a..bfba91f 100755
--- a/template/google_analytics.st
+++ b/template/google_analytics.st
@@ -12,5 +12,5 @@ qacct:"p-a3mCwIEHECjGE"
</script>
<script type="text/javascript" src="https://edge.quantserve.com/quant.js"></script>
<noscript>
-<img src="https://pixel.quantserve.com/pixel/p-a3mCwIEHECjGE.gif" style="display: none;" border="0" height="1" width="1" alt="Quantcast"/>
+<img src="https://pixel.quantserve.com/pixel/p-a3mCwIEHECjGE.gif" class="is-hidden" border="0" height="1" width="1" alt="Quantcast"/>
</noscript>
diff --git a/template/head.st b/template/head.st
index 8eaaedf..010f1ce 100755
--- a/template/head.st
+++ b/template/head.st
@@ -6,7 +6,7 @@
<link rel="image_src" href="/static/img/thumbs/heartover.gif" >
<!-- <script type="text/javascript" src="/static/js/jquery-ui-1.8.effects.min.js"></script> -->
<script type="text/javascript" src="/static/js/pichat.js?v=20260130"></script>
-<link rel="stylesheet" type="text/css" href="/static/css/dump.css?v=20260131.1">
+<link rel="stylesheet" type="text/css" href="/static/css/dump.css?v=20260131.2">
<script>
Domain = "/";
Nick = $if(user_nick)$"$user_nick$"$else$null$endif$;
diff --git a/template/head_edge.st b/template/head_edge.st
index 8eaaedf..010f1ce 100755
--- a/template/head_edge.st
+++ b/template/head_edge.st
@@ -6,7 +6,7 @@
<link rel="image_src" href="/static/img/thumbs/heartover.gif" >
<!-- <script type="text/javascript" src="/static/js/jquery-ui-1.8.effects.min.js"></script> -->
<script type="text/javascript" src="/static/js/pichat.js?v=20260130"></script>
-<link rel="stylesheet" type="text/css" href="/static/css/dump.css?v=20260131.1">
+<link rel="stylesheet" type="text/css" href="/static/css/dump.css?v=20260131.2">
<script>
Domain = "/";
Nick = $if(user_nick)$"$user_nick$"$else$null$endif$;
diff --git a/template/help.st b/template/help.st
index 196a6ae..3d280a2 100755
--- a/template/help.st
+++ b/template/help.st
@@ -2,20 +2,10 @@
<head>
<link href="/static/css/pages.css?v=20260130" rel="stylesheet" type="text/css" media="screen"/>
<link href="/static/css/header.css?v=20260130" rel="stylesheet" type="text/css" media="screen"/>
- <script type="text/javascript" src="/static/js/win.js"></script>
-
- <script type="text/javascript">
-
-jQuery(function()
-{
- jQuery('.scroll-pane').jScrollPane();
-});
-
-
- </script>
-
<title>dump.fm</title>
$head()$
+ <script type="text/javascript" src="/static/js/win.js"></script>
+ <script type="text/javascript" src="/static/js/pages/scroll_pane_init.js?v=20260203"></script>
</head>
<body class="profile" onload="
javascript:CreateDropdownWindow('dump.fm', '360px', true, 'news', 30, 115);
diff --git a/template/hiscore_test.st b/template/hiscore_test.st
index 50e7b9e..1c2739f 100755
--- a/template/hiscore_test.st
+++ b/template/hiscore_test.st
@@ -1,11 +1,12 @@
<html>
<head>
- <title>dump.fm log</title>
-$head()$
- <script>
- jQuery(document).ready(initLog);
- </script>
- </head>
+ <title>dump.fm log</title>
+ $head()$
+ <script>
+ var Recips = [];
+ </script>
+ <script type="text/javascript" src="/static/js/pages/log_init.js?v=20260203"></script>
+ </head>
<body>
$banner()$
<div id="content">
@@ -24,12 +25,7 @@ $banner()$
<span class="content"><center>
$dumps: { d | $log_dump(dump=d)$ }$
</center></span>
- $if(json_tags)$
- <script>
- $json_tags: { j | $j$;
- }$
- </script>
- $endif$
+ $json_tags_block(json_tags=json_tags)$
$else$
No dumps!
$endif$
diff --git a/template/json_tags_block.st b/template/json_tags_block.st
new file mode 100644
index 0000000..17a8ea4
--- /dev/null
+++ b/template/json_tags_block.st
@@ -0,0 +1,7 @@
+$if(json_tags)$
+<script>
+ $json_tags: { j | $j$;
+ }$
+</script>
+$endif$
+
diff --git a/template/log.st b/template/log.st
index c235ae8..718f360 100755
--- a/template/log.st
+++ b/template/log.st
@@ -1,14 +1,12 @@
<html>
<head>
- <title>dump.fm log</title>
- $head()$
- <script>
- var Recips = [];
- jQuery(function() {
- initLog(Recips)
- });
- </script>
- </head>
+ <title>dump.fm log</title>
+ $head()$
+ <script>
+ var Recips = [];
+ </script>
+ <script type="text/javascript" src="/static/js/pages/log_init.js?v=20260203"></script>
+ </head>
<body>
$banner()$
<div id="content">
@@ -22,12 +20,7 @@
<span class="content">
$dumps: { d | $log_dump(dump=d)$ }$
</span>
- $if(json_tags)$
- <script>
- $json_tags: { j | $j$;
- }$
- </script>
- $endif$
+ $json_tags_block(json_tags=json_tags)$
$else$
No dumps!
$endif$
@@ -57,6 +50,6 @@
</div>
</div></div></div>
-<script type="text/javascript">load_favs()</script>
- </body>
-</html>
+ <script type="text/javascript" src="/static/js/pages/log_favs_init.js?v=20260203"></script>
+ </body>
+ </html>
diff --git a/template/newlog.st b/template/newlog.st
index 19b4481..15da014 100755
--- a/template/newlog.st
+++ b/template/newlog.st
@@ -43,10 +43,8 @@ window.location = "/error/ie";
<!--END HEAD-->
<script>
var Recips = [];
- jQuery(function() {
- initLog(Recips)
- });
</script>
+<script type="text/javascript" src="/static/js/pages/log_init.js?v=20260203"></script>
</head>
<body>
@@ -130,12 +128,7 @@ window.location = "/error/ie";
$dumps: { d | $log_dump(dump=d)$ }$
- $if(json_tags)$
- <script>
- $json_tags: { j | $j$;
- }$
- </script>
- $endif$
+ $json_tags_block(json_tags=json_tags)$
$else$
No dumps!
$endif$
diff --git a/template/nigga.st b/template/nigga.st
index 8c54938..8e1c633 100755
--- a/template/nigga.st
+++ b/template/nigga.st
@@ -2,30 +2,30 @@
<head>
<title>$nick$'s dump.fm</title>
$head()$
- <link rel="stylesheet" type="text/css" href="/static/css/profile_dashboard.css?v=20260129">
+ <link rel="stylesheet" type="text/css" href="/static/css/profile_dashboard.css?v=20260131">
<script src="/static/js/jquery.editinplace.1.0.1.packed.js" type="text/javascript"></script>
<script src="/static/js/ajaxupload.js"></script>
<script>
jQuery(document).ready(initProfile);
</script>
</head>
- <body>
- <div id="dashtotal" style="background-image:url($avatar$);opacity:0.1;width:100%;height:100%;z-index:-1"></div>
- $banner()$
+ <body>
+ <div id="dashtotal" class="dash-total dash-total--avatar" style="background-image:url($avatar$)"></div>
+ $banner()$
<div id="dashrapper">
-
-
- <div id="dashuserlist">
- $if(avatar)$
- <div id="dashavatar" style="background-image:url($avatar$);height:100px;width:100%">
- <img id="avatarPic" src="$avatar$"/>
- $else$<br>
- <img id="avatarPic" src="/static/img/noinfo.png">
- </div>
- $endif$
+
+
+ <div id="dashuserlist">
+ $if(avatar)$
+ <div id="dashavatar" class="dashavatar-bg" style="background-image:url($avatar$)">
+ <img id="avatarPic" src="$avatar$"/>
+ $else$<br>
+ <img id="avatarPic" src="/static/img/noinfo.png">
+ </div>
+ $endif$
diff --git a/template/popular.st b/template/popular.st
index 162c63b..c07d6ba 100755
--- a/template/popular.st
+++ b/template/popular.st
@@ -1,14 +1,13 @@
<html>
<head>
- <title>dump.fm - $nick$'s popular</title>
- $head()$
- <script>
- jQuery(function() {
- initLog($recips$);
- });
- </script>
+ <title>dump.fm - $nick$'s popular</title>
+ $head()$
+ <script>
+ var Recips = $recips$;
+ </script>
+ <script type="text/javascript" src="/static/js/pages/log_init.js?v=20260203"></script>
- </head>
+ </head>
<body>
$banner()$
<div id="dcontent">
@@ -45,5 +44,5 @@
</div>
</div>
</div>
- </body>
-</html>
+ </body>
+ </html>
diff --git a/template/profile.st b/template/profile.st
index 527e333..d416c1c 100755
--- a/template/profile.st
+++ b/template/profile.st
@@ -38,9 +38,9 @@ jQuery(document).ready(function() {
</head>
<body class="profiledash">
$if(avatar)$
- <div id="dashtotal" style="background-image:url($avatar$);opacity:0.1;width:100%;height:100%;z-index:-1"></div>
+ <div id="dashtotal" class="dash-total dash-total--avatar" style="background-image:url($avatar$)"></div>
$else$
- <div id="dashtotal" style="background-image:url(/static/img/thumbs/stripes.gif);width:100%;height:100%;z-index:-1"></div>
+ <div id="dashtotal" class="dash-total dash-total--stripes"></div>
$endif$
$banner()$
@@ -106,16 +106,16 @@ jQuery(document).ready(function() {
<a href="/$nick$/log"><div id="favstxt">$if(is_home)$ your $else$ $nick$'s$endif$ most recent dumps</div></a>
<div id="mostrecentdumps">
$imgs: { img | <a target="_blank" href="$img$"><img src="$img$"></img></a> }$
- </div>
- <div id="likebutton">
+ </div>
+ <div id="likebutton">
<!--
- <iframe src="https://www.facebook.com/widgets/like.php?href=/$nick$"
- scrolling="no" frameborder="0"
- style="border:none; width:500px; height:26px"></iframe>
+ <iframe src="https://www.facebook.com/widgets/like.php?href=/$nick$"
+ scrolling="no" frameborder="0"
+ class="fb-like-wide"></iframe>
-->
- </div>
+ </div>
- </div>
+ </div>
<a href="#"class="msgbtn" id="msgbtn">messages!</a>
diff --git a/template/profilenew.st b/template/profilenew.st
index 547c1c6..262bf02 100755
--- a/template/profilenew.st
+++ b/template/profilenew.st
@@ -32,9 +32,9 @@ jQuery(document).ready(function() {
</head>
<body class="profiledash">
$if(avatar)$
- <div id="dashtotal" style="background-image:url($avatar$);opacity:0.1;width:100%;height:100%;z-index:-1"></div>
+ <div id="dashtotal" class="dash-total dash-total--avatar" style="background-image:url($avatar$)"></div>
$else$
- <div id="dashtotal" style="background-image:url(/static/img/thumbs/stripes.gif);width:100%;height:100%;z-index:-1"></div>
+ <div id="dashtotal" class="dash-total dash-total--stripes"></div>
$endif$
$banner()$
diff --git a/template/rooms/butt.st b/template/rooms/butt.st
index 6c80511..c3077ed 100755
--- a/template/rooms/butt.st
+++ b/template/rooms/butt.st
@@ -25,7 +25,7 @@ $endif$
$if(!user_avatar)$
<link rel="stylesheet" type="text/css" href="/static/css/dumpnewuser.css?v=20260130">
$endif$
- <link rel="stylesheet" type="text/css" href="/static/css/dump.css?v=20260131.1">
+ <link rel="stylesheet" type="text/css" href="/static/css/dump.css?v=20260131.2">
<link rel="stylesheet" type="text/css" href="/static/css/rooms_butt.css?v=20260129">
<script type="text/javascript" src="/static/webcam/webcam.js"></script>
<script type="text/javascript" src="/static/js/tooltip.js"></script>
diff --git a/template/search_files.st b/template/search_files.st
index 4e55e0f..459a86a 100755
--- a/template/search_files.st
+++ b/template/search_files.st
@@ -4,11 +4,7 @@
<title>dump.fm image search</title>
$head()$
<link rel="stylesheet" type="text/css" href="/static/css/search_files.css?v=20260129">
- <script>
-
-jQuery(document).ready(Search.initFullpage)
-
-</script>
+ <script type="text/javascript" src="/static/js/pages/search_files_init.js?v=20260203"></script>
</head>
<body>
diff --git a/template/simplerlog.st b/template/simplerlog.st
index c69d244..819f808 100755
--- a/template/simplerlog.st
+++ b/template/simplerlog.st
@@ -41,31 +41,19 @@ $endif$
<!--END HEAD-->
<script>
var Recips = [];
- jQuery(function() {
- initLog(Recips)
- });
+ var MasonryColumnWidth = 270;
</script>
+<script type="text/javascript" src="/static/js/pages/log_init.js?v=20260203"></script>
- <script>
-jQuery(window).load(function(){
- jQuery('#posts').masonry({ columnWidth: 270 });
- jQuery('#posts').masonry({ singleMode: true });
- jQuery('#posts').masonry({ resizeable: true });
- jQuery('#posts').masonry({ animate: true});
-
-
- });
-</script>
-
-
-
+
+
</head>
<body>
<!--
- <iframe src="/fullscreen"style="overflow:hidden;width:100%;height:100%;border:0px;z-index:-1;position:fixed;top:0px;left:0px;"></iframe>
+ <iframe src="/fullscreen" class="fullscreen-bg"></iframe>
-->
<!--START BANNER-->
@@ -159,12 +147,7 @@ dump.fm lets you talk with pictures! Paste an image url, upload, or snap a pic r
$dumps: { d | $log_dump(dump=d)$ }$
- $if(json_tags)$
- <script>
- $json_tags: { j | $j$;
- }$
- </script>
- $endif$
+ $json_tags_block(json_tags=json_tags)$
$else$
No dumps!
$endif$
@@ -216,6 +199,6 @@ $debug_log()$
<span class="loading-bar-label">Loading...</span>
<span class="loading-bar-track"><span id="LB1" class="loading-bar-fill"></span></span>
</span>
-<script type="text/javascript">m00=document.getElementsByTagName("img");m01=m00.length;function images_loading_bar(){m02=0;for(i=0;i<m01;i++)m02+=(m00[i].complete)?1:0;document.getElementById("LB1").style.width=Math.round(m02/m01*100)+'px';if(m02==m01)setTimeout("document.getElementById('LB0').style.display='none'",128); else setTimeout("images_loading_bar()", 64);};images_loading_bar();</script>
+<script type="text/javascript">if (typeof images_loading_bar === "function") { images_loading_bar(); }</script>
</body>
</html>
diff --git a/template/single_message.st b/template/single_message.st
index 352b2ea..4b08490 100755
--- a/template/single_message.st
+++ b/template/single_message.st
@@ -1,13 +1,12 @@
<html>
<head>
- <title>dump.fm</title>
- $head()$
- <script>
- jQuery(function() {
- initLog($recips$);
- });
- </script>
- </head>
+ <title>dump.fm</title>
+ $head()$
+ <script>
+ var Recips = $recips$;
+ </script>
+ <script type="text/javascript" src="/static/js/pages/log_init.js?v=20260203"></script>
+ </head>
<body class="permalink">
$banner()$
<div class="content"><br><br><br>
@@ -39,5 +38,5 @@
$footer()$
</div>
</div>
- </body>
-</html>
+ </body>
+ </html>
diff --git a/template/tagged_dumps.st b/template/tagged_dumps.st
index f169aab..3de9509 100755
--- a/template/tagged_dumps.st
+++ b/template/tagged_dumps.st
@@ -1,13 +1,16 @@
<html>
<head>
- <title>dump.fm - $page_title$</title>
- $head()$
- <script>
- jQuery(function() {
- initLog($recips$);
- });
- </script>
- </head>
+ <title>dump.fm - $page_title$</title>
+ $head()$
+ <script>
+ $if(recips)$
+ var Recips = $recips$;
+ $else$
+ var Recips = [];
+ $endif$
+ </script>
+ <script type="text/javascript" src="/static/js/pages/log_init.js?v=20260203"></script>
+ </head>
<body>
$banner()$
<div id="dcontent">
@@ -45,5 +48,5 @@
</div>
</div>
</div>
- </body>
-</html>
+ </body>
+ </html>
diff --git a/template/test.st b/template/test.st
index fc7dbbc..62c4335 100755
--- a/template/test.st
+++ b/template/test.st
@@ -32,7 +32,7 @@ $(document).ready(initLoginForm);
<div align="right" class="txt">
<br>
<div align="center">dump.fm lets you talk with pictures<br>
- <a href="/register" style="text-decoration:none;">Click here to Register!</a> <br>
+ <a href="/register" class="no-underline">Click here to Register!</a> <br>
</div>
</div>
</div>
@@ -81,4 +81,3 @@ $(document).ready(initLoginForm);
} catch(err) {}
</script>
</body>
-
diff --git a/template/topic.st b/template/topic.st
index 1594364..a748a20 100755
--- a/template/topic.st
+++ b/template/topic.st
@@ -1,13 +1,12 @@
<html>
<head>
- <title>#$topic$ - dump.fm</title>
- $head()$
- <script>
- jQuery(function() {
- initLog($recips$);
- });
- </script>
- </head>
+ <title>#$topic$ - dump.fm</title>
+ $head()$
+ <script>
+ var Recips = $recips$;
+ </script>
+ <script type="text/javascript" src="/static/js/pages/log_init.js?v=20260203"></script>
+ </head>
<body>
$banner()$
<div id="content">
@@ -44,5 +43,5 @@
</div>
</div>
</div>
- </body>
-</html>
+ </body>
+ </html>
diff --git a/template/userlog.st b/template/userlog.st
index 1dacade..bfe2628 100755
--- a/template/userlog.st
+++ b/template/userlog.st
@@ -1,13 +1,12 @@
<html>
<head>
- <title>$nick$'s dump.fm</title>
- $head()$
- <script>
- jQuery(function() {
- initLog($recips$);
- });
- </script>
- </head>
+ <title>$nick$'s dump.fm</title>
+ $head()$
+ <script>
+ var Recips = $recips$;
+ </script>
+ <script type="text/javascript" src="/static/js/pages/log_init.js?v=20260203"></script>
+ </head>
<body>
$banner()$
<div id="dcontent">
@@ -43,5 +42,5 @@
</div>
</div>
- </body>
-</html>
+ </body>
+ </html>