Fix bad merge
This commit is contained in:
parent
897f3db53c
commit
af79fc3d18
1 changed files with 244 additions and 332 deletions
|
@ -145,7 +145,6 @@ class VroumVroum_Config
|
||||||
public $site_type = '';
|
public $site_type = '';
|
||||||
public $site_title = '';
|
public $site_title = '';
|
||||||
public $site_description = '';
|
public $site_description = '';
|
||||||
public $site_meta_description = '';
|
|
||||||
public $site_url = '';
|
public $site_url = '';
|
||||||
public $feed_url = '';
|
public $feed_url = '';
|
||||||
public $articles_per_page = 10;
|
public $articles_per_page = 10;
|
||||||
|
@ -693,63 +692,6 @@ if (!$search && !empty($_SERVER['QUERY_STRING']) && !is_numeric($_SERVER['QUERY_
|
||||||
}
|
}
|
||||||
|
|
||||||
// common CSS
|
// common CSS
|
||||||
<<<<<<< HEAD
|
|
||||||
$css=' * { margin: 0; padding: 0; }
|
|
||||||
body { font-family:sans-serif; background-color: #efefef; padding: 1%; color: #333; }
|
|
||||||
img { max-width: 100%; height: auto; }
|
|
||||||
a { text-decoration: none; color: #000;font-weight:bold; }
|
|
||||||
.header a { text-decoration: none; color: #000;font-weight:bold; }
|
|
||||||
.header { text-align:center; padding: 30px 3%; max-width:70em;margin:0 auto; }
|
|
||||||
.article .title { margin-bottom: 1em; }
|
|
||||||
.article .title h2 a:hover { color:#403976; }
|
|
||||||
.article h4 { font-weight: normal; font-size: small; color: #666; }
|
|
||||||
.article .source a { color: #666; }
|
|
||||||
.searchForm { float:right; }
|
|
||||||
.searchForm input { }
|
|
||||||
.pagination { background-color:white;padding: 12px 10px 12px 10px;border:1px solid #aaa;max-width:70em;margin:1em auto;box-shadow:0px 5px 7px #aaa; }
|
|
||||||
.pagination b { font-size: 1.2em; color: #333; }
|
|
||||||
.pagination a { color:#000; margin: 0 0.5em; }
|
|
||||||
.pagination a:hover { color:#333; }
|
|
||||||
.footer a { color:#000; }
|
|
||||||
.footer a:hover { color:#333; }
|
|
||||||
.content ul, .content ol { margin-left: 2em; }
|
|
||||||
.content h1, .content h2, .content h3, .content h4, .content h5, .content h6,
|
|
||||||
.content ul, .content ol, .content p, .content object, .content div, .content blockquote,
|
|
||||||
.content dl, .content pre { margin-bottom: 0.8em; }
|
|
||||||
.content pre, .content blockquote { background: #ddd; border: 1px solid #999; padding: 0.2em; max-width: 100%; overflow: auto; }
|
|
||||||
.content h1 { font-size: 1.5em; }
|
|
||||||
.content h2 { font-size: 1.4em;color:#000; }
|
|
||||||
.result h3 a { color: darkblue; text-decoration: none; text-shadow: 1px 1px 1px #fff; }
|
|
||||||
#error { position: fixed; top: 0; left: 0; right: 0; padding: 1%; background: #fff; border-bottom: 2px solid red; color: darkred; }
|
|
||||||
||||||| merged common ancestors
|
|
||||||
$css=' * { margin: 0; padding: 0; }
|
|
||||||
body { font-family:sans-serif; background-color: #efefef; padding: 1%; color: #333; }
|
|
||||||
img { max-width: 100%; height: auto; }
|
|
||||||
a { text-decoration: none; color: #000;font-weight:bold; }
|
|
||||||
.header a { text-decoration: none; color: #000;font-weight:bold; }
|
|
||||||
.header { text-align:center; padding: 30px 3%; max-width:70em;margin:0 auto; }
|
|
||||||
.article .title { margin-bottom: 1em; }
|
|
||||||
.article .title h2 a:hover { color:#403976; }
|
|
||||||
.article h4 { font-weight: normal; font-size: small; color: #666; }
|
|
||||||
.article .source a { color: #666; }
|
|
||||||
.searchForm { float:right; }
|
|
||||||
.searchForm input { }
|
|
||||||
.pagination { background-color:white;padding: 12px 10px 12px 10px;border:1px solid #aaa;max-width:70em;margin:1em auto;box-shadow:0px 5px 7px #aaa; }
|
|
||||||
.pagination b { font-size: 1.2em; color: #333; }
|
|
||||||
.pagination a { color:#000; margin: 0 0.5em; }
|
|
||||||
.pagination a:hover { color:#333; }
|
|
||||||
.footer a { color:#000; }
|
|
||||||
.footer a:hover { color:#333; }
|
|
||||||
.content ul, .content ol { margin-left: 2em; }
|
|
||||||
.content h1, .content h2, .content h3, .content h4, .content h5, .content h6,
|
|
||||||
.content ul, .content ol, .content p, .content object, .content div, .content blockquote,
|
|
||||||
.content dl, .content pre { margin-bottom: 0.8em; }
|
|
||||||
.content pre, .content blockquote { background: #ddd; border: 1px solid #999; padding: 0.2em; max-width: 100%; overflow: auto; }
|
|
||||||
.content h1 { font-size: 1.5em; }
|
|
||||||
.content h2 { font-size: 1.4em;color:#000; }
|
|
||||||
.result h3 a { color: darkblue; text-decoration: none; text-shadow: 1px 1px 1px #fff; }
|
|
||||||
#error { position: fixed; top: 0; left: 0; right: 0; padding: 1%; background: #fff; border-bottom: 2px solid red; color: darkred; }
|
|
||||||
=======
|
|
||||||
$css='* { margin: 0; padding: 0; }
|
$css='* { margin: 0; padding: 0; }
|
||||||
body { font-family:sans-serif; background-color: #efefef; padding: 1%; color: #333; }
|
body { font-family:sans-serif; background-color: #efefef; padding: 1%; color: #333; }
|
||||||
img { max-width: 100%; height: auto; }
|
img { max-width: 100%; height: auto; }
|
||||||
|
@ -777,7 +719,6 @@ $css='* { margin: 0; padding: 0; }
|
||||||
.content h2 { font-size: 1.4em;color:#000; }
|
.content h2 { font-size: 1.4em;color:#000; }
|
||||||
.result h3 a { color: darkblue; text-decoration: none; text-shadow: 1px 1px 1px #fff; }
|
.result h3 a { color: darkblue; text-decoration: none; text-shadow: 1px 1px 1px #fff; }
|
||||||
#error { position: fixed; top: 0; left: 0; right: 0; padding: 1%; background: #fff; border-bottom: 2px solid red; color: darkred; }
|
#error { position: fixed; top: 0; left: 0; right: 0; padding: 1%; background: #fff; border-bottom: 2px solid red; color: darkred; }
|
||||||
>>>>>>> master
|
|
||||||
';
|
';
|
||||||
|
|
||||||
switch($site_type) {
|
switch($site_type) {
|
||||||
|
@ -822,34 +763,6 @@ echo '<!DOCTYPE html>
|
||||||
<link rel="canonical" href="'.escape($config->site_url).'">
|
<link rel="canonical" href="'.escape($config->site_url).'">
|
||||||
<link rel="alternate" type="application/atom+xml" title="'.__('ATOM Feed').'" href="?feed">
|
<link rel="alternate" type="application/atom+xml" title="'.__('ATOM Feed').'" href="?feed">
|
||||||
<style type="text/css" media="screen,projection">
|
<style type="text/css" media="screen,projection">
|
||||||
<<<<<<< HEAD
|
|
||||||
'.$css.'
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="header">
|
|
||||||
<h1><a href="../../" style="font-size:0.8em;">PROJET AUTOBLOG'. (strlen(HEAD_TITLE) > 0 ? ' ~ '. HEAD_TITLE : '') .'</a></h1>
|
|
||||||
<hr>
|
|
||||||
<h1><a href="./">'.escape($config->site_title).'</a></h1>';
|
|
||||||
|
|
||||||
if (!empty($config->site_description)){
|
|
||||||
echo '<p>'.$config->site_description.'<br><a href="../../">⇐ retour index</a></p>';
|
|
||||||
}
|
|
||||||
echo '<p class="pagination">'.$config->site_meta_description.'<br></p>';
|
|
||||||
||||||| merged common ancestors
|
|
||||||
'.$css.'
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="header">
|
|
||||||
<h1><a href="../../" style="font-size:0.8em;">PROJET AUTOBLOG'. (strlen(HEAD_TITLE) > 0 ? ' ~ '. HEAD_TITLE : '') .'</a></h1>
|
|
||||||
<hr>
|
|
||||||
<h1><a href="./">'.escape($config->site_title).'</a></h1>';
|
|
||||||
|
|
||||||
if (!empty($config->site_description))
|
|
||||||
echo '<p>'.$config->site_description.'<br><a href="../../">⇐ retour index</a></p>';
|
|
||||||
|
|
||||||
=======
|
|
||||||
'.$css.'
|
'.$css.'
|
||||||
</style>';
|
</style>';
|
||||||
if( $vvb->mustUpdateXsaf()) {
|
if( $vvb->mustUpdateXsaf()) {
|
||||||
|
@ -868,7 +781,6 @@ echo '
|
||||||
<p>'.$config->site_description.'</p>
|
<p>'.$config->site_description.'</p>
|
||||||
<p><a href="../../">⇐ retour index</a></p>';
|
<p><a href="../../">⇐ retour index</a></p>';
|
||||||
|
|
||||||
>>>>>>> master
|
|
||||||
echo '
|
echo '
|
||||||
<form method="get" action="'.escape(LOCAL_URL).'">
|
<form method="get" action="'.escape(LOCAL_URL).'">
|
||||||
<input type="search" name="q" value="'.escape($search).'" />
|
<input type="search" name="q" value="'.escape($search).'" />
|
||||||
|
|
Loading…
Reference in a new issue