Ignore:
Timestamp:
04/12/08 12:39:04 (12 years ago)
Author:
ray
Message:

#1179 minor html syntax changes

Location:
trunk/plugins/ImageManager
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/ImageManager/editor.php

    r937 r987  
    6969                <div id="tool_inputs"> 
    7070                        <select id="flip" name="flip" style="margin-left: 10px; vertical-align: middle;"> 
    71               <option selected>Flip Image</option> 
     71              <option selected="selected">Flip Image</option> 
    7272              <option>-----------------</option> 
    7373              <option value="hoz">Flip Horizontal</option> 
     
    7575         </select> 
    7676                        <select name="rotate" onchange="rotatePreset(this)" style="margin-left: 20px; vertical-align: middle;"> 
    77               <option selected>Rotate Image</option> 
     77              <option selected="selected">Rotate Image</option> 
    7878              <option>-----------------</option> 
    7979 
     
    106106                        <label for="save_filename">Filename:</label><input type="text" id="save_filename" value="<?php echo $editor->getDefaultSaveFile();?>"/> 
    107107                        <select name="format" id="save_format" style="margin-left: 10px; vertical-align: middle;" onchange="updateFormat(this)"> 
    108             <option value="" selected>Image Format</option> 
     108            <option value="" selected="selected">Image Format</option> 
    109109            <option value="">---------------------</option> 
    110110            <option value="jpeg,85">JPEG High</option> 
     
    121121                                <td> 
    122122                                        <div id="slidercasing">  
    123                                 <div id="slidertrack" style="width:100px"><img src="<?php print $IMConfig['base_url'];?>img/spacer.gif" width="1" height="1" border="0" alt="track"></div> 
    124             <div id="sliderbar" style="left:85px" onmousedown="captureStart();"><img src="<?php print $IMConfig['base_url'];?>img/spacer.gif" width="1" height="1" border="0" alt="track"></div> 
     123                                <div id="slidertrack" style="width:100px"><img src="<?php print $IMConfig['base_url'];?>img/spacer.gif" width="1" height="1" border="0" alt="track" /></div> 
     124            <div id="sliderbar" style="left:85px" onmousedown="captureStart();"><img src="<?php print $IMConfig['base_url'];?>img/spacer.gif" width="1" height="1" border="0" alt="track" /></div> 
    125125                        </div>   
    126126                                </td> 
  • trunk/plugins/ImageManager/images.php

    r877 r987  
    8383              <th><a href="#" class="thumb" style="cursor: pointer;" onclick="selectImage('<?php echo $file['relative'];?>', '<?php echo $entry; ?>', <?php echo $file['image'][0];?>, <?php echo $file['image'][1]; ?>);return false;" title="<?php echo $entry; ?> - <?php echo Files::formatSize($file['stat']['size']); ?>" onmouseover="showPreview('<?php echo $file['relative'];?>')" onmouseout="showPreview(window.parent.document.getElementById('f_url').value)" ><?php echo $entry ?></a></th> 
    8484              <td><?php echo Files::formatSize($file['stat']['size']); ?></td> 
    85               <td><?php if($file['image']){ echo $file['image'][0].'x'.$file['image'][1]; } ?> 
     85              <td><?php if($file['image']){ echo $file['image'][0].'x'.$file['image'][1]; } ?></td> 
    8686              <td class="actions"> 
    8787                <a href="<?php print $IMConfig['backend_url']; ?>__function=images&dir=<?php echo $relative; ?>&amp;delf=<?php echo rawurlencode($file['relative']);?>" title="Trash" onclick="return confirmDeleteFile('<?php echo $entry; ?>');"><img src="<?php print $IMConfig['base_url'];?>img/edit_trash.gif" height="15" width="15" alt="Trash" border="0"  /></a> 
  • trunk/plugins/ImageManager/manager.php

    r927 r987  
    5757<form action="<?php print $IMConfig['backend_url'] ?>" id="uploadForm" method="post" enctype="multipart/form-data"> 
    5858 
    59 <input type="hidden" name="__plugin" value="ImageManager"> 
    60 <input type="hidden" name="__function" value="images"> 
     59<input type="hidden" name="__plugin" value="ImageManager" /> 
     60<input type="hidden" name="__function" value="images" /> 
    6161 
    6262<fieldset> 
     
    9696        ?> 
    9797        <tr> 
    98           <th align="left">Upload:</th> 
     98          <th style="text-align: left;">Upload:</th> 
    9999          <td colspan="2"> 
    100100            <input type="file" name="upload" id="upload" /> 
     
    108108  </table> 
    109109 
    110   <div id="messages" style="display: none;"><span id="message"></span><img SRC="<?php print $IMConfig['base_url']; ?>img/dots.gif" width="22" height="12" alt="..." /></div> 
     110  <div id="messages" style="display: none;"><span id="message"></span><img src="<?php print $IMConfig['base_url']; ?>img/dots.gif" width="22" height="12" alt="..." /></div> 
    111111 
    112112  <iframe src="<?php print $IMConfig['backend_url']; ?>__function=images" name="imgManager" id="imgManager" class="imageFrame" scrolling="auto" title="Image Selection" frameborder="0"></iframe> 
     
    118118<table  border="0" cellspacing="0" cellpadding="0" width="100%"> 
    119119  <tr> 
    120     <th align="left">Description:</th> 
     120    <th style="text-align: left;">Description:</th> 
    121121    <td colspan="6"> 
    122122      <input type="text" id="f_alt" style="width:95%"/> 
    123123    </td> 
    124     <td rowspan="4" width="100" height="100" valign="middle" style="padding:4px;background-color:#CCC;border:1px inset;"> 
     124    <td rowspan="4" width="100" height="100" style="vertical-align: middle;" style="padding:4px;background-color:#CCC;border:1px inset;"> 
    125125      <img src="" id="f_preview" /> 
    126126    </td> 
     
    128128 
    129129  <tr> 
    130     <th align="left">Width:</th> 
     130    <th style="text-align: left;">Width:</th> 
    131131    <td > 
    132132      <input id="f_width" type="text" name="f_width" size="4" onchange="javascript:checkConstrains('width');" /> 
     
    134134    <td rowspan="2"> 
    135135      <div  style="position:relative"> 
    136         <img src="<?php print $IMConfig['base_url']; ?>img/locked.gif" id="imgLock" width="25" height="32" alt="Constrained Proportions" valign="middle" /><input type="checkbox" id="constrain_prop" checked="checked" onclick="javascript:toggleConstrains(this);" style="position:absolute;top:8px;left:0px;" /> 
     136        <img src="<?php print $IMConfig['base_url']; ?>img/locked.gif" id="imgLock" width="25" height="32" alt="Constrained Proportions" style="vertical-align: middle;" /><input type="checkbox" id="constrain_prop" checked="checked" onclick="javascript:toggleConstrains(this);" style="position:absolute;top:8px;left:0px;" /> 
    137137      </div> 
    138138    </td> 
    139     <th align="left" class="fullOptions">Margin:</th> 
     139    <th style="text-align: left;" class="fullOptions">Margin:</th> 
    140140    <td colspan="3" class="fullOptions"> 
    141141      <input name="f_margin" type="text" id="f_margin" size="3" /> 
     
    144144 
    145145  <tr> 
    146     <th align="left">Height:</th> 
     146    <th style="text-align: left;">Height:</th> 
    147147    <td> 
    148148      <input name="f_height" type="text" id="f_height" size="4" /> 
    149149    </td> 
    150     <th align="left" class="fullOptions">Padding:</th> 
     150    <th style="text-align: left;" class="fullOptions">Padding:</th> 
    151151    <td  class="fullOptions"> 
    152152      <input name="f_padding" type="text" id="f_padding" size="3" /> 
    153153      px </td> 
    154     <th align="left" class="fullOptions">Color:</th> 
     154    <th style="text-align: left;" class="fullOptions">Color:</th> 
    155155    <td  class="fullOptions"> 
    156156      <input name="f_backgroundColor" type="text" id="f_backgroundColor" size="7" /> 
     
    161161 
    162162  <tr class="fullOptions"> 
    163     <th align="left">Alignment:</th> 
     163    <th style="text-align: left;">Alignment:</th> 
    164164    <td colspan="2"> 
    165       <select size="1" id="f_align"  title="Positioning of this image"> 
     165      <select size="1" id="f_align" title="Positioning of this image"> 
    166166        <option value=""                             >Not set</option> 
    167167        <option value="left"                         >Left</option> 
     
    176176      </select> 
    177177    </td> 
    178     <th align="left">Border:</th> 
     178    <th style="text-align: left;">Border:</th> 
    179179    <td> 
    180180      <input name="f_border" type="text" id="f_border" size="3" /> 
    181181      px </td> 
    182     <th align="left">Color:</th> 
     182    <th style="text-align: left;">Color:</th> 
    183183    <td> 
    184184      <input name="f_borderColor" type="text" id="f_borderColor" size="7" /> 
Note: See TracChangeset for help on using the changeset viewer.