1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-09 08:06:38 +02:00

Small fixes for the dimensions

This commit is contained in:
CaMer0n
2009-12-04 11:42:04 +00:00
parent a990899754
commit c249248586
2 changed files with 9 additions and 9 deletions

View File

@@ -9,8 +9,8 @@
* Image Administration Area * Image Administration Area
* *
* $Source: /cvs_backup/e107_0.8/e107_admin/image.php,v $ * $Source: /cvs_backup/e107_0.8/e107_admin/image.php,v $
* $Revision: 1.40 $ * $Revision: 1.41 $
* $Date: 2009-12-02 10:09:39 $ * $Date: 2009-12-04 11:42:04 $
* $Author: e107coders $ * $Author: e107coders $
* *
*/ */
@@ -249,7 +249,7 @@ class media_admin_ui extends e_admin_ui
'media_author' => array('title'=> LAN_USER, 'type' => 'user', 'data'=> 'int', 'width' => 'auto', 'thclass' => 'center', 'class'=>'center', 'filter' => true, 'batch' => true, 'noedit'=>TRUE ), 'media_author' => array('title'=> LAN_USER, 'type' => 'user', 'data'=> 'int', 'width' => 'auto', 'thclass' => 'center', 'class'=>'center', 'filter' => true, 'batch' => true, 'noedit'=>TRUE ),
'media_datestamp' => array('title'=> LAN_DATESTAMP, 'type' => 'datestamp', 'data'=> 'int', 'width' => '10%', 'noedit'=>TRUE), // User date 'media_datestamp' => array('title'=> LAN_DATESTAMP, 'type' => 'datestamp', 'data'=> 'int', 'width' => '10%', 'noedit'=>TRUE), // User date
'media_size' => array('title'=> "Size", 'type' => 'number', 'data'=> 'int', 'width' => 'auto', 'noedit'=>TRUE), 'media_size' => array('title'=> "Size", 'type' => 'number', 'data'=> 'int', 'width' => 'auto', 'noedit'=>TRUE),
'media_dimensions' => array('title'=> "Dimensions", 'type' => 'text', 'data'=> 'str', 'width' => '5%', 'noedit'=>TRUE), 'media_dimensions' => array('title'=> "Dimensions", 'type' => 'text', 'data'=> 'str', 'width' => '5%', 'noedit'=>TRUE, 'class'=>'nowrap'),
'media_userclass' => array('title'=> LAN_USERCLASS, 'type' => 'userclass', 'data'=> 'str', 'width' => '10%', 'thclass' => 'center','filter'=>TRUE,'batch'=>TRUE ), 'media_userclass' => array('title'=> LAN_USERCLASS, 'type' => 'userclass', 'data'=> 'str', 'width' => '10%', 'thclass' => 'center','filter'=>TRUE,'batch'=>TRUE ),
'media_tags' => array('title'=> "Tags/Keywords", 'type' => 'text', 'data'=> 'str', 'width' => '10%', 'filter'=>TRUE,'batch'=>TRUE ), 'media_tags' => array('title'=> "Tags/Keywords", 'type' => 'text', 'data'=> 'str', 'width' => '10%', 'filter'=>TRUE,'batch'=>TRUE ),
'media_usedby' => array('title'=> '', 'type' => 'text', 'data'=> 'text', 'width' => 'auto', 'thclass' => 'center', 'class'=>'center', 'nolist'=>true, 'readonly'=>TRUE ), 'media_usedby' => array('title'=> '', 'type' => 'text', 'data'=> 'text', 'width' => 'auto', 'thclass' => 'center', 'class'=>'center', 'nolist'=>true, 'readonly'=>TRUE ),
@@ -385,7 +385,7 @@ class media_admin_ui extends e_admin_ui
'media_author' => USERID, 'media_author' => USERID,
'media_usedby' => '', 'media_usedby' => '',
'media_tags' => '', 'media_tags' => '',
'media_dimensions' => $info['img-width']."|".$info['img-height'] 'media_dimensions' => $info['img-width']." x ".$info['img-height']
); );
@@ -550,7 +550,7 @@ class media_admin_ui extends e_admin_ui
'media_name' => $f['fname'], 'media_name' => $f['fname'],
'media_author' => USERID, 'media_author' => USERID,
'media_size' => $f['fsize'], 'media_size' => $f['fsize'],
'media_dimensions' => $f['img-width']."|".$f['img-height'], 'media_dimensions' => $f['img-width']." x ".$f['img-height'],
'media_usedby' => '', 'media_usedby' => '',
'media_tags' => '', 'media_tags' => '',
'media_type' => $f['mime'] 'media_type' => $f['mime']

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_admin/update_routines.php,v $ | $Source: /cvs_backup/e107_0.8/e107_admin/update_routines.php,v $
| $Revision: 1.66 $ | $Revision: 1.67 $
| $Date: 2009-12-02 10:03:53 $ | $Date: 2009-12-04 11:42:04 $
| $Author: e107coders $ | $Author: e107coders $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@@ -849,7 +849,7 @@ function update_706_to_800($type='')
'media_name' => $f['fname'], 'media_name' => $f['fname'],
'media_author' => USERID, 'media_author' => USERID,
'media_size' => $f['fsize'], 'media_size' => $f['fsize'],
'media_dimensions' => $f['img-width']."|".$f['img-height'], 'media_dimensions' => $f['img-width']." x ".$f['img-height'],
'media_usedby' => '', 'media_usedby' => '',
'media_tags' => '', 'media_tags' => '',
'media_type' => $f['mime'] 'media_type' => $f['mime']
@@ -873,7 +873,7 @@ function update_706_to_800($type='')
'media_name' => $f['fname'], 'media_name' => $f['fname'],
'media_author' => USERID, 'media_author' => USERID,
'media_size' => $f['fsize'], 'media_size' => $f['fsize'],
'media_dimensions' => $f['img-width']."|".$f['img-height'], 'media_dimensions' => $f['img-width']." x ".$f['img-height'],
'media_usedby' => '', 'media_usedby' => '',
'media_tags' => '', 'media_tags' => '',
'media_type' => $f['mime'] 'media_type' => $f['mime']