Ticket #1179: xhtml_warn_fixes.patch
| File xhtml_warn_fixes.patch, 8.9 kB (added by guest, 4 years ago) |
|---|
-
Users/davistv/Documents/workspace/xinha/plugins/ExtendedFileManager/images.php
82 82 foreach($list[0] as $path => $dir) 83 83 { ?> 84 84 <tr> 85 <td><span width="20px"><img src="<?php print $IMConfig['base_url'];?>icons/folder_small.gif" alt="" /></span>85 <td><span style="width:20px;"><img src="<?php print $IMConfig['base_url'];?>icons/folder_small.gif" alt="" /></span> 86 86 <a href="<?php print $backend_url_enc; ?>__function=images&mode=<?php echo $insertMode;?>&dir=<?php echo rawurlencode($path); ?>&viewtype=<?php echo $afruViewType; ?>" onclick="updateDir('<?php echo $path; ?>')" title="<?php echo $dir['entry']; ?>"> 87 87 <?php 88 88 if(strlen($dir['entry'])>$maxNameLength) echo substr($dir['entry'],0,$maxNameLength)."..."; else echo $dir['entry']; … … 87 87 <?php 88 88 if(strlen($dir['entry'])>$maxNameLength) echo substr($dir['entry'],0,$maxNameLength)."..."; else echo $dir['entry']; 89 89 ?> 90 </a></t h>90 </a></td> 91 91 <td colspan="2" >Folder</td> 92 92 93 93 <td ><?php echo date($IMConfig['date_format'],$dir['stat']['mtime']); ?></td> … … 113 113 { 114 114 ?> 115 115 <tr> 116 <td><span width="20px"><img src="<?php print $IMConfig['base_url']; if(is_file('icons/'.$file['ext'].'_small.gif')) echo "icons/".$file['ext']."_small.gif"; else echo $IMConfig['default_listicon']; ?>" alt="" /></span>116 <td><span style="width:20px;"><img src="<?php print $IMConfig['base_url']; if(is_file('icons/'.$file['ext'].'_small.gif')) echo "icons/".$file['ext']."_small.gif"; else echo $IMConfig['default_listicon']; ?>" alt="" /></span> 117 117 <a href="#" class="thumb" style="cursor: pointer;" ondblclick="this.onclick();window.top.onOK();" onclick="selectImage('<?php echo $file['relative'];?>', '<?php echo preg_replace('#\..{3,4}$#', '', $entry); ?>', <?php echo $file['image'][0];?>, <?php echo $file['image'][1]; ?>);return false;" title="<?php echo $entry; ?> - <?php echo Files::formatSize($file['stat']['size']); ?>" <?php if ($insertMode == 'image') { ?> onmouseover="showPreview('<?php echo $file['relative'];?>')" onmouseout="showPreview(window.parent.document.getElementById('f_url').value)" <?php } ?> > 118 118 <?php 119 119 if(strlen($entry)>$maxNameLength) echo substr($entry,0,$maxNameLength)."..."; else echo $entry; -
Users/davistv/Documents/workspace/xinha/plugins/ImageManager/editor.php
68 68 <div id="tools_rotate" style="display:none;"> 69 69 <div id="tool_inputs"> 70 70 <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> 72 72 <option>-----------------</option> 73 73 <option value="hoz">Flip Horizontal</option> 74 74 <option value="ver">Flip Vertical</option> … … 74 74 <option value="ver">Flip Vertical</option> 75 75 </select> 76 76 <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> 78 78 <option>-----------------</option> 79 79 80 80 <option value="180">Rotate 180 °</option> … … 105 105 <div id="tool_inputs"> 106 106 <label for="save_filename">Filename:</label><input type="text" id="save_filename" value="<?php echo $editor->getDefaultSaveFile();?>"/> 107 107 <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> 109 109 <option value="">---------------------</option> 110 110 <option value="jpeg,85">JPEG High</option> 111 111 <option value="jpeg,60">JPEG Medium</option> … … 120 120 <tr> 121 121 <td> 122 122 <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> 125 125 </div> 126 126 </td> 127 127 </tr> -
Users/davistv/Documents/workspace/xinha/plugins/ImageManager/images.php
82 82 <tr> 83 83 <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> 84 84 <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> 86 86 <td class="actions"> 87 87 <a href="<?php print $IMConfig['backend_url']; ?>__function=images&dir=<?php echo $relative; ?>&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> 88 88 -
Users/davistv/Documents/workspace/xinha/plugins/ImageManager/manager.php
56 56 57 57 <form action="<?php print $IMConfig['backend_url'] ?>" id="uploadForm" method="post" enctype="multipart/form-data"> 58 58 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" /> 61 61 62 62 <fieldset> 63 63 <legend>Image Manager</legend> … … 107 107 108 108 </table> 109 109 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> 111 111 112 112 <iframe src="<?php print $IMConfig['backend_url']; ?>__function=images" name="imgManager" id="imgManager" class="imageFrame" scrolling="auto" title="Image Selection" frameborder="0"></iframe> 113 113 -
Users/davistv/Documents/workspace/xinha/plugins/InsertPicture/InsertPicture.php
198 198 </form> 199 199 200 200 </td> 201 <td valign=" center" width="200" height="230">201 <td valign="middle" width="200" height="230"> 202 202 <span>Image Preview:</span> 203 203 <a href="#" onClick="javascript:openFile();"title=" Open file in new window"><img src="img/btn_open.gif" width="18" height="18" border="0" title="Open file in new window" /></a><br /> 204 204 <iframe name="ipreview" id="ipreview" frameborder="0" style="border : 1px solid gray;" height="200" width="200" src=""></iframe>
