diff -r 474f8be55943 -r ab66d6d1f1f4 plugins/SpecialPageFuncs.php --- a/plugins/SpecialPageFuncs.php Fri Dec 07 18:47:37 2007 -0500 +++ b/plugins/SpecialPageFuncs.php Wed Dec 19 22:55:40 2007 -0500 @@ -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.2 +Version: 1.0.3 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.2 + * Version 1.0.3 * 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 @@ -109,6 +109,11 @@ exit; } + $code = $plugins->setHook('page_create_request'); + foreach ( $code as $cmd ) + { + eval($cmd); + } if ( substr($urlname, 0, 8) == 'Project:' ) { $template->header(); @@ -442,9 +447,25 @@ - - Database engine powered by MySQL - + + + Database engine powered by MySQL + + + + Database engine powered by PostgreSQL + + @@ -454,7 +475,23 @@ get('meta_enano_about_lbl_webserver'); ?> get('meta_enano_about_lbl_serverplatform'); ?> get('meta_enano_about_lbl_phpversion'); ?> - get('meta_enano_about_lbl_mysqlversion'); ?>_conn); ?> + + get('meta_enano_about_lbl_mysqlversion'); ?>_conn); ?> + _conn); + $pg_version = $pg_serverdata['server']; + ?> + get('meta_enano_about_lbl_pgsqlversion'); ?> +