This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Empty file.
Empty file.
Deleted file not rendered

This file was deleted.

Deleted file not rendered
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Empty file.
Empty file.

Large diffs are not rendered by default.

@@ -0,0 +1,21 @@
The MIT License

Copyright (c) 2004-2010 Dean Edwards

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

@@ -1,45 +1,39 @@
<?php
/**
* @package Molajo
* @subpackage Mojito
* @copyright Copyright (C) 2011 Cristina Solana. All rights reserved.
* @subpackage Install
* @copyright Copyright (C) 2011 Chris Rault. All rights reserved.
* @license GNU General Public License Version 2, or later http://www.gnu.org/licenses/gpl.html
*/
defined('MOLAJO') or die;
include dirname(__FILE__).'/include/head.php';
include dirname(__FILE__).'/lib/functions.php';
include dirname(__FILE__).'/lib/head.php';

$configHTML = true;
if ($configHTML == true): ?>
<!DOCTYPE html>
<?php else: ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php endif; ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo MOLAJO_PATH_ROOT; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<jdoc:include type="head" />
</head>
<body class="<?php echo $lcbrowser . ' ' . $lcbrowser.$ver . ' ' . strtolower($browser->getPlatform()); ?>">
<div id="wrap">
<div id="top">
<h1>
<a href="http://www.molajo.org" title="Click here to open the Molajo website in a new window" target="_blank">Molajo
<a href="http://molajo.org" title="Click here to open the Molajo website in a new window" target="_blank">Molajo
<span>Click here to view the Molajo website</span></a>
</h1>
<strong>Version 1.6.1 <span>Step 2 of 4</span></strong>
</div>
<!-- <jdoc:include type="modules" name="header" wrap="header" /> -->
<!-- <jdoc:include type="message" /> -->

<div id="main" class="step2">
<div class="inner">
<jdoc:include type="component" />
<!-- <jdoc:include type="modules" name="footer" wrap="footer" /> -->
<div id="actions">
<a href="index.html" class="btn-secondary">&laquo; <strong>P</strong>revious</a>
<a href="step2.html" class="btn-primary"><strong>N</strong>ext &raquo;</a>
</div>

</div>
<strong>Version <?php echo $version; ?> <span>Step <?php echo $stepNumber; ?> of 4</span></strong>
</div>
<div id="main" class="step1">
<jdoc:include type="component" />
<title>Molajo Installer - Step 1 of 4</title>
</div>
<?php include dirname(__FILE__).'/lib/footer.php'; ?>
<!-- <jdoc:include type="module" name="footer" wrap="footer" /> -->
</div>
</body>
<noscript>
@@ -0,0 +1,99 @@
/*
* jQuery Hotkeys Plugin
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Based upon the plugin by Tzury Bar Yochay:
* http://github.com/tzuryby/hotkeys
*
* Original idea by:
* Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/
*/

(function(jQuery){

jQuery.hotkeys = {
version: "0.8",

specialKeys: {
8: "backspace", 9: "tab", 13: "return", 16: "shift", 17: "ctrl", 18: "alt", 19: "pause",
20: "capslock", 27: "esc", 32: "space", 33: "pageup", 34: "pagedown", 35: "end", 36: "home",
37: "left", 38: "up", 39: "right", 40: "down", 45: "insert", 46: "del",
96: "0", 97: "1", 98: "2", 99: "3", 100: "4", 101: "5", 102: "6", 103: "7",
104: "8", 105: "9", 106: "*", 107: "+", 109: "-", 110: ".", 111 : "/",
112: "f1", 113: "f2", 114: "f3", 115: "f4", 116: "f5", 117: "f6", 118: "f7", 119: "f8",
120: "f9", 121: "f10", 122: "f11", 123: "f12", 144: "numlock", 145: "scroll", 191: "/", 224: "meta"
},

shiftNums: {
"`": "~", "1": "!", "2": "@", "3": "#", "4": "$", "5": "%", "6": "^", "7": "&",
"8": "*", "9": "(", "0": ")", "-": "_", "=": "+", ";": ": ", "'": "\"", ",": "<",
".": ">", "/": "?", "\\": "|"
}
};

function keyHandler( handleObj ) {
// Only care when a possible input has been specified
if ( typeof handleObj.data !== "string" ) {
return;
}

var origHandler = handleObj.handler,
keys = handleObj.data.toLowerCase().split(" ");

handleObj.handler = function( event ) {
// Don't fire in text-accepting inputs that we didn't directly bind to
if ( this !== event.target && (/textarea|select/i.test( event.target.nodeName ) ||
event.target.type === "text") ) {
return;
}

// Keypress represents characters, not special keys
var special = event.type !== "keypress" && jQuery.hotkeys.specialKeys[ event.which ],
character = String.fromCharCode( event.which ).toLowerCase(),
key, modif = "", possible = {};

// check combinations (alt|ctrl|shift+anything)
if ( event.altKey && special !== "alt" ) {
modif += "alt+";
}

if ( event.ctrlKey && special !== "ctrl" ) {
modif += "ctrl+";
}

// TODO: Need to make sure this works consistently across platforms
if ( event.metaKey && !event.ctrlKey && special !== "meta" ) {
modif += "meta+";
}

if ( event.shiftKey && special !== "shift" ) {
modif += "shift+";
}

if ( special ) {
possible[ modif + special ] = true;

} else {
possible[ modif + character ] = true;
possible[ modif + jQuery.hotkeys.shiftNums[ character ] ] = true;

// "$" can be triggered as "Shift+4" or "Shift+$" or just "$"
if ( modif === "shift+" ) {
possible[ jQuery.hotkeys.shiftNums[ character ] ] = true;
}
}

for ( var i = 0, l = keys.length; i < l; i++ ) {
if ( possible[ keys[i] ] ) {
return origHandler.apply( this, arguments );
}
}
};
}

jQuery.each([ "keydown", "keyup", "keypress" ], function() {
jQuery.event.special[ this ] = { add: keyHandler };
});

})( jQuery );
@@ -0,0 +1,70 @@
$(function() {
// Toggle the languages drop down
$("#select-language").click(function(){
$(this).toggleClass("active");
$("#language ul").toggle();
return false;
});

// Switch the selected language text and class
var langClass;
$("#language li a").click(function () {
langClass = $(this).parent().attr("class");
$('#language span strong').replaceWith( '<strong class="'+langClass+'">' + $(this).text() + '</strong>' );
});

// Inline labels
$('input[title]').each(function() {
if($(this).val() === '') {$(this).val($(this).attr('title'));}
$(this).focus(function() {
if($(this).val() === $(this).attr('title')) {$(this).val('').addClass('focused');}
$(this).parents("li").addClass("focus");
});
$(this).blur(function() {
if($(this).val() === '') {$(this).val($(this).attr('title')).removeClass('focused');}
$(this).parents("li").removeClass("focus");
});
});

// Faux radio toggle
$('.radios input[type="radio"]').click( function(){
$(this).attr('checked', 'checked');
$('.radios label.label-selected').removeClass('label-selected');
$(this).parent().addClass('label-selected');
});


$(document).keydown(handleKey);

function handleKey(e)
{
var left_arrow = 37;
var right_arrow = 39;

if (e.target.localName == 'body' || e.target.localName == 'html')
{
if (!e.ctrlKey && !e.altKey && !e.shiftKey && !e.metaKey)
{
var code = e.which;
if (code == left_arrow)
prevPage();
else if (code == right_arrow)
nextPage();
}
}
}

function prevPage()
{
var href = $('.pageslist .prev').attr('href');
if (href && href != document.location)
document.location = href;
}

function nextPage()
{
var href = $('.pageslist .next').attr('href');
if (href && href != document.location)
document.location = href;
}
});

This file was deleted.

This file was deleted.

Large diffs are not rendered by default.

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -0,0 +1,26 @@
<?php
/**
* @package Molajo
* @subpackage Install
* @copyright Copyright (C) 2011 Chris Rault. All rights reserved.
* @license GNU General Public License Version 2, or later http://www.gnu.org/licenses/gpl.html
*/
defined('MOLAJO') or die;

/*
This file is a wrapper, for use in PHP environments, which serves PIE.htc using the
correct content-type, so that IE will recognize it as a behavior. Simply specify the
behavior property to fetch this .php file instead of the .htc directly:
.myElement {
[ ...css3 properties... ]
behavior: url(PIE.php);
}
This is only necessary when the web server is not configured to serve .htc files with
the text/x-component content-type, and cannot easily be configured to do so (as is the
case with some shared hosting providers).
*/

header( 'Content-type: text/x-component' );
include dirname(__FILE__).'PIE.htc';

Large diffs are not rendered by default.

@@ -0,0 +1,13 @@
<?php
/**
* @package Molajo
* @subpackage Install
* @copyright Copyright (C) 2011 Chris Rault. All rights reserved.
* @license GNU General Public License Version 2, or later http://www.gnu.org/licenses/gpl.html
*/
defined('MOLAJO') or die;
?>
<div id="footer">
<a href="http://molajo.org" title="Click here to open the Molajo website in a new window" target="_blank">Molajo</a> is free software
licensed under the <a href="#" title="">GNU General Public License</a>.
</div>
@@ -0,0 +1,39 @@
<?php
/**
* @package Molajo
* @subpackage Install
* @copyright Copyright (C) 2011 Chris Rault. All rights reserved.
* @license GNU General Public License Version 2, or later http://www.gnu.org/licenses/gpl.html
*/
defined('MOLAJO') or die;

include_once dirname(__FILE__).'/browser.php';

if ($lcbrowser == 'internetexplorer') {
include_once dirname(__FILE__).'/PIE.php';
}

$browser = new MBrowser();
$thebrowser = preg_replace("/[^A-Za-z]/i", "", $browser->getBrowser());
$ver = $browser->getVersion();
$dots = ".";
$dashes = "";
$mod_chrome = "";
$ver = str_replace($dots , $dashes , $ver);
$lcbrowser = strtolower($thebrowser);

$layout = JRequest::getCmd('layout', 'installer_step1');
if ($layout == 'installer_step1') {
$stepNumber = 1;

} elseif ($layout == 'installer_step2') {
$stepNumber = 2;

} elseif ($layout == 'installer_step3') {
$stepNumber = 3;

} elseif ($layout == 'installer_step4') {
$stepNumber = 4;
}

