Commit eb8ddf7d authored by dmorley's avatar dmorley

fix social icons

parent c2a5152e
...@@ -133,8 +133,8 @@ unset($softwarename); ...@@ -133,8 +133,8 @@ unset($softwarename);
curl_setopt($ch, CURLOPT_NOBODY, 0); curl_setopt($ch, CURLOPT_NOBODY, 0);
$output = curl_exec($ch); $output = curl_exec($ch);
curl_close($ch); curl_close($ch);
if ($debug) {print $output;} if ($debug) {echo "not-e"; print $output;}
if ($debug) {var_dump($outputssl);} if ($debug) {echo "e"; var_dump($outputssl);}
if ($outputssl) {$secure="true";$outputresults=$outputssl;} elseif ($output) {$secure="false";$outputresults=$output;} if ($outputssl) {$secure="true";$outputresults=$outputssl;} elseif ($output) {$secure="false";$outputresults=$output;}
if (stristr($outputresults, 'openRegistrations')) { if (stristr($outputresults, 'openRegistrations')) {
$score = $score +1; $score = $score +1;
...@@ -12,8 +12,10 @@ ...@@ -12,8 +12,10 @@
<link rel="stylesheet" href="css/bootstrap.min.css"> <link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/newstyle.css" /> <link rel="stylesheet" href="css/newstyle.css" />
<link rel="stylesheet" href="css/facebox.css" /> <link rel="stylesheet" href="css/facebox.css" />
<meta property="og:url" content="" /> <meta property="og:url" content="" />
<meta property="og:site_name" content="Diaspora Pods" /> <meta property="og:title" content="Diaspora Pod Finder" />
<meta property="og:type" content="website" />
<meta property="og:description" content="Diaspora Pod Live Status. Find a Diaspora pod to sign up for, rate pods, find one close to you!" />
<?php <?php
$hidden = isset($_GET['hidden'])?$_GET['hidden']:null; $hidden = isset($_GET['hidden'])?$_GET['hidden']:null;
$lastfile = 'db/'; $lastfile = 'db/';
...@@ -22,20 +24,17 @@ $mapview = isset($_GET['mapview'])?$_GET['mapview']:null; ...@@ -22,20 +24,17 @@ $mapview = isset($_GET['mapview'])?$_GET['mapview']:null;
$cleanup = isset($_GET['cleanup'])?$_GET['cleanup']:null; $cleanup = isset($_GET['cleanup'])?$_GET['cleanup']:null;
?> ?>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=yes" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=yes" />
<script type="text/javascript">
/* <![CDATA[ */
(function() {
var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
s.type = 'text/javascript';
s.async = true;
s.src = '//';
t.parentNode.insertBefore(s, t);
/* ]]> */</script>
<script type="text/javascript" src="//"></script>
<script type="text/javascript">stLight.options({publisher: "3209f0be-147e-49fc-ac1b-2cf6740e9449", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>
</head> </head>
<body> <body>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); = id;
js.src = "//";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<header> <header>
<div class="page-header"> <div class="page-header">
<div class="row"> <div class="row">
...@@ -45,20 +44,14 @@ $cleanup = isset($_GET['cleanup'])?$_GET['cleanup']:null; ...@@ -45,20 +44,14 @@ $cleanup = isset($_GET['cleanup'])?$_GET['cleanup']:null;
</h2> </h2>
</div> </div>
<div class="span2" style="margin-top:8px;"> <div class="span2" style="margin-top:8px;">
<span class='st_facebook_hcount' displayText='Facebook' st_summary='test'></span> <div class="fb-share-button" data-href="" data-layout="button_count" data-size="small" data-mobile-iframe="true"><a class="fb-xfbml-parse-ignore" target="_blank" href=";src=sdkpreparse">Share</a></div>
<div class="span2" style="margin-top:8px;">
<span class='st_twitter_hcount' displayText='Tweet' text='test'></span>
<div class="span2" style="margin-top:8px;">
<span class='st_plusone_hcount' displayText='Google +1'></span>
</div> </div>
<div class="span2" style="margin-top:8px;"> <div class="span2" style="margin-top:8px;">
<a class="FlattrButton" style="display:none;" rev="flattr;button:compact;" href=""></a> <div class="g-plusone" data-size="small" data-href=""></div>
</div> </div>
<div class="span2" style="margin-top:8px;"> <div class="span2" style="margin-top:8px;">
<a href="" class="twitter-hashtag-button" data-text="Diaspora Pod Live Status. Find a Diaspora pod to sign up for, rate pods, find one close to you!" data-url="" data-related="diasporg" data-show-count="false">Tweet #diaspora</a><script async src="//" charset="utf-8"></script>
</div> </div>
</div> </div>
...@@ -144,5 +137,6 @@ is mostly because of selfsigned or openca certs, if you need a free ssl cert get ...@@ -144,5 +137,6 @@ is mostly because of selfsigned or openca certs, if you need a free ssl cert get
</div> </div>
</div> </div>
<script src="" async defer></script>
</body> </body>
</html> </html>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment