Permalink
Browse files

Initializing repository

  • Loading branch information...
0 parents commit 9a43ef4cdfa59bf3ebf4e1465235769af5a4f6d6 @ianmacl committed Jul 9, 2011
Showing 5,185 changed files with 425,150 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Oops, something went wrong.
0 README
No changes.
@@ -0,0 +1,73 @@
+1- What is this?
+ * This is a Joomla! installation/upgrade package to version 1.6.x
+ * Joomla! Official site: http://www.joomla.org
+ * Joomla 1.6 version history - http://docs.joomla.org/Joomla_1.6_version_history
+ * Detailed changes in the Changelog: http://joomlacode.org/gf/project/joomla/scmsvn/?action=browse&path=/development/trunk/administrator/&view=log
+
+2- What is Joomla?
+ * Joomla it's a Content Management System (CMS) which enables you to build Web sites and powerful online applications.
+ * It's a free and OpenSource software, distributed under the GNU General Public License version 2 or later
+ * This is a simple and powerful web server application and it requires a server with PHP and MySQL to run it.
+ More details here: http://www.joomla.org/about-joomla.html
+
+3- Is Joomla for you?
+ * Joomla its the right solution for any content web project: http://docs.joomla.org/Joomla_Is_it_for-me%3F
+ * See Features - http://docs.joomla.org/Joomla_1.6_Core_Features
+ * Try out our online demo: http://demo.joomla.org/
+
+4- How to find a Joomla! translation?
+ * Joomla speak your language: http://docs.joomla.org/Joomla_and_languages/translations
+ * Repository of accredited language packs: http://community.joomla.org/translations.html
+
+5- Learn Joomla!
+ * Read Getting Started with Joomla to find out the basics: http://docs.joomla.org/Joomla_1.6_Getting_Started
+ * Before installing, read the beginners guide: http://docs.joomla.org/Joomla_1.6_Beginners
+ * Joomla! 1.6 User Manual: http://docs.joomla.org/Manual_1_6
+
+6- What are the limits of Joomla?
+ * Joomla sites can be extended in functionalities with Extensions that you can create to suite your needs.
+ * There are lots of ready made extensions that you can download and install.
+ * See the Joomla! Extensions Directory (JED): http://extensions.joomla.org
+
+7- Is it easy to change the layout display?
+ * The layout its controlled by templates that you can edit.
+ * Joomla Template Tutorial - http://docs.joomla.org/Joomla_1.6_Template_Tutorial
+ * There are lots of ready made templates that you can download.
+
+8- Ready to install Joomla?
+ * See minimum requirements here: http://docs.joomla.org/Joomla_1.6_technical_requirements
+ * How do you install Joomla! 1.6? - http://docs.joomla.org/How_to_install_Joomla_1.6
+ * Start your Joomla experience building your site with a local test server.
+ When ready it can be moved to an on-line hosting account of your choice.
+ See the tutorial: http://docs.joomla.org/Tutorial:Joomla_Local_install
+
+9- Updates are free!
+ * Always use the latest version: http://www.joomla.org/download.html
+
+10- Where can you get support and help?
+ * FAQ Frequently Asked Questions: http://docs.joomla.org/Category:FAQ
+ * Find the information you need: http://docs.joomla.org/Start_here
+ * Find help and other users: http://www.joomla.org/about-joomla/create-and-share.html
+ * Post questions at our forums: http://forum.joomla.org
+ * Joomla Resources Directory (JRD): http://resources.joomla.org/tos.html
+
+11- Already have a site but its not built with Joomla 1.6 ?
+ * Joomla! 1.6 Overview: http://docs.joomla.org/Joomla_1.6_Overview
+ * What's new in Joomla 1.6 - http://docs.joomla.org/What%27s_new_in_Joomla_1.6
+ * What are the main differences from 1.5 to 1.6? Table of contents: http://docs.joomla.org/Differences_from_Joomla_1.5_to_Joomla_1.6
+ * How to migrate from 1.5.x to 1.6? Tutorial: http://docs.joomla.org/Tutorial:Migrating_from_Joomla_1.5_to_Joomla_1.6
+ * Upgrade Instructions: http://docs.joomla.org/Upgrade_Instructions
+ * Convert an existing Web site to Joomla - http://docs.joomla.org/How_to_Convert_an_existing_Web_site_to_a_Joomla!_Web_site
+
+12- Do you want to improve Joomla?
+ * How do you request a feature? http://docs.joomla.org/How_do_you_request_a_feature%3F
+ * How do you report a bug? http://docs.joomla.org/How_do_you_report_a_bug%3F
+ * Get Involved: Joomla! its a community developed software. Join the community at http://www.joomla.org
+ * Are you a Developer? http://docs.joomla.org/Developers
+ * Are you a Web designer? http://docs.joomla.org/Web_designers
+
+Copyright:
+ * Copyright (C) 2005 - 2011 Open Source Matters. All rights reserved.
+ * Credits: http://docs.joomla.org/Joomla_1.6_Credits
+ * Distributed under the GNU General Public License version 2 or later
+ * See Licenses details at http://docs.joomla.org/Joomla_Licenses
@@ -0,0 +1,4 @@
+<html>
+<body>
+</body>
+</html>
@@ -0,0 +1,20 @@
+<?php
+/**
+ * @version $Id: admin.php 20196 2011-01-09 02:40:25Z ian $
+ * @package Joomla.Administrator
+ * @subpackage com_admin
+ * @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+// no direct access
+defined('_JEXEC') or die;
+
+// No access check.
+
+// Include dependancies
+jimport('joomla.application.component.controller');
+
+$controller = JController::getInstance('Admin');
+$controller->execute(JRequest::getCmd('task'));
+$controller->redirect();
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Id: admin.xml 20196 2011-01-09 02:40:25Z ian $ -->
+<extension type="component" version="1.6.0" method="upgrade">
+ <name>com_admin</name>
+ <author>Joomla! Project</author>
+ <creationDate>April 2006</creationDate>
+ <copyright>(C) 2005 - 2011 Open Source Matters. All rights reserved.
+ </copyright>
+ <license>GNU General Public License version 2 or later; see
+ LICENSE.txt</license>
+ <authorEmail>admin@joomla.org</authorEmail>
+ <authorUrl>www.joomla.org</authorUrl>
+ <version>1.6.0</version>
+ <description>COM_ADMIN_XML_DESCRIPTION</description>
+ <media />
+ <administration>
+ <files folder="admin">
+ <filename>admin.php</filename>
+ <filename>controller.php</filename>
+ <filename>index.html</filename>
+ <folder>helpers</folder>
+ <folder>models</folder>
+ <folder>views</folder>
+ </files>
+ <languages folder="admin">
+ <language tag="en-GB">language/en-GB.com_admin.ini
+ </language>
+ </languages>
+ </administration>
+</extension>
@@ -0,0 +1,24 @@
+<?php
+/**
+ * @version $Id: controller.php 20196 2011-01-09 02:40:25Z ian $
+ * @package Joomla.Administrator
+ * @subpackage com_admin
+ * @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+// no direct access
+defined('_JEXEC') or die;
+
+jimport('joomla.application.component.controller');
+
+/**
+ * Admin Controller
+ *
+ * @package Joomla.Administrator
+ * @subpackage com_admin
+ * @since 1.6
+ */
+class AdminController extends JController
+{
+}
@@ -0,0 +1,4 @@
+<html>
+<body>
+</body>
+</html>
@@ -0,0 +1,89 @@
+<?php
+/**
+ * @version $Id: profile.php 20228 2011-01-10 00:52:54Z eddieajau $
+ * @package Joomla.Administrator
+ * @subpackage com_users
+ * @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+// No direct access.
+defined('_JEXEC') or die;
+
+jimport('joomla.application.component.controllerform');
+
+/**
+ * User profile controller class.
+ *
+ * @package Joomla.Administrator
+ * @subpackage com_users
+ * @since 1.6
+ */
+class AdminControllerProfile extends JControllerForm
+{
+ /**
+ * Method to check if you can add a new record.
+ *
+ * Extended classes can override this if necessary.
+ *
+ * @param array An array of input data.
+ * @param string The name of the key for the primary key.
+ *
+ * @return boolean
+ * @since 1.6
+ */
+ protected function allowEdit($data = array(), $key = 'id')
+ {
+ return true;
+ }
+
+ /**
+ * Overrides parent save method to check the submitted passwords match.
+ *
+ * @return mixed Boolean or JError.
+ * @since 1.6
+ */
+ public function save($key = null, $urlVar = null)
+ {
+ $data = JRequest::getVar('jform', array(), 'post', 'array');
+
+ // TODO: JForm should really have a validation handler for this.
+ if (isset($data['password']) && isset($data['password2'])) {
+ // Check the passwords match.
+ if ($data['password'] != $data['password2']) {
+ $this->setMessage(JText::_('JLIB_USER_ERROR_PASSWORD_NOT_MATCH'), 'warning');
+ $this->setRedirect(JRoute::_('index.php?option=com_admin&view=profile&layout=edit', false));
+ return false;
+ }
+
+ unset($data['password2']);
+ }
+
+ $return = parent::save();
+
+ if ($this->getTask() != 'apply') {
+ // Redirect to the main page.
+ $this->setRedirect(JRoute::_('index.php', false));
+ }
+
+ return $return;
+ }
+
+ /**
+ * Method to cancel an edit.
+ *
+ * @param string $key The name of the primary key of the URL variable.
+ *
+ * @return Boolean True if access level checks pass, false otherwise.
+ * @since 1.6
+ */
+ public function cancel($key = null)
+ {
+ $return = parent::cancel($key);
+
+ // Redirect to the main page.
+ $this->setRedirect(JRoute::_('index.php', false));
+
+ return $return;
+ }
+}
@@ -0,0 +1,61 @@
+<?php
+/**
+ * @version $Id: directory.php 20196 2011-01-09 02:40:25Z ian $
+ * @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+// no direct access
+defined('_JEXEC') or die;
+
+/**
+ * Utility class working with directory
+ *
+ * @package Joomla.Administrator
+ * @subpackage com_admin
+ * @since 1.6
+ */
+abstract class JHtmlDirectory
+{
+ /**
+ * Method to generate a (un)writable message for directory
+ *
+ * @param boolean $writable is the directory writable?
+ *
+ * @return string html code
+ */
+ public static function writable($writable)
+ {
+ if ($writable) {
+ return '<span class="writable">'. JText::_('COM_ADMIN_WRITABLE') .'</span>';
+ }
+ else {
+ return '<span class="unwritable">'. JText::_('COM_ADMIN_UNWRITABLE') .'</span>';
+ }
+ }
+
+ /**
+ * Method to generate a message for a directory
+ *
+ * @param string $dir the directory
+ * @param boolean $message the message
+ * @param boolean $visible is the $dir visible?
+ *
+ * @return string html code
+ */
+ public static function message($dir, $message, $visible=true)
+ {
+ if ($visible) {
+ $output = $dir;
+ }
+ else {
+ $output ='';
+ }
+ if (empty($message)) {
+ return $output;
+ }
+ else {
+ return $output.' <strong>'.JText::_($message).'</strong>';
+ }
+ }
+}
@@ -0,0 +1,4 @@
+<html>
+<body>
+</body>
+</html>
Oops, something went wrong.

0 comments on commit 9a43ef4

Please sign in to comment.