[Customisation Database Commits] r128 - in /trunk/titania/includes/mods: mods_details.php mods_reviews.php mods_support.php

David Lewis highwayoflife at phpbb.com
Sat Nov 8 00:38:02 CET 2008


Author: HighwayofLife
Date: Sat Nov  8 00:38:02 2008
New Revision: 128

Log:
Adding module files for the following basenames:
- details (screenshots, changes, history, etc)
- reviews (manage, view mod reviews)
- support (post, view, edit support topic)

Added:
    trunk/titania/includes/mods/mods_details.php   (with props)
    trunk/titania/includes/mods/mods_reviews.php   (with props)
    trunk/titania/includes/mods/mods_support.php   (with props)

Added: trunk/titania/includes/mods/mods_details.php
==============================================================================
*** trunk/titania/includes/mods/mods_details.php (added)
--- trunk/titania/includes/mods/mods_details.php Sat Nov  8 00:38:02 2008
***************
*** 0 ****
--- 1,75 ----
+ <?php
+ /**
+  *
+  * @package titania
+  * @version $Id$
+  * @copyright (c) 2008 phpBB Customisation Database Team
+  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+  *
+  */
+ 
+ /**
+ * @ignore
+ */
+ if (!defined('IN_PHPBB'))
+ {
+ 	exit;
+ }
+ 
+ /**
+ * mods_details
+ * Class for Details module
+ * @package details
+ */
+ class mods_details extends titania_object
+ {
+ 	public $p_master;
+ 	public $u_action;
+ 
+ 	/**
+ 	 * Constructor
+ 	 */
+ 	public function __construct(&$p_master)
+ 	{
+ 		global $user;
+ 
+ 		$this->p_master = &$p_master;
+ 
+ 		$this->page = $user->page['script_path'] . $user->page['page_name'];
+ 	}
+ 
+ 	/**
+ 	 * main method for this module
+ 	 *
+ 	 * @param string $id
+ 	 * @param string $mode
+ 	 */
+ 	public function main($id, $mode)
+ 	{
+ 		global $user, $template, $cache;
+ 
+ 		$user->add_lang(array('titania_details'));
+ 
+ 		$submit		= isset($_POST['submit']) ? true : false;
+ 
+ 		switch ($mode)
+ 		{
+ 			case 'screenshots':
+ 			break;
+ 
+ 			case 'preview':
+ 			break;
+ 
+ 			case 'changes':
+ 			break;
+ 
+ 			case 'email':
+ 			break;
+ 
+ 			case 'details':
+ 			default:
+ 
+ 			break;
+ 		}
+ 	}
+ }
\ No newline at end of file

Propchange: trunk/titania/includes/mods/mods_details.php
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: trunk/titania/includes/mods/mods_details.php
------------------------------------------------------------------------------
    svn:keywords = Id

Added: trunk/titania/includes/mods/mods_reviews.php
==============================================================================
*** trunk/titania/includes/mods/mods_reviews.php (added)
--- trunk/titania/includes/mods/mods_reviews.php Sat Nov  8 00:38:02 2008
***************
*** 0 ****
--- 1,55 ----
+ <?php
+ /**
+  *
+  * @package titania
+  * @version $Id$
+  * @copyright (c) 2008 phpBB Customisation Database Team
+  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+  *
+  */
+ 
+ /**
+ * @ignore
+ */
+ if (!defined('IN_PHPBB'))
+ {
+ 	exit;
+ }
+ 
+ /**
+ * mods_reviews
+ * Class for Reviews module
+ * @package reviews
+ */
+ class mods_reviews extends titania_object
+ {
+ 	public $p_master;
+ 	public $u_action;
+ 
+ 	/**
+ 	 * Constructor
+ 	 */
+ 	public function __construct(&$p_master)
+ 	{
+ 		global $user;
+ 
+ 		$this->p_master = &$p_master;
+ 
+ 		$this->page = $user->page['script_path'] . $user->page['page_name'];
+ 	}
+ 
+ 	/**
+ 	 * main method for this module
+ 	 *
+ 	 * @param string $id
+ 	 * @param string $mode
+ 	 */
+ 	public function main($id, $mode)
+ 	{
+ 		global $user, $template, $cache;
+ 
+ 		$user->add_lang(array('titania_reviews'));
+ 
+ 		$submit		= isset($_POST['submit']) ? true : false;
+ 	}
+ }
\ No newline at end of file

Propchange: trunk/titania/includes/mods/mods_reviews.php
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: trunk/titania/includes/mods/mods_reviews.php
------------------------------------------------------------------------------
    svn:keywords = Id

Added: trunk/titania/includes/mods/mods_support.php
==============================================================================
*** trunk/titania/includes/mods/mods_support.php (added)
--- trunk/titania/includes/mods/mods_support.php Sat Nov  8 00:38:02 2008
***************
*** 0 ****
--- 1,55 ----
+ <?php
+ /**
+  *
+  * @package titania
+  * @version $Id$
+  * @copyright (c) 2008 phpBB Customisation Database Team
+  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+  *
+  */
+ 
+ /**
+ * @ignore
+ */
+ if (!defined('IN_PHPBB'))
+ {
+ 	exit;
+ }
+ 
+ /**
+ * mods_support
+ * Class for Support module
+ * @package support
+ */
+ class mods_support extends titania_object
+ {
+ 	public $p_master;
+ 	public $u_action;
+ 
+ 	/**
+ 	 * Constructor
+ 	 */
+ 	public function __construct(&$p_master)
+ 	{
+ 		global $user;
+ 
+ 		$this->p_master = &$p_master;
+ 
+ 		$this->page = $user->page['script_path'] . $user->page['page_name'];
+ 	}
+ 
+ 	/**
+ 	 * main method for this module
+ 	 *
+ 	 * @param string $id
+ 	 * @param string $mode
+ 	 */
+ 	public function main($id, $mode)
+ 	{
+ 		global $user, $template, $cache;
+ 
+ 		$user->add_lang(array('titania_support'));
+ 
+ 		$submit		= isset($_POST['submit']) ? true : false;
+ 	}
+ }

Propchange: trunk/titania/includes/mods/mods_support.php
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: trunk/titania/includes/mods/mods_support.php
------------------------------------------------------------------------------
    svn:keywords = Id




More information about the customisationdb-commits mailing list