Current oav website

This commit is contained in:
Charlie Root
2023-03-20 12:18:38 +01:00
commit a096ce07cf
3270 changed files with 261778 additions and 0 deletions

View File

@ -0,0 +1,67 @@
<?php
# -- BEGIN LICENSE BLOCK ----------------------------------
#
# This file is part of Dotclear 2.
#
# Copyright (c) 2003-2008 Olivier Meunier and contributors
# Licensed under the GPL version 2.0 license.
# See LICENSE file or
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_CONTEXT_ADMIN')) { return; }
//css perso
l10n::set(dirname(__FILE__).'/locales/'.$_lang.'/main');
$css_file = path::real($core->blog->public_path).'/japonisant_style.css';
if (!is_file($css_file) && !is_writable(dirname($css_file))) {
throw new Exception(
sprintf(__('File %s does not exist and directory %s is not writable.'),
$css_file,dirname($css_file))
);
}
if (isset($_POST['css']))
{
@$fp = fopen($css_file,'wb');
fwrite($fp,$_POST['css']);
fclose($fp);
echo
'<div class="message"><p>'.
__('Style sheet upgraded.').
'</p></div>';
}
$css_content = is_file($css_file) ? file_get_contents($css_file) : '';
echo
'<p class="area"><label>'.__('Personnalisation :').' '.
form::textarea('css',60,20,html::escapeHTML($css_content)).'</label></p>';
// structure
$JaponisantStructure_styles = array(
"2 colonnes, sidebar à gauche" => 'structure-fixed-2col-left',
"2 colonnes, sidebar à droite" => 'structure-fixed-2col-right',
);
if (!$core->blog->settings->themes->JaponisantStructure_style) {
$core->blog->settings->themes->JaponisantStructure_style = 'structure-fixed-2col-right';
}
if (!empty($_POST['JaponisantStructure_style']) && in_array($_POST['JaponisantStructure_style'],$JaponisantStructure_styles))
{
$core->blog->settings->themes->JaponisantStructure_style = $_POST['JaponisantStructure_style'];
$core->blog->settings->addNamespace('themes');
$core->blog->settings->themes->put('JaponisantStructure_style',$core->blog->settings->JaponisantStructure_style,'string','Structure',true);
$core->blog->triggerBlog();
}
echo
'<fieldset><legend>'.__('Structure').'</legend>'.
'<p class="field"><label>'.__('Display:').'</label>'.
form::combo('JaponisantStructure_style',$JaponisantStructure_styles,$core->blog->settings->themes->JaponisantStructure_style).
'</p>'.
'</fieldset>';
?>

View File

@ -0,0 +1,20 @@
<?php
# -- BEGIN LICENSE BLOCK ----------------------------------
#
# This file is part of Dotclear 2.
#
# Copyright (c) 2003-2009 Olivier Meunier and contributors
# Licensed under the GPL version 2.0 license.
# See LICENSE file or
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_RC_PATH')) { return; }
$this->registerModule(
/* Name */ "Japonisant",
/* Description*/ "A zen theme",
/* Author */ "la lene",
/* Version */ '1.2'
);
?>

View File

@ -0,0 +1,41 @@
<?php
# -- BEGIN LICENSE BLOCK ----------------------------------
#
# This file is part of Dotclear 2.
#
# Copyright (c) 2003-2008 Olivier Meunier and contributors
# Licensed under the GPL version 2.0 license.
# See LICENSE file or
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_RC_PATH')) { return; }
$core->addBehavior('publicHeadContent',array('tplCustomTheme','publicHeadContent'));
class tplCustomTheme
{
public static function publicHeadContent($core)
{
echo
'<style type="text/css">'."\n".
'@import url('.$core->blog->settings->public_url.'/japonisant_style.css);'."\n".
"</style>\n";
}
}
// style pour l'affichage du menu
$core->addBehavior('publicHeadContent','JaponisantStructure_publicHeadContent');
function JaponisantStructure_publicHeadContent($core)
{
$style = $core->blog->settings->themes->JaponisantStructure_style;
if (!preg_match('/^structure-fixed-2col-left|structure-fixed-2col-right$/',$style)) {
$style = 'structure-fixed-2col-right';
}
$url = $core->blog->settings->themes_url.'/'.$core->blog->settings->theme;
echo '<link rel="stylesheet" type="text/css" media="screen" href="'.$url."/".$style.".css\" />\n";
}
?>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 400 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 319 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 358 KiB

