diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-07-07 21:16:36 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-07-07 21:20:24 -0700 |
commit | faabae5dae712ebff656abe8ebc493d8e031d4a3 (patch) | |
tree | 5e2762cf96611a485c50b83fbb7de3bf1197ef21 /modules/server_add/models | |
parent | 22b2e1044fd3b7be30caba9316f41bdbed8c8a8b (diff) |
Rework server_add. It's smaller and leaner now, storing the list of
files out in a separate model for scalability. Removed the "pause"
functionality.
- Server_Add_Controller extends Admin_Controller so that we don't have
to check for admin every time.
- Task completion time now factors in the time it takes to walk the
arbitrarily deep trees
- Moved checkbox management entirely into JS using jQuery
- Simplified the JS considerably
Diffstat (limited to 'modules/server_add/models')
-rw-r--r-- | modules/server_add/models/server_add_file.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/server_add/models/server_add_file.php b/modules/server_add/models/server_add_file.php new file mode 100644 index 00000000..8b1ed924 --- /dev/null +++ b/modules/server_add/models/server_add_file.php @@ -0,0 +1,21 @@ +<?php defined("SYSPATH") or die("No direct script access."); +/** + * Gallery - a web based photo album viewer and editor + * Copyright (C) 2000-2009 Bharat Mediratta + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. + */ +class Server_Add_File_Model extends ORM { +} |