$version = '1.0';
@@ -0,0 +1,32 @@
<?php
/**
* @package Molajo
* @subpackage Install
* @copyright Copyright (C) 2011 Chris Rault. All rights reserved.
* @license GNU General Public License Version 2, or later http://www.gnu.org/licenses/gpl.html
*/
defined('MOLAJO') or die;
?>
<link rel="stylesheet" href="<?php echo JURI::base().'templates/'.$this->template; ?>/css/install.css" />
<?php if ($lcbrowser == 'firefox') { ?>
<link rel="stylesheet" href="<?php echo JURI::base().'templates/'.$this->template; ?>/css/firefox.css" />
<?php } ?>
<?php if ($lcbrowser == 'chrome' || $lcbrowser == 'safari'){ ?>
<link rel="stylesheet" href="<?php echo JURI::base().'templates/'.$this->template; ?>/css/webkit.css" />
<?php } ?>
<?php if ($lcbrowser == 'opera') { ?>
<link rel="stylesheet" href="<?php echo JURI::base().'templates/'.$this->template; ?>/css/opera.css" />
<?php } ?>
<?php if ($lcbrowser == 'internetexplorer') { ?>
<link rel="stylesheet" href="<?php echo JURI::base().'templates/'.$this->template; ?>/css/ie.css" />
<?php } ?>
<?php if ($lcbrowser == 'opera') { ?>
<link rel="icon" type="image/png" href="http://prototype.dev/molajo-installer/images/quick-dial.png">
<?php } ?>
<?php if ($lcbrowser == 'internetexplorer' && ($ver == '60' || $ver == '70' || $ver == '80')) { ?>
<!-- Compliance patch for Microsoft browsers -->
<!--[if lt IE 9]><script src="<?php echo JURI::base().'templates/'.$this->template; ?>/ie7/IE9.js"></script><![endif]-->
<?php } ?>

<script type="text/javascript" src="<?php echo JURI::base().'templates/'.$this->template; ?>/js/jquery.js"></script>
<script type="text/javascript" src="<?php echo JURI::base().'templates/'.$this->template; ?>/js/install.js"></script>
@@ -7,34 +7,36 @@
*/
defined('MOLAJO') or die;
?>
<h2>Welcome to the Molajo Installer</h2>
<p>Before we get started, please ensure you have your database connection information handy, as you'll need it to complete the installation process.
Contact your hosting provider if you do not know your database connection information.</p>
<ul id="system-check">
<li id="language" class="valid">
<span>We have detected that your language is set to <strong class="en-uk">UK English</strong> <a href="#" id="select-language"><span>Change Language</span></a>
<ul style="display:none;">
<li class="en-us"><a href="#">US English</a></li>
<li class="en-uk"><a href="#">UK English</a></li>
<li class="de-de"><a href="#">German</a></li>
<li class="it-it"><a href="#">Italian</a></li>
<li class="po-br"><a href="#">Brazilian Portuguese</a></li>
</ul>
</span>
</li>
<li id="version" class="valid">
<span>You are installing the latest version of Molajo.</span>
</li>
<!--<li id="version" class="invalid">
<span>It seems you are installing an outdated version of Molajo. Please update before installing. <a href="#" id="update-installer"><span>Update Installer</span></a></span>
</li>-->
<li id="requirements" class="valid">
<span>Your server meets all of the system requirements.</span>
</li>
<!--<li id="requirements" class="invalid">
<span>There seems to an issue with your server configuration. Please address the issues listed below <a href="#" id="check-requirements"><span>Check Again</span></a></span>
</li>-->
</ul>
<div id="actions">
<a href="step1.html" class="btn-primary"><strong>Ready?</strong> Lets get started! &raquo;</a>
</div>
<div class="inner">
<h2>Welcome to the Molajo Installer</h2>
<p>Before we get started, please ensure you have your database connection information handy, as you'll need it to complete the installation process.
Contact your hosting provider if you do not know your database connection information.</p>
<ul id="system-check">
<li id="language" class="valid">
<span>We have detected that your language is set to <strong class="en-uk">UK English</strong> <a href="#" id="select-language"><span>Change Language</span></a>
<ul style="display:none;">
<li class="en-us"><a href="#">US English</a></li>
<li class="en-uk"><a href="#">UK English</a></li>
<li class="de-de"><a href="#">German</a></li>
<li class="it-it"><a href="#">Italian</a></li>
<li class="po-br"><a href="#">Brazilian Portuguese</a></li>
</ul>
</span>
</li>
<li id="version" class="valid">
<span>You are installing the latest version of Molajo.</span>
</li>
<!--<li id="version" class="invalid">
<span>It seems you are installing an outdated version of Molajo. Please update before installing. <a href="#" id="update-installer"><span>Update Installer</span></a></span>
</li>-->
<li id="requirements" class="valid">
<span>Your server meets all of the system requirements.</span>
</li>
<!--<li id="requirements" class="invalid">
<span>There seems to an issue with your server configuration. Please address the issues listed below <a href="#" id="check-requirements"><span>Check Again</span></a></span>
</li>-->
</ul>
<div id="actions">
<a href="<?php echo JURI::base(); ?>index.php?option=com_installer&view=display&layout=installer_step2" class="btn-primary"><strong>Ready?</strong> Lets get started! &raquo;</a>
</div>
</div>
@@ -7,34 +7,70 @@
*/
defined('MOLAJO') or die;
?>
<h2>Welcome to the Molajo Installer</h2>
<p>Before we get started, please ensure you have your database connection information handy, as you'll need it to complete the installation process.
Contact your hosting provider if you do not know your database connection information.</p>
<ul id="system-check">
<li id="language" class="valid">
<span>We have detected that your language is set to <strong class="en-uk">UK English</strong> <a href="#" id="select-language"><span>Change Language</span></a>
<ul style="display:none;">
<li class="en-us"><a href="#">US English</a></li>
<li class="en-uk"><a href="#">UK English</a></li>
<li class="de-de"><a href="#">German</a></li>
<li class="it-it"><a href="#">Italian</a></li>
<li class="po-br"><a href="#">Brazilian Portuguese</a></li>
</ul>
</span>
</li>
<li id="version" class="valid">
<span>You are installing the latest version of Molajo.</span>
</li>
<!--<li id="version" class="invalid">
<span>It seems you are installing an outdated version of Molajo. Please update before installing. <a href="#" id="update-installer"><span>Update Installer</span></a></span>
</li>-->
<li id="requirements" class="valid">
<span>Your server meets all of the system requirements.</span>
</li>
<!--<li id="requirements" class="invalid">
<span>There seems to an issue with your server configuration. Please address the issues listed below <a href="#" id="check-requirements"><span>Check Again</span></a></span>
</li>-->
</ul>
<div id="actions">
<a href="step1.html" class="btn-primary"><strong>Ready?</strong> Lets get started! &raquo;</a>
<div class="inner">

