Ignore:
Timestamp:
01/20/08 23:13:25 (12 years ago)
Author:
ray
Message:

#1132 [ExtendedFileManager?] new Version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/ExtendedFileManager/manager.php

    r857 r937  
    66 * Version: Updated on 04-07-2006 by Krzysztof Kotowicz 
    77 * Version: Updated on 29-10-2006 by Raimund Meyer 
    8  * Package: ExtendedFileManager (EFM 1.1.3) 
     8 * Version: Updated on 20-01-2008 by Raimund Meyer 
     9 * Package: ExtendedFileManager (EFM 1.4) 
    910 * http://www.afrusoft.com/htmlarea 
    1011 */ 
     
    105106        ?> 
    106107         
     108        var iframeUrl = '<?php print $IMConfig['backend_url']; ?>__function=images&mode=<?php echo $insertMode;?>&viewtype=<?php echo $IMConfig['view_type'] ?>'; 
     109 
    107110/* ]]> */ 
    108111</script> 
     
    111114<body class="dialog" > 
    112115<div class="title">Insert <?php echo ($insertMode == 'image' ? 'Image' : 'File Link') ?></div> 
    113 <form action="<?php print $IMConfig['backend_url']; ?>" id="uploadForm" method="post" enctype="multipart/form-data"> 
     116<form action="<?php print htmlspecialchars($IMConfig['backend_url']); ?>" id="uploadForm" method="post" enctype="multipart/form-data"> 
    114117<input type="hidden" name="__plugin" value="ExtendedFileManager" /> 
    115118<input type="hidden" name="__function" value="images" /> 
     
    119122<table border="0" cellpadding="0" cellspacing="0" width="100%"> 
    120123<tr> 
    121 <td nowrap style="padding:10px;"> 
     124<td nowrap="nowrap" style="padding:10px;"> 
    122125 
    123126        <label for="dirPath">Directory</label> 
     
    137140<span id="pasteBtn"></span> 
    138141 
    139         <select name="viewtype" id="viewtype" onChange="updateView()"> 
    140         <option value="thumbview" <?php if($IMConfig['view_type']=="thumbview") echo "selected";?> >Thumbnail View</option> 
    141         <option value="listview" <?php if($IMConfig['view_type']=="listview") echo "selected";?> >List View</option> 
     142        <select name="viewtype" id="viewtype" onchange="updateView()"> 
     143        <option value="thumbview" <?php if($IMConfig['view_type']=="thumbview") echo 'selected="selected"';?> >Thumbnail View</option> 
     144        <option value="listview" <?php if($IMConfig['view_type']=="listview") echo 'selected="selected"';?> >List View</option> 
    142145        </select> 
    143146</td> 
     
    145148<tr><td style="padding:10px; padding-top:0px;"> 
    146149        <div id="messages"><span id="message">Loading</span><img src="<?php print $IMConfig['base_url'];?>img/dots.gif" width="22" height="12" alt="..." /></div> 
    147         <iframe src="<?php print $IMConfig['backend_url']; ?>__function=images&amp;mode=<?php echo $insertMode;?>&amp;viewtype=<?php echo $IMConfig['view_type'] ?>" name="imgManager" id="imgManager" class="imageFrame" scrolling="auto" title="Image Selection" frameborder="0"></iframe> 
     150        <iframe src="about:blank" name="imgManager" id="imgManager" class="imageFrame" scrolling="auto" title="Image Selection" frameborder="0"></iframe> 
    148151</td></tr> 
    149152</table> 
    150153</fieldset> 
    151154<!-- image properties --> 
     155<div id="controls"> 
    152156        <table class="inputTable"> 
    153157                <tr> 
    154                         <td align="right" nowrap><label for="f_url"><?php if($insertMode=='image') echo 'File Name'; else echo 'URL';?></label></td> 
     158                        <td align="right" nowrap="nowrap"><label for="f_url"><?php if($insertMode=='image') echo 'File Name'; else echo 'URL';?></label></td> 
    155159                        <td colspan="5"><input type="text" id="<?php if($insertMode=='image') echo 'f_url'; else echo 'f_href';?>" class="largelWidth" value="" /></td> 
    156160            <td rowspan="<?php echo $num_rows ?>" colspan="2" valign="top" align="center"><?php if($insertMode=='image') { ?> 
     
    274278          <button type="button" class="buttons" onclick="return onCancel();">Cancel</button> 
    275279    </div> 
     280</div> 
    276281</form> 
    277282</body> 
Note: See TracChangeset for help on using the changeset viewer.