Permalink
Browse files

git-svn-id: http://joomlacode.org/svn/joomla/development/trunk@6139 6…

…f6e1ebd-4c2b-0410-823f-f34bde69bce9
  • Loading branch information...
eddieajau committed Jan 2, 2007
1 parent 9909eca commit fe72e4570e7520d08060ab460523f9bdf9fab1b9
Showing 372 changed files with 4,844 additions and 4,864 deletions.
View
@@ -1,12 +1,12 @@
GNU GENERAL PUBLIC LICENSE
- Version 2, June 1991
+ Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
- Preamble
+ Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
@@ -56,7 +56,7 @@
The precise terms and conditions for copying, distribution and
modification follow.
- GNU GENERAL PUBLIC LICENSE
+ GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
@@ -92,24 +92,24 @@
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
- a) You must cause the modified files to carry prominent notices
- stating that you changed the files and the date of any change.
-
- b) You must cause any work that you distribute or publish, that in
- whole or in part contains or is derived from the Program or any
- part thereof, to be licensed as a whole at no charge to all third
- parties under the terms of this License.
-
- c) If the modified program normally reads commands interactively
- when run, you must cause it, when started running for such
- interactive use in the most ordinary way, to print or display an
- announcement including an appropriate copyright notice and a
- notice that there is no warranty (or else, saying that you provide
- a warranty) and that users may redistribute the program under
- these conditions, and telling the user how to view a copy of this
- License. (Exception: if the Program itself is interactive but
- does not normally print such an announcement, your work based on
- the Program is not required to print an announcement.)
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
@@ -135,22 +135,22 @@
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
- a) Accompany it with the complete corresponding machine-readable
- source code, which must be distributed under the terms of Sections
- 1 and 2 above on a medium customarily used for software interchange; or,
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
- b) Accompany it with a written offer, valid for at least three
- years, to give any third party, for a charge no more than your
- cost of physically performing source distribution, a complete
- machine-readable copy of the corresponding source code, to be
- distributed under the terms of Sections 1 and 2 above on a medium
- customarily used for software interchange; or,
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
- c) Accompany it with the information you received as to the offer
- to distribute corresponding source code. (This alternative is
- allowed only for noncommercial distribution and only if you
- received the program in object code or executable form with such
- an offer, in accord with Subsection b above.)
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
@@ -255,7 +255,7 @@
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
- NO WARRANTY
+ NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
@@ -277,9 +277,9 @@
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
- END OF TERMS AND CONDITIONS
+ END OF TERMS AND CONDITIONS
- How to Apply These Terms to Your New Programs
+ How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
@@ -290,33 +290,33 @@
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
- <one line to give the program's name and a brief idea of what it does.>
- Copyright (C) <year> <name of author>
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
- Gnomovision version 69, Copyright (C) year name of author
- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
- This is free software, and you are welcome to redistribute it
- under certain conditions; type `show c' for details.
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
@@ -72,10 +72,10 @@
<strong><?php echo JText::_( 'Joomla! Version' ); ?>:</strong>
</td>
<td>
- <?php
+ <?php
jimport('joomla.version');
$version = new JVersion();
- echo $version->getLongVersion();
+ echo $version->getLongVersion();
?>
</td>
</tr>
@@ -48,7 +48,7 @@
// Perform the Request task
$controller->execute( JRequest::getVar('task') );
-
+
// Redirect if set by the controller
$controller->redirect();
break;
@@ -123,8 +123,8 @@ function display()
function edit()
{
- $db =& JFactory::getDBO();
- $user =& JFactory::getUser();
+ $db =& JFactory::getDBO();
+ $user =& JFactory::getUser();
$cid = JRequest::getVar('cid', array(0), 'method', 'array');
$option = JRequest::getVar('option');
@@ -38,8 +38,8 @@ function display()
{
global $mainframe;
- $db =& JFactory::getDBO();
- $user =& JFactory::getUser();
+ $db =& JFactory::getDBO();
+ $user =& JFactory::getUser();
$context = 'com_banners.bannerclient.list.';
$filter_order = $mainframe->getUserStateFromRequest( $context.'filter_order', 'filter_order', 'a.name' );
$filter_order_Dir = $mainframe->getUserStateFromRequest( $context.'filter_order_Dir', 'filter_order_Dir', '' );
@@ -99,8 +99,8 @@ function display()
function edit()
{
// Initialize variables
- $db =& JFactory::getDBO();
- $user =& JFactory::getUser();
+ $db =& JFactory::getDBO();
+ $user =& JFactory::getUser();
$userId = $user->get ( 'id' );
$cid = JRequest::getVar( 'cid', array(0), 'method', 'array' );
@@ -52,7 +52,7 @@ function clients( &$rows, &$pageNav, &$lists )
<thead>
<tr>
<th width="20">
- <?php echo JText::_( 'Num' ); ?>
+ <?php echo JText::_( 'Num' ); ?>
</th>
<th width="20">
<input type="checkbox" name="toggle" value="" onclick="checkAll(<?php echo count( $rows ); ?>);" />
@@ -64,7 +64,7 @@ function show( &$rows, $section, $section_name, &$page, &$lists, $type )
<thead>
<tr>
<th width="10" align="left">
- <?php echo JText::_( 'Num' ); ?>
+ <?php echo JText::_( 'Num' ); ?>
</th>
<th width="20">
<input type="checkbox" name="toggle" value="" onclick="checkAll(<?php echo count( $rows );?>);" />
@@ -244,7 +244,7 @@ function edit( &$row, &$lists, $redirect )
$component = 'Contact';
}
}
-
+
jimport('joomla.filter.output');
JOutputFilter::objectHTMLSafe( $row, ENT_QUOTES, 'description' );
?>
@@ -107,7 +107,7 @@ function showCategories( $section, $option )
{
global $mainframe;
- $db =& JFactory::getDBO();
+ $db =& JFactory::getDBO();
$filter_order = $mainframe->getUserStateFromRequest( "$option.filter_order", 'filter_order', 'c.ordering' );
$filter_order_Dir = $mainframe->getUserStateFromRequest( "$option.filter_order_Dir", 'filter_order_Dir', '' );
$filter_state = $mainframe->getUserStateFromRequest( "$option.$section.filter_state", 'filter_state', '*' );
@@ -285,7 +285,7 @@ function editCategory( )
global $mainframe;
// Initialize variables
- $db =& JFactory::getDBO();
+ $db =& JFactory::getDBO();
$user =& JFactory::getUser();
$type = JRequest::getVar( 'type' );
@@ -319,7 +319,7 @@ function editCategory( )
// fail if checked out not by 'me'
if ($row->checked_out && $row->checked_out <> $user->get('id')) {
- $msg = JText::sprintf( 'DESCBEINGEDITTED', JText::_( 'The category' ), $row->title );
+ $msg = JText::sprintf( 'DESCBEINGEDITTED', JText::_( 'The category' ), $row->title );
$mainframe->redirect( 'index.php?option=categories&amp;section='. $row->section, $msg );
}
@@ -389,7 +389,7 @@ function saveCategory()
global $mainframe;
// Initialize variables
- $db =& JFactory::getDBO();
+ $db =& JFactory::getDBO();
$menu = JRequest::getVar( 'menu', 'mainmenu', 'post' );
$menuid = JRequest::getVar( 'menuid', 0, 'post', 'int' );
$redirect = JRequest::getVar( 'redirect', '', 'post' );
@@ -458,7 +458,7 @@ function saveCategory()
break;
case 'apply':
- $msg = JText::_( 'Changes to Category saved' );
+ $msg = JText::_( 'Changes to Category saved' );
$mainframe->redirect( 'index.php?option=com_categories&amp;section='. $redirect .'&task=edit&amp;hidemainmenu=1&amp;cid[]='. $row->id, $msg );
break;
@@ -534,7 +534,7 @@ function removeCategories( $section, $cid )
if (count( $err )) {
$cids = implode( ", ", $err );
- $msg = JText::sprintf( 'WARNNOTREMOVEDRECORDS', $cids );
+ $msg = JText::sprintf( 'WARNNOTREMOVEDRECORDS', $cids );
$mainframe->redirect( 'index.php?option=com_categories&amp;section='. $section, $msg );
}
@@ -554,8 +554,8 @@ function publishCategories( $section, $categoryid=null, $cid=null, $publish=1 )
global $mainframe;
// Initialize variables
- $db =& JFactory::getDBO();
- $user =& JFactory::getUser();
+ $db =& JFactory::getDBO();
+ $user =& JFactory::getUser();
if (!is_array( $cid )) {
$cid = array();
@@ -621,8 +621,8 @@ function orderCategory( $uid, $inc )
global $mainframe;
// Initialize variables
- $db =& JFactory::getDBO();
- $row =& JTable::getInstance('category' );
+ $db =& JFactory::getDBO();
+ $row =& JTable::getInstance('category' );
$row->load( $uid );
$row->move( $inc, "section = '$row->section'" );
$section = JRequest::getVar('section');
@@ -22,8 +22,8 @@
if (!$user->authorize( 'com_checkin', 'manage' )) {
$mainframe->redirect( 'index.php?', JText::_('ALERTNOTAUTH') );
}
-$db =& JFactory::getDBO();
-$nullDate = $db->getNullDate();
+$db =& JFactory::getDBO();
+$nullDate = $db->getNullDate();
?>
<div id="tablecell">
<table class="adminform">
@@ -27,11 +27,11 @@
// Require specific controller if requested
if($controller = JRequest::getVar('controller', 'application')) {
require_once (JPATH_COMPONENT.DS.'controllers'.DS.$controller.'.php');
-}
+}
// Create the controller
-$classname = 'ConfigController'.$controller;
-$controller = new $classname( );
+$classname = 'ConfigController'.$controller;
+$controller = new $classname( );
// Perform the Request task
$controller->execute( JRequest::getVar( 'task' ) );
@@ -23,7 +23,7 @@
*/
class ConfigController extends JController
{
-
+
}
?>
Oops, something went wrong.

0 comments on commit fe72e45

Please sign in to comment.