<h2>Database Setup</h2>

<p>Enter your database connection details below. Contact your host if you are not sure what these are.<br />
All fields marked with a <strong>*</strong> are required.</p>

<form action="">
<ol class="list-reset forms">
<li>
<span class="inner-wrap">
<label for="host" class="inlined">Host name</label>
<input type="text" class="input-text" id="host" name="host" title="Host name" />
<span class="note"><strong>*</strong> This is usually <b>localhost</b>.</span>
</span>
</li>
<li>
<span class="inner-wrap">
<label for="name" class="inlined">Database name</label>
<input type="text" class="input-text" id="name" name="name" title="Database name" />
<span class="note"><strong>*</strong> The name of the database you are installing Molajo on.</span>
</span>
</li>
<li>
<span class="inner-wrap">
<label for="username" class="inlined">Username</label>
<input type="text" class="input-text" id="username" name="username" title="Username" />
<span class="note"><strong>*</strong> Your MySQL database username.</span>
</span>
</li>
<li>
<span class="inner-wrap">
<label for="password" class="inlined">Password</label>
<input type="text" class="input-text" id="password" name="password" title="Password" />
<span class="note"><strong>*</strong> Your MySQL database password.</span>
</span>
</li>
<li>
<span class="inner-wrap">
<label for="prefix" class="inlined">Table prefix</label>
<input type="text" class="input-text" id="prefix" name="prefix" title="Table prefix" />
<span class="note"><strong>*</strong> By default this is set to jos_ but we recommended that you change this.</span>
</span>
</li>
</ol>

<ol class="list-rest radios">
<li>
<span class="label">Database type</span>
<label class="radio-left" for="mysql"><input name="dbtype" id="mysql" value="myql" type="radio">MySQL</label>
<label class="radio-right label-selected" for="mysqli"><input name="dbtype" id="mysqli" value="mysqli" type="radio" checked="checked">MySQLi</label>
<span class="note">MySQLi is recommended, but not all hosts support it. <a href="#">Learn more</a>.</span>
</li>
<li>
<span class="label">Existing database</span>
<label class="radio-left" for="remove"><input name="existingdb" id="remove" value="remove" type="radio">Remove</label>
<label class="radio-right label-selected" for="backup"><input name="existingdb" id="backup" value="backup" type="radio" checked="checked">Backup</label>
<span class="note alt">If you have an existing database with the same name, would you like it to be replaced or backed up.</span>
</li>
</ol>
</form>

<div id="actions">
<a href="<?php echo JURI::base(); ?>index.php?option=com_installer&view=display&layout=installer_step1" class="btn-secondary">&laquo; <strong>P</strong>revious</a>
<a href="<?php echo JURI::base(); ?>index.php?option=com_installer&view=display&layout=installer_step3" class="btn-primary"><strong>N</strong>ext &raquo;</a>
</div>
</div>
@@ -7,34 +7,51 @@
*/
defined('MOLAJO') or die;
?>
<h2>Welcome to the Molajo Installer</h2>
<p>Before we get started, please ensure you have your database connection information handy, as you'll need it to complete the installation process.
Contact your hosting provider if you do not know your database connection information.</p>
<ul id="system-check">
<li id="language" class="valid">
<span>We have detected that your language is set to <strong class="en-uk">UK English</strong> <a href="#" id="select-language"><span>Change Language</span></a>
<ul style="display:none;">
<li class="en-us"><a href="#">US English</a></li>
<li class="en-uk"><a href="#">UK English</a></li>
<li class="de-de"><a href="#">German</a></li>
<li class="it-it"><a href="#">Italian</a></li>
<li class="po-br"><a href="#">Brazilian Portuguese</a></li>
</ul>
</span>
</li>
<li id="version" class="valid">
<span>You are installing the latest version of Molajo.</span>
</li>
<!--<li id="version" class="invalid">
<span>It seems you are installing an outdated version of Molajo. Please update before installing. <a href="#" id="update-installer"><span>Update Installer</span></a></span>
</li>-->
<li id="requirements" class="valid">
<span>Your server meets all of the system requirements.</span>
</li>
<!--<li id="requirements" class="invalid">
<span>There seems to an issue with your server configuration. Please address the issues listed below <a href="#" id="check-requirements"><span>Check Again</span></a></span>
</li>-->
</ul>
<div id="actions">
<a href="step1.html" class="btn-primary"><strong>Ready?</strong> Lets get started! &raquo;</a>
</div>
<div class="inner">
<h2>Site Information</h2>
<p>Enter your site information. All fields marked with a <strong>*</strong> are required.</p>

<form action="">
<ol class="list-reset forms">
<li>
<span class="inner-wrap">
<label for="site" class="inlined">Site name</label>
<input type="text" class="input-text" id="site" name="site" title="Site name" />
<span class="note"><strong>*</strong> Your site name.</span>
</span>
</li>
<li>
<span class="inner-wrap">
<label for="email" class="inlined">Your email address</label>
<input type="text" class="input-text" id="email" name="email" title="Your email address" />
<span class="note"><strong>*</strong> Enter a valid email address. This is where your login info will be sent.</span>
</span>
</li>
<li>
<span class="inner-wrap">
<label for="username" class="inlined">Username</label>
<input type="text" class="input-text" id="username" name="username" title="Username" />
<span class="note"><strong>*</strong> Enter your admin username.</span>
</span>
</li>
<li>
<span class="inner-wrap">
<label for="password" class="inlined">Password</label>
<input type="password" class="password" id="password" name="password" title="Password" />
<span class="note"><strong>*</strong> Enter your admin password.</span>
</span>
</li>
</ol>
<div class="sample-data">
<a href="#" id="sample-data" class="btn-secondary">Install sample data</a>
<span class="note">Installing sample data is strongly recommended for beginners.
This will install sample content that is included in the Joomla! installation package. <a href="#">Learn more</a>.</span>
</div>
</form>

