c7d99f6402
new file: 0.1/index.php new file: 0.1/vvb.ini new file: 0.2/README.md renamed: autoblog.php -> 0.2/autoblog.php renamed: automicroblog.php -> 0.2/automicroblog.php renamed: config.php -> 0.2/config.php renamed: _experimental/icon-logo.svg -> 0.2/icon-logo.svg renamed: index.php -> 0.2/index.php renamed: xsaf2.php -> 0.2/xsaf2.php new file: 0.3-beta/README.md renamed: _experimental/autoblog-0.3.php -> 0.3-beta/autoblog.php renamed: _experimental/config.php -> 0.3-beta/config.php renamed: icon-logo.svg -> 0.3-beta/icon-logo.svg renamed: _experimental/index.php -> 0.3-beta/index.php renamed: _experimental/xsaf3.php -> 0.3-beta/xsaf3.php deleted: README.md deleted: _experimental/README.md MAJOR reorga, ajout Projets Autoblog 0.1 et 0.2
54 lines
1.8 KiB
PHP
Executable file
54 lines
1.8 KiB
PHP
Executable file
<?php
|
|
if(!defined('ROOT_DIR'))
|
|
{
|
|
define('ROOT_DIR', dirname($_SERVER['SCRIPT_FILENAME']));
|
|
}
|
|
define('LOCAL_URI', '');
|
|
date_default_timezone_set('Europe/Paris');
|
|
setlocale(LC_TIME, 'fr_FR.UTF-8', 'fr_FR', 'fr');
|
|
|
|
function __($str)
|
|
{
|
|
switch ($str)
|
|
{
|
|
case 'Search':
|
|
return 'Recherche';
|
|
case 'Update':
|
|
return 'Mise à jour';
|
|
case 'Updating database... Please wait.':
|
|
return 'Mise à jour de la base de données, veuillez patienter...';
|
|
case '<b>%d</b> results for <i>%s</i>':
|
|
return '<b>%d</b> résultats pour la recherche <i>%s</i>';
|
|
case 'Not Found':
|
|
return 'Introuvable';
|
|
case 'Article not found.':
|
|
return 'Cet article n\'a pas été trouvé.';
|
|
case 'Older':
|
|
return 'Plus anciens';
|
|
case 'Newer':
|
|
return 'Plus récents';
|
|
case 'RSS Feed':
|
|
return 'Flux RSS';
|
|
case 'Update complete!':
|
|
return 'Mise à jour terminée !';
|
|
case 'Click here to reload this webpage.':
|
|
return 'Cliquez ici pour recharger cette page.';
|
|
case 'Source:':
|
|
return 'Source :';
|
|
case '_date_format':
|
|
return '%A %e %B %Y à %H:%M';
|
|
case 'configuration':
|
|
case 'articles':
|
|
return $str;
|
|
}
|
|
}
|
|
|
|
// Logo à utiliser
|
|
$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="";
|
|
|
|
?>
|