roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r454197 [11/29] - in /incubator/roller/trunk/web: WEB-INF/classes/ roller-ui/authoring/editors/ roller-ui/authoring/editors/xinha/ roller-ui/authoring/editors/xinha/conf/ roller-ui/authoring/editors/xinha/contrib/ roller-ui/authoring/editor...
Date Sun, 08 Oct 2006 19:54:16 GMT
Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/doc_small.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/doc_small.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/doc_small.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/fla.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/fla.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/fla.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/fla_small.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/fla_small.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/fla_small.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/folder.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/folder.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/folder.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/folder_small.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/folder_small.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/folder_small.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/gif_small.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/gif_small.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/gif_small.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/gz.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/gz.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/gz.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/gz_small.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/gz_small.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/gz_small.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/html.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/html.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/html.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/html_small.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/html_small.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/html_small.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/jpg_small.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/jpg_small.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/jpg_small.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/js.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/js.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/js.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/js_small.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/js_small.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/js_small.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/mov.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/mov.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/mov.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/mov_small.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/mov_small.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/mov_small.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/pdf.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/pdf.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/pdf.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/pdf_small.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/pdf_small.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/pdf_small.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/php.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/php.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/php.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/php_small.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/php_small.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/php_small.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/png_small.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/png_small.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/png_small.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/ppt.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/ppt.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/ppt.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/ppt_small.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/ppt_small.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/ppt_small.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/rar.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/rar.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/rar.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/rar_small.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/rar_small.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/rar_small.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/txt.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/txt.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/txt.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/txt_small.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/txt_small.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/txt_small.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/xls.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/xls.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/xls.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/xls_small.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/xls_small.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/xls_small.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/zip.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/zip.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/zip.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/zip_small.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/zip_small.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/icons/zip_small.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/images.php
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/images.php?view=auto&rev=454197
==============================================================================
--- incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/images.php (added)
+++ incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/images.php Sun Oct  8 12:53:13 2006
@@ -0,0 +1,331 @@
+<?php
+/**
+ * ExtendedFileManager images.php file. Shows folders and files.
+ * Authors: Wei Zhuo, Afru, Krzysztof Kotowicz
+ * Version: Updated on 08-01-2005 by Afru
+ * Version: Updated on 04-07-2006 by Krzysztof Kotowicz
+ * Package: ExtendedFileManager (EFM 1.1.2)
+ * http://www.afrusoft.com/htmlarea
+ */
+
+	if(isset($_REQUEST['mode'])) $insertMode=$_REQUEST['mode'];
+	if(!isset($insertMode)) $insertMode="image";
+
+require_once('config.inc.php');
+require_once('Classes/ExtendedFileManager.php');
+
+//default path is /
+$relative = '/';
+$manager = new ExtendedFileManager($IMConfig, $insertMode);
+
+//process any file uploads
+$uploadStatus=$manager->processUploads();
+
+//process any file renames
+$renameStatus=$manager->processRenames();
+
+if ($manager->deleteFiles())
+    $refreshFile = true;
+
+$refreshDir = false;
+//process any directory functions
+if($manager->deleteDirs() || $manager->processNewDir())
+	$refreshDir = true;
+
+
+$diskInfo=$manager->getDiskInfo();
+
+//check for any sub-directory request
+//check that the requested sub-directory exists
+//and valid
+if(isset($_REQUEST['dir']))
+{
+	$path = rawurldecode($_REQUEST['dir']);
+	if($manager->validRelativePath($path))
+		$relative = $path;
+}
+
+
+$afruViewType="";
+if(isset($_REQUEST['viewtype']))
+{
+	$afruViewType=$_REQUEST['viewtype'];
+}
+if($afruViewType!="thumbview" && $afruViewType!="listview")
+
+$afruViewType=$IMConfig['view_type'];
+
+//get the list of files and directories
+$list = $manager->getFiles($relative);
+
+
+/* ================= OUTPUT/DRAW FUNCTIONS ======================= */
+
+
+/**
+ * Draw folders and files. Changed by Afru
+ */
+function drawDirs_Files($list, &$manager) 
+{
+	global $relative, $afruViewType, $IMConfig, $insertMode;
+
+    switch ($afruViewType) {
+        case 'listview':
+    		$maxNameLength = 30;
+    		?>
+            <table class="listview">
+            <thead>
+            <tr><th colspan="2">Name</th><th>Size</th><th>Image Size</th><th>Date Modified</th><th>&nbsp;</th></tr></thead>
+            <tbody>
+            <?php
+    		// start of foreach for draw listview folders .
+    		foreach($list[0] as $path => $dir)
+    		{ ?>
+    			<tr>
+    			<td><img src="<?php print $IMConfig['base_url'];?>icons/folder_small.gif" alt="" /></td>
+    			<th nowrap><a href="<?php print $IMConfig['backend_url']; ?>__function=images&amp;mode=<?php echo $insertMode;?>&amp;dir=<?php echo rawurlencode($path); ?>&amp;viewtype=<?php echo $afruViewType; ?>" onclick="updateDir('<?php echo $path; ?>')" title="<?php echo $dir['entry']; ?>">
+    			<?php
+    			if(strlen($dir['entry'])>$maxNameLength) echo substr($dir['entry'],0,$maxNameLength)."..."; else echo $dir['entry'];
+    			?>
+    			</a></th>
+    			<td colspan="2" nowrap>Folder</td>
+
+    			<td nowrap><?php echo date("d.m.y H:i",$dir['stat']['mtime']); ?></td>
+
+    			<td class="actions" nowrap>
+    				<a href="<?php print $IMConfig['backend_url']; ?>__function=images&amp;mode=<?php echo $insertMode;?>&amp;dir=<?php echo $relative; ?>&amp;deld=<?php echo rawurlencode($path); ?>&amp;viewtype=<?php echo $afruViewType; ?>" title="Trash" onclick="return confirmDeleteDir('<?php echo $dir['entry']; ?>', <?php echo $dir['count']; ?>);" style="border:0px;"><img src="<?php print $IMConfig['base_url'];?>img/edit_trash.gif" height="15" width="15" alt="Trash" border="0" /></a>
+    			</td>
+    			</tr>
+    		  <?php
+    		} // end of foreach for draw listview folders .
+
+    		clearstatcache();
+
+    		// start of foreach for draw listview files .
+    		foreach($list[1] as $entry => $file)
+    		{
+    			?>
+                <tr>
+        		  <td><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="" /></td>
+                  <th><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 } ?> >
+        			<?php
+        			if(strlen($entry)>$maxNameLength) echo substr($entry,0,$maxNameLength)."..."; else echo $entry;
+        			?>
+                  </a></th>
+                  <td><?php echo Files::formatSize($file['stat']['size']); ?></td>
+                  <td><?php if($file['image'][0] > 0){ echo $file['image'][0].'x'.$file['image'][1]; } ?></td>
+    			  <td nowrap><?php echo date("d.m.y H:i",$file['stat']['mtime']); ?></td>
+                  <td class="actions">
+                    <a href="<?php print $IMConfig['backend_url']; ?>__function=images&dir=<?php echo $relative; ?>&amp;delf=<?php echo rawurlencode($file['relative']);?>&amp;mode=<?php echo $insertMode;?>&amp;viewtype=<?php echo $afruViewType; ?>" 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>
+        			<?php if ($IMConfig['allow_rename']) { ?>
+                    <a href="#" title="Rename" onclick="renameFile('<?php echo rawurlencode($file['relative']);?>'); return false;"><img src="<?php print $IMConfig['base_url'];?>img/edit_rename.gif" height="15" width="15" alt="Rename" border="0" /></a>
+                    <?php }  ?>
+        			<?php if($IMConfig['img_library'] && $IMConfig['allow_edit_image'] && $file['image'][0] > 0) { ?>
+                    <a href="javascript:;" title="Edit" onclick="editImage('<?php echo rawurlencode($file['relative']);?>');"><img src="<?php print $IMConfig['base_url'];?>img/edit_pencil.gif" height="15" width="15" alt="Edit" border="0" /></a>
+                    <?php }  ?>
+                  </td>
+                </tr>
+    		  <?php
+    		}//end of foreach of draw listview files
+            ?>
+            </tbody>
+            </table>
+            <?php
+        break;
+        case 'thumbview': // thumbview is default
+        default:
+    		$maxFileNameLength=11;
+    		$maxFolderNameLength=13;
+    		// start of foreach for draw thumbview folders.
+    		foreach($list[0] as $path => $dir)
+    		{ ?>
+    <div class="dir_holder">
+      <a class="dir" href="<?php print $IMConfig['backend_url'];?>__function=images&amp;mode=<?php echo $insertMode;?>&amp;dir=<?php echo rawurlencode($path); ?>&amp;viewtype=<?php echo $afruViewType; ?>" onclick="updateDir('<?php echo $path; ?>')" title="<?php echo $dir['entry']; ?>"><img src="<?php print $IMConfig['base_url'];?>img/folder.gif" height="80" width="80" alt="<?php echo $dir['entry']; ?>" /></a>
+
+      <div class="edit">
+        <a href="<?php print $IMConfig['backend_url'];?>__function=images&amp;mode=<?php echo $insertMode;?>&amp;dir=<?php echo $relative; ?>&amp;deld=<?php echo rawurlencode($path); ?>&amp;viewtype=<?php echo $afruViewType; ?>" title="Trash" onclick="return confirmDeleteDir('<?php echo $dir['entry']; ?>', <?php echo $dir['count']; ?>);"><img src="<?php print $IMConfig['base_url'];?>img/edit_trash.gif" height="15" width="15" alt="Trash" /></a>
+    	<?php if(strlen($dir['entry']) > $maxFolderNameLength)
+                echo substr($dir['entry'], 0, $maxFolderNameLength) . "...";
+              else
+                echo $dir['entry']; ?>
+      </div>
+    </div>
+    		  <?php
+    		} // end of foreach for draw thumbview folders.
+
+
+    		// start of foreach for draw thumbview files.
+    		foreach($list[1] as $entry => $file)
+    		{
+    			$afruimgdimensions=$manager->checkImageSize($file['relative']);
+    			$thisFileNameLength = $maxFileNameLength;
+    			?>
+                <div class="thumb_holder" id="holder_<?php echo asc2hex($entry) ?>">
+                  <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']); ?>">
+                    <img src="<?php print $manager->getThumbnail($file['relative']); ?>" alt="<?php echo $entry; ?> - <?php echo Files::formatSize($file['stat']['size']); ?>" />
+                  </a>
+                  <div class="edit">
+                    <a href="<?php print $IMConfig['backend_url']; ?>__function=images&amp;mode=<?php echo $insertMode;?>&amp;dir=<?php echo $relative; ?>&amp;delf=<?php echo rawurlencode($file['relative']);?>&amp;viewtype=<?php echo $afruViewType; ?>" 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" /></a>
+        			<?php if ($IMConfig['allow_rename']) { ?>
+                    <a href="#" title="Rename" onclick="renameFile('<?php echo rawurlencode($file['relative']);?>'); return false;"><img src="<?php print $IMConfig['base_url'];?>img/edit_rename.gif" height="15" width="15" alt="Rename" /></a>
+                    <?php $thisFileNameLength -= 3; }  ?>
+                	<?php if($IMConfig['img_library'] && $IMConfig['allow_edit_image'] && $file['image'][0] > 0 )
+                    { ?>
+                    <a href="javascript:;" title="Edit" onclick="editImage('<?php echo rawurlencode($file['relative']);?>');"><img src="<?php print $IMConfig['base_url'];?>img/edit_pencil.gif" height="15" width="15" alt="Edit" /></a>
+            		<?php $thisFileNameLength -= 3; } ?>
+
+            		<?php
+            			if(strlen($entry) > $thisFileNameLength + 3) echo strtolower(substr($entry,0,$thisFileNameLength))."..."; else echo $entry;
+            		?>
+                  </div>
+                </div>
+    		  <?php
+    		}//end of foreach of draw thumbview files
+
+    }
+}//end of function drawDirs_Files
+
+
+/**
+ * No directories and no files.
+ */
+function drawNoResults() 
+{
+?>
+<div class="noResult">No Files Found</div>
+<?php
+}
+
+/**
+ * No directories and no files.
+ */
+function drawErrorBase(&$manager) 
+{
+?>
+<div class="error"><span>Invalid base directory:</span> <?php echo $manager->getImagesDir(); ?></div>
+<?php
+}
+
+/**
+ * Utility to convert ascii string to hex
+ */
+function asc2hex ($temp)
+{
+  $data = '';
+  $len = strlen($temp);
+  for ($i=0; $i<$len; $i++) $data.=sprintf("%02x",ord(substr($temp,$i,1)));
+  return $data;
+}
+
+?>
+<html>
+<head>
+	<title>File List</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+	<link href="<?php print $IMConfig['base_url'];?>assets/imagelist.css" rel="stylesheet" type="text/css" />
+<script type="text/javascript" src="<?php print $IMConfig['base_url'];?>assets/dialog.js"></script>
+<script type="text/javascript">
+/*<![CDATA[*/
+
+    var _backend_url = "<?php print $IMConfig['backend_url']; ?>";
+
+	if(window.top)
+		HTMLArea = window.top.HTMLArea;
+
+	function hideMessage()
+	{
+		var topDoc = window.top.document;
+		var messages = topDoc.getElementById('messages');
+		if(messages)
+			messages.style.display = "none";
+	}
+
+	init = function()
+	{
+        __dlg_translate('ExtendedFileManager');
+        
+		hideMessage();
+
+		<?php
+		if(isset($uploadStatus) && !is_numeric($uploadStatus) && !is_bool($uploadStatus))
+		echo "alert(i18n('$uploadStatus'));";
+		else if(isset($uploadStatus) && $uploadStatus==false)
+		echo 'alert(i18n("Unable to upload File. \nEither Maximum file size [$max_size='.($insertMode == 'image' ? $IMConfig['max_filesize_kb_image'] : $IMConfig['max_filesize_kb_link'] ).'$ KB] exceeded or\nFolder doesn\'t have write permission."));';
+		?>
+
+		<?php
+		if(isset($renameStatus) && !is_numeric($renameStatus) && !is_bool($renameStatus))
+		echo 'alert(i18n("'.$renameStatus.'"));';
+		else if(isset($renameStatus) && $renameStatus===false)
+		echo 'alert(i18n("Unable to rename file. File of the same name already exists or\nfolder doesn\'t have write permission."));';
+		?>
+
+		var topDoc = window.top.document;
+
+<?php
+	//we need to refesh the drop directory list
+	//save the current dir, delete all select options
+	//add the new list, re-select the saved dir.
+	if($refreshDir) 
+	{ 
+		$dirs = $manager->getDirs();
+?>
+		var selection = topDoc.getElementById('dirPath');
+		var currentDir = selection.options[selection.selectedIndex].text;
+
+		while(selection.length > 0)
+		{	selection.remove(0); }
+		
+		selection.options[selection.length] = new Option("/","<?php echo rawurlencode('/'); ?>");
+		<?php foreach($dirs as $relative=>$fullpath) { ?>
+		selection.options[selection.length] = new Option("<?php echo $relative; ?>","<?php echo rawurlencode($relative); ?>");
+		<?php } ?>
+		
+		for(var i = 0; i < selection.length; i++)
+		{
+			var thisDir = selection.options[i].text;
+			if(thisDir == currentDir)
+			{
+				selection.selectedIndex = i;
+				break;
+			}
+		}		
+<?php } ?>
+	}
+    
+	function editImage(image) 
+	{
+		var url = "<?php print $IMConfig['backend_url']; ?>__function=editor&img="+image+"&mode=<?php print $insertMode ?>";
+        Dialog(url, function(param)
+		{
+			if (!param) { // user must have pressed Cancel
+				return false;
+			} else
+			{
+				return true;
+			}
+		}, null);
+	}
+
+/*]]>*/
+</script>
+<script type="text/javascript" src="<?php print $IMConfig['base_url'];?>assets/images.js"></script>
+<script type="text/javascript" src="<?php print $IMConfig['base_url'];?>assets/popup.js"></script>
+<script type="text/javascript">
+<!--
+// Koto: why emptying? commented out
+//if(window.top.document.getElementById('manager_mode').value=="image")
+//emptyProperties();
+<?php if(isset($diskInfo)) echo 'updateDiskMesg(i18n(\''.$diskInfo.'\'));'; ?>
+//-->
+</script>
+
+</head>
+
+<body>
+<?php if ($manager->isValidBase() == false) { drawErrorBase($manager); }
+	elseif(count($list[0]) > 0 || count($list[1]) > 0) { ?>
+	<?php drawDirs_Files($list, $manager); ?>
+<?php } else { drawNoResults(); } ?>
+</body>
+</html>

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/1x1_transparent.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/1x1_transparent.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/1x1_transparent.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/2x2.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/2x2.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/2x2.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/2x2_w.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/2x2_w.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/2x2_w.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/btnFolderNew.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/btnFolderNew.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/btnFolderNew.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/btnFolderNew1.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/btnFolderNew1.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/btnFolderNew1.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/btnFolderUp.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/btnFolderUp.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/btnFolderUp.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/btnFolderUp1.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/btnFolderUp1.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/btnFolderUp1.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/btn_cancel.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/btn_cancel.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/btn_cancel.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/btn_ok.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/btn_ok.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/btn_ok.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/crop.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/crop.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/crop.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/default.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/default.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/default.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/div.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/div.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/div.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/dots.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/dots.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/dots.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/ed_linkfile.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/ed_linkfile.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/ed_linkfile.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/ed_linkfile1.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/ed_linkfile1.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/ed_linkfile1.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/edit_active.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/edit_active.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/edit_active.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/edit_pencil.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/edit_pencil.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/edit_pencil.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/edit_rename.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/edit_rename.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/edit_rename.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/edit_trash.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/edit_trash.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/edit_trash.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/folder.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/folder.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/folder.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/hand.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/hand.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/hand.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/islocked2.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/islocked2.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/islocked2.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/locked.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/locked.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/locked.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/measure.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/measure.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/measure.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/noimages.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/noimages.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/noimages.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/rotate.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/rotate.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/rotate.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/save.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/save.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/save.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/scale.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/scale.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/scale.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/spacer.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/spacer.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/spacer.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/t_black.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/t_black.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/t_black.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/t_white.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/t_white.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/t_white.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/unlocked.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/unlocked.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/unlocked.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/unlocked2.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/unlocked2.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/unlocked2.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/unlocked_empty.gif
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/unlocked_empty.gif?view=auto&rev=454197
==============================================================================
Binary file - no diff available.

