1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-29 02:40:25 +02:00

Move list_new functionality for downloads in to download plugin

This commit is contained in:
bugrain
2009-05-04 19:57:48 +00:00
parent 86424a142f
commit 78c7030698
3 changed files with 74 additions and 75 deletions

View File

@@ -1,18 +1,21 @@
<?php
/*
* e107 website system
*
* Copyright (C) 2001-2008 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
* Download e_list Handler
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/section/list_download.php,v $
* $Revision: 1.4 $
* $Date: 2009-01-28 08:48:14 $
* $Author: lisa_ $
*
+ ----------------------------------------------------------------------------+
| e107 website system
|
| ©Steve Dunstan 2001-2002
| http://e107.org
| jalist@e107.org
|
| Released under the terms and conditions of the
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/download/e_list.php,v $
| $Revision: 1.1 $
| $Date: 2009-05-04 19:57:23 $
| $Author: bugrain $
|
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
@@ -76,5 +79,4 @@ class list_download
);
}
}
?>

View File

@@ -9,9 +9,9 @@
* List Language
*
| $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/languages/English.php,v $
| $Revision: 1.6 $
| $Date: 2009-01-27 21:34:02 $
| $Author: lisa_ $
| $Revision: 1.7 $
| $Date: 2009-05-04 19:57:48 $
| $Author: bugrain $
*
*/
@@ -48,12 +48,9 @@ define("LIST_COMMENT_5", "poll");
define("LIST_COMMENT_6", "docs");
define("LIST_COMMENT_7", "bugtrack");
define("LIST_COMMENT_8", "content");
define("LIST_COMMENT_9", "download");
define("LIST_COMMENT_9", "");
define("LIST_COMMENT_10", "ideas");
define("LIST_DOWNLOAD_1", "downloads");
define("LIST_DOWNLOAD_2", "no downloads");
define("LIST_MEMBER_1", "members");
define("LIST_MEMBER_2", "no members");

View File

@@ -9,9 +9,9 @@
* List Class
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/list_class.php,v $
* $Revision: 1.8 $
* $Date: 2009-01-27 23:46:12 $
* $Author: lisa_ $
* $Revision: 1.9 $
* $Date: 2009-05-04 19:57:48 $
* $Author: bugrain $
*
*/
if (!defined('e107_INIT')) { exit; }
@@ -74,7 +74,7 @@ class listclass
}
//default sections (present in this list plugin)
$this->defaultArray = array("news", "comment", "download", "members");
$this->defaultArray = array("news", "comment", "members");
}
/**