View File

@ -0,0 +1,24 @@
<?php
# -- BEGIN LICENSE BLOCK ---------------------------------------
#
# This file is part of Dotclear 2.
#
# Copyright (c) 2003-2011 Olivier Meunier & Association Dotclear
# Licensed under the GPL version 2.0 license.
# See LICENSE file or
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# -- END LICENSE BLOCK -----------------------------------------#
#
#
# DOT NOT MODIFY THIS FILE !
$GLOBALS['__l10n']['File %s does not exist and directory %s is not writable.'] = 'Le fichier %s n\'existe pas et le répertoire %s n\'est pas accessible en écriture.';
$GLOBALS['__l10n']['Style sheet upgraded.'] = 'Feuille de style mise à jour.';
$GLOBALS['__l10n']['Style sheet:'] = 'Feuille de style :';
$GLOBALS['__l10n']['Display:'] = 'Choix :';
?>

View File

@ -0,0 +1,31 @@
# -- BEGIN LICENSE BLOCK ---------------------------------------
#
# This file is part of Dotclear 2.
#
# Copyright (c) 2003-2011 Olivier Meunier & Association Dotclear
# Licensed under the GPL version 2.0 license.
# See LICENSE file or
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# -- END LICENSE BLOCK -----------------------------------------
#
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8\n"
#: themes/custom/_config.php:27
#, php-format
msgid "File %s does not exist and directory %s is not writable."
msgstr "Le fichier %s n'existe pas et le répertoire %s n'est pas accessible en écriture."
#: themes/custom/_config.php:40
msgid "Style sheet upgraded."
msgstr "Feuille de style mise à jour."
#: themes/custom/_config.php:47
msgid "Style sheet:"
msgstr "Feuille de style :"
#: themes/custom/_config.php:47
msgid "Display:"
msgstr "Choix :"

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View File

@ -0,0 +1,6 @@
#top { background:url(images/top3.jpg) top center no-repeat; height:79px; height: 550px; margin-left: -9px;}
#content {float: right; padding-right: 24px;}
#sidebar { float: left; padding-left:20px; }
#content { margin-top:-90px; padding-left:20px; width:520px; }
.post,#comments,#comment-form,#pings, content-inner h3 {padding-left: 28px; }

View File

@ -0,0 +1,5 @@
#top { background:url(images/top2.jpg) top center no-repeat;}
#content {float: left;}
#sidebar { float:right; padding-right:20px; }
#content { margin-top:-90px; padding-left:20px; width:520px; }
.post,#comments,#comment-form,#pings, content-inner h3 {padding-left: 28px; }

View File

