Quelques fix

This commit is contained in:
Oros 2013-02-18 22:15:15 +01:00
parent bc0f6fa285
commit 3a4a7fbd32
4 changed files with 13 additions and 11 deletions

View file

@ -697,7 +697,7 @@ echo '
</head>
<body>
<div class="header">
<h1><a href="'. LOCAL_URL .'.." style="font-size:0.8em;">PROJET AUTOBLOG ~ '. $head_title .'</a></h1>
<h1><a href="'.escape(LOCAL_URL) .'.." style="font-size:0.8em;">PROJET AUTOBLOG ~ '. escape($head_title) .'</a></h1>
<hr>
<h1><a href="'.escape(LOCAL_URL).'">'.escape($config->site_title).'</a></h1>';

View file

@ -62,13 +62,12 @@ define( 'ALLOW_FULL_UPDATE', TRUE );
// Logo à utiliser
//$logo="./icon-logo.svg";
$logo = '';
$logo="./icon-logo.svg";
// Marquez ici votre propre message qui apparaîtra en bas de page.
// exemple :
//$HTML_footer="<br/><a href='http://datalove.me/'>Love data</a><br/>Data is essential<br/>Data must flow<br/>Data must be used<br/>Data is neither good nor bad<br/>There is no illegal data<br/>Data is free<br/>Data can not be owned<br/>No man, machine or system shall interrupt the flow of data<br/>Locking data is a crime against datanity";
$HTML_footer='D\'après les premières versions de <a href="sebsauvage.net">SebSauvage</a> et <a href="http://bohwaz.net/">Bohwaz</a>.';
$HTML_footer='D\'après les premières versions de <a href="http://sebsauvage.net">SebSauvage</a> et <a href="http://bohwaz.net/">Bohwaz</a>.';
$head_title = "Arthur HOARO";
$head_title = "";
?>

View file

@ -381,7 +381,7 @@ if( !empty($_POST['opml']) && ALLOW_NEW_AUTOBLOGS && ALLOW_NEW_AUTOBLOGS_BY_OPML
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Projet Autoblog | <?php echo $head_title; ?></title>
<title>Projet Autoblog<?php if(!empty($head_title)) { echo " | " .$head_title; } ?></title>
<style type="text/css">
body {background-color:#efefef;text-align:center;color:#333;font-family:sans-serif}
a {color:black;text-decoration:none;font-weight:bold;}
@ -408,7 +408,7 @@ if( !empty($_POST['opml']) && ALLOW_NEW_AUTOBLOGS && ALLOW_NEW_AUTOBLOGS_BY_OPML
</style>
</head>
<body>
<h1>PROJET AUTOBLOG | <?php echo $head_title; ?></h1>
<h1>PROJET AUTOBLOG<?php if(!empty($head_title)) { echo " | " .$head_title; } ?></h1>
<div class="pbloc">
<img id="logo" src="<?php if(isset($logo)) { echo $logo; }else{ echo './icon-logo.svg'; } ?>" alt="">
@ -416,8 +416,8 @@ if( !empty($_POST['opml']) && ALLOW_NEW_AUTOBLOGS && ALLOW_NEW_AUTOBLOGS_BY_OPML
<h2>Présentation</h2>
<p>
La Projet Autoblog a pour objectif de répliquer les articles d'un blog ou d'un site site web.
Si l'article source est supprimé, et même si le site d'origine disparaît, les articles restent lisibles sur l'autoblog.
La Projet Autoblog a pour objectif de répliquer les articles d'un blog ou d'un site site web.<br/>
Si l'article source est supprimé, et même si le site d'origine disparaît, les articles restent lisibles sur l'autoblog. <br/>
L'objectif premier de ce projet est de lutter contre la censure et toute sorte de pression...
</p>
<p>

View file

@ -32,6 +32,9 @@ else {
define('ROOT_DIR', __DIR__);
if(file_exists("functions.php")){
include "functions.php";
}else{
echo "functions.php not found !";
die;
}
function serverUrl() {
@ -166,9 +169,9 @@ function xsafimport($xsafremote, $max_exec_time) {
/* And now, the XSAF links to be imported, with maximal execusion time for import in second !
You should add only trusted sources. */
$autoblog_farm = array(
'https://raw.github.com/mitsukarenai/xsaf-bootstrap/master/3.json',
'https://raw.github.com/mitsukarenai/xsaf-bootstrap/master/3.json' /*,
'https://www.ecirtam.net/autoblogs/?export',
'https://autoblog.suumitsu.eu/?export',
'https://autoblog.suumitsu.eu/?export', */
);
if( DEBUG ) echo '<html><body>';
if( ALLOW_XSAF ) {