Propchange: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/img/unlocked_empty.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/lang/de.js
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/lang/de.js?view=auto&rev=454197
==============================================================================
--- incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/lang/de.js (added)
+++ incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/lang/de.js Sun Oct  8 12:53:13 2006
@@ -0,0 +1,103 @@
+// I18N constants
+// LANG: "de", ENCODING: UTF-8
+// translated: sven schomacker, http://www.hilope.de, mail@hilope.de
+{
+  "File Manager": "Dateimanager",
+  "Insert Image": "Bild einfügen",
+  "Directory": "Verzeichnis",
+  "Directory Up": "Vezeichnis hoch",
+  "New Folder": "Neues Verzeichnis erstellen",
+  "Trash": "Papierkorb",
+  "Edit": "Bearbeiten",
+  "Image File": "Bilddatei",
+  "Upload": "Hochladen",
+  "Width": "Breite",
+  "Height": "Höhe",
+  "Width:": "Breite:",
+  "Height:": "Höhe:",
+  "Constrain Proportions": "Proportionen beibehalten",
+  "Border": "Rahmen",
+  "Margin": "Aussenabstand",
+  "Padding": "Innenabstand",
+  "Refresh": "Aktualisieren",
+  "Uploading...": "Lade hoch...",
+  "Uploading": "Hochladen",
+  "Crop": "Beschneiden",
+  "Resize": "Größe ändern",
+  "Rotate": "Drehen",
+  "Measure": "Maße",
+  "Marker": "Marker",
+  "Save": "Speichern",
+  "Filename:": "Dateiname:",
+  "Image Format": "Bildformat:",
+  "Quality:": "Qualität",
+  "JPEG High": "JPEG hoch",
+  "JPEG Medium": "JPEG mittel",
+  "JPEG Low": "JPEG niedrig",
+  "File saved.": "Datei gespeichert.",
+  "File was not saved.": "Datei wurde nicht gespeichert.",
+  "Start X:": "Start X",
+  "Start Y:": "Start Y",
+  "Lock": "Feststellen",
+  "Flip Image": "Bild spiegeln",
+  "Flip Horizontal": "hor. spiegeln",
+  "Flip Vertical": "ver. spiegeln",
+  "Rotate Image": "Bild drehen",
+  "Rotate 180 °": "Drehung um 180°",
+  "Rotate 90 ° CW": "Drehung um 90° im Uhrzeigersinn",
+  "Rotate 90 ° CCW": "Drehung um 90° gegen Uhrzeigersinn",
+  "Angle:": "Winkel:",
+  "W:": "W:",
+  "Clear": "Löschen",
+  "Loading": "Laden",
+  "Invalid base directory:": "Ungültiges Basisverzeichnis:",
+  'Delete file "$file"?': 'Datei "$file" löschen?',
+  "Please delete all files/folders inside the folder you wish to delete first.": "Bitte zuerst alle untergeordneten Ordner löschen.",
+  'Delete folder "$dir"?': 'Verzeichnis "$dir" löschen?',
+  "Folder Name:": "Verzeichnisname",
+  "No Files Found": "Keine Dateien gefunden",
+  "Invalid folder name, please choose another folder name.": "Ungültiger Verzeichnisname - bitte neu wählen.",
+  "GIF format is not supported, image editing not supported.": "GIF-Format nicht unterstützt, bearbeiten nicht möglich.",
+  "No Image Available": "Kein Bild verfügbar",
+  "No Image selected.": "Kein Bild ausgewählt.",
+  "Description:": "Beschreibung:",
+  "Align": "Anordnung",
+  "Description:": "Beschreibung:",
+  "Margin:": "Aussenabstand:",
+  "Padding:": "Innenabstand:",
+  "Border:": "Rahmen:",
+  "Color:": "Farbe:",
+  "Border Color:": "Rahmenfarbe:",
+  "Upload:": "Hochladen:",
+  "Alt": "Alt",
+  "Alt": "Alt",
+  "File Name": "Dateiname",
+  "Thumbnail View": "Miniaturansicht",
+  "List View": "Listenansicht",
+  "Title (tooltip)": "Titel (Tooltip)",
+  "Target Window": "Zielfenster",
+  "Name": "Name",
+  "Size": "Größe",
+  "Date Modified": "Datum letzte Änderung",
+  "Total Size": "Gesamtgröße",
+  "Free Space": "Freier Speicher",
+  "Positioning of this image" : "Anordnung dieses Bildes",
+  "Insert File Link": "Dateilink einfügen",
+  "Untitled": "Unbetitelt",
+  'Please enter name for new folder...': "Bitte Namen für neuen Ordner eingeben...",
+  "You must select some text before making a new link.": "Bitte zuerst Text markieren.",
+  "Folder is not empty. Please delete all Files and Subfolders inside.": "Verzeichnis ist nicht leer. Bitte zuerst alle Unterordner und Dateien löschen.",
+  "Image Size": "Bildgröße",
+  "Other" : "Andere...",
+  "Rename": "Umbenennen",
+  "Please enter new name for this file...": "Bite neuen Namen für diese Datei eingeben...",
+  "Unable to rename file. File of the same name already exists or\nfolder doesn't have write permission.": "Umbenennen nicht möglich. Evtl. Dateiname schon vorhanden oder keine Schreibrechte.",
+  "Cancelled rename.": "Umbenennen abgebrochen.",
+  'File "$file" successfully uploaded.': 'Datei "$file" erfolgreich hochgeladen.',
+  "Cannot upload. Maximum folder size reached. Delete unwanted files and try again.":"Die maximale Ordnergröße ist erreicht. Bitte löschen Sie Dateien, die Sie nicht mehr benötigen.",
+  "Maximum file size [$max_size KB] exceeded.":"Maximale Dateigröße [$max_size KB] überschritten.",
+  "Cannot upload $extension Files. Permission denied.": "$extension Dateien dürfen nicht hochgeladen werden.",
+  "Unable to upload File. \nEither Maximum file size [$max_size KB] exceeded or\nFolder doesn\'t have write permission.":"Konnte Datei nicht hochladen.\nEntweder die maximale Dateigröße [$max_size KB] ist überschritten\noder das Verzeichnis hat keine Schreibrechte.",
+  "Total Size : $max_foldersize_mb MB, Free Space: $free_space": "Max. Ordergröße: $max_foldersize_mb MB, noch frei: $free_space"
+  
+};

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/lang/nb.js
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/lang/nb.js?view=auto&rev=454197
==============================================================================
--- incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/lang/nb.js (added)
+++ incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/lang/nb.js Sun Oct  8 12:53:13 2006
@@ -0,0 +1,95 @@
+// I18N constants
+// LANG: "nb", ENCODING: UTF-8
+// translated: Kim Steinhaug, http://www.easycms.no/, kim@easycms.no
+{
+  "File Manager": "Filbehandler",
+  "Insert Image": "Sett inn bilde",
+  "Directory": "Mappe",
+  "Directory Up": "Opp et nivå",
+  "New Folder": "Ny mappe",
+  "Trash": "Søppel",
+  "Edit": "Rediger",
+  "Image File": "Bildefil",
+  "Upload": "Last opp",
+  "Upload:": "Last opp:",
+  "Width": "Bredde",
+  "Height": "Høyde",
+  "Constrain Proportions": "Beholde proposjoner",
+  "Border": "Ramme",
+  "Margin": "Marg",
+  "Padding": "Innvendig marg",
+  "Refresh": "Oppfrisk side",
+  "Uploading...": "Laster opp...",
+  "Uploading": "Laster opp",
+  "Crop": "Beskjær",
+  "Resize": "Endre størrelse",
+  "Rotate": "Roter",
+  "Measure": "MÃ¥l",
+  "Marker": "Markør",
+  "Save": "Lagre",
+  "Filename:": "Filnavn:",
+  "Image Format": "Bildeformat:",
+  "Quality:": "Kvalitet",
+  "JPEG High": "JPEG høy",
+  "JPEG Medium": "JPEG middels",
+  "JPEG Low": "JPEG lav",
+  "File saved.": "Fil er lagret.",
+  "File was not saved.": "Filen ble ikke lagret.",
+  "Start X:": "Start X",
+  "Start Y:": "Start Y",
+  "Lock": "LÃ¥s",
+  "Flip Image": "Vend bilde",
+  "Flip Horizontal": "Vend horisontal",
+  "Flip Vertical": "Vend vertikal",
+  "Rotate Image": "Roter bilde",
+  "Rotate 180 °": "Roter 180°",
+  "Rotate 90 ° CW": "Roter 90° med klokka",
+  "Rotate 90 ° CCW": "Roter 90° mot klokka",
+  "Angle:": "Vinkel:",
+  "W:": "L:",
+  "Clear": "Tøm",
+  "Loading": "Laster",
+  "Invalid base directory:": "Ugyldig sti til mappe:",
+  'Delete file "$file"?': "$file\n\nSlette fil?",
+  "Please delete all files/folders inside the folder you wish to delete first.": "Vennligst slett alle filer og mapper i mappen du ønsker å slette først!",
+  'Delete folder "$dir"?': "$dir\n\nSlette mappe?",
+  "Folder Name:": "Mappe navn",
+  "No Files Found": "Ingen filer funnet",
+  "Invalid folder name, please choose another folder name.": "Ugyldig mappenavn, vennligst velg et annet mappenavn",
+  "GIF format is not supported, image editing not supported.": "GIF format er ikke støttet og bilderedigering er derfor ikke tilgjengelig.",
+  "No Image Available": "Inget bilde tilgjengelig.",
+  "No Image selected.": "Inget bilde valgt.",
+  "Description:": "Beskrivelse:",
+  "Align": "Juster",
+  "Color:": "Farge:",
+  "Border Color:": "Ramme farge:",
+  "Alt": "Alt",
+  "File Name": "Filnavn",
+  "Thumbnail View": "Miniatyrbilde",
+  "List View": "Liste",
+  "Title (tooltip)": "Tittel (tooltip)",
+  "Target Window": "MÃ¥l",
+  "Name": "Navn",
+  "Size": "Størrelse",
+  "Date Modified": "Siste endret",
+  "Total Size": "Total størrelse",
+  "Free Space": "Ledig plass",
+  "Positioning of this image" : "Bildepossisjon",
+  "Insert File Link": "Sett inn lenke til fil",
+  "Untitled": "Uten navn",
+  'Please enter name for new folder...': "Skriv inn navn for ny mappe...",
+  "You must select some text before making a new link.": "Du må velge noe tekst før du kan lage en ny lenke.",
+  "Folder is not empty. Please delete all Files and Subfolders inside.": "Mappen er ikke tom. Du må slette alle filer og mapper i mappen først.",
+  "Image Size": "Bilde størrelse",
+  "Other" : "Andre...",
+  "Rename": "Nytt navn",
+  "Please enter new name for this file...": "Vennligst skriv inn nytt navn for denne fil...",
+  "Unable to rename file. File of the same name already exists or\nfolder doesn't have write permission.": "Kan ikke omdøpe fil. En fil har allerede samme navn eller\nmappen har ikke skriverettigheter.",
+  "Cancelled rename.": "Omdøping av filnavn avbrutt.",
+   'File "$file" successfully uploaded.':  'File "$file" successfully uploaded.',
+  "Cannot upload. Maximum folder size reached. Delete unwanted files and try again.":"Cannot upload. Maximum folder size reached. Delete unwanted files and try again.",
+  "Maximum file size [$max_size KB] exceeded.":"Maximum file size [$max_size KB] exceeded.",
+  "Cannot upload $extension Files. Permission denied.": "Cannot upload $extension Files. Permission denied.",
+  "Unable to upload File. \nEither Maximum file size [$max_size KB] exceeded or\nFolder doesn\'t have write permission.":"Unable to upload File. \nEither Maximum file size [$max_size KB] exceeded or\nFolder doesn\'t have write permission.",
+  "Total Size : $max_foldersize_mb MB, Free Space: $free_space": "Total Size : $max_foldersize_mb MB, Free Space: $free_space"
+};
\ No newline at end of file

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/lang/pl.js
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/lang/pl.js?view=auto&rev=454197
==============================================================================
--- incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/lang/pl.js (added)
+++ incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/lang/pl.js Sun Oct  8 12:53:13 2006
@@ -0,0 +1,94 @@
+// I18N constants
+// LANG: "pl", ENCODING: UTF-8
+// translated: Krzysztof Kotowicz, http://www.web.eskot.pl, koto@webworkers.pl
+{
+  "File Manager": "Menedżer plików",
+  "Insert Image": "Wstaw obrazek",
+  "Directory": "Katalog",
+  "Directory Up": "Katalog wyżej",
+  "New Folder": "Nowy katalog",
+  "Trash": "Usuń",
+  "Edit": "Edytuj",
+  "Image File": "Plik obrazka",
+  "Upload": "Wgraj",
+  "Width": "Szerokość",
+  "Height": "Wysokość",
+  "Width:": "Szerokość:",
+  "Height:": "Wysokość:",
+  "Constrain Proportions": "Zachowaj proporcje",
+  "Border": "Ramka",
+  "Margin": "Odstęp",
+  "Padding": "Wcięcie",
+  "Refresh": "Odśwież",
+  "Uploading...": "Wgrywanie...",
+  "Uploading": "Wgrywam",
+  "Crop": "Przytnij",
+  "Resize": "Przeskaluj",
+  "Rotate": "Obróć",
+  "Measure": "Zmierz",
+  "Marker": "Zaznacz",
+  "Save": "Zapisz",
+  "Filename:": "Nazwa pliku:",
+  "Image Format": "Format pliku:",
+  "Quality:": "Jakość",
+  "JPEG High": "JPEG wysoka",
+  "JPEG Medium": "JPEG średnia",
+  "JPEG Low": "JPEG niska",
+  "File saved.": "Zapisano plik.",
+  "File was not saved.": "Nie zapisano pliku.",
+  "Start X:": "Początek X:",
+  "Start Y:": "Początek Y:",
+  "Lock": "Zablokuj",
+  "Flip Image": "Odwróć",
+  "Flip Horizontal": "Odwróć poziomo",
+  "Flip Vertical": "Odwróć pionowo",
+  "Rotate Image": "Obróć",
+  "Rotate 180 °": "Obróć 180°",
+  "Rotate 90 ° CW": "Obróć 90° w prawo",
+  "Rotate 90 ° CCW": "Obróć 90° w lewo",
+  "Angle:": "Kąt:",
+  "W:": "L:",
+  "Clear": "Wyczyść",
+  "Loading": "Ładowanie",
+  "Invalid base directory:": "Nieprawidłowy katalog bazowy:",
+  'Delete file "$file"?': "$file\n\nUsunąć plik?",
+  "Please delete all files/folders inside the folder you wish to delete first.": "Najpierw usuń wszystkie pliki i podkatalogi katalogu.",
+  'Delete folder "$dir"?': "$dir\n\nUsunąć katalog ?",
+  "No Files Found": "Nie znaleziono plików",
+  "Invalid folder name, please choose another folder name.": "Nieprawidłowa nazwa katalogu, wybierz inną.",
+  "GIF format is not supported, image editing not supported.": "Brak obsługi plików GIF, edycja jest niemożliwa.",
+  "No Image Available": "Obrazek niedostępny",
+  "No Image selected.": "Nie zaznaczono obrazka.",
+  "Align": "Wyrównanie",
+  "Color": "Kolor",
+  "Border Color": "Kolor ramki",
+  "Alt": "Alt",
+  "File Name": "Nazwa pliku",
+  "Thumbnail View": "Miniaturki",
+  "List View": "Lista",
+  "Title (tooltip)": "Tytuł",
+  "Target Window": "Docelowe okno",
+  "Name": "Nazwa",
+  "Size": "Rozmiar",
+  "Date Modified": "Data ost.modyf.",
+  "Total Size": "Miejsce na serwerze",
+  "Free Space": "Pozostało",
+  "Positioning of this image" : "Wyrównanie tego obrazka na stronie",
+  "Insert File Link": "Wstaw odnośnik do pliku na serwerze",
+  "Untitled": "Bez_nazwy",
+  'Please enter name for new folder...': "Podaj nazwę nowego folderu...",
+  "You must select some text before making a new link.": "Zaznacz tekst przed dodaniem odnośnika.",
+  "Folder is not empty. Please delete all Files and Subfolders inside.": "Folder nie jest pusty. Najpierw usuń wszystkie pliki i podfoldery tego folderu.",
+  "Image Size": "Wymiary",
+  "Other" : "Inne...",
+  "Rename": "Zmień nazwę",
+  "Please enter new name for this file...": "Podaj nową nazwę dla tego pliku...",
+  "Unable to rename file. File of the same name already exists or\nfolder doesn't have write permission.": "Nie mogłem zmienić nazwy pliku. Plik o nowej nazwie już istnieje\nlub prak praw zapisu do katalogu.",
+  "Cancelled rename.": "Anulowano zmianę nazwy pliku.",
+  'File "$file" successfully uploaded.':  'Plik "$file" wgrano na serwer.',
+  "Cannot upload. Maximum folder size reached. Delete unwanted files and try again.":"Wgrywanie nie powiodło się.\n\nPrzekroczono dozwolony limit miejsca. Usuń niechciane pliki i spróbuj ponownie.",
+  "Maximum file size [$max_size KB] exceeded.":"Wgrywanie nie powiodło się.\n\nPrzekroczono maksymalny rozmiar pliku [$max_size KB].",
+  "Cannot upload $extension Files. Permission denied.": "Nie można było wgrać pliku.\n\nNiedozwolone rozszerzenie pliku [$extension].",
+  "Unable to upload File. \nEither Maximum file size [$max_size KB] exceeded or\nFolder doesn\'t have write permission.":"Wgrywanie nie powiodło się.\n\nPrzekroczono maksymalny rozmiar pliku [$max_size KB] lub nie ma ustawionych praw zapisu do folderu.",
+  "Total Size : $max_foldersize_mb MB, Free Space: $free_space": "Dostępny limit: $max_foldersize_mb MB, Wolne: $free_space"
+};
\ No newline at end of file

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/manager.php
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/manager.php?view=auto&rev=454197
==============================================================================
--- incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/manager.php (added)
+++ incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/manager.php Sun Oct  8 12:53:13 2006
@@ -0,0 +1,274 @@
+<?php
+/**
+ * The main GUI for the ExtendedFileManager.
+ * Authors: Wei Zhuo, Afru, Krzysztof Kotowicz
+ * Version: Updated on 08-01-2005 by Afru
+ * Version: Updated on 04-07-2006 by Krzysztof Kotowicz
+ * Package: ExtendedFileManager (EFM 1.1.2)
+ * http://www.afrusoft.com/htmlarea
+ */
+
+	if(isset($_REQUEST['mode'])) $insertMode=$_REQUEST['mode'];
+	if(!isset($insertMode)) $insertMode="image";
+
+	require_once('config.inc.php');
+	require_once('Classes/ExtendedFileManager.php');
+	
+	$manager = new ExtendedFileManager($IMConfig);
+	$dirs = $manager->getDirs();
+
+	// calculate number of table rows to span for the preview cell
+	$num_rows = 4; // filename & upload & disk info message & width+margin
+		
+	if ($insertMode=='image')
+	{
+		if ($IMConfig['images_enable_styling'] === false)
+		{
+			$hidden_fields[] = 'f_margin';
+			$hidden_fields[] = 'f_padding';
+			$hidden_fields[] = 'f_border';
+			$hidden_fields[] = 'f_backgroundColor';
+			$hidden_fields[] = 'f_borderColor';
+			$num_rows +=2;
+		}
+		else if ($IMConfig['use_color_pickers'] === false)
+		{
+			$hidden_fields[] = 'f_backgroundColor';
+			$hidden_fields[] = 'f_borderColor';
+			$num_rows +=2;
+		}
+		
+		if ($IMConfig['images_enable_align'] === false)
+		{
+			$hidden_fields[] = 'f_align';
+		}
+		if ($IMConfig['images_enable_alt'])
+		{
+			$num_rows++;
+		}
+		else 
+		{
+			$hidden_fields[] = 'f_alt';
+		}
+		if ($IMConfig['images_enable_title'])
+		{
+			$num_rows++;
+		}
+		else 
+		{
+			$hidden_fields[] = 'f_title';
+		}
+	}
+	
+	if ($insertMode == 'link')
+	{
+		if ($IMConfig['link_enable_target'] === false)
+		{
+			$hidden_fields[] = 'f_target';
+		}
+		$num_rows +=2;
+	}
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+<head>
+	<title>Insert <?php echo ($insertMode == 'image' ? 'Image' : 'File Link') ?></title>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <link href="<?php print $IMConfig['base_url'];?>assets/manager.css" rel="stylesheet" type="text/css" />
+<script type="text/javascript" src="../../popups/popup.js"></script>
+<script type="text/javascript" src="<?php print $IMConfig['base_url'];?>assets/popup.js"></script>
+<script type="text/javascript" src="<?php print $IMConfig['base_url'];?>assets/dialog.js"></script>
+<?php if (!empty($IMConfig['use_color_pickers'])) { ?><script type="text/javascript" src="../../popups/color_picker.js"></script><?php } ?>
+<script type="text/javascript">
+/* <![CDATA[ */
+
+	if(window.opener)
+		HTMLArea = window.opener.HTMLArea;
+		
+	var thumbdir = "<?php echo $IMConfig['thumbnail_dir']; ?>";
+	var base_url = "<?php echo $manager->getImagesURL(); ?>";
+    var _backend_url = "<?php print $IMConfig['backend_url']; ?>";
+    var _resized_prefix = "<?php echo $IMConfig['resized_prefix']; ?>";
+  	var _resized_dir = "<?php echo $IMConfig['resized_dir']; ?>";
+	<?php
+	if(isset($_REQUEST['mode']))
+	{
+		echo 'var manager_mode="'.$_REQUEST['mode'].'";';
+	}
+	else
+	{
+		echo 'var manager_mode="image";';
+	}
+	?>
+	
+/* ]]> */
+</script>
+<script type="text/javascript" src="<?php print $IMConfig['base_url'];?>assets/manager.js"></script>
+</head>
+<body class="dialog" >
+<div class="title">File Manager</div>
+<form action="<?php print $IMConfig['backend_url']; ?>" id="uploadForm" method="post" enctype="multipart/form-data">
+<input type="hidden" name="__plugin" value="ExtendedFileManager" />
+<input type="hidden" name="__function" value="images" />
+<input type="hidden" name="mode" value="<?php echo $insertMode; ?>" />
+<input type="hidden" id="manager_mode" value="<?php echo $insertMode;?>" />
+<fieldset><legend>File Manager</legend>
+<table border="0" cellpadding="0" cellspacing="0" width="100%">
+<tr>
+<td nowrap style="padding:10px;">
+
+	<label for="dirPath">Directory</label>
+	<select name="dir" class="dirWidth" id="dirPath" onchange="updateDir(this)">
+	<option value="/">/</option>
+<?php foreach($dirs as $relative=>$fullpath) { ?>
+		<option value="<?php echo rawurlencode($relative); ?>"><?php echo $relative; ?></option>
+<?php } ?>
+	</select>
+
+	<a href="#" onclick="javascript: goUpDir();" title="Directory Up"><img src="<?php print $IMConfig['base_url'];?>img/btnFolderUp.gif" height="15" width="15" alt="Directory Up" /></a>
+
+
+<?php if($IMConfig['safe_mode'] == false && $IMConfig['allow_new_dir']) { ?>
+	<a href="#" onclick="newFolder();" title="New Folder"><img src="<?php print $IMConfig['base_url'];?>img/btnFolderNew.gif" height="15" width="15" alt="New Folder" /></a>
+<?php } ?>
+
+	<select name="viewtype" id="viewtype" onChange="updateView()">
+	<option value="thumbview" <?php if($IMConfig['view_type']=="thumbview") echo "selected";?> >Thumbnail View</option>
+	<option value="listview" <?php if($IMConfig['view_type']=="listview") echo "selected";?> >List View</option>
+	</select>
+</td>
+</tr>
+<tr><td style="padding:10px; padding-top:0px;">
+	<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>
+	<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>
+</td></tr>
+</table>
+</fieldset>
+<!-- image properties -->
+	<table class="inputTable">
+		<tr>
+			<td align="right" nowrap><label for="f_url"><?php if($insertMode=='image') echo 'File Name'; else echo 'URL';?></label></td>
+			<td colspan="5"><input type="text" id="<?php if($insertMode=='image') echo 'f_url'; else echo 'f_href';?>" class="largelWidth" value="" /></td>
+            <td rowspan="<?php echo $num_rows ?>" colspan="2" valign="top"><?php if($insertMode=='image') { ?>
+            <div style="padding:4px;background-color:#CCC;border:1px inset;width: 100px; height: 100px;">
+            <img src="<?php print $IMConfig['base_url'];?>img/1x1_transparent.gif" alt="" id="f_preview" />
+            </div>
+            <?php } else if($insertMode=="link" && $IMConfig['link_enable_target'] !== false) {?><label for="f_align">Target Window</label>
+			<select id="f_target" style="width:125px;">
+			  <option value="">None (use implicit)</option>
+			  <option value="_blank">New window (_blank)</option>
+			  <option value="_self">Same frame (_self)</option>
+		      <option value="_top">Top frame (_top)</option>
+		    </select><br /><br />
+<input type="text" name="f_other_target" id="f_other_target" style="visibility:hidden; width:120px;" />
+            <?php } ?></td>
+            </tr>
+<?php if($insertMode == 'image' && $IMConfig['images_enable_alt']) { ?>
+		<tr>
+			<td align="right"><label for="f_alt">Alt</label></td>
+			<td colspan="5"><input type="text" id="f_alt" class="largelWidth" value="" /></td>
+        </tr>
+<?php }
+      if ($insertMode == 'link' || $IMConfig['images_enable_title']) { ?>
+      <tr>
+			<td align="right"><label for="f_title">Title (tooltip)</label></td>
+			<td colspan="5"><input type="text" id="f_title" class="largelWidth" value="" /></td>
+      </tr>
+<?php } ?>
+		<tr>
+<?php
+if (!empty($IMConfig['max_foldersize_mb']) && Files::dirSize($manager->getImagesDir()) > ($IMConfig['max_foldersize_mb']*1048576))
+{ ?>
+	<td colspan="6" align="right">Maximum folder size limit reached. Upload disabled.</td>
+<?php }
+else if($IMConfig['allow_upload']) { ?>
+			<td align="right"><label for="upload">Upload</label></td>
+			<td colspan="5">
+				<table cellpadding="0" cellspacing="0" border="0">
+                  <tr>
+                    <td><input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $max = (($insertMode == 'image' ? $IMConfig['max_filesize_kb_image'] : $IMConfig['max_filesize_kb_link'] )*1024); ?>" />
+<input type="file" name="upload" id="upload" /></td>
+                    <td><button type="submit" name="submit" onclick="doUpload();">Upload</button>(<?php echo $max/1024 . 'KB'?> max.)</td>
+                  </tr>
+                </table>
+			</td>
+<?php } else { ?>
+			<td colspan="6"></td>
+<?php } ?>
+		</tr>
+		<tr>
+		 <td><?php if (!empty($hidden_fields)) foreach ($hidden_fields as $hf) echo "<input type=\"hidden\" id=\"{$hf}\" name=\"{$hf}\" value=\"\" />"; ?></td>
+		 <td colspan="5"><span id="diskmesg"></span></td>
+      </tr>
+<tr>
+			<td align="right"><?php if($insertMode=='image') { ?> <label for="f_width">Width</label><?php }?></td>
+
+			<td><?php if($insertMode=='image') { ?> <input type="text" id="f_width" class="smallWidth" value="" onchange="javascript:checkConstrains('width');"/><?php } else echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";?></td>
+
+			<td rowspan="2"><?php if($insertMode=='image') { ?><img src="<?php print $IMConfig['base_url'];?>img/locked.gif" id="imgLock" width="25" height="32" alt="Constrained Proportions" />
+				<input type="hidden" id="orginal_width" />
+				<input type="hidden" id="orginal_height" />
+            <input type="checkbox" id="constrain_prop" checked="checked" onclick="javascript:toggleConstrains(this);" /><br />
+            <label for="constrain_prop">Constrain Proportions</label><?php }?>
+            </td>
+
+			<td rowspan="3" align="right"></td>
+
+			<td align="right"><?php if($insertMode=='image' && $IMConfig['images_enable_styling'] !== false) { ?><label for="f_margin">Margin</label><?php }?></td>
+
+			<td><?php if($insertMode=='image' && $IMConfig['images_enable_styling'] !== false) { ?><input type="text" id="f_margin" class="smallWidth" value="" /><?php } ?></td>
+</tr>
+<tr>
+			<td align="right"><?php if($insertMode=='image') { ?><label for="f_height">Height</label><?php }?></td>
+
+			<td class="smallWidth"><?php if($insertMode=='image') { ?><input type="text" id="f_height" class="smallWidth" value="" onchange="javascript:checkConstrains('height');"/><?php }?></td>
+
+			<td align="right"><?php if($insertMode=='image' && $IMConfig['images_enable_styling'] !== false) { ?><label for="f_padding">Padding</label><?php }?></td>
+
+			<td><?php if($insertMode=='image' && $IMConfig['images_enable_styling'] !== false) { ?><input type="text" id="f_padding" class="smallWidth" value="" />
+			<?php }?></td>
+
+            <?php if($insertMode=='image' && !empty($IMConfig['use_color_pickers']) && $IMConfig['images_enable_styling'] !== false) { ?>
+   	            <td align="left">Color</td>
+  	            <td>
+                  <input name="f_backgroundColor" type="text" id="f_backgroundColor" size="7" /><input type="button" id="bgCol_pick" value="..." />
+                </td>
+  	        <?php } ?>
+</tr>
+<tr>
+			<td align="right"><?php if($insertMode=='image' && $IMConfig['images_enable_align'] !== false) { ?><label for="f_align">Align</label><?php }?></td>
+
+			<td colspan="2"><?php if($insertMode=='image' && $IMConfig['images_enable_align'] !== false) { ?>
+				<select size="1" id="f_align"  title="Positioning of this image">
+				  <option value="" selected="selected"         >Not set</option>
+				  <option value="left"                         >Left</option>
+				  <option value="right"                        >Right</option>
+				  <option value="texttop"                      >Texttop</option>
+				  <option value="absmiddle"                    >Absmiddle</option>
+				  <option value="baseline"                     >Baseline</option>
+				  <option value="absbottom"                    >Absbottom</option>
+				  <option value="bottom"                       >Bottom</option>
+				  <option value="middle"                       >Middle</option>
+				  <option value="top"                          >Top</option>
+				</select><?php } ?>
+			</td>
+
+			<td align="right"><?php if($insertMode=='image' && $IMConfig['images_enable_styling'] !== false) { ?><label for="f_border">Border</label><?php }?></td>
+			<td><?php if($insertMode=='image' && $IMConfig['images_enable_styling'] !== false) { ?><input type="text" id="f_border" class="smallWidth" value="" /><?php }?></td>
+			<?php if($insertMode=='image' && !empty($IMConfig['use_color_pickers']) && $IMConfig['images_enable_styling'] !== false) { ?>
+  	        <td align="left">Border Color</td>
+            <td><input name="f_borderColor" type="text" id="f_borderColor" size="7" /><input type="button" id="bdCol_pick" value="..." /></td>
+            <?php } ?>
+</tr>
+</table>
+
+<!--// image properties -->	
+	<div style="text-align: right;"> 
+          <hr />
+		  <button type="button" class="buttons" onclick="return refresh();">Refresh</button>
+          <button type="button" class="buttons" onclick="return onOK();">OK</button>
+          <button type="button" class="buttons" onclick="return onCancel();">Cancel</button>
+    </div>
+</form>
+</body>
+</html>

