Changeset 9173 for trunk/plugins


Ignore:
Timestamp:
Feb 11, 2011, 5:05:31 PM (14 years ago)
Author:
patdenice
Message:

Remove knwo_script from LocalFiles Editor

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}
    64function loadEditarea() {ldelim}
    75  editAreaLoader.init({ldelim}
     
    2220  jQuery.post("plugins/LocalFilesEditor/update_config.php", {ldelim} editarea: "off"});
    2321}
    24 </script>
     22
     23jQuery("#editarea_buttons").show();
     24{if $LOAD_EDITAREA == 'on'}
     25if (document.getElementById("text") != null) loadEditarea();
     26{/if}
     27{/footer_script}
    2528
    2629<div class="titrePage">
     
    97100</div>
    98101</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.