Line 41... |
Line 41... |
41 |
<?php if ($this->GetMethod() != 'show')
|
41 |
<?php if ($this->GetMethod() != 'show')
|
42 |
echo "<meta name=\"robots\" content=\"noindex, nofollow\"/>\n";?>
|
42 |
echo "<meta name=\"robots\" content=\"noindex, nofollow\"/>\n";?>
|
43 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
|
43 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
|
44 |
<meta name="keywords" content="<?php echo $this->GetConfigValue("meta_keywords") ?>" />
|
44 |
<meta name="keywords" content="<?php echo $this->GetConfigValue("meta_keywords") ?>" />
|
45 |
<meta name="description" content="<?php echo $this->GetConfigValue("meta_description") ?>" />
|
45 |
<meta name="description" content="<?php echo $this->GetConfigValue("meta_description") ?>" />
|
46 |
<link rel="stylesheet" type="text/css" media="screen" href="wakka.basic.css" />
|
- |
|
47 |
<style type="text/css" media="all"> @import "<?php echo (!$_COOKIE["sitestyle"])?'wakka':$_COOKIE["sitestyle"] ?>.css";</style>
|
46 |
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo (!isset($_COOKIE["sitestyle"]))?'wakka':$_COOKIE["sitestyle"] ?>.css" />
|
48 |
<script type="text/javascript">
|
47 |
<script type="text/javascript">
|
49 |
function fKeyDown() {
|
48 |
function fKeyDown() {
|
50 |
if (event.keyCode == 9) {
|
49 |
if (event.keyCode == 9) {
|
51 |
event.returnValue= false;
|
50 |
event.returnValue= false;
|
52 |
document.selection.createRange().text = String.fromCharCode(9) } }
|
51 |
document.selection.createRange().text = String.fromCharCode(9) } }
|
53 |
</script>
|
52 |
</script>
|
54 |
<!-- The ACeditor contribution -->
|
- |
|
55 |
<style type="text/css">
|
- |
|
56 |
.buttons { background: #ccc; border: 1px solid #ccc; margin: 1; float:left; }
|
- |
|
57 |
.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; }
|
- |
|
58 |
.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; }
|
- |
|
59 |
/* ci dessous les petits champs */
|
- |
|
60 |
.ACsearchbox { background: #FFFFF8; border: 0px; border-bottom: 1px solid #CCCCAA; padding: 0px; margin: 0px; font-size: 10px; }
|
- |
|
61 |
.texteChampsImage {font-size: 10px; }
|
- |
|
62 |
#toolbar { margin: 0; width: 450px; 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; }
|
- |
|
63 |
</style>
|
- |
|
64 |
<script type="text/javascript" src="ACeditor.js"></script>
|
- |
|
65 |
<!-- End on The ACEditor Contrib -->
|
- |
|
66 |
</head>
|
53 |
</head>
|
Line 67... |
Line 54... |
67 |
|
54 |
|
- |
|
55 |
|
Line 68... |
Line -... |
68 |
|
- |
|
Line 69... |
Line 56... |
69 |
<body <?php echo (!$user || ($user["doubleclickedit"] == 'Y')) && ($this->GetMethod() == "show") ? "ondblclick=\"document.location='".$this->href("edit")."';\" " : "" ?>
|
56 |
<body <?php echo (!$user || ($user["doubleclickedit"] == 'Y')) && ($this->GetMethod() == "show") ? "ondblclick=\"document.location='".$this->href("edit")."';\" " : "" ?>
|
Line 70... |
Line -... |
70 |
|
- |
|
71 |
<?php /* ACeditor*/ echo "onLoad=\"thisForm=document.ACEditor;\""?> >
|
- |
|
72 |
|
- |
|
73 |
<div style="display: none;"><a href="<?php echo $this->href() ?>/resetstyle" accesskey="7"></a></div>
|
- |
|
74 |
|
- |
|
75 |
<?
|
- |
|
76 |
$menu_page=$this->config["menu_page"];
|
57 |
<?php echo $message ? "onLoad=\"alert('".$message."');\" " : "" ?> >
|
77 |
if (version_compare(phpversion(), '5.0') < 0) {
|
- |
|
78 |
eval('
|
- |
|
79 |
if (!function_exists("clone")) {
|
- |
|
80 |
function clone($object) {
|
- |
|
81 |
return $object;
|
- |
|
82 |
}
|
- |
|
83 |
}
|
- |
|
84 |
');
|
- |
|
85 |
}
|
- |
|
86 |
if (isset($menu_page) and ($menu_page!=""))
|
- |
|
87 |
{
|
- |
|
88 |
// Ajout Menu de Navigation
|
58 |
|
89 |
echo '<table class="page_table">';
|
59 |
|
90 |
echo '<tr><td class="menu_column">';
|
- |
|
91 |
$wikiMenu = clone($this);
|
60 |
<div style="display: none;"><a href="<?php echo $this->href() ?>/resetstyle" accesskey="7"></a></div>
|
92 |
$wikiMenu->tag=$menu_page;
|
- |
|
93 |
$wikiMenu->SetPage($wikiMenu->LoadPage($wikiMenu->tag));
|
- |
|
94 |
echo $wikiMenu->Format($wikiMenu->page["body"], "wakka");
|
- |
|
95 |
echo '</td>';
|
61 |
|
96 |
echo '<td class="body_column">';
|
- |
|
97 |
}
|
- |
|
98 |
?>
|
62 |
<div id="container">
|
99 |
|
63 |
<table id="page_table" border="0" cellspacing="0" cellpadding="0">
|
100 |
<h1 class="wiki_name"><?php echo $this->config["wakka_name"] ?></h1>
|
64 |
<tr><td id="logo_ekotribu"><a id="lien_logo_ekotribu" href="http://ekotribu.org" title="Retour a la page d'accueil Ekotribu"><img alt="logo" src="images/Logo-wiki.png" /></a></td>
|
101 |
|
65 |
<td id="bandeau_haut">
|
102 |
|
66 |
<h1 class="wiki_name"><?php echo $this->config["wakka_name"] ?></h1>
|
103 |
<h1 class="page_name">
|
- |
|
104 |
<a href="<?php echo $this->config["base_url"] ?>RechercheTexte&phrase=<?php echo urlencode($this->GetPageTag()); ?>">
|
- |
|
105 |
<?php echo $this->GetPageTag(); ?>
|
67 |
<h1 class="page_name">
|
106 |
</a>
|
68 |
<a href="<?php echo $this->config["base_url"] ?>RechercheTexte&phrase=<?php echo htmlentities($this->GetPageTag()); ?>">
|
107 |
</h1>
|
69 |
<?php echo htmlentities($this->GetPageTag()); ?>
|
108 |
|
70 |
</a>
|
109 |
|
71 |
</h1>
|
110 |
<div class="header">
|
72 |
<div class="header">
|
111 |
<?php echo $this->ComposeLinkToPage($this->config["root_page"]); ?> ::
|
73 |
<?php echo $this->ComposeLinkToPage($this->config["root_page"]); ?> ::
|