Subversion Repositories Applications.papyrus

Rev

Rev 1087 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?php
if ($this->GetMethod() == "edit") {
        $plugin_output_new=preg_replace ('/<\/head>/',
        '
        <style type="text/css">
        .buttons { background: #ccc; border: 1px solid #ccc; margin: 1; 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; }
        /* ci dessous les petits champs */
        .ACsearchbox { background: #FFFFF8; border: 0px; border-bottom: 1px solid #CCCCAA; padding: 0px; margin: 0px; font-size: 10px; }
        .texteChampsImage {font-size: 10px; }
        #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; }
        #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; }
        </style>
        <script type="text/javascript" src="tools/aceditor/ACeditor.js"></script> 
        </head>   
        ',
        $plugin_output_new);
        $plugin_output_new=preg_replace ('/<body /',
        "<body onload=\"thisForm=document.ACEditor;\""
        ,
        $plugin_output_new);
        
}