Subversion Repositories Sites.tela-botanica.org

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
420 florian 1
<?php
2
 
3
if (!defined("WIKINI_VERSION"))
4
{
5
            die ("acc&egrave;s direct interdit");
6
}
7
 
8
 
9
 
10
if ($this->GetMethod() == "edit") {
11
	$plugin_output_new=preg_replace ('/<\/head>/',
12
	'
13
	<style type="text/css">
14
	.buttons { background: #ccc; border: 1px solid #ccc; margin: 1; float:left; }
15
	.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; }
16
	.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; }
17
	/* ci dessous les petits champs */
18
	.ACsearchbox { background: #FFFFF8; border: 0px; border-bottom: 1px solid #CCCCAA; padding: 0px; margin: 0px; font-size: 10px; }
19
	.texteChampsImage {font-size: 10px; }
20
	#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; }
21
	#toolbar_suite { 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; }
22
	</style>
23
	<script type="text/javascript" src="tools/aceditor/ACeditor.js"></script>
24
	</head>
25
	',
26
	$plugin_output_new);
27
 
28
 
29
	$plugin_output_new=preg_replace ('/<body /',
30
	"<body onload=\"thisForm=document.ACEditor;\""
31
	,
32
	$plugin_output_new);
33
 
34
}