Ejemplo n.º 1
0
<?php

/**
* @version $Id: template.php,v 1.1 2004/10/13 08:16:15 dappa Exp $
* @package Mambo_4.5.1
* @copyright (C) 2000 - 2004 Miro International Pty Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* Mambo is Free Software
* @subpackage Installer
*/
/** ensure this file is being included by a parent file */
defined('_VALID_MOS') or die('Direct Access to this location is not allowed.');
// ensure user has access to this function
if (!$acl->acl_check('administration', 'install', 'users', $my->usertype, $element . 's', 'all')) {
    mosRedirect('index2.php', _NOT_AUTH);
}
$client = mosGetParam($_REQUEST, 'client', '');
$userfile = mosGetParam($_REQUEST, 'userfile', dirname(__FILE__));
$userfile = mosPathName($userfile);
HTML_installer::showInstallForm($adminLanguage->A_INSTALL_TEMPL_INSTALL . ($client == 'admin' ? $adminLanguage->A_INSTALL_TEMPL_ADMIN_TEMPL : $adminLanguage->A_INSTALL_TEMPL_SITE_TEMPL), $option, 'template', $client, $userfile, '<a href="index2.php?option=com_templates&client=' . $client . '">' . $adminLanguage->A_INSTALL_TEMPL_BACKTTO_TEMPL . '</a>');
?>
<table class="content">
<?php 
writableCell('media');
writableCell('administrator/templates');
writableCell('templates');
writableCell('images/stories');
?>
</table>
Ejemplo n.º 2
0
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined('_VALID_MOS') or die('Restricted access');
// ensure user has access to this function
if (!$acl->acl_check('administration', 'install', 'users', $my->usertype, $element . 's', 'all')) {
    mosRedirect('index2.php', _NOT_AUTH);
}
require_once $mainframe->getPath('installer_html', 'module');
HTML_installer::showInstallForm('Install new Modules', $option, 'module', '', dirname(__FILE__));
?>
<table class="content">
<?php 
writableCell('media');
writableCell('administrator/modules');
writableCell('modules');
?>
</table>
<?php 
showInstalledModules($option);
/**
* @param string The URL option
*/
function showInstalledModules($_option)
{
Ejemplo n.º 3
0
* @version $Id: component.php,v 1.1 2004/10/13 07:53:02 dappa Exp $
* @package Mambo_4.5.1
* @copyright (C) 2000 - 2004 Miro International Pty Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* Mambo is Free Software
* @subpackage Installer
*/
/** ensure this file is being included by a parent file */
defined('_VALID_MOS') or die('Direct Access to this location is not allowed.');
// ensure user has access to this function
if (!$acl->acl_check('administration', 'install', 'users', $my->usertype, $element . 's', 'all')) {
    mosRedirect('index2.php', _NOT_AUTH);
}
require_once $mainframe->getPath('installer_html', 'component');
showInstalledComponents($option);
HTML_installer::showInstallForm($adminLanguage->A_INSTALL_COMP_UPL_NEW, $option, 'component', '', dirname(__FILE__));
?>
<table class="content">
<?php 
writableCell('media');
writableCell('administrator/components');
writableCell('components');
writableCell('images/stories');
?>
</table>
<?php 
/**
* @param string The URL option
*/
function showInstalledComponents($option)
{
Ejemplo n.º 4
0
<?php

/**
* @package Mambo
* @subpackage Installer
* @author Mambo Foundation Inc see README.php
* @copyright Mambo Foundation Inc.
* See COPYRIGHT.php for copyright notices and details.
* @license GNU/GPL Version 2, see LICENSE.php
* Mambo 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; version 2 of the License.
*/
/** ensure this file is being included by a parent file */
defined('_VALID_MOS') or die('Direct Access to this location is not allowed.');
// ensure user has access to this function
if (!$acl->acl_check('administration', 'install', 'users', $my->usertype, $element . 's', 'all')) {
    mosRedirect('index2.php', T_('You are not authorized to view this resource.'));
}
$backlink = '<a href="index2.php?option=com_languages">' . T_('Back to Language Manager') . '</a>';
HTML_installer::showInstallForm(T_('Install new Language - Site'), $option, 'language', '', dirname(__FILE__), $backlink);
?>
<table class="content">
<?php 
writableCell('media');
writableCell('language');
?>
</table>
Ejemplo n.º 5
0
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
* */
// no direct access
defined('_VALID_MOS') or die('Restricted access');
// ensure user has access to this function
if (!$acl->acl_check('administration', 'install', 'users', $my->usertype, $element . 's', 'all')) {
    mosRedirect('index2.php', _NOT_AUTH);
}
require_once $mainframe->getPath('installer_html', 'mambot');
HTML_installer::showInstallForm('Install new Mambots', $option, 'mambot', '', dirname(__FILE__));
?>
<table class="content">
<?php 
writableCell('media');
writableCell('language');
writableCell('mambots');
writableCell('mambots/content');
writableCell('mambots/search');
writableCell('mambots/system');
?>
</table>
<?php 
showInstalledMambots($option);
function showInstalledMambots($_option)
{
Ejemplo n.º 6
0
* See COPYRIGHT.php for copyright notices and details.
* @license GNU/GPL Version 2, see LICENSE.php
* Mambo 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; version 2 of the License.
*/
/** ensure this file is being included by a parent file */
defined('_VALID_MOS') or die('Direct Access to this location is not allowed.');
// ensure user has access to this function
//if ( !$acl->acl_check( 'administration', 'install', 'users', $my->usertype, $element . 's', 'all' ) ) {
//	mosRedirect( 'index2.php', T_('You are not authorized to view this resource.') );
//}
require_once $mainframe->getPath('installer_html', 'component');
$suppress_install = false;
if (!$suppress_install) {
    HTML_installer::showInstallForm(T_('Install Mambo plugin (component, module, mambot, template, include, parameter, composite)'), $option, 'universal', '', dirname(__FILE__));
    ?>
<table class="content">
<?php 
    writableCell('administrator/components');
    writableCell('administrator/modules');
    writableCell('administrator/templates');
    writableCell('components');
    writableCell('mambots');
    writableCell('mambots/content');
    writableCell('mambots/editors');
    writableCell('mambots/editors-xtd');
    writableCell('mambots/search');
    writableCell('media');
    writableCell('modules');
    writableCell('templates');
Ejemplo n.º 7
0
<?php

/**
* @version $Id: language.php,v 1.1 2004/10/13 08:00:33 dappa Exp $
* @package Mambo_4.5.1
* @copyright (C) 2000 - 2004 Miro International Pty Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* Mambo is Free Software
* @subpackage Installer
*/
/** ensure this file is being included by a parent file */
defined('_VALID_MOS') or die('Direct Access to this location is not allowed.');
// ensure user has access to this function
if (!$acl->acl_check('administration', 'install', 'users', $my->usertype, $element . 's', 'all')) {
    mosRedirect('index2.php', _NOT_AUTH);
}
$backlink = '<a href="index2.php?option=com_languages">' . $adminLanguage->A_INSTALL_BACK_LANG_MGR . '</a>';
HTML_installer::showInstallForm($adminLanguage->A_INSTALL_LANG, $option, 'language', '', dirname(__FILE__), $backlink);
?>
<table class="content">
<?php 
writableCell('media');
writableCell('language');
?>
</table>
Ejemplo n.º 8
0
/**
* @version $Id$
* @package Joomla
* @subpackage Installer
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined('_VALID_MOS') or die('Restricted access');
// ensure user has access to this function
if (!$acl->acl_check('administration', 'install', 'users', $my->usertype, $element . 's', 'all')) {
    mosRedirect('index2.php', _NOT_AUTH);
}
$client = mosGetParam($_REQUEST, 'client', '');
$userfile = mosGetParam($_REQUEST, 'userfile', dirname(__FILE__));
$userfile = mosPathName($userfile);
HTML_installer::showInstallForm('Install new Template <small><small>[ ' . ($client == 'admin' ? 'Administrator' : 'Site') . ' ]</small></small>', $option, 'template', $client, $userfile, '<a href="index2.php?option=com_templates&client=' . $client . '">Back to Templates</a>');
?>
<table class="content">
<?php 
writableCell('media');
writableCell('administrator/templates');
writableCell('templates');
writableCell('images/stories');
?>
</table>
Ejemplo n.º 9
0
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined('_VALID_MOS') or die('Restricted access');
// ensure user has access to this function
if (!$acl->acl_check('administration', 'install', 'users', $my->usertype, $element . 's', 'all')) {
    mosRedirect('index2.php', _NOT_AUTH);
}
require_once $mainframe->getPath('installer_html', 'component');
HTML_installer::showInstallForm('Enviar novo componente ', $option, 'component', '', dirname(__FILE__));
?>
<table class="content">
<?php 
writableCell('media');
writableCell('administrator/components');
writableCell('components');
writableCell('images/stories');
?>
</table>
<?php 
showInstalledComponents($option);
/**
* @param string The URL option
*/
function showInstalledComponents($option)
Ejemplo n.º 10
0
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined('_VALID_MOS') or die('Restricted access');
// ensure user has access to this function
if (!$acl->acl_check('administration', 'install', 'users', $my->usertype, $element . 's', 'all')) {
    mosRedirect('index2.php', _NOT_AUTH);
}
require_once $mainframe->getPath('installer_html', 'component');
HTML_installer::showInstallForm('Install new Component', $option, 'component', '', dirname(__FILE__));
?>
<table class="content">
<?php 
writableCell('media');
writableCell('administrator/components');
writableCell('components');
writableCell('images/stories');
?>
</table>
<?php 
showInstalledComponents($option);
/**
* @param string The URL option
*/
function showInstalledComponents($option)
Ejemplo n.º 11
0
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
* */
// no direct access
defined('_VALID_MOS') or die('Restricted access');
// ensure user has access to this function
if (!$acl->acl_check('administration', 'install', 'users', $my->usertype, $element . 's', 'all')) {
    mosRedirect('index2.php', _NOT_AUTH);
}
require_once $mainframe->getPath('installer_html', 'mambot');
HTML_installer::showInstallForm('Instalar novos plugins', $option, 'mambot', '', dirname(__FILE__));
?>
<table class="content">
<?php 
writableCell('media');
writableCell('language');
writableCell('mambots');
writableCell('mambots/content');
writableCell('mambots/search');
writableCell('mambots/system');
?>
</table>
<?php 
showInstalledMambots($option);
function showInstalledMambots($_option)
{
Ejemplo n.º 12
0
Archivo: mambot.php Proyecto: cwcw/cms
* @version $Id: mambot.php,v 1.1 2004/10/13 08:06:16 dappa Exp $
* @package Mambo_4.5.1
* @copyright (C) 2000 - 2004 Miro International Pty Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* Mambo is Free Software
* @subpackage Installer
*/
/** ensure this file is being included by a parent file */
defined('_VALID_MOS') or die('Direct Access to this location is not allowed.');
// ensure user has access to this function
if (!$acl->acl_check('administration', 'install', 'users', $my->usertype, $element . 's', 'all')) {
    mosRedirect('index2.php', _NOT_AUTH);
}
require_once $mainframe->getPath('installer_html', 'mambot');
showInstalledMambots($option);
HTML_installer::showInstallForm($adminLanguage->A_INSTALL_MAMB_INSTALL_MAMBOT, $option, 'mambot', '', dirname(__FILE__));
?>
<br /><br />
<table class="content">
<?php 
writableCell('media');
writableCell('language');
writableCell('mambots');
writableCell('mambots/content');
writableCell('mambots/search');
?>
</table>

<?php 
function showInstalledMambots($_option)
{
Ejemplo n.º 13
0
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined('_VALID_MOS') or die('Restricted access');
// ensure user has access to this function
if (!$acl->acl_check('administration', 'install', 'users', $my->usertype, $element . 's', 'all')) {
    mosRedirect('index2.php', _NOT_AUTH);
}
require_once $mainframe->getPath('installer_html', 'module');
HTML_installer::showInstallForm('Instalar novos Módulos', $option, 'module', '', dirname(__FILE__));
?>
<table class="content">
<?php 
writableCell('media');
writableCell('administrator/modules');
writableCell('modules');
?>
</table>
<?php 
showInstalledModules($option);
/**
* @param string The URL option
*/
function showInstalledModules($_option)
{
Ejemplo n.º 14
0
Archivo: module.php Proyecto: cwcw/cms
* @version $Id: module.php,v 1.1 2004/10/13 08:13:39 dappa Exp $
* @package Mambo_4.5.1
* @copyright (C) 2000 - 2004 Miro International Pty Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* Mambo is Free Software
* @subpackage Installer
*/
/** ensure this file is being included by a parent file */
defined('_VALID_MOS') or die('Direct Access to this location is not allowed.');
// ensure user has access to this function
if (!$acl->acl_check('administration', 'install', 'users', $my->usertype, $element . 's', 'all')) {
    mosRedirect('index2.php', _NOT_AUTH);
}
require_once $mainframe->getPath('installer_html', 'module');
showInstalledModules($option);
HTML_installer::showInstallForm($adminLanguage->A_INSTALL_MOD_INSTALL_MOD, $option, 'module', '', dirname(__FILE__));
?>

<table class="content">
<?php 
writableCell('media');
writableCell('administrator/modules');
writableCell('modules');
?>
</table>

<?php 
/**
* @param string The URL option
*/
function showInstalledModules($_option)
Ejemplo n.º 15
0
<?php

/**
* @version $Id: language.php 10002 2008-02-08 10:56:57Z willebil $
* @package Joomla
* @subpackage Installer
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined('_VALID_MOS') or die('Restricted access');
// ensure user has access to this function
if (!$acl->acl_check('administration', 'install', 'users', $my->usertype, $element . 's', 'all')) {
    mosRedirect('index2.php', _NOT_AUTH);
}
$backlink = '<a href="index2.php?option=com_languages">Voltar ao administrador de idiomas</a>';
HTML_installer::showInstallForm('Instale novo Idioma - Site', $option, 'language', '', dirname(__FILE__), $backlink);
?>
<table class="content">
<?php 
writableCell('media');
writableCell('language');
?>
</table>
Ejemplo n.º 16
0
/**
* @version $Id: template.php 10002 2008-02-08 10:56:57Z willebil $
* @package Joomla
* @subpackage Installer
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined('_VALID_MOS') or die('Restricted access');
// ensure user has access to this function
if (!$acl->acl_check('administration', 'install', 'users', $my->usertype, $element . 's', 'all')) {
    mosRedirect('index2.php', _NOT_AUTH);
}
$client = mosGetParam($_REQUEST, 'client', '');
$userfile = mosGetParam($_REQUEST, 'userfile', dirname(__FILE__));
$userfile = mosPathName($userfile);
HTML_installer::showInstallForm('Instalar novo Tema  <small><small>[ ' . ($client == 'admin' ? 'Administração' : 'Site') . ' ]</small></small>', $option, 'template', $client, $userfile, '<a href="index2.php?option=com_templates&client=' . $client . '">Voltar ao administrador de temas</a>');
?>
<table class="content">
<?php 
writableCell('media');
writableCell('administrator/templates');
writableCell('templates');
writableCell('images/stories');
?>
</table>