# HG changeset patch # User Dan # Date 1192893100 14400 # Node ID 9237767a23ae2181da59467ef6f4bd7e96396722 # Parent 3dbe848431b0897b19add6b128cd136739fd8e98 Implemented cron image into Oxygen and St Patty as promised; fixed way-outdated version numbers in plugins diff -r 3dbe848431b0 -r 9237767a23ae plugins/PrivateMessages.php --- a/plugins/PrivateMessages.php Fri Oct 19 21:39:33 2007 -0400 +++ b/plugins/PrivateMessages.php Sat Oct 20 11:11:40 2007 -0400 @@ -4,13 +4,13 @@ Plugin URI: http://enanocms.org/ Description: Provides the page Special:PrivateMessages, which is used to manage private message functions. Also handles buddy lists. Author: Dan Fuhry -Version: 1.0.1 +Version: 1.0.2 Author URI: http://enanocms.org/ */ /* * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between - * Version 1.0 release candidate 2 + * Version 1.0.2 * Copyright (C) 2006-2007 Dan Fuhry * * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License diff -r 3dbe848431b0 -r 9237767a23ae plugins/SpecialAdmin.php --- a/plugins/SpecialAdmin.php Fri Oct 19 21:39:33 2007 -0400 +++ b/plugins/SpecialAdmin.php Sat Oct 20 11:11:40 2007 -0400 @@ -4,7 +4,7 @@ Plugin URI: http://enanocms.org/ Description: Provides the page Special:Administration, which is the AJAX frontend to the various Admin pagelets. This plugin cannot be disabled. Author: Dan Fuhry -Version: 1.0.1 +Version: 1.0.2 Author URI: http://enanocms.org/ */ diff -r 3dbe848431b0 -r 9237767a23ae plugins/SpecialCSS.php --- a/plugins/SpecialCSS.php Fri Oct 19 21:39:33 2007 -0400 +++ b/plugins/SpecialCSS.php Sat Oct 20 11:11:40 2007 -0400 @@ -4,13 +4,13 @@ Plugin URI: http://enanocms.org/ Description: Provides the page Special:CSS, which is used in template files to reference the style sheet. Disabling or deleting this plugin will result in site instability. Author: Dan Fuhry -Version: 1.0.1 +Version: 1.0.2 Author URI: http://enanocms.org/ */ /* * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between - * Version 1.0 release candidate 2 + * Version 1.0.2 * Copyright (C) 2006-2007 Dan Fuhry * * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License diff -r 3dbe848431b0 -r 9237767a23ae plugins/SpecialGroups.php --- a/plugins/SpecialGroups.php Fri Oct 19 21:39:33 2007 -0400 +++ b/plugins/SpecialGroups.php Sat Oct 20 11:11:40 2007 -0400 @@ -4,13 +4,13 @@ Plugin URI: http://enanocms.org/ Description: Provides group moderators and site administrators with the ability to control who is part of their groups. Author: Dan Fuhry -Version: 1.0.1 +Version: 1.0.2 Author URI: http://enanocms.org/ */ /* * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between - * Version 1.0 release candidate 2 + * Version 1.0.2 * Copyright (C) 2007 Dan Fuhry * * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License diff -r 3dbe848431b0 -r 9237767a23ae plugins/SpecialPageFuncs.php --- a/plugins/SpecialPageFuncs.php Fri Oct 19 21:39:33 2007 -0400 +++ b/plugins/SpecialPageFuncs.php Sat Oct 20 11:11:40 2007 -0400 @@ -4,13 +4,13 @@ Plugin URI: http://enanocms.org/ Description: Provides the page Special:CreatePage, which can be used to create new pages. Also adds the About Enano and GNU General Public License pages. Author: Dan Fuhry -Version: 1.0.1 +Version: 1.0.2 Author URI: http://enanocms.org/ */ /* * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between - * Version 1.0 release candidate 2 + * Version 1.0.2 * Copyright (C) 2006-2007 Dan Fuhry * * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License diff -r 3dbe848431b0 -r 9237767a23ae plugins/SpecialSearch.php --- a/plugins/SpecialSearch.php Fri Oct 19 21:39:33 2007 -0400 +++ b/plugins/SpecialSearch.php Sat Oct 20 11:11:40 2007 -0400 @@ -4,13 +4,13 @@ Plugin URI: http://enanocms.org/ Description: Provides the page Special:Search, which is a frontend to the Enano search engine. Author: Dan Fuhry -Version: 1.0.1 +Version: 1.0.2 Author URI: http://enanocms.org/ */ /* * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between - * Version 1.0 release candidate 2 + * Version 1.0.2 * Copyright (C) 2006-2007 Dan Fuhry * * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License diff -r 3dbe848431b0 -r 9237767a23ae plugins/SpecialUpdownload.php --- a/plugins/SpecialUpdownload.php Fri Oct 19 21:39:33 2007 -0400 +++ b/plugins/SpecialUpdownload.php Sat Oct 20 11:11:40 2007 -0400 @@ -4,13 +4,13 @@ Plugin URI: http://enanocms.org/ Description: Provides the pages Special:UploadFile and Special:DownloadFile. UploadFile is used to upload files to the site, and DownloadFile fetches the file from the database, creates thumbnails if necessary, and sends the file to the user. Author: Dan Fuhry -Version: 1.0.1 +Version: 1.0.2 Author URI: http://enanocms.org/ */ /* * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between - * Version 1.0 release candidate 2 + * Version 1.0.2 * Copyright (C) 2006-2007 Dan Fuhry * SpecialUpdownload.php - handles uploading and downloading of user-uploaded files - possibly the most rigorously security-enforcing script in all of Enano, although sessions.php comes in a close second * @@ -59,8 +59,14 @@ { $file = false; } - if(!is_array($file)) die_friendly('Upload failed', '

