Subversion Repositories Applications.wikini

Compare Revisions

Ignore whitespace Rev 14 → Rev 15

/trunk/tools/ppdg_style/wakka.admin.css
New file
0,0 → 1,100
/* GENERAL */
.missingpage+a {
display:inline;
}
/* ADMINISTRATION : entête, pieds de page, nom du wiki, nom de la page, formulaire édition */
.footer, .header {
padding: 5px;
margin: 0;
background: #cfcfcf;
border: 1px solid gray;
font-size: 0.8em;
text-align: center;
}
.footer a, .header a {
color:black;
}
.wiki_name {
color: white;
float: left;
font-size: 1.8em;
margin: 0px 0px 0px 100px;
padding: 10px;
}
.page_name {
position: absolute;
top: 5px;
right: 5px;
font-size: 1.4em;
margin: 0;
padding: 0;
}
.edit {
width: 100%;
height: 400px;
}
 
/* CONTRIBUTION ACTION ATTACH */
/* - les images */
/* - les images */
.attach_maj{display:inline;}
 
/* - le gestionnaire des uploads */
.tableFM {border: thin solid Black; width: 100%; }
.tableFM thead { background-color: Silver; font-weight: bold; text-align: center; }
.tableFM tfoot { background-color: Silver; font-weight: bold; text-align: left; }
.tableFM tbody tr { text-align: center; }
.tableFMCol1 { background-color: Aqua; }
.tableFMCol2 { background-color: Yellow; }
 
/* CONTRIBUTION ACeditor */
#toolbar {
margin: 0;
padding: 0;
height:20px;
background: #ccc;
border-top: 1px solid buttonhighlight;
border-left: 1px solid buttonhighlight;
border-bottom: 1px solid buttonshadow;
border-right: 1px solid buttonshadow;
text-align:left;
}
#toolbar img {
margin:0;
}
.buttons {
background: #ccc;
border: 1px solid #ccc;
margin: 1px;
float:left;
}
.raise{
border-top: 1px solid buttonhighlight;
border-left: 1px solid buttonhighlight;
border-bottom: 1px solid buttonshadow;
border-right: 1px solid buttonshadow;
background: #ccc;
margin:1;
float:left;
}
.press {
border-top: 1px solid buttonshadow;
border-left: 1px solid buttonshadow;
border-bottom: 1px solid buttonhighlight;
border-right: 1px solid buttonhighlight;
background: #ccc;
margin:1;
float:left;
}
.ACsearchbox {
background: #FFFFF8;
border: 0;
border-bottom: 1px solid #CCCCAA;
padding: 0;
margin: 0;
font-size:0.8em;
}
.texteChampsImage {
font-size: 0.8em;
}
 
