Permalink
Browse files

adding files!

  • Loading branch information...
0 parents commit aeb49b99a1b7137a9682526daea03d4b48f24d5d @derekjones derekjones committed Oct 3, 2011
@@ -0,0 +1,2 @@
+.DS_Store
+Thumbs.db
@@ -0,0 +1,34 @@
+############################################
+ExpressionEngine Tutorials - Download Module
+############################################
+
+Source files for the example module used in the ExpressionEngine
+Developer Documentation `Module Tutorial <http://expressionengine.com/user_guide/development/module_tutorial.html>`_.
+
+This software package is licensed under the MIT (X11) License.
+
+License
+=======
+
+Copyright (C) 2010 - 2011 EllisLab, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ELLISLAB, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Except as contained in this notice, the name of EllisLab, Inc. shall not be
+used in advertising or otherwise to promote the sale, use or other dealings
+in this Software without prior written authorization from EllisLab, Inc.
@@ -0,0 +1,107 @@
+<?php
+
+/*
+Copyright (C) 2010 - 2011 EllisLab, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ELLISLAB, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Except as contained in this notice, the name of EllisLab, Inc. shall not be
+used in advertising or otherwise to promote the sale, use or other dealings
+in this Software without prior written authorization from EllisLab, Inc.
+*/
+
+$lang = array(
+
+"download_module_name" => 'Download Module',
+"download_module_description" => 'Allows forced and protected file downloads',
+'no_matching_files' => 'No matching files',
+'add_download' => 'Add Download',
+'download_config' => 'Module Configuration',
+'edit_items' => 'Downloadable Items',
+'download_files' => 'Download Files',
+
+'file_name' =>
+'File name',
+
+'download' =>
+'Download',
+
+'bad' =>
+'bad data',
+
+'id_field_instructions' =>
+'Allows downloadable files to be associated with this entry',
+
+'file_title' =>
+'File title',
+
+'access' =>
+'Member access',
+
+'edit_selected' =>
+'Edit selected',
+
+'delete_selected' =>
+'Delete selected',
+
+'file_size' =>
+'File size',
+
+'kind' =>
+'Kind',
+
+'create_download_files' =>
+'Create download files',
+
+'submit' =>
+'Submit',
+
+'add_files' =>
+'Add Files',
+
+'edit_files' =>
+'Edit Files',
+
+'edit_file' =>
+'Edit File',
+
+'delete_file' =>
+'Delete file',
+
+'delete_files' =>
+'Delete Files',
+
+'file_deleted' =>
+'File deleted',
+
+'files_deleted' =>
+'Files deleted',
+
+'download_delete_question' =>
+'Are you certain you want to delete these download records',
+
+'invalid_download' =>
+'Invalid download',
+
+'no_permission' =>
+'You do not have permission to access this file',
+
+
+//
+''=>''
+);
@@ -0,0 +1,59 @@
+<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
+
+/*
+Copyright (C) 2010 - 2011 EllisLab, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ELLISLAB, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Except as contained in this notice, the name of EllisLab, Inc. shall not be
+used in advertising or otherwise to promote the sale, use or other dealings
+in this Software without prior written authorization from EllisLab, Inc.
+*/
+
+class Publish_page_api {
+
+ var $files = array();
+
+ /**
+ * Constructor
+ *
+ * @access public
+ */
+ function Publish_page_api()
+ {
+ $this->EE =& get_instance();
+
+ }
+
+ function update_publish()
+ {
+
+ }
+
+ function publish_fields()
+ {
+
+ }
+
+
+ // --------------------------------------------------------------------
+
+}
+
+/* End of file publish_page_api.php */
+/* Location: ./system/expressionengine/third_party/modules/download/publish_page_api.php */
Oops, something went wrong.

0 comments on commit aeb49b9

Please sign in to comment.