<div id="actions">
<a href="<?php echo JURI::base(); ?>index.php?option=com_installer&view=display&layout=installer_step2" class="btn-secondary">&laquo; <strong>P</strong>revious</a>
<a href="<?php echo JURI::base(); ?>index.php?option=com_installer&view=display&layout=installer_step4" class="btn-primary"><strong>N</strong>ext &raquo;</a>
</div>

</div>
@@ -7,34 +7,25 @@
*/
defined('MOLAJO') or die;
?>
<h2>Welcome to the Molajo Installer</h2>
<p>Before we get started, please ensure you have your database connection information handy, as you'll need it to complete the installation process.
Contact your hosting provider if you do not know your database connection information.</p>
<ul id="system-check">
<li id="language" class="valid">
<span>We have detected that your language is set to <strong class="en-uk">UK English</strong> <a href="#" id="select-language"><span>Change Language</span></a>
<ul style="display:none;">
<li class="en-us"><a href="#">US English</a></li>
<li class="en-uk"><a href="#">UK English</a></li>
<li class="de-de"><a href="#">German</a></li>
<li class="it-it"><a href="#">Italian</a></li>
<li class="po-br"><a href="#">Brazilian Portuguese</a></li>
</ul>
</span>
</li>
<li id="version" class="valid">
<span>You are installing the latest version of Molajo.</span>
</li>
<!--<li id="version" class="invalid">
<span>It seems you are installing an outdated version of Molajo. Please update before installing. <a href="#" id="update-installer"><span>Update Installer</span></a></span>
</li>-->
<li id="requirements" class="valid">
<span>Your server meets all of the system requirements.</span>
</li>
<!--<li id="requirements" class="invalid">
<span>There seems to an issue with your server configuration. Please address the issues listed below <a href="#" id="check-requirements"><span>Check Again</span></a></span>
</li>-->
</ul>
<div id="actions">
<a href="step1.html" class="btn-primary"><strong>Ready?</strong> Lets get started! &raquo;</a>
<div class="inner">
<h2>Congratulations, you have successfully installed Molajo!</h2>
<p>For security reasons, you now need to remove the installation directory from your Molajo install. Simply click the "Remove installation directory" button below &amp; we'll attempt to do it for you. </p>
<div class="remove-install">
<a href="#" id="remove-installation" class="btn-secondary">Remove installation directory</a>
</div>
<div class="summary">
<h3>Site information</h3>
<ul class="list-reset">
<li><strong>Site name:</strong> <span>Molajito</span></li>
<li><strong>Your name:</strong> <span>Chris Rault</span></li>
<li><strong>Your email:</strong> <span>chris@prothemer.com</span></li>
<li><strong>Admin username:</strong> <span>connectr</span></li>
</ul>
</div>

<div id="actions">
<a href="<?php echo JURI::base(); ?>index.php?option=com_installer&view=display&layout=installer_step3" class="btn-secondary">&laquo; <strong>P</strong>revious</a>
<a href="<?php echo JURI::base(); ?>index.php?option=com_installer&task=install" class="btn-primary alt">Install &raquo;</a>
</div>

</div>
Empty file.
@@ -0,0 +1,4 @@
<form action="#">
<button type="submit" id="previous" accesskey="p" tabindex="1">Previous</button>
<button type="submit" id="next" accesskey="n" tabindex="2">Next</button>
</form>
Empty file.
Empty file.

Large diffs are not rendered by default.

Empty file.
Empty file.

Large diffs are not rendered by default.

@@ -0,0 +1,21 @@
The MIT License

Copyright (c) 2004-2010 Dean Edwards

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -1,30 +1,24 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title>Molajo Installer - Step 1 of 4</title>
<?php include_once('lib/functions.php'); ?>
<?php include_once('lib/head.php'); ?>
<link rel="stylesheet" href="install.css" />
</head>
<body class="<?php echo $lcbrowser . ' ' . $lcbrowser.$ver . ' ' . strtolower($browser->getPlatform()); ?>">
<div id="wrap">
<div id="top">
<h1>
<a href="http://www.molajo.org" title="Click here to open the Molajo website in a new window" target="_blank">Molajo
<span>Click here to view the Molajo website</span></a>
</h1>
<strong>Version 1.6.1 <span>Step 1 of 4</span></strong>
</div>
<div id="main" class="step1">
<div class="inner">
</div>
</div>
<div id="footer">
<a href="http://www.molajo.org" title="Click here to open the Molajo website in a new window" target="_blank">Molajo</a> is a distribution of
<a href="http://www.joomla.org" title="Click here to open the Molajo website in a new window" target="_blank">Joomla</a> and is free software
licensed under the <a href="#" title="">GNU General Public License</a>.
</div>
</div>
</body>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title>Molajo Installer - Step 1 of 4</title>
<?php include_once('lib/functions.php'); ?>
<?php include_once('lib/head.php'); ?>
</head>
<body class="<?php echo $lcbrowser . ' ' . $lcbrowser.$ver . ' ' . strtolower($browser->getPlatform()); ?>">
<div id="wrap">
<div id="top">
<h1>
<a href="http://www.molajo.org" title="Click here to open the Molajo website in a new window" target="_blank">Molajo
<span>Click here to view the Molajo website</span></a>
</h1>
<strong>Version 1.6.1 <span>Step 1 of 4</span></strong>
</div>
<div id="main" class="step1">

</div>
<?php include_once('lib/footer.php'); ?>
</div>
</body>
</html>
@@ -0,0 +1,99 @@
/*
* jQuery Hotkeys Plugin
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Based upon the plugin by Tzury Bar Yochay:
* http://github.com/tzuryby/hotkeys
*
* Original idea by:
* Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/
*/

(function(jQuery){

jQuery.hotkeys = {
version: "0.8",

specialKeys: {
8: "backspace", 9: "tab", 13: "return", 16: "shift", 17: "ctrl", 18: "alt", 19: "pause",
20: "capslock", 27: "esc", 32: "space", 33: "pageup", 34: "pagedown", 35: "end", 36: "home",
37: "left", 38: "up", 39: "right", 40: "down", 45: "insert", 46: "del",
96: "0", 97: "1", 98: "2", 99: "3", 100: "4", 101: "5", 102: "6", 103: "7",
104: "8", 105: "9", 106: "*", 107: "+", 109: "-", 110: ".", 111 : "/",
112: "f1", 113: "f2", 114: "f3", 115: "f4", 116: "f5", 117: "f6", 118: "f7", 119: "f8",
120: "f9", 121: "f10", 122: "f11", 123: "f12", 144: "numlock", 145: "scroll", 191: "/", 224: "meta"
},

shiftNums: {
"`": "~", "1": "!", "2": "@", "3": "#", "4": "$", "5": "%", "6": "^", "7": "&",
"8": "*", "9": "(", "0": ")", "-": "_", "=": "+", ";": ": ", "'": "\"", ",": "<",
".": ">", "/": "?", "\\": "|"
}
};

function keyHandler( handleObj ) {
// Only care when a possible input has been specified
if ( typeof handleObj.data !== "string" ) {
return;
}

var origHandler = handleObj.handler,
keys = handleObj.data.toLowerCase().split(" ");

handleObj.handler = function( event ) {
// Don't fire in text-accepting inputs that we didn't directly bind to
if ( this !== event.target && (/textarea|select/i.test( event.target.nodeName ) ||
event.target.type === "text") ) {
return;
}

// Keypress represents characters, not special keys
var special = event.type !== "keypress" && jQuery.hotkeys.specialKeys[ event.which ],
character = String.fromCharCode( event.which ).toLowerCase(),
key, modif = "", possible = {};

// check combinations (alt|ctrl|shift+anything)
if ( event.altKey && special !== "alt" ) {
modif += "alt+";
}

if ( event.ctrlKey && special !== "ctrl" ) {
modif += "ctrl+";
}

// TODO: Need to make sure this works consistently across platforms
if ( event.metaKey && !event.ctrlKey && special !== "meta" ) {
modif += "meta+";
}

if ( event.shiftKey && special !== "shift" ) {
modif += "shift+";
}

if ( special ) {
possible[ modif + special ] = true;

} else {
possible[ modif + character ] = true;
possible[ modif + jQuery.hotkeys.shiftNums[ character ] ] = true;

// "$" can be triggered as "Shift+4" or "Shift+$" or just "$"
if ( modif === "shift+" ) {
possible[ jQuery.hotkeys.shiftNums[ character ] ] = true;
}
}

for ( var i = 0, l = keys.length; i < l; i++ ) {
if ( possible[ keys[i] ] ) {
return origHandler.apply( this, arguments );
}
}
};
}

jQuery.each([ "keydown", "keyup", "keypress" ], function() {
jQuery.event.special[ this ] = { add: keyHandler };
});

})( jQuery );
@@ -0,0 +1,70 @@
$(function() {
// Toggle the languages drop down
$("#select-language").click(function(){
$(this).toggleClass("active");
$("#language ul").toggle();
return false;
});

// Switch the selected language text and class
var langClass;
$("#language li a").click(function () {
langClass = $(this).parent().attr("class");
$('#language span strong').replaceWith( '<strong class="'+langClass+'">' + $(this).text() + '</strong>' );
});

// Inline labels
$('input[title]').each(function() {
if($(this).val() === '') {$(this).val($(this).attr('title'));}
$(this).focus(function() {
if($(this).val() === $(this).attr('title')) {$(this).val('').addClass('focused');}
$(this).parents("li").addClass("focus");
});
$(this).blur(function() {
if($(this).val() === '') {$(this).val($(this).attr('title')).removeClass('focused');}
$(this).parents("li").removeClass("focus");
});
});

// Faux radio toggle
$('.radios input[type="radio"]').click( function(){
$(this).attr('checked', 'checked');
$('.radios label.label-selected').removeClass('label-selected');
$(this).parent().addClass('label-selected');
});


$(document).keydown(handleKey);

function handleKey(e)
{
var left_arrow = 37;
var right_arrow = 39;

if (e.target.localName == 'body' || e.target.localName == 'html')
{
if (!e.ctrlKey && !e.altKey && !e.shiftKey && !e.metaKey)
{
var code = e.which;
if (code == left_arrow)
prevPage();
else if (code == right_arrow)
nextPage();
}
}
}

function prevPage()
{
var href = $('.pageslist .prev').attr('href');
if (href && href != document.location)
document.location = href;
}

function nextPage()
{
var href = $('.pageslist .next').attr('href');
if (href && href != document.location)
document.location = href;
}
});

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -0,0 +1,19 @@
<?php
/*
This file is a wrapper, for use in PHP environments, which serves PIE.htc using the
correct content-type, so that IE will recognize it as a behavior. Simply specify the
behavior property to fetch this .php file instead of the .htc directly:
.myElement {
[ ...css3 properties... ]
behavior: url(PIE.php);
}
This is only necessary when the web server is not configured to serve .htc files with
the text/x-component content-type, and cannot easily be configured to do so (as is the
case with some shared hosting providers).
*/