/trunk/tools/ppdg_style/desc.xml
New file
0,0 → 1,6
<?xml version="1.0" encoding="ISO-8859-1"?>
<plugin name="wkppdg_style" version="0.1" active="1">
<author>Jean-Pascal MILCENT</author>
<label>Pierre du Pont du Gard - Styles</label>
<desc>Styles du site de la Pierre du Pont du Gard </desc>
</plugin>
/trunk/tools/ppdg_style/index.php
New file
0,0 → 1,30
<?php
// Administration
 
 
// Vérification de sécurité
if (!defined("TOOLS_MANAGER"))
{
die ("acc&egrave;s direct interdit");
}
 
 
buffer::str(
'
Ajouter les lignes suivantes dans le fichier wakka.css pour personnaliser
votre menu de navigation :
<br>
<code>
.page_table {margin: 0px; padding: 0px ; border: none; height: 100%;width: 100%;}
<br>
.menu_column {background-color: #FFFFCC; vertical-align: top; width: 150px; border: 1px solid #000000;padding:5px;}
<br>
.body_column {vertical-align: top; border: none;padding:5px;}
<br>
</code>
'
 
 
);
 
?>
/trunk/tools/ppdg_style/actions/header__.php
New file
0,0 → 1,80
<?php
 
if (!defined("WIKINI_VERSION"))
{
die ("acc&egrave;s direct interdit");
}
$plugin_output_new = preg_replace ('/<link.*style>/ms',
'<!-- STYLE_DEBUT -->
<link rel="stylesheet" type="text/css" media="screen" href="tools/ppdg_style/wakka.basic.css" />
<style type="text/css" media="all">
<!--
@import url(tools/ppdg_style/'.$imported_style.'.css);
-->
</style>
<!-- STYLE_FIN -->',
$plugin_output_new);
 
$user = $this->GetUser();
if ($user) {
$plugin_output_new = preg_replace ('/<!-- STYLE_FIN -->/',
'<style type="text/css" media="all"> @import "tools/ppdg_style/wakka.admin.css";</style>
<!-- STYLE_FIN -->',
$plugin_output_new);
}
 
$plugin_output_new = preg_replace ('/<!-- STYLE_FIN -->/',
'<link rel="stylesheet" type="text/css" media="print" href="tools/ppdg_style/wakka.print.css" />
<!-- STYLE_FIN -->',
$plugin_output_new);
 
$plugin_output_new = preg_replace('/<body (onload="[^"]"|).*$/ms',
'<body $1'.$body_attr.'>
<!-- ENTETE_DEBUT -->
<div id="entete">
<div id="logo">
<a href="/"><img src="bibliotheque/images/graphisme/logo.jpg" alt="Logo de la Carrière la Pierre du Pont du Gard Authentique."/></a>
</div>
<div style="display: none;"><a href="'.$page_addr.'/resetstyle" accesskey="7"></a></div>
<div id="site_titre">
<h1>La pierre du pont du gard authentique</h1>
</div>
<!-- PAGE_NOM -->
<!-- RECHERCHE -->
<!-- COMMUN -->
<!-- ENTETE_FIN -->
<!-- NAVIGATION -->
<!-- ADMIN -->',
$plugin_output_new);
 
if ($user) {
$plugin_output_new = preg_replace ('/<!-- PAGE_NOM -->/',
'<h1 class="page_name">
<a href="'.$page_search.'">'.$page_name.'</a>
</h1>',
$plugin_output_new);
}
 
$plugin_output_new = preg_replace ('/<!-- RECHERCHE -->/',
$this->FormOpen('', 'RechercheTexte', 'get').
'<p id="moteur_recherche">
<input id="phrase" name="phrase" type="text" size="15" value="Rechercher" onclick="javascrip:this.value=\'\';" />
<input id="ok" name="ok" type="submit" value="OK" />
</p>'.
$this->FormClose(),
$plugin_output_new);
 
$plugin_output_new = preg_replace ('/<!-- COMMUN -->/',
'<div id="commun">
<p>
<a href="wakka.php?wiki=PlanDuSite">Plan du Site</a>
<a id="aller_menu" href="#menu">Aller au menu</a>
<a id="aller_contenu" href="#corps">Aller au contenu</a>
</p>
</div>',
$plugin_output_new);
 
$plugin_output_new = preg_replace ('/<!-- ENTETE_FIN -->/',
"</div>\n<!-- ENTETE_FIN -->\n",
$plugin_output_new);
?>
/trunk/tools/ppdg_style/actions/footer__.php
New file
0,0 → 1,21
<?
if (!defined("WIKINI_VERSION")) {
die ("acc&egrave;s direct interdit");
}
$user = $this->GetUser();
if (!$user) {
$plugin_output_new = preg_replace ('/^.*<\/body>/ms',
'</body>',
$plugin_output_new);
}
 
$plugin_output_new = preg_replace ('/<\/body>/',
'<div class="copyright">
S.A.R.L. La Pierre du Pont du Gard Authentique - N° SIRET: 339 291 015 00016 -
Fonctionne avec '.$wikini_site_url."\n".
'-'.$this->Link("Identification", "", "Administration")."\n".
'</div>
</body>',
$plugin_output_new);
 
?>
/trunk/tools/ppdg_style/wakka.print.css
New file
0,0 → 1,12
#navigation, #moteur_recherche, #commun, .copyright {
display:none;
}
#logo {
position: relative;
float:left;
}
#corps {
position: relative;
top:116px;
left:0;
}
/trunk/tools/ppdg_style/wakka.basic.css
New file
0,0 → 1,121
/* GENERAL */
body {
background-color: white;
color: black;
font-family: Arial, Helvetica, sans-serif, 'Lucida Grande', Verdana, Geneva, Lucida;
}
a {
color: #bca46e;
font-weight: bold;}
h1, h2, h3, h4, h5, form {
margin: 0;
padding: 0;
}
ul, ol {
margin-top: 0;
padding-top: 0;
padding-bottom: 0;}
tt {
color: Navy;}
address{
font-size: 1.2em;}
/* ENTÊTE */
.header {
padding: 10px;
padding-top: 0;}
#site_titre h1 {
font-size:1.6em;
padding:0;
margin:0;
}
/* PAGE */
.page {
background-color: white;
padding: 10px;}
h1 {
color: white;
font-size: 1.7em;
font-weight: bold;}
h2 {
margin: 2px 2px 2px 20px;
color: black;
font-size: 1.5em;
font-weight: bold;}
h3 {
margin: 2px 2px 2px 40px;
color: black;
font-size: 1.3em;
font-weight: bold;}
h4 {
margin: 2px 2px 2px 60px;
color: black;
font-size: 1.1em;
font-style: italic;}
.page li {
padding-bottom: 0.8em;}
/* ADMINISTRATION :*/
.edit {
width: 100%;
height: 400px;}
.footer {
clear: both;
background-color: #DDDDDD;
padding: 5px;
border: 1px inset;}
.prev_alert {
background-color: red;
color: white;
font-size: 1.7em;
font-weight: bold;
margin-bottom: 5px;}
/* DIVERS */
.commentsheader{
visibility:hidden;}
.error {
color: #CC3333;
font-weight: bold;}
.indent {
margin-left: 40px;}
.additions {
color: #008800;}
.deletions {
color: #880000;}
.add {
font-weight: bold;
color:#c00;
text-decoration: underline; }
.del {
font-style: italic;
color:#c00;
text-decoration: line-through;}
.code {
background: #FFFFFF;
border: solid #888888 2px;
font-family: "Courier New", Courier;
color: black;
font-size: 0.8em;
width: 100%;
height: 400px;
overflow: scroll;
padding: 3px;}
.revisioninfo {
color: #AAAAAA;
padding-bottom: 20px;}
.copyright {
font-size: 0.8em;
color: #AAAAAA;
text-align: right;}
.copyright a {
color: #AAAAAA;}
.searchbox {
background: #FFFFF8;
border: 0;
border-bottom: 1px solid #CCCCAA;
padding: 0;
margin: 0;}
.hr_clear{
clear:both;
display:none;}
.debug {
font-size: 0.8em;
color: #888888;}
/trunk/tools/ppdg_style/wakka.css
New file
0,0 → 1,190
/* GENERAL */
body {
background: url(../../bibliotheque/images/graphisme/navigation_fond.jpg) repeat-y top left;}
body, form{
margin: 0;
padding: 0;}
ol, ul {
margin: 0.5em;
padding: 0;}
a {
text-decoration:none;
border-bottom: 1px dotted black;}
a:hover {
text-decoration: underline;
border-bottom: 0 none;
font-weight: bold;}
img {
display:block;
margin: 5px 10px;
border-style: solid;
border-bottom-color: #333333;
border-right-color: #555555;
border-left-color: #BBBBBB;
border-top-color: #DDDDDD;}
.missingpage+a {
display:none;}
.titre_a_droite {
text-align: right;}
/* MENU GAUCHE */
#navigation {
background-color: #eec860;}
#menu {
position: absolute;
top: 116px;
left: 0;
width: 150px;
margin: 5px 5px 0 5px;
background: url(../../bibliotheque/images/graphisme/menu_contenu.jpg) repeat-y;
background-color: #f5d58f;
border: none;
font-size: small;
font-weight: bold;}
#menu br {
margin:0;
padding:0;}
#menu li {
margin:0;
padding:5px 0 0 0;}
#menu ul {
margin-top:0;
list-style-type: none;}
#menu ul ul {
margin: 0 0 0 5px;
list-style-type: none;}
#menu_debut, #menu_fin {
display: none;}
#menu .indent{
margin-left: 5px;}
#menu a {
color: white;
font-size: 1.1em;
font-weight: bold;}
#titre_menu {
margin:0;
padding:0;
background: url(../../bibliotheque/images/graphisme/menu_haut.jpg) no-repeat top left;}
#titre_contenu {
height:30px;
width:150px;
margin:0;
padding:0;
background: url(../../bibliotheque/images/graphisme/menu_bas.jpg) no-repeat bottom left;}
 
