summaryrefslogtreecommitdiff
path: root/template/simplerlog.st
diff options
context:
space:
mode:
authoryo momma <shutup@oops.wtf>2026-01-27 03:33:16 +0000
committeryo momma <shutup@oops.wtf>2026-01-27 03:33:16 +0000
commitfc9a4ea22eb91757b95cbe1bf1708be17fc2337a (patch)
tree76a0122149e3288ee21d7fb6d0410b1b7b8970a4 /template/simplerlog.st
parent25b74138d68ade87689e714f10e1f3116da5bbee (diff)
Fix HTTPS/mixed content; make config env-drivenHEADmaster2026
- Replace hardcoded dump.fm URLs with host/scheme config\n- Add optional passwordless login flow\n- Update templates/static assets to avoid blocked HTTP resources\n- Ignore local uploads/SQL dumps
Diffstat (limited to 'template/simplerlog.st')
-rwxr-xr-xtemplate/simplerlog.st32
1 files changed, 16 insertions, 16 deletions
diff --git a/template/simplerlog.st b/template/simplerlog.st
index 4bded0b..c35fa3d 100755
--- a/template/simplerlog.st
+++ b/template/simplerlog.st
@@ -23,11 +23,11 @@ $if(!user_nick)$
<script type="text/javascript" src="$domain$/static/js/popup.js"></script>
$endif$
$if(isadmin)$
-<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/ui-lightness/jquery-ui.css"
+<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/ui-lightness/jquery-ui.css"
type="text/css" media="all" />
<!--<link rel="stylesheet" href="$domain$/static/css/admin.css"
type="text/css" media="all" />-->
-<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"
+<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"
type="text/javascript"></script>
<!--<script src="$domain$/static/js/admin.js" type="text/javascript"></script>-->
@@ -58,7 +58,7 @@ $endif$
-body{margin:0px; background-image:url(http://hump.fm/static/img/bg.dither.gif); background-color:#e2e2e2;/*background:#f0f9ff url(/static/img/fade-blue.png) top center repeat-x;
+body{margin:0px; background-image:url(/static/img/bg.dither.gif); background-color:#e2e2e2;/*background:#f0f9ff url(/static/img/fade-blue.png) top center repeat-x;
background-repeat:repeat-x;
background-position:top;*/background-attachment:fixed;min-width:900px; font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Arial, sans-serif;
font-size: 13px; line-height: 1.5em;}
@@ -155,7 +155,7 @@ cursor:pointer;
margin-left:3px;
}
a.signin span {
- background-image:url("http://hump.fm/static/form_login/images/toggle_down_light.png");
+ background-image:url("/static/form_login/images/toggle_down_light.png");
background-repeat:no-repeat;
background-position:100% 50%;
padding:4px 16px 6px 0;cursor:pointer;
@@ -171,7 +171,7 @@ filter: progid:DXImageTransform.Microsoft.dropShadow(color=#ccc, offX=3, offY=4,
}
a.signin.menu-open span {cursor:pointer;
- background-image:url("http://hump.fm/static/form_login/images/toggle_up_dark.png");
+ background-image:url("/static/form_login/images/toggle_up_dark.png");
color:#789;
}
@@ -228,7 +228,7 @@ filter: progid:DXImageTransform.Microsoft.dropShadow(color=#ccc, offX=3, offY=4,
width:90px;
height:35px;
font-size:20px;
- background-image:url('http://hump.fm/static/img/btngrad1.png');
+ background-image:url('/static/img/btngrad1.png');
background-color:#4691e5;
font-weight:bold;
word-spacing:7;
@@ -304,7 +304,7 @@ a#disregister {
.search_icon {
- background:url("http://hump.fm/static/img/hourglass.png") no-repeat scroll center center transparent;
+ background:url("/static/img/hourglass.png") no-repeat scroll center center transparent;
bottom:3px;
cursor:pointer;
left:6px;
@@ -397,7 +397,7 @@ jQuery(window).load(function(){
<body>
<!--
- <iframe src="http://hump.fm/fullscreen"style="overflow:hidden;width:100%;height:100%;border:0px;z-index:-1;position:fixed;top:0px;left:0px;"></iframe>
+ <iframe src="/fullscreen"style="overflow:hidden;width:100%;height:100%;border:0px;z-index:-1;position:fixed;top:0px;left:0px;"></iframe>
-->
<!--START BANNER-->
@@ -426,7 +426,7 @@ jQuery(window).load(function(){
</a>
</div>
- <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2Fdumpfm%2F240317626149&amp;layout=button_count&amp;show_faces=false&amp;width=450&amp;action=like&amp;font=tahoma&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"id="fblike"></iframe>
+ <iframe src="https://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2Fdumpfm%2F240317626149&amp;layout=button_count&amp;show_faces=false&amp;width=450&amp;action=like&amp;font=tahoma&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"id="fblike"></iframe>
$else$
@@ -439,8 +439,8 @@ jQuery(window).load(function(){
<a href="$domain$/m/cal"><img src="$domain$/static/img/thumbs/calendarbaricon.png"/> Calendar</a>
<a href="$domain$/tags" onclick="pageTracker._trackEvent('button', 'banner-search'); return true;"><img src="$domain$/static/img/thumbs/searchbaricon.png"/> Tags</a>
</div>
- <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2Fdumpfm%2F240317626149&amp;layout=button_count&amp;show_faces=false&amp;width=450&amp;action=like&amp;font=tahoma&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"id="fblike"></iframe>
- <a href="http://hump.fm/register" id="disregister">Register!</a>
+ <iframe src="https://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2Fdumpfm%2F240317626149&amp;layout=button_count&amp;show_faces=false&amp;width=450&amp;action=like&amp;font=tahoma&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"id="fblike"></iframe>
+ <a href="/register" id="disregister">Register!</a>
$endif$
@@ -479,7 +479,7 @@ jQuery(window).load(function(){
<br>
dump.fm lets you talk with pictures! Paste an image url, upload, or snap a pic right from your webcam. Talk to friends, fav images, and keep track of the pix you love.
<br>
- If you already have an account <strong><a href="http://hump.fm/login" class="signin">sign in</a></strong> If not <strong><a href="http://hump.fm/register">register</a></strong>!
+ If you already have an account <strong><a href="/login" class="signin">sign in</a></strong> If not <strong><a href="/register">register</a></strong>!
@@ -523,10 +523,10 @@ dump.fm lets you talk with pictures! Paste an image url, upload, or snap a pic r
<br><br>
<div id="footer">
@2010 <a href="/">dump.fm</a>
-<a href="http://hump.fm/about_us" style="word-spacing: normal">About Us</a>
-<a href="http://hump.fm/help" style="word-spacing: normal">Help FAQ</a>
-<a href="http://hump.fm/terms">Terms</a>
-<a href="http://hump.fm/privacy">Privacy</a>
+<a href="/about_us" style="word-spacing: normal">About Us</a>
+<a href="/help" style="word-spacing: normal">Help FAQ</a>
+<a href="/terms">Terms</a>
+<a href="/privacy">Privacy</a>
</div>
</div>
$google_analytics()$