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

Delete confirm screen for media manager

This commit is contained in:
secretr
2012-10-31 21:54:55 +00:00
parent a53327433d
commit 909735d442
2 changed files with 41 additions and 16 deletions

View File

@@ -591,6 +591,8 @@ class media_admin_ui extends e_admin_ui
protected $batchDelete = true;
// protected $defaultOrder = 'desc';
protected $listOrder = 'm.media_id desc'; // show newest images first.
public $deleteConfirmScreen = true;
public $deleteConfirmMessage = 'You are about to delete %d records and <strong>ALL CORRESPONDING FILES</strong>! Please confirm to continue!';
//TODO - finish 'user' type, set 'data' to all editable fields, set 'noedit' for all non-editable fields
/*