| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Summary view] [Print] [Text view]
1 <?php 2 // $Id: imce-content.tpl.php,v 1.9.2.3 2010/10/06 04:38:09 ufku Exp $ 3 $imce =& $imce_ref['imce'];//keep this line. 4 ?> 5 6 <script type="text/javascript"> 7 <!--//--><![CDATA[//><!-- 8 imce.hooks.load.push(imce.initiateShortcuts); //shortcuts for directories and files 9 imce.hooks.load.push(imce.initiateSorting); //file sorting 10 imce.hooks.load.push(imce.initiateResizeBars); //area resizing 11 12 //inline preview 13 imce.hooks.list.push(imce.thumbRow); 14 imce.vars.tMaxW = 120; //maximum width of an image to be previewed inline 15 imce.vars.tMaxH = 120; //maximum height of an image to be previewed inline 16 imce.vars.prvW = 40; //maximum width of the thumbnail used in inline preview. 17 imce.vars.prvH = 40; //maximum height of the thumbnail used in inline preview. 18 //imce.vars.prvstyle = 'stylename'; //preview larger images inline using an image style(imagecache preset). 19 20 //enable box view for file list. set box dimensions = preview dimensions + 30 or more 21 //imce.vars.boxW = 100; //width of a file info box 22 //imce.vars.boxH = 100; //height of a file info box 23 24 //imce.vars.previewImages = 0; //disable click previewing of images. 25 //imce.vars.cache = 0; //disable directory caching. File lists will always refresh. 26 //imce.vars.absurls = 1; //make IMCE return absolute file URLs to external applications. 27 //--><!]]> 28 </script> 29 30 <div id="imce-content"> 31 32 <div id="message-box"></div> 33 34 <div id="help-box"><!-- Update help content if you disable any of the extra features above. --> 35 <div id="help-box-title"><span><?php print t('Help'); ?>!</span></div> 36 <div id="help-box-content"> 37 <h4><?php print t('Tips'); ?>:</h4> 38 <ul class="tips"> 39 <li><?php print t('Select a file by clicking the corresponding row in the file list.'); ?></li> 40 <li><?php print t('Ctrl+click to add files to the selection or to remove files from the selection.'); ?></li> 41 <li><?php print t('Shift+click to create a range selection. Click to start the range and shift+click to end it.'); ?></li> 42 <li><?php print t('In order to send a file to an external application, double click on the file row.'); ?></li> 43 <li><?php print t('Sort the files by clicking a column header of the file list.'); ?></li> 44 <li><?php print t('Resize the work-spaces by dragging the horizontal or vertical resize-bars.'); ?></li> 45 <li><?php print t('Keyboard shortcuts for file list: up, down, left, home, end, ctrl+A.'); ?></li> 46 <li><?php print t('Keyboard shortcuts for selected files: enter/insert, delete, R(esize), T(humbnails), U(pload).'); ?></li> 47 <li><?php print t('Keyboard shortcuts for directory list: up, down, left, right, home, end.'); ?></li> 48 </ul> 49 <h4><?php print t('Limitations'); ?>:</h4> 50 <ul class="tips"> 51 <li><?php print t('Maximum file size per upload') .': '. ($imce['filesize'] ? format_size($imce['filesize']) : t('unlimited')); ?></li> 52 <li><?php print t('Permitted file extensions') .': '. ($imce['extensions'] != '*' ? $imce['extensions'] : t('all')); ?></li> 53 <li><?php print t('Maximum image resolution') .': '. ($imce['dimensions'] ? $imce['dimensions'] : t('unlimited')); ?></li> 54 <li><?php print t('Maximum number of files per operation') .': '. ($imce['filenum'] ? $imce['filenum'] : t('unlimited')); ?></li> 55 </ul> 56 </div> 57 </div> 58 59 <div id="ops-wrapper"> 60 <div id="op-items"><ul id="ops-list"><li></li></ul></div> 61 <div id="op-contents"></div> 62 </div> 63 64 <div id="resizable-content"> 65 66 <div id="browse-wrapper"> 67 68 <div id="navigation-wrapper"> 69 <div class="navigation-text" id="navigation-header"><span><?php print t('Navigation'); ?></span></div> 70 <ul id="navigation-tree"><li class="expanded root"><?php print $tree; ?></li></ul> 71 </div> 72 73 <div id="navigation-resizer" class="x-resizer"></div> 74 75 <div id="sub-browse-wrapper"> 76 77 <div id="file-header-wrapper"> 78 <table id="file-header" class="files"><tbody><tr> 79 <td class="name"><?php print t('File name'); ?></td> 80 <td class="size"><?php print t('Size'); ?></td> 81 <td class="width"><?php print t('Width'); ?></td> 82 <td class="height"><?php print t('Height'); ?></td> 83 <td class="date"><?php print t('Date'); ?></td> 84 </tr></tbody></table> 85 </div> 86 87 <div id="file-list-wrapper"> 88 <?php print theme('imce_file_list', $imce_ref); /* see imce-file-list-tpl.php */?> 89 </div> 90 91 <div id="dir-stat"><?php print t('!num files using !dirsize of !quota', array( 92 '!num' => '<span id="file-count">'. count($imce['files']) .'</span>', 93 '!dirsize' => '<span id="dir-size">'. format_size($imce['dirsize']) .'</span>', 94 '!quota' => '<span id="dir-quota">'. ($imce['quota'] ? format_size($imce['quota']) : ($imce['tuquota'] ? format_size($imce['tuquota']) : t('unlimited quota'))) .'</span>' 95 )); ?> 96 </div> 97 98 </div><!-- sub-browse-wrapper --> 99 </div><!-- browse-wrapper --> 100 101 <div id="browse-resizer" class="y-resizer"></div> 102 103 <div id="preview-wrapper"><div id="file-preview"></div></div> 104 105 </div><!-- resizable-content --> 106 107 <div id="forms-wrapper"><?php print $forms; ?></div> 108 109 </div><!-- imce-content -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |