Version 1.1.0 released

git-svn-id: svn://p-o.co.uk/p-o.co.uk/com_ajaxdemo@60 60e5ea7b-c093-dd11-ac13-000423648166
This commit is contained in:
alan
2012-03-29 11:21:27 +00:00
parent 2fead4e541
commit 6356280cb1
75 changed files with 1529 additions and 0 deletions

View File

@ -0,0 +1 @@
<html><body bgcolor="#fff"></body></html>

View File

@ -0,0 +1,41 @@
<?php
/**
* Ajax demonstration component
*
* PHP version 5.3
*
* @category Joomla_Component
* @package Com_Ajaxdemo
* @subpackage View
* @author Alan Hicks <ahicks@p-o.co.uk>
* @copyright 2010-2012 Persistent Objects Ltd
* @license GNU General Public License version 2 or later; see LICENSE.txt
*
* @link http://p-o.co.uk/
*/
defined('_JEXEC') or die('Restricted access');
?>
<h2>Ajaxdemo</h2>
<p>Welcome to the com_ajaxdemo component to demonstrate one of the many uses of
Ajax</p>
<p>After installing this component, just add a menu item of type 'Ajaxdemo/Colour
List Layout' to a menu, then you will be able to see a list of colours that can be
clicked to open in a popup box.</p>
<p>Search engines and browsers without javascript see the content through normal
html pages.</p>
<p>If you are not getting a popup box, then media/system/js/modal.js and
media/system/js/modal-uncompressed.js may not have been fixed, if not, then
simply append the contents of modal.js.txt that came with the zip installation to
both files.</p>
<h2>Copyright</h2>
<p>Persistent Objects Ltd 2010-2012</p>
<p><a href="http://p-o.co.uk/">http://p-o.co.uk</a></p>
<h2>License</h2>
<p>GNU General Public License version 2 or later; see LICENSE.txt</p>
<h2>Thanks</h2>
<p>The graphics were created using the Gnu image manipulation program
http://www.gimp.org/</p>
<p>Thanks to Wikipedia for the colour wavelengths.</p>
<p>Thanks to http://www.lipsum.com/ for additional text.</p>

View File

@ -0,0 +1 @@
<html><body bgcolor="#fff"></body></html>

View File

@ -0,0 +1,61 @@
<?php
/**
* Ajax demonstration component
*
* PHP version 5.3
*
* @category Joomla_Component
* @package Com_Ajaxdemo
* @subpackage View
* @author Alan Hicks <ahicks@p-o.co.uk>
* @copyright 2010-2012 Persistent Objects Ltd
* @license GNU General Public License version 2 or later; see LICENSE.txt
*
* @link http://p-o.co.uk/
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
jimport('joomla.application.component.view');
/**
* HTML View class for the Ajax demonstration component
*
* @category Joomla_Component
* @package Com_Ajaxdemo
* @subpackage Components
* @author Alan Hicks <ahicks@p-o.co.uk>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*
* @link http://p-o.co.uk/
*/
class AjaxdemoViewAjaxdemo extends JView
{
/**
* Display method for Check
*
* @param string $tpl Template to display
*
* @return void
**/
function display($tpl = null)
{
// Set the toolbar
JToolBarHelper::title('Ajax demo');
//JSubMenuHelper::addEntry(
// 'Ajaxdemo',
// 'index.php?option=com_ajaxdemo&view=ajaxdemo',
// true
//);
// Display the template
parent::display($tpl);
// Set the document
$document = JFactory::getDocument();
$document->setTitle('Ajaxdemo');
}
}

1
admin/views/index.html Normal file
View File

@ -0,0 +1 @@
<html><body bgcolor="#fff"></body></html>