mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-02-01 02:05:03 -05:00
Switch button static file references to use relative URLs.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<meta name="title" content=" reddit buttons " />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>
|
||||
<script src="/static/button.js" type="text/javascript"></script>
|
||||
<script src="../button.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
var reddit = {};
|
||||
point_label = function(x) {
|
||||
@@ -16,13 +16,13 @@
|
||||
return x + " points";
|
||||
}
|
||||
</script>
|
||||
<link rel="stylesheet" href="/static/reddit.css" type="text/css" />
|
||||
<link rel='shortcut icon' href="/static/favicon.ico" type="image/x-icon" />
|
||||
<link rel="stylesheet" href="../reddit.css" type="text/css" />
|
||||
<link rel='shortcut icon' href="../favicon.ico" type="image/x-icon" />
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" href="/static/reddit-ie6-hax.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../reddit-ie6-hax.css" type="text/css" />
|
||||
<![endif]-->
|
||||
<!--[if lt IE 8]>
|
||||
<link rel="stylesheet" href="/static/reddit-ie7-hax.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../reddit-ie7-hax.css" type="text/css" />
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body class="button-body">
|
||||
@@ -30,7 +30,7 @@
|
||||
<div class="blog blog1 entry">
|
||||
<div class="headimgcell bling">
|
||||
<a href="/" target="_parent">
|
||||
<img src="/static/blog_head.png" alt=""/>
|
||||
<img src="../blog_head.png" alt=""/>
|
||||
</a>
|
||||
</div>
|
||||
<div class="arrow up"></div>
|
||||
|
||||
@@ -9,14 +9,14 @@
|
||||
var reddit = { };
|
||||
</script>
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>
|
||||
<script src="/static/button.js" type="text/javascript"></script>
|
||||
<link rel="stylesheet" href="/static/reddit.css" type="text/css" />
|
||||
<link rel='shortcut icon' href="/static/favicon.ico" type="image/x-icon" />
|
||||
<script src="../button.js" type="text/javascript"></script>
|
||||
<link rel="stylesheet" href="../reddit.css" type="text/css" />
|
||||
<link rel='shortcut icon' href="../favicon.ico" type="image/x-icon" />
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" href="/static/reddit-ie6-hax.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../reddit-ie6-hax.css" type="text/css" />
|
||||
<![endif]-->
|
||||
<!--[if lt IE 8]>
|
||||
<link rel="stylesheet" href="/static/reddit-ie7-hax.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../reddit-ie7-hax.css" type="text/css" />
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body class="button-body">
|
||||
|
||||
@@ -7,14 +7,14 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<script type="text/javascript">var reddit = {};</script>
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>
|
||||
<script src="/static/button.js" type="text/javascript"></script>
|
||||
<link rel="stylesheet" href="/static/reddit.css" type="text/css" />
|
||||
<link rel='shortcut icon' href="/static/favicon.ico" type="image/x-icon" />
|
||||
<script src="../button.js" type="text/javascript"></script>
|
||||
<link rel="stylesheet" href="../reddit.css" type="text/css" />
|
||||
<link rel='shortcut icon' href="../favicon.ico" type="image/x-icon" />
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" href="/static/reddit-ie6-hax.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../reddit-ie6-hax.css" type="text/css" />
|
||||
<![endif]-->
|
||||
<!--[if lt IE 8]>
|
||||
<link rel="stylesheet" href="/static/reddit-ie7-hax.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../reddit-ie7-hax.css" type="text/css" />
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body class="button-body">
|
||||
@@ -31,7 +31,7 @@
|
||||
</div>
|
||||
<div class="right bling">
|
||||
<a href="/" target="_parent" >
|
||||
<img class="snoo" src="/static/blog_snoo.png" alt="submit"/>
|
||||
<img class="snoo" src="../blog_snoo.png" alt="submit"/>
|
||||
</a>
|
||||
</div>
|
||||
<div class="clear">
|
||||
|
||||
@@ -7,14 +7,14 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<script type="text/javascript">var reddit = { };</script>
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>
|
||||
<script src="/static/button.js" type="text/javascript"></script>
|
||||
<link rel="stylesheet" href="/static/css/reddit.css" type="text/css" />
|
||||
<link rel='shortcut icon' href="/static/favicon.ico" type="image/x-icon" />
|
||||
<script src="../button.js" type="text/javascript"></script>
|
||||
<link rel="stylesheet" href="../css/reddit.css" type="text/css" />
|
||||
<link rel='shortcut icon' href="../favicon.ico" type="image/x-icon" />
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" href="/static/reddit-ie6-hax.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../reddit-ie6-hax.css" type="text/css" />
|
||||
<![endif]-->
|
||||
<!--[if lt IE 8]>
|
||||
<link rel="stylesheet" href="/static/reddit-ie7-hax.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../reddit-ie7-hax.css" type="text/css" />
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body class="button-body">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<script type="text/javascript">var reddit = { };</script>
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>
|
||||
<script src="/static/button.js" type="text/javascript"></script>
|
||||
<script src="../button.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
function finalize_thing(data) {
|
||||
var ups = data.ups - (data.likes?1:0);
|
||||
@@ -55,20 +55,20 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<link rel="stylesheet" href="/static/reddit.css" type="text/css" />
|
||||
<link rel='shortcut icon' href="/static/favicon.ico" type="image/x-icon" />
|
||||
<link rel="stylesheet" href="../reddit.css" type="text/css" />
|
||||
<link rel='shortcut icon' href="../favicon.ico" type="image/x-icon" />
|
||||
<!--[if lt IE 7]>
|
||||
<link rel="stylesheet" href="/static/reddit-ie6-hax.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../reddit-ie6-hax.css" type="text/css" />
|
||||
<![endif]-->
|
||||
<!--[if lt IE 8]>
|
||||
<link rel="stylesheet" href="/static/reddit-ie7-hax.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../reddit-ie7-hax.css" type="text/css" />
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body class="button-body">
|
||||
<div class="button thing">
|
||||
<div class="blog blog5 entry" style="width: 795px;" >
|
||||
<a class="bling" href="/" class="left" >
|
||||
<img src="/static/blog_snoo.gif" alt="submit"/>
|
||||
<img src="../blog_snoo.gif" alt="submit"/>
|
||||
</a>
|
||||
<div class="container">
|
||||
<ul>
|
||||
|
||||
Reference in New Issue
Block a user