00001 <?php 00002 00003 /******************************************************************************* 00004 * Aliro - the modern, accessible content management system 00005 * 00006 * Aliro is open source software, free to use, and licensed under GPL. 00007 * You can find the full licence at http://www.gnu.org/copyleft/gpl.html GNU/GPL 00008 * 00009 * The author freely draws attention to the fact that Aliro derives from Mambo, 00010 * software that is controlled by the Mambo Foundation. However, this section 00011 * of code is totally new. If it should contain any fragments that are similar 00012 * to Mambo, please bear in mind (1) there are only so many ways to do things 00013 * and (2) the author of Aliro is also the author and copyright owner for large 00014 * parts of Mambo 4.6. 00015 * 00016 * Tribute should be paid to all the developers who took Mambo to the stage 00017 * it had reached at the time Aliro was created. It is a feature rich system 00018 * that contains a good deal of innovation. 00019 * 00020 * Your attention is also drawn to the fact that Aliro relies on other items of 00021 * open source software, which is very much in the spirit of open source. Aliro 00022 * wishes to give credit to those items of code. Please refer to 00023 * http://aliro.org/credits for details. The credits are not included within 00024 * the Aliro package simply to avoid providing a marker that allows hackers to 00025 * identify the system. 00026 * 00027 * Copyright in this code is strictly reserved by its author, Martin Brampton. 00028 * If it seems appropriate, the copyright will be vested in the Aliro Organisation 00029 * at a suitable time. 00030 * 00031 * Copyright (c) 2007 Martin Brampton 00032 * 00033 * http://aliro.org 00034 * 00035 * counterpoint@aliro.org 00036 * 00037 * version is a very simple singleton class used to hold version information. 00038 * 00039 */ 00040 00042 class version { 00043 private static $instance = __CLASS__; 00044 00046 public $PRODUCT = 'Aliro'; 00048 public $RELEASE = '2.0'; 00050 public $DEV_STATUS = 'External-Alpha5'; 00052 public $DEV_LEVEL = '0'; 00054 public $CODENAME = 'Christoph'; 00056 public $RELDATE = '18-Nov-2007'; 00058 public $RELTIME = '23:00'; 00060 public $RELTZ = 'GMT'; 00062 public $COPYRIGHT = 'Copyright 2006-7 Martin Brampton. All rights reserved.'; 00064 public $URL = '<a href="http://www.aliro.org">%s</a> is Free Software released under the GNU/GPL License.'; 00065 00066 public static function getInstance () { 00067 return is_object(self::$instance) ? self::$instance : (self::$instance = new self::$instance); 00068 } 00069 00070 function footer () { 00071 return "<div>".sprintf($this->URL,$this->PRODUCT.' '.$this->RELEASE.'/'.$this->DEV_STATUS.'/'.$this->DEV_LEVEL).'</div>'; 00072 } 00073 }
1.5.5