PATH:
home
/
centosnipponia
/
public_html
/
nipponiacom2
/
administrator
/
components
/
com_localise
/
controllers
<?php /** * @package Com_Localise * @subpackage controller * * @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Translation Controller class for the Localise component * * @package Extensions.Components * @subpackage Localise * @since 1.0 */ class LocaliseControllerTranslation extends JControllerForm { /** * Proxy for getModel. * * @param string $name The name of the model. * @param string $prefix The prefix for the PHP class name. * @param array $config The array of possible config values. Optional. * * @return object The model. */ public function getModel($name = 'Translation', $prefix = 'LocaliseModel', $config = array('ignore_request' => true)) { return parent::getModel($name, $prefix, array('ignore_request' => false)); } /** * Method to check if you can edit a record. * * @param array $data An array of input data. * @param string $key The name of the key for the primary key. * * @return boolean * * @since 1.6 */ protected function allowEdit($data = array(), $key = 'id') { return JFactory::getUser()->authorise('localise.edit', 'com_localise.' . $data[$key]); } /** * Gets the URL arguments to append to an item redirect. * * @param integer $recordId The primary key id for the item. * @param string $urlVar The name of the URL variable for the id. * * @return string The arguments to append to the redirect URL. * * @since 1.6 */ protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id') { // Get the infos $input = JFactory::getApplication()->input; $client = $input->get('client', ''); $tag = $input->get('tag', ''); $filename = $input->get('filename', ''); $storage = $input->get('storage', ''); // Get the append string $append = parent::getRedirectToItemAppend($recordId, $urlVar); $append .= '&client=' . $client . '&tag=' . $tag . '&filename=' . $filename . '&storage=' . $storage; return $append; } }
[+]
..
[-] index.html
[edit]
[-] language.php
[edit]
[-] languages.php
[edit]
[-] package.php
[edit]
[-] packagefile.php
[edit]
[-] packages.php
[edit]
[-] translation.php
[edit]
[-] translations.php
[edit]
[-] .htaccess.disabled
[edit]