954 |
florian |
1 |
<?php
|
|
|
2 |
if ($this->GetMethod() == "edit") {
|
|
|
3 |
$plugin_output_new=preg_replace ('/<\/head>/',
|
|
|
4 |
'
|
|
|
5 |
<style type="text/css">
|
|
|
6 |
.buttons { background: #ccc; border: 1px solid #ccc; margin: 1; float:left; }
|
|
|
7 |
.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; }
|
|
|
8 |
.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; }
|
|
|
9 |
/* ci dessous les petits champs */
|
|
|
10 |
.ACsearchbox { background: #FFFFF8; border: 0px; border-bottom: 1px solid #CCCCAA; padding: 0px; margin: 0px; font-size: 10px; }
|
|
|
11 |
.texteChampsImage {font-size: 10px; }
|
|
|
12 |
#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; }
|
|
|
13 |
#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; }
|
|
|
14 |
</style>
|
|
|
15 |
<script type="text/javascript" src="tools/aceditor/ACeditor.js"></script>
|
|
|
16 |
</head>
|
|
|
17 |
',
|
|
|
18 |
$plugin_output_new);
|
|
|
19 |
$plugin_output_new=preg_replace ('/<body /',
|
|
|
20 |
"<body onload=\"thisForm=document.ACEditor;\""
|
|
|
21 |
,
|
|
|
22 |
$plugin_output_new);
|
|
|
23 |
|
|
|
24 |
}
|