Changeset 9173
- Timestamp:
- Feb 11, 2011, 5:05:31 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/LocalFilesEditor/admin.tpl
r8225 r9173 1 {html_head}<link rel="stylesheet" type="text/css" href="{$LOCALEDIT_PATH}locfiledit.css">{/html_head} 2 {known_script id="editarea" src=$LOCALEDIT_PATH|@cat:"editarea/edit_area_full.js"} 3 <script type="text/javascript"> 4 var editarea = "{$LOAD_EDITAREA}"; 5 1 {html_head}<script type="text/javascript" src="{$ROOT_URL}plugins/LocalFilesEditor/editarea/edit_area_full.js"></script>{/html_head} 2 {combine_css path="plugins/LocalFilesEditor/locfiledit.css"} 3 {footer_script} 6 4 function loadEditarea() {ldelim} 7 5 editAreaLoader.init({ldelim} … … 22 20 jQuery.post("plugins/LocalFilesEditor/update_config.php", {ldelim} editarea: "off"}); 23 21 } 24 </script> 22 23 jQuery("#editarea_buttons").show(); 24 {if $LOAD_EDITAREA == 'on'} 25 if (document.getElementById("text") != null) loadEditarea(); 26 {/if} 27 {/footer_script} 25 28 26 29 <div class="titrePage"> … … 97 100 </div> 98 101 </form> 99 100 <script type="text/javascript">101 jQuery("#editarea_buttons").show();102 if ((editarea == "on") && (document.getElementById("text") != null)) loadEditarea();103 </script>
Note: See TracChangeset
for help on using the changeset viewer.