https: used

This commit is contained in:
Matt Pass
2014-04-26 12:22:31 +01:00
parent 599af8d96b
commit ed800a01ce
4 changed files with 11 additions and 11 deletions

View File

@@ -3,7 +3,7 @@ include("headers.php");
include("settings.php");
// Set the plugin data source
$pluginsDataSrc = "http://icecoder.net/plugin-data?format=JSON";
$pluginsDataSrc = "https://icecoder.net/plugin-data?format=JSON";
// Now get our plugin data and put into a PHP array
if (ini_get('allow_url_fopen')) {
@@ -243,7 +243,7 @@ function deletePlugin($dir) {
}
}
echo '<td style="padding: 0 10px 8px 0; width: 28px; text-align: center"><img src="http://icecoder.net/'.$pluginsData[$i]['icon'].'" alt="'.$pluginsData[$i]['name'].'"></td>';
echo '<td style="padding: 0 10px 8px 0; width: 28px; text-align: center"><img src="https://icecoder.net/'.$pluginsData[$i]['icon'].'" alt="'.$pluginsData[$i]['name'].'"></td>';
echo '<td style="padding: 8px 10px 8px 0; width: 250px; white-space: nowrap">'.$pluginsData[$i]['name'].'</td>';
$styleExtra = ($i % 2 == 1 || $i == count($pluginsData)-1) ? "0" : "30px";
echo '<td style="padding: 3px '.$styleExtra.' 8px 0">'.$installUninstallButton.'</td>';

View File

@@ -39,7 +39,7 @@ for ($i=0;$i<count($themeArray);$i++) {
<body class="settings">
<div class="infoPane">
<a href="http://icecoder.net" target="_blank"><img src="../images/ice-coder.png" alt="ICEcoder" class="logo"></a>
<a href="https://icecoder.net" target="_blank"><img src="../images/ice-coder.png" alt="ICEcoder" class="logo"></a>
<h1 style="margin: 10px 0">settings</h1>
@@ -49,11 +49,11 @@ for ($i=0;$i<count($themeArray);$i++) {
<br><br>
website:<br>
<a href="http://icecoder.net" target="_blank">http://icecoder.net</a>
<a href="https://icecoder.net" target="_blank">https://icecoder.net</a>
<br><br>
git:<br>
<a href="http://github.com/mattpass/ICEcoder" target="_blank">http://github.com/mattpass/ICEcoder</a>
<a href="https://github.com/mattpass/ICEcoder" target="_blank">https://github.com/mattpass/ICEcoder</a>
<br><br>
codemirror dir:<br>
@@ -70,7 +70,7 @@ for ($i=0;$i<count($themeArray);$i++) {
<?php echo $ICEcoder['root'] == "" ? "/" : $ICEcoder['root'];?>
<br><br>
<div style="font-size: 10px; line-height: 12px">ICE coder by Matt Pass (<a href="http://www.twitter.com/mattpass" style="font-size: 10px" target="_blank">@mattpass</a>)<br><br>
<div style="font-size: 10px; line-height: 12px">ICE coder by Matt Pass (<a href="https://www.twitter.com/mattpass" style="font-size: 10px" target="_blank">@mattpass</a>)<br><br>
Free to use it for your own purposes, commercial or not, just let me know of any cool uses or customisations. :)<br><br>
No warranty or liability accepted for anything, all responsibility of use is your own.<br><br>
@@ -78,7 +78,7 @@ for ($i=0;$i<count($themeArray);$i++) {
<?php
$peopleArray = array("marijnjh", "maettig", "darkosvitic", "anagnam", "a_harris88", "emmetio", "prinzhorn", "jakubvrana", "vicen_herrera", "abstractba", "adarwash", "themximum");
function makeURL(&$value) {
$value = '<a href="http://www.twitter.com/'.$value.'" style="font-size: 10px" target="_blank">@'.$value.'</a>';
$value = '<a href="https://www.twitter.com/'.$value.'" style="font-size: 10px" target="_blank">@'.$value.'</a>';
};
array_walk($peopleArray, "makeURL");
echo implode(", ",$peopleArray);

View File

@@ -48,7 +48,7 @@ function copyOldVersion() {
}
}
}
$icv_url = "http://icecoder.net/latest-version.txt";
$icv_url = "https://icecoder.net/latest-version.txt";
echo 'Detecting current version of ICEcoder...<br>';
if (ini_get('allow_url_fopen')) {
$icvInfo = file_get_contents($icv_url,false,$context);
@@ -70,7 +70,7 @@ function openZipNew($icvInfo) {
$source = 'ICEcoder v'.$icvInfo;
$target = '../';
$remoteFile = 'http://icecoder.net/ICEcoder-v'.(str_replace(" beta", "-beta",$icvInfo)).'.zip';
$remoteFile = 'https://icecoder.net/ICEcoder-v'.(str_replace(" beta", "-beta",$icvInfo)).'.zip';
$file = "../tmp/new-version.zip";
if (ini_get('allow_url_fopen')) {
$fileData = file_get_contents($remoteFile,false,$context);
@@ -184,7 +184,7 @@ if ($updateDone) {
echo '<script>alert("Update appears to be successful");window.location = "../";</script>';
} else {
echo 'Something appears to have gone wrong :-/<br><br>';
echo 'Please report bugs at <a href="http://github.com/mattpass/ICEcoder" style="color: #fff">http://github.com/mattpass/ICEcoder</a><br><br>';
echo 'Please report bugs at <a href="https://github.com/mattpass/ICEcoder" style="color: #fff">https://github.com/mattpass/ICEcoder</a><br><br>';
echo 'You can recover the old version from ICEcoder\'s tmp dir';
}
?>

View File

@@ -225,7 +225,7 @@ test = {
o.p = ICEcoder.openFiles[1];
t++;
},1);
result = ICEcoder.getRemoteFile('http://icecoder.net/latest-version');
result = ICEcoder.getRemoteFile('https://icecoder.net/latest-version');
},
moveGoToLine: function() {