Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
thumbnail_edit_fns.inc
1 <?php
18 require_once SQ_CORE_PACKAGE_PATH.'/files/image/image_edit_fns.inc';
19 
32 {
33 
34 
43  function printExistingFileInfo(&$asset)
44  {
45  $existing = $asset->getExistingFile();
46  if (!empty($existing)) {
47  ?>
48  <table cellspacing="0" cellpadding="2" >
49  <tr>
50  <td valign="top"><?php $asset->printImageTag('Click CURRENT FILE to view the latest version of this thumbnail'); ?></td>
51  <td valign="top">
53  echo translate('core_dimensions', $existing['width'], $existing['height']); ?><br/>
54  </td>
55  </tr>
56  </table>
57  <?php
58  }
59 
60  }//end printExistingFileInfo()
61 
62 
63 }//end class
64 
65 ?>