Changeset 8911 for extensions/Autosize/admin/admin_autosize.php
- Timestamp:
- Jan 26, 2011, 12:52:35 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/admin/admin_autosize.php
r8864 r8911 115 115 case 'autosize_help': 116 116 117 $message=" <fieldset id='fieldset'>117 $message=" 118 118 <script id='dimensions' src='./plugins/Autosize/js/jquery.dimensions.js'></script> 119 119 <script id='Affiche_script' src='./plugins/Autosize/js/Affiche_script.js'></script> 120 <fieldset id='fieldset'> 120 121 <div class='autosize' 121 autosize='MargeBasse:30px;MargeHaute:30px;parent:fieldset;ResizePicture:true' 122 > 123 124 <img src='./galleries/Voyages/Europe/Italie/Chianti/IMG_0520.JPG' width='100%' /> 125 </a> 122 autosize='MargeBasse:30px;MargeHaute:30px;parent:fieldset;ResizePicture:true'> 123 <img src='./plugins/Autosize/images/ECO_050.jpg ' width='100%' /> 126 124 </div> 127 125 </fieldset>"; 128 126 if (isset($_POST['valid'])) { $message = empty($_POST['texte']) ? $message : stripslashes($_POST['texte']); 129 127 } 130 //========================================================================= 131 $toolbar = 'Basic'; 132 $width = '100%'; 133 $height = '200px'; 128 //========================================================================= 129 130 131 $toolbar = 'Full'; //basic 132 $width = 'auto'; 133 $height = 'auto'; 134 134 $areas = array(); 135 135 $areas[]='texte'; 136 136 if (!empty($areas)){ 137 137 if (function_exists('set_fckeditor_instance')) 138 set_fckeditor_instance($areas, $toolbar, $width, $height); 138 { $template->set_prefilter('plugin_admin_content', 'add_remove_button'); 139 set_fckeditor_instance($areas, $toolbar, $width, $height); 140 } 139 141 } 140 141 142 143 144 145 146 147 142 148 143 $template->set_filenames(array( 'plugin_admin_content' => realpath(AUTOSIZE_PATH . 'admin/template/help.tpl' )));
Note: See TracChangeset
for help on using the changeset viewer.