/* ENTÊTE */
#entete {
position: absolute;
top: 0;
left: 0;
margin: 0;
padding: 0;
height: 116px;
width: 100%;
background: url(../../bibliotheque/images/graphisme/entete_fond.jpg) repeat-x;
background-color: #eec860;}
#logo {
position: absolute;
top: 0;
left: 0;
height: 88px;
width: 105px;
margin: 5px;
padding: 0;}
#logo img{
margin:0;
padding:0;
border:none;}
#logo a {
border-bottom: 0 none;}
#site_titre {
position: absolute;
top: 5px;
left: 178px;
height: 87px;
width: 440px;
padding:0.8em 0 0 0;
margin:0;
background: url(../../bibliotheque/images/graphisme/entete_titre_fond.jpg) no-repeat;}
#site_titre h1 {
text-align: center;
text-transform:uppercase;
color:white;
font-weight:bold;}
#commun {
position: absolute;
top: 65px;
right: 5px;}
#commun a {
color: black;}
#aller_menu, #aller_contenu {
display: none;}
#moteur_recherche {
position: absolute;
top: 35px;
right: 5px;
margin: 0;}
#moteur_recherche input {
background: #FFFFF8;}
 
/* CORPS */
#corps {
position: absolute;
top: 116px;
left: 178px;
margin: 0;
padding: 0;
min-height: 332px;
width:auto;
min-width:400px;
background: url(../../bibliotheque/images/graphisme/arche.jpg) no-repeat top left;}
 