The server could not retrieve the array $_FILES[\'data\'].

'); - if($file['size'] == 0 || $file['size'] > (int)getConfig('max_file_size')) die_friendly('Upload failed', '

The file you uploaded is either too large or 0 bytes in length.

'); + if ( !is_array($file) ) + { + die_friendly('Upload failed', '

The server could not retrieve the array $_FILES[\'data\'].

'); + } + if ( $file['size'] == 0 || $file['size'] > (int)getConfig('max_file_size') ) + { + die_friendly('Upload failed', '

The file you uploaded is either too large or 0 bytes in length.

'); + } /* $allowed_mime_types = Array( 'text/plain', @@ -88,7 +94,7 @@ */ $types = fetch_allowed_extensions(); $ext = substr($file['name'], strrpos($file['name'], '.')+1, strlen($file['name'])); - if(!isset($types[$ext]) || ( isset($types[$ext]) && !$types[$ext] ) ) + if ( !isset($types[$ext]) || ( isset($types[$ext]) && !$types[$ext] ) ) { die_friendly('Upload failed', '

The file type ".'.$ext.'" is not allowed.

'); } diff -r 3dbe848431b0 -r 9237767a23ae plugins/SpecialUserFuncs.php --- a/plugins/SpecialUserFuncs.php Fri Oct 19 21:39:33 2007 -0400 +++ b/plugins/SpecialUserFuncs.php Sat Oct 20 11:11:40 2007 -0400 @@ -4,13 +4,13 @@ Plugin URI: http://enanocms.org/ Description: Provides the pages Special:Login, Special:Logout, Special:Register, and Special:Preferences. Author: Dan Fuhry -Version: 1.0.1 +Version: 1.0.2 Author URI: http://enanocms.org/ */ /* * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between - * Version 1.0 release candidate 2 + * Version 1.0.2 * Copyright (C) 2006-2007 Dan Fuhry * * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License diff -r 3dbe848431b0 -r 9237767a23ae plugins/SpecialUserPrefs.php --- a/plugins/SpecialUserPrefs.php Fri Oct 19 21:39:33 2007 -0400 +++ b/plugins/SpecialUserPrefs.php Sat Oct 20 11:11:40 2007 -0400 @@ -4,13 +4,13 @@ Plugin URI: http://enanocms.org/ Description: Provides the page Special:Preferences. Author: Dan Fuhry -Version: 1.0.1 +Version: 1.0.2 Author URI: http://enanocms.org/ */ /* * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between - * Version 1.0 release candidate 2 + * Version 1.0.2 * Copyright (C) 2006-2007 Dan Fuhry * * This program is Free Software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff -r 3dbe848431b0 -r 9237767a23ae themes/oxygen/footer.tpl --- a/themes/oxygen/footer.tpl Fri Oct 19 21:39:33 2007 -0400 +++ b/themes/oxygen/footer.tpl Sat Oct 20 11:11:40 2007 -0400 @@ -13,6 +13,8 @@
{COPYRIGHT}
Website engine powered by Enano  |  Valid XHTML 1.1  |  Valid CSS  |  Generated in [[GenTime]]sec + +
diff -r 3dbe848431b0 -r 9237767a23ae themes/stpatty/footer.tpl --- a/themes/stpatty/footer.tpl Fri Oct 19 21:39:33 2007 -0400 +++ b/themes/stpatty/footer.tpl Sat Oct 20 11:11:40 2007 -0400 @@ -11,6 +11,8 @@ --> {COPYRIGHT}
Powered by Enano | Valid XHTML 1.1 | Valid CSS | [[Stats]] + +