header( 'Content-type: text/x-component' );
include( 'PIE.htc' );
?>

Large diffs are not rendered by default.

@@ -0,0 +1,5 @@
<div id="footer">
<a href="http://www.molajo.org" title="Click here to open the Molajo website in a new window" target="_blank">Molajo</a> is a distribution of
<a href="http://www.joomla.org" title="Click here to open the Molajo website in a new window" target="_blank">Joomla</a> and is free software
licensed under the <a href="#" title="">GNU General Public License</a>.
</div>
@@ -0,0 +1,13 @@
<?php
include_once('browser.php');
if ($lcbrowser == 'internetexplorer'){
include_once('PIE.php');
}
$browser = new MBrowser();
$thebrowser = preg_replace("/[^A-Za-z]/i", "", $browser->getBrowser());
$ver = $browser->getVersion();
$dots = ".";
$dashes = "";
$mod_chrome = "";
$ver = str_replace($dots , $dashes , $ver);
$lcbrowser = strtolower($thebrowser);
@@ -0,0 +1,13 @@
<link rel="stylesheet" href="css/install.css" />
<?php if ($lcbrowser == 'firefox'){ ?><link rel="stylesheet" href="css/firefox.css" /><?php } ?>
<?php if ($lcbrowser == 'chrome' || $lcbrowser == 'safari'){ ?><link rel="stylesheet" href="css/webkit.css" /><?php } ?>
<?php if ($lcbrowser == 'opera'){ ?><link rel="stylesheet" href="css/opera.css" /><?php } ?>
<?php if ($lcbrowser == 'internetexplorer'){ ?><link rel="stylesheet" href="css/ie.css" /><?php } ?>
<?php if ($lcbrowser == 'opera'){ ?><link rel="icon" type="image/png" href="http://prototype.dev/molajo-installer/images/quick-dial.png"><?php } ?>
<?php if ($lcbrowser == 'internetexplorer' && ($ver == '60' || $ver == '70' || $ver == '80')){ ?>
<!-- Compliance patch for Microsoft browsers -->
<!--[if lt IE 9]><script src="ie7/IE9.js"></script><![endif]-->
<?php } ?>

<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/install.js"></script>

Large diffs are not rendered by default.

This file was deleted.

@@ -0,0 +1,87 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title>Molajo Installer - Step 2 of 4</title>
<?php include_once('lib/functions.php'); ?>
<?php include_once('lib/head.php'); ?>
</head>
<body class="<?php echo $lcbrowser . ' ' . $lcbrowser.$ver . ' ' . strtolower($browser->getPlatform()); ?>">
<div id="wrap">
<div id="top">
<h1>
<a href="http://www.molajo.org" title="Click here to open the Molajo website in a new window" target="_blank">Molajo
<span>Click here to view the Molajo website</span></a>
</h1>
<strong>Version 1.6.1 <span>Step 2 of 4</span></strong>
</div>
<div id="main" class="step2">
<div class="inner">
<h2>Database Setup</h2>
<p>Enter your database connection details below. Contact your host if you are not sure what these are.<br />
All fields marked with a <strong>*</strong> are required.</p>

<form action="">
<ol class="list-reset forms">
<li>
<span class="inner-wrap">
<label for="host" class="inlined">Host name</label>
<input type="text" class="input-text" id="host" name="host" title="Host name" />
<span class="note"><strong>*</strong> This is usually <b>localhost</b>.</span>
</span>
</li>
<li>
<span class="inner-wrap">
<label for="name" class="inlined">Database name</label>
<input type="text" class="input-text" id="name" name="name" title="Database name" />
<span class="note"><strong>*</strong> The name of the database you are installing Molajo on.</span>
</span>
</li>
<li>
<span class="inner-wrap">
<label for="username" class="inlined">Username</label>
<input type="text" class="input-text" id="username" name="username" title="Username" />
<span class="note"><strong>*</strong> Your MySQL database username.</span>
</span>
</li>
<li>
<span class="inner-wrap">
<label for="password" class="inlined">Password</label>
<input type="text" class="input-text" id="password" name="password" title="Password" />
<span class="note"><strong>*</strong> Your MySQL database password.</span>
</span>
</li>
<li>
<span class="inner-wrap">
<label for="prefix" class="inlined">Table prefix</label>
<input type="text" class="input-text" id="prefix" name="prefix" title="Table prefix" />
<span class="note"><strong>*</strong> By default this is set to jos_ but we recommended that you change this.</span>
</span>
</li>
</ol>

<ol class="list-rest radios">
<li>
<span class="label">Database type</span>
<label class="radio-left" for="mysql"><input name="dbtype" id="mysql" value="myql" type="radio">MySQL</label>
<label class="radio-right label-selected" for="mysqli"><input name="dbtype" id="mysqli" value="mysqli" type="radio" checked="checked">MySQLi</label>
<span class="note">MySQLi is recommended, but not all hosts support it. <a href="#">Learn more</a>.</span>
</li>
<li>
<span class="label">Existing database</span>
<label class="radio-left" for="remove"><input name="existingdb" id="remove" value="remove" type="radio">Remove</label>
<label class="radio-right label-selected" for="backup"><input name="existingdb" id="backup" value="backup" type="radio" checked="checked">Backup</label>
<span class="note alt">If you have an existing database with the same name, would you like it to be replaced or backed up.</span>
</li>
</ol>
</form>