/* PAGE */
.page {
background-color: transparent;
height:100%;
min-height: 332px;
padding: 1em;
text-align: justify;}
.page h1 {
padding:5px;
background-color: #bca46e;
text-align: center;
text-transform:uppercase;}
.page h2, #titre_menu, #titre_contenu {
clear: both;
text-transform:uppercase;}
.page h3 {
clear: both;}
.page h4 {
clear: both;}
 
/* DIVERS */
.commentsheader{
display:none;}
.nettoyeur, .copyright {
clear:both;
margin: 0;
padding: 0;}
 
/* CONTRIBUTION ACTION ATTACH */
/* - les images */
.attach_maj{display:none;}
/* marge de 0.5 em autour de l'image*/
.attach_margin05em { margin: 0.5em;}
/* marge de 1em autour de l'image*/
.attach_margin1em { margin: 1em;}
/* bloc flotant ? gauche */
.attach_left {float: left;}
/* bloc flotant ? droite */
.attach_right {float: right;}
/* bloc flotant centré */
.attach_center {text-align:center;}
/* pas de bordure */
.attach_noborder {border-width: 0;}
/* aligenement vertical au milieu */
.attach_vmiddle {vertical-align: text-bottom;}
 
/* CONTRIBUTION ACeditor */
.image_left, .flotant_gauche {float: left;} /* bloc flotant ? gauche */
.image_right, .flotant_droit {float: right;} /* bloc flotant ? droite */
.image_center {text-align:center;} /* bloc centr? */