1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 01:30:32 +02:00

Submit-news working again. Admin Newspost re-work (needs testing), additional JS for dialogs etc.

This commit is contained in:
CaMer0n
2012-05-17 09:19:44 +00:00
parent f8b32d89ce
commit 6b6701f900
10 changed files with 928 additions and 51 deletions

View File

@@ -245,10 +245,6 @@ class media_admin_ui extends e_admin_ui
// //protected $editQry = "SELECT * FROM #comments WHERE comment_id = {ID}";
// protected $tableJoin = array(
// 'u.user' => array('leftField' => 'media_author', 'rightField' => 'user_id', 'fields' => 'user_id,user_loginname,user_name')
// );
protected $pid = "media_id";
protected $perPage = 10;
protected $batchDelete = true;
@@ -673,7 +669,7 @@ class media_admin_ui extends e_admin_ui
{
if(!$sc_path) return array();
$path = e107::getParser()->replaceConstants($sc_path);
$info = e107::getFile()->get_file_info($path);
$info = e107::getFile()->get_file_info($path,true);
return array(
'media_type' => $info['mime'],
'media_datestamp' => time(),