<div id="actions">
<a href="index.php" class="btn-secondary">&laquo; <strong>P</strong>revious</a>
<a href="step2.php" class="btn-primary"><strong>N</strong>ext &raquo;</a>
</div>
</div>
</div>
</div>
</body>
</html>
@@ -1,71 +1,70 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title>Molajo Installer - Step 2 of 4</title>
<?php include_once('lib/functions.php'); ?>
<?php include_once('lib/head.php'); ?>
<link rel="stylesheet" href="install.css" />
</head>
<body class="<?php echo $lcbrowser . ' ' . $lcbrowser.$ver . ' ' . strtolower($browser->getPlatform()); ?>">
<div id="wrap">
<div id="top">
<h1>
<a href="http://www.molajo.org" title="Click here to open the Molajo website in a new window" target="_blank">Molajo
<span>Click here to view the Molajo website</span></a>
</h1>
<strong>Version 1.6.1 <span>Step 3 of 4</span></strong>
</div>
<div id="main" class="step2">
<div class="inner">
<h2>Site Information</h2>
<p>Enter your site information. All fields marked with a <strong>*</strong> are required.</p>

<form action="">
<ol class="list-reset forms">
<li>
<span class="inner-wrap">
<label for="site" class="inlined">Site name</label>
<input type="text" class="input-text" id="site" name="site" title="Site name" />
<span class="note"><strong>*</strong> Your site name.</span>
</span>
</li>
<li>
<span class="inner-wrap">
<label for="email" class="inlined">Your email address</label>
<input type="text" class="input-text" id="email" name="email" title="Your email address" />
<span class="note"><strong>*</strong> Enter a valid email address. This is where your login info will be sent.</span>
</span>
</li>
<li>
<span class="inner-wrap">
<label for="username" class="inlined">Username</label>
<input type="text" class="input-text" id="username" name="username" title="Username" />
<span class="note"><strong>*</strong> Enter your admin username.</span>
</span>
</li>
<li>
<span class="inner-wrap">
<label for="password" class="inlined">Password</label>
<input type="password" class="password" id="password" name="password" title="Password" />
<span class="note"><strong>*</strong> Enter your admin password.</span>
</span>
</li>
</ol>
<div class="sample-data">
<a href="#" id="sample-data" class="btn-secondary">Install sample data</a>
<span class="note">Installing sample data is strongly recommended for beginners.
This will install sample content that is included in the Joomla! installation package. <a href="#">Learn more</a>.</span>
</div>
</form>

<div id="actions">
<a href="step1.html" class="btn-secondary">&laquo; <strong>P</strong>revious</a>
<a href="step3.html" class="btn-primary"><strong>N</strong>ext &raquo;</a>
</div>

</div>
</div>
</div>
</body>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title>Molajo Installer - Step 2 of 4</title>
<?php include_once('lib/functions.php'); ?>
<?php include_once('lib/head.php'); ?>
</head>
<body class="<?php echo $lcbrowser . ' ' . $lcbrowser.$ver . ' ' . strtolower($browser->getPlatform()); ?>">
<div id="wrap">
<div id="top">
<h1>
<a href="http://www.molajo.org" title="Click here to open the Molajo website in a new window" target="_blank">Molajo
<span>Click here to view the Molajo website</span></a>
</h1>
<strong>Version 1.6.1 <span>Step 3 of 4</span></strong>
</div>
<div id="main" class="step2">
<div class="inner">
<h2>Site Information</h2>
<p>Enter your site information. All fields marked with a <strong>*</strong> are required.</p>

<form action="">
<ol class="list-reset forms">
<li>
<span class="inner-wrap">
<label for="site" class="inlined">Site name</label>
<input type="text" class="input-text" id="site" name="site" title="Site name" />
<span class="note"><strong>*</strong> Your site name.</span>
</span>
</li>
<li>
<span class="inner-wrap">
<label for="email" class="inlined">Your email address</label>
<input type="text" class="input-text" id="email" name="email" title="Your email address" />
<span class="note"><strong>*</strong> Enter a valid email address. This is where your login info will be sent.</span>
</span>
</li>
<li>
<span class="inner-wrap">
<label for="username" class="inlined">Username</label>
<input type="text" class="input-text" id="username" name="username" title="Username" />
<span class="note"><strong>*</strong> Enter your admin username.</span>
</span>
</li>
<li>
<span class="inner-wrap">
<label for="password" class="inlined">Password</label>
<input type="password" class="password" id="password" name="password" title="Password" />
<span class="note"><strong>*</strong> Enter your admin password.</span>
</span>
</li>
</ol>
<div class="sample-data">
<a href="#" id="sample-data" class="btn-secondary">Install sample data</a>
<span class="note">Installing sample data is strongly recommended for beginners.
This will install sample content that is included in the Joomla! installation package. <a href="#">Learn more</a>.</span>
</div>
</form>

<div id="actions">
<a href="step1.php" class="btn-secondary">&laquo; <strong>P</strong>revious</a>
<a href="step3.php" class="btn-primary"><strong>N</strong>ext &raquo;</a>
</div>

</div>
</div>
</div>
</body>
</html>

This file was deleted.

@@ -0,0 +1,14 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title>Molajo Installer - Step 2 of 4</title>
<?php include_once('lib/functions.php'); ?>
<?php include_once('lib/head.php'); ?>
</head>
<body class="<?php echo $lcbrowser . ' ' . $lcbrowser.$ver . ' ' . strtolower($browser->getPlatform()); ?>">
<div id="wrap">

</div>
</body>
</html>