Added: incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/resizer.php
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/resizer.php?view=auto&rev=454197
==============================================================================
--- incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/resizer.php (added)
+++ incubator/roller/trunk/web/roller-ui/authoring/editors/xinha/plugins/ExtendedFileManager/resizer.php Sun Oct  8 12:53:13 2006
@@ -0,0 +1,83 @@
+<?php
+header('Content-Type: text/javascript');
+
+/**
+ * Resize images to a given size, and saving in a new file.
+ * resize.php?img=/relative/path/to/image.jpg&width=<pixels>&height=<pixels>[&to=/relative/path/to/newimage.jpg]
+ * relative to the base_dir given in config.inc.php
+ * This is pretty much just thumbs.php with some mods, I'm too lazy to do it properly
+ * @author $Author: James Sleeman $
+ * @version $Id: thumbs.php 26 2004-03-31 02:35:21Z Wei Zhuo $
+ * @package ImageManager
+ */
+
+require_once('config.inc.php');
+require_once('Classes/ExtendedFileManager.php');
+require_once('../ImageManager/Classes/Thumbnail.php');
+
+function js_fail($message)    { echo 'alert(\'ha ' . $message . '\'); false'; exit;   }
+function js_success($resultFile)    { echo '\'' . $resultFile . '\''; exit;   }
+
+//check for img parameter in the url
+if(!isset($_GET['img']) || !isset($_GET['width']) || !isset($_GET['height']))
+{
+  js_fail('Missing parameter.');
+}
+
+$manager = new ExtendedFileManager($IMConfig);
+
+//get the image and the full path to the image
+$image = $_GET['img'];
+$fullpath = Files::makeFile($manager->getImagesDir(),$image);
+
+//not a file, so exit
+if(!is_file($fullpath))
+{
+  js_fail("File {$fullpath} does not exist.");
+}
+
+$imgInfo = @getImageSize($fullpath);
+
+//Not an image, bail out.
+if(!is_array($imgInfo))
+{
+	js_fail("File {$fullpath} is not an image.");
+}
+
+if(!isset($_GET['to']))
+{
+  $resized    = $manager->getResizedName($fullpath,$_GET['width'],$_GET['height']);
+  $_GET['to'] = $manager->getResizedName($image,$_GET['width'],$_GET['height'], FALSE);
+}
+else
+{
+  $resized = Files::makeFile($manager->getImagesDir(),$_GET['to']);
+}
+
+// Check to see if it already exists
+if(is_file($resized))
+{
+	// And is newer
+	if(filemtime($resized) >= filemtime($fullpath))
+	{
+		js_success($_GET['to']);
+	}
+}
+
+
+
+// resize (thumbnailer will do this for us just fine)
+$thumbnailer = new Thumbnail($_GET['width'],$_GET['height']);
+$thumbnailer->proportional = FALSE;
+$thumbnailer->createThumbnail($fullpath, $resized);
+
+// did it work?
+if(is_file($resized))
+{
+	js_success($_GET['to']);
+}
+else
+{
+	js_fail("Resize Failed.");
+}
+?>
\ No newline at end of file



Mime
View raw message