@ -0,0 +1,109 @@
* {margin:0; padding: 0;}
body {
background:url(images/fond.jpg) top center;
color:#000;
font-family:"Trebuchet MS", Tahoma, sans-serif;
font-size:12px;
line-height:135%;
text-align:left;
}
h1 {font-size: 200%;}
h2 {font-size: 175%; text-align: left;}
h3 {font-size: 150%;}
h4 {font-size: 125%;}
h5 {font-size: 100%;}
h1,h2,h3,h4,h5 {font-weight: 100;}
p {font-size: 100%;}
.post-excerpt p, .post-content p {line-height: 150%;}
ul {}
li {list-style: none;}
.post-content img {max-width:508px;}
.post {margin-bottom: 30px;}
a { color:#65798E; text-decoration:none; }
a:hover {background: #E3EAF2;}
a img { border:none; }
#page { width:100%; }
#wrapper { margin:0 auto; width:860px;}
#footer { background:url(images/footer.jpg) top center no-repeat; clear:both; height:105px; text-align:center; margin-top:20px;}
#footer p { margin:0 auto; padding-top:15px; width:860px; }
#prelude {visibility:hidden;}
#top { height:79px; height: 550px;}
#top h1 { color:#000; font-size:22px; font-weight:400; margin:0 auto; padding-right:35px; position:relative; text-align:right; text-transform:uppercase; top:16px; width:860px; padding-top: -20px; }
.post,#comments,#comment-form,#pings, content-inner h3 {background:url(images/bg_post_h2.jpg) no-repeat; clear:both; margin-left:-16px; text-align:justify; }
.post-title,#comments h3,#comment-form h3,#pings h3 { color:#65798E; margin-top:15px; padding-top:17px; text-transform:uppercase;}
.post-title {line-height: 120%;}
.post-tags li { display:inline; }
.post-info, .post-info-co {padding: 4px 0;}
.post-excerpt, .post-content {margin: 12px 0;}
.post-info-co { clear:both; text-align:right; }
.day-date {display:none;}
#sidebar { width:256px; margin-bottom: 30px;}
#sidebar #topnav {background:none;}
#sidebar div div { background:url(images/bg_div_sidebar.png) no-repeat; margin-top:35px; padding:30px 10px 0 25px; }
#sidebar h2 { color:#65798E; margin-bottom:10px; text-transform:uppercase; ; }
#sidebar h3 { color:#65798E; font-size:1em; margin-top:15px; }
#sidebar li {padding-bottom: 4px;}
#sidebar li a,#content-info h2,#subcategories h3 { color:#65798E; }
/* #sidebar li a:hover { color:#65798E; text-decoration:underline; } */
fieldset {border: none;}
#search #q { width:120px; }
#search input { background:#E3EAF2; border:none; color:#666; margin-right:10px; padding:2px; }
li { background:url(images/bg_li.png) no-repeat; padding-left:14px; }
.post-excerpt p, .post-content p {margin-bottom: 12px; font-size: 13px;}
.post-excerpt li, .post-content li {font-size: 13px; line-height: 150%;}
.post-content h4 {margin-top: 12px;}
#comment-form p.field label { display:block; }
#comments dd,#pings dd { background:#E3EAF2; margin-bottom:45px; padding:5px; }
#comments dt,#pings dt { background:transparent url(images/bg_comment_infos.jpg) no-repeat scroll 100% 100%; margin:-45px 0 0; padding:45px 0 3px; }
#comments dt.first,#pings dt.first { margin-top:0.25em;}
#pings {margin-top: 30px;}
p#ping-url {margin:20px 0;}
dd.comment-preview {background: #E3EAF2; padding: 4px;}
p#pr.message {background:#65798E; color:white; padding: 4px; text-align:center; margin-bottom: 36px;}
.pagination {margin: 20px 0;}
#content-info h2 {margin-bottom:10px;}
#content-info p:last-child {margin-top: 10px;}
#subcategories {margin-top:20px;}
#subcategories li { display: none;}
.dc-category .post.first, .dc-tag .post.first, .dc-archive-month .post.first {margin-top: 30px;}
pre {padding: 10px; background: #E3EAF2;}
p.field, p.form-help, p.remember, p.buttons { line-height: 150%; padding-top: 1em; }
input#c_name, input#c_mail, input#c_site { background: none repeat scroll 0 0 #E3EAF2; border: medium none; width: 40%; padding: 4px; }
textarea#c_content { background: none repeat scroll 0 0 #E3EAF2; border: medium none; width: 100%; padding: 4px; }
input.submit, input.preview, #search input {background: #E3EAF2; border: none; padding: 4px; text-transform:uppercase;}
input.submit:hover, input.preview:hover, #search input:hover {background:#65798E; color:white;}
.content-inner h3 {
background: url("images/bg_post_h2.jpg") no-repeat scroll 0 0 transparent;
clear: both;
height: 60px;
margin-left: -17px;
margin-top: 60px;
padding-left: 28px;
padding-top: 20px;
text-align: justify;
}
.dc-archive-month #content-info {margin-top: 20px;}
.post-info-co a {padding: 0 12px;}
#comments-feed {margin-top: 12px;}

View File

@ -0,0 +1 @@
Deny from all

View File

@ -0,0 +1,5 @@
<div id="footer">
<p>&laquo; Japonisant &raquo; design&eacute; par <a href="http://www.jeuxdemaux.com">la l&egrave;ne</a> - {{tpl:SysPoweredBy}}</p>
</div>
{{tpl:SysBehavior behavior="publicFooterContent"}}

View File

@ -0,0 +1,146 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{tpl:BlogLanguage}}" lang="{{tpl:BlogLanguage}}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="MSSmartTagsPreventParsing" content="TRUE" />
<meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" />
<title>{{tpl:lang Archives}} - {{tpl:ArchiveDate}} - {{tpl:BlogName encode_html="1"}}</title>
<meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
<meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" />
<meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
<link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
<meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Archives}} - {{tpl:ArchiveDate}} - {{tpl:BlogName encode_html="1"}}" />
<meta name="dc.language" content="{{tpl:BlogLanguage}}" />
<meta name="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" />
<meta name="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
<meta name="dc.date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
<meta name="dc.type" content="text" />
<meta name="dc.format" content="text/html" />
<link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" />
<link rel="up" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
<link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
<tpl:ArchiveNext><link rel="next" href="{{tpl:ArchiveURL}}"
title="{{tpl:ArchiveDate encode_html="1"}}" /></tpl:ArchiveNext>
<tpl:ArchivePrevious><link rel="previous" href="{{tpl:ArchiveURL}}"
title="{{tpl:ArchiveDate encode_html="1"}}" /></tpl:ArchivePrevious>
<tpl:Entries no_content="1">
<link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
</tpl:Entries>
{{tpl:include src="_head.html"}}
</head>
<body class="dc-archive-month">
<div id="page">
{{tpl:include src="_top.html"}}
<div id="wrapper">
<div id="main">
<div id="content">
<p id="navlinks">
<tpl:ArchivePrevious><a href="{{tpl:ArchiveURL}}" class="prev">&#171; {{tpl:ArchiveDate encode_html="1"}}</a>
- </tpl:ArchivePrevious>
<a href="{{tpl:BlogArchiveURL}}">{{tpl:lang Archives}}</a>
<tpl:ArchiveNext> - <a href="{{tpl:ArchiveURL}}" class="next">{{tpl:ArchiveDate encode_html="1"}} &#187;</a></tpl:ArchiveNext>
</p>
<div id="content-info">
<h2>{{tpl:ArchiveDate}}</h2>
</div>
<div class="content-inner">
<tpl:Entries>
<div id="p{{tpl:EntryID}}" class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" xml:lang="{{tpl:EntryLang}}">
<!-- # New day date -->
<tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader>
<h2 class="post-title"><a
href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>
<p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}}
{{tpl:lang on}} {{tpl:EntryDate}}, {{tpl:EntryTime}}
<tpl:EntryIf has_category="1">
- <a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a>
</tpl:EntryIf>
</p>
<tpl:EntryTags>
<tpl:TagsHeader><ul class="post-tags"></tpl:TagsHeader>
<li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li>
<tpl:TagsFooter></ul></tpl:TagsFooter>
</tpl:EntryTags>
<!-- # --BEHAVIOR-- publicEntryBeforeContent -->
{{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
<!-- # Entry with an excerpt -->
<tpl:EntryIf extended="1">
<div class="post-content">{{tpl:EntryExcerpt}}</div>
<p class="read-it"><a href="{{tpl:EntryURL}}"
title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue
reading}}</a>...</p>
</tpl:EntryIf>
<!-- # Entry without excerpt -->
<tpl:EntryIf extended="0">
<div class="post-content">{{tpl:EntryContent}}</div>
</tpl:EntryIf>
<!-- # --BEHAVIOR-- publicEntryAfterContent -->
{{tpl:SysBehavior behavior="publicEntryAfterContent"}}
<!-- # Number of comments, trackbacks and attachments -->
<tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
<p class="post-info-co">
</tpl:EntryIf>
<tpl:EntryIf show_comments="1">
<a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
</tpl:EntryIf>
<tpl:EntryIf show_pings="1">
<a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
<tpl:EntryIf has_attachment="1">
<a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
<tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
</p>
</tpl:EntryIf>
</div>
<tpl:EntriesFooter>
<tpl:Pagination>
<p class="pagination"><tpl:PaginationIf end="0"><a href="{{tpl:PaginationURL offset="+1"}}" class="prev">&#171;
{{tpl:lang previous entries}}</a> - </tpl:PaginationIf>
{{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}}
<tpl:PaginationIf start="0"> - <a href="{{tpl:PaginationURL offset="-1"}}" class="next">{{tpl:lang next entries}}
&#187;</a></tpl:PaginationIf></p>
</tpl:Pagination>
</tpl:EntriesFooter>
</tpl:Entries>
</div>
</div>
</div> <!-- End #main -->
<div id="sidebar">
<div id="blognav">
{{tpl:Widgets type="nav"}}
</div> <!-- End #blognav -->
<div id="blogextra">
{{tpl:Widgets type="extra"}}
</div> <!-- End #blogextra -->
</div>
</div> <!-- End #wrapper -->
{{tpl:include src="_footer.html"}}
</div> <!-- End #page -->
</body>
</html>