update prestashop

This commit is contained in:
Thibault GUILLAUME 2015-09-22 18:22:11 +02:00
parent 8afc4c86c0
commit 74b8829296
863 changed files with 147188 additions and 130112 deletions

View File

@ -0,0 +1,38 @@
<?php
/**
* 2007-2015 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2015 PrestaShop SA
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
class Adapter_CacheManager
{
/**
* Cleans the cache for specific cache key.
*
* @param $key
*/
public function clean($key)
{
Cache::clean($key);
}
}

View File

@ -26,7 +26,6 @@
class Adapter_Configuration implements Core_Business_ConfigurationInterface
{
/**
* Returns constant defined by given $key if exists or check directly into PrestaShop
* Configuration

View File

@ -24,8 +24,8 @@
* International Registered Trademark & Property of PrestaShop SA
*/
class Adapter_EntityMapper {
class Adapter_EntityMapper
{
/**
* Load ObjectModel
* @param $id
@ -47,7 +47,6 @@ class Adapter_EntityMapper {
// Get lang informations
if ($id_lang && isset($entity_defs['multilang']) && $entity_defs['multilang']) {
$sql->leftJoin($entity_defs['table'] . '_lang', 'b', 'a.`' . bqSQL($entity_defs['primary']) . '` = b.`' . bqSQL($entity_defs['primary']) . '` AND b.`id_lang` = ' . (int)$id_lang);
if ($id_shop && !empty($entity_defs['multilang_shop'])) {
$sql->where('b.`id_shop` = ' . (int)$id_shop);
@ -61,19 +60,18 @@ class Adapter_EntityMapper {
if ($object_datas = Db::getInstance()->getRow($sql)) {
if (!$id_lang && isset($entity_defs['multilang']) && $entity_defs['multilang']) {
$sql = 'SELECT *
FROM `' . bqSQL(_DB_PREFIX_ . $entity_defs['table']) . '_lang`
WHERE `' . bqSQL($entity_defs['primary']) . '` = ' . (int)$id
.(($id_shop && $entity->isLangMultishop()) ? ' AND `id_shop` = ' . (int)$id_shop : '');
if ($object_datas_lang = Db::getInstance()->executeS($sql)) {
foreach ($object_datas_lang as $row) {
foreach ($row as $key => $value) {
if ($key != $entity_defs['primary'] && array_key_exists($key, $entity)) {
if (!isset($object_datas[$key]) || !is_array($object_datas[$key]))
if (!isset($object_datas[$key]) || !is_array($object_datas[$key])) {
$object_datas[$key] = array();
}
$object_datas[$key][$row['id_lang']] = $value;
}
@ -103,5 +101,4 @@ class Adapter_EntityMapper {
}
}
}
}

View File

@ -0,0 +1,54 @@
<?php
/**
* 2007-2015 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2015 PrestaShop SA
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
class Adapter_HookManager
{
/**
* Execute modules for specified hook
*
* @param string $hook_name Hook Name
* @param array $hook_args Parameters for the functions
* @param int $id_module Execute hook for this module only
* @param bool $array_return If specified, module output will be set by name in an array
* @param bool $check_exceptions Check permission exceptions
* @param bool $use_push Force change to be refreshed on Dashboard widgets
* @param int $id_shop If specified, hook will be execute the shop with this ID
*
* @throws PrestaShopException
*
* @return string/array modules output
*/
public function exec($hook_name,
$hook_args = array(),
$id_module = null,
$array_return = false,
$check_exceptions = true,
$use_push = false,
$id_shop = null)
{
return Hook::exec($hook_name, $hook_args, $id_module, $array_return, $check_exceptions, $use_push, $id_shop);
}
}

View File

@ -0,0 +1,87 @@
<?php
/**
* 2007-2015 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2015 PrestaShop SA
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
class Adapter_PackItemsManager
{
/**
* Get the Products contained in the given Pack.
*
* @param Pack $pack
* @param integer $id_lang Optional
* @return Array[Product] The products contained in this Pack, with special dynamic attributes [pack_quantity, id_pack_product_attribute]
*/
public function getPackItems($pack, $id_lang = false)
{
if ($id_lang === false) {
$configuration = Adapter_ServiceLocator::get('Core_Business_ConfigurationInterface');
$id_lang = (int)$configuration->get('PS_LANG_DEFAULT');
}
return Pack::getItems($pack->id, $id_lang);
}
/**
* Get all Packs that contains the given item in the corresponding declination.
*
* @param Product $item
* @param integer $item_attribute_id
* @param integer $id_lang Optional
* @return Array[Pack] The packs that contains the given item, with special dynamic attribute [pack_item_quantity]
*/
public function getPacksContainingItem($item, $item_attribute_id, $id_lang = false)
{
if ($id_lang === false) {
$configuration = Adapter_ServiceLocator::get('Core_Business_ConfigurationInterface');
$id_lang = (int)$configuration->get('PS_LANG_DEFAULT');
}
return Pack::getPacksContainingItem($item->id, $item_attribute_id, $id_lang);
}
/**
* Is this product a pack?
*
* @param Product $product
* @return boolean
*/
public function isPack($product)
{
return Pack::isPack($product->id);
}
/**
* Is this product in a pack?
* If $id_product_attribute specified, then will restrict search on the given combination,
* else this method will match a product if at least one of all its combination is in a pack.
*
* @param Product $product
* @param integer $id_product_attribute Optional combination of the product
* @return boolean
*/
public function isPacked($product, $id_product_attribute = false)
{
return Pack::isPacked($product->id, $id_product_attribute);
}
}

View File

@ -44,8 +44,7 @@ class Adapter_ProductPriceCalculator
$use_group_reduction = true,
Context $context = null,
$use_customer_price = true
)
{
) {
return Product::getPriceStatic(
$id_product,
$usetax,

View File

@ -0,0 +1,34 @@
<?php
/**
* 2007-2015 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2015 PrestaShop SA
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
class Adapter_StockManager
{
public function getStockAvailableByProduct($product, $id_product_attribute = null, $id_shop = null)
{
return new StockAvailable(StockAvailable::getStockAvailableIdByProductId($product->id, $id_product_attribute, $id_shop));
}
}

View File

@ -39,6 +39,4 @@ class Core_Business_CMS_CMSRoleRepository extends Core_Foundation_Database_Entit
return $this->hydrateMany($this->db->select($sql));
}
}

View File

@ -51,12 +51,11 @@ class Core_Business_Email_EmailLister
// Remove unwanted .html / .txt / .tpl / .php / . / ..
foreach ($mail_directory as $mail) {
if (strpos($mail->getFilename(), '.') !== false) {
$tmp = explode('.', $mail->getFilename());
// Check for filename existence (left part) and if extension is html (right part)
if ( ($tmp === false || !isset($tmp[0])) || (isset($tmp[1]) && $tmp[1] !== 'html')) {
if (($tmp === false || !isset($tmp[0])) || (isset($tmp[1]) && $tmp[1] !== 'html')) {
continue;
}

View File

@ -177,8 +177,9 @@ class Core_Business_Payment_PaymentOption
*/
public static function convertLegacyOption(array $legacyOption)
{
if (!$legacyOption)
if (!$legacyOption) {
return;
}
if (array_key_exists('cta_text', $legacyOption)) {
$legacyOption = array($legacyOption);
@ -195,7 +196,6 @@ class Core_Business_Payment_PaymentOption
);
foreach ($legacyOption as $option) {
$option = array_merge($defaults, $option);
$newOption = new Core_Business_Payment_PaymentOption();

View File

@ -0,0 +1,150 @@
<?php
/**
* 2007-2015 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2015 PrestaShop SA
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
class Core_Business_Stock_StockManager
{
/**
* This will update a Pack quantity and will decrease the quantity of containing Products if needed.
*
* @param Product $product A product pack object to update its quantity
* @param StockAvailable $stock_available the stock of the product to fix with correct quantity
* @param integer $delta_quantity The movement of the stock (negative for a decrease)
* @param integer|null $id_shop Opional shop ID
*/
public function updatePackQuantity($product, $stock_available, $delta_quantity, $id_shop = null)
{
$configuration = Adapter_ServiceLocator::get('Core_Business_ConfigurationInterface');
if ($product->pack_stock_type == 1 || $product->pack_stock_type == 2 || ($product->pack_stock_type == 3 && $configuration->get('PS_PACK_STOCK_TYPE') > 0)) {
$packItemsManager = Adapter_ServiceLocator::get('Adapter_PackItemsManager');
$products_pack = $packItemsManager->getPackItems($product);
$stockAvailable = new Core_Business_Stock_StockManager();
$stockManager = Adapter_ServiceLocator::get('Adapter_StockManager');
$cacheManager = Adapter_ServiceLocator::get('Adapter_CacheManager');
foreach ($products_pack as $product_pack) {
$productStockAvailable = $stockManager->getStockAvailableByProduct($product_pack, $product_pack->id_pack_product_attribute, $id_shop);
$productStockAvailable->quantity = $productStockAvailable->quantity + ($delta_quantity * $product_pack->pack_quantity);
$productStockAvailable->update();
$cacheManager->clean('StockAvailable::getQuantityAvailableByProduct_'.(int)$product_pack->id.'*');
}
}
$stock_available->quantity = $stock_available->quantity + $delta_quantity;
if ($product->pack_stock_type == 0 || $product->pack_stock_type == 2 ||
($product->pack_stock_type == 3 && ($configuration->get('PS_PACK_STOCK_TYPE') == 0 || $configuration->get('PS_PACK_STOCK_TYPE') == 2))) {
$stock_available->update();
}
}
/**
* This will decrease (if needed) Packs containing this product
* (with the right declinaison) if there is not enough product in stocks.
*
* @param Product $product A product object to update its quantity
* @param integer $id_product_attribute The product attribute to update
* @param StockAvailable $stock_available the stock of the product to fix with correct quantity
* @param integer|null $id_shop Opional shop ID
*/
public function updatePacksQuantityContainingProduct($product, $id_product_attribute, $stock_available, $id_shop = null)
{
$configuration = Adapter_ServiceLocator::get('Core_Business_ConfigurationInterface');
$packItemsManager = Adapter_ServiceLocator::get('Adapter_PackItemsManager');
$stockManager = Adapter_ServiceLocator::get('Adapter_StockManager');
$cacheManager = Adapter_ServiceLocator::get('Adapter_CacheManager');
$packs = $packItemsManager->getPacksContainingItem($product, $id_product_attribute);
foreach($packs as $pack) {
// Decrease stocks of the pack only if pack is in linked stock mode (option called 'Decrement both')
if (!((int)$pack->pack_stock_type == 2) &&
!((int)$pack->pack_stock_type == 3 && $configuration->get('PS_PACK_STOCK_TYPE') == 2)
) {
continue;
}
// Decrease stocks of the pack only if there is not enough items to constituate the actual pack stocks.
// How many packs can be constituated with the remaining product stocks
$quantity_by_pack = $pack->pack_item_quantity;
$max_pack_quantity = max(array(0, floor($stock_available->quantity / $quantity_by_pack)));
$stock_available_pack = $stockManager->getStockAvailableByProduct($pack, null, $id_shop);
if ($stock_available_pack->quantity > $max_pack_quantity) {
$stock_available_pack->quantity = $max_pack_quantity;
$stock_available_pack->update();
$cacheManager->clean('StockAvailable::getQuantityAvailableByProduct_'.(int)$pack->id.'*');
}
}
}
/**
* Will update Product available stock int he given declinaison. If product is a Pack, could decrease the sub products.
* If Product is contained in a Pack, Pack could be decreased or not (only if sub product stocks become not sufficient).
*
* @param Product $product The product to update its stockAvailable
* @param integer $id_product_attribute The declinaison to update (null if not)
* @param integer $delta_quantity The quantity change (positive or negative)
* @param integer|null $id_shop Optional
*/
public function updateQuantity($product, $id_product_attribute, $delta_quantity, $id_shop = null)
{
$stockManager = Adapter_ServiceLocator::get('Adapter_StockManager');
$stockAvailable = $stockManager->getStockAvailableByProduct($product, $id_product_attribute, $id_shop);
$packItemsManager = Adapter_ServiceLocator::get('Adapter_PackItemsManager');
$cacheManager = Adapter_ServiceLocator::get('Adapter_CacheManager');
$hookManager = Adapter_ServiceLocator::get('Adapter_HookManager');
// Update quantity of the pack products
if ($packItemsManager->isPack($product)) {
// The product is a pack
$this->updatePackQuantity($product, $stockAvailable, $delta_quantity, $id_shop);
} else {
// The product is not a pack
$stockAvailable->quantity = $stockAvailable->quantity + $delta_quantity;
$stockAvailable->update();
// Decrease case only: the stock of linked packs should be decreased too.
if ($delta_quantity < 0) {
// The product is not a pack, but the product combination is part of a pack (use of isPacked, not isPack)
if ($packItemsManager->isPacked($product, $id_product_attribute)) {
$this->updatePacksQuantityContainingProduct($product, $id_product_attribute, $stockAvailable, $id_shop);
}
}
}
$cacheManager->clean('StockAvailable::getQuantityAvailableByProduct_'.(int)$product->id.'*');
$hookManager->exec('actionUpdateQuantity',
array(
'id_product' => $product->id,
'id_product_attribute' => $id_product_attribute,
'quantity' => $stockAvailable->quantity
)
);
}
}

View File

@ -34,8 +34,7 @@ class Core_Foundation_Database_EntityManager
public function __construct(
Core_Foundation_Database_DatabaseInterface $db,
Core_Business_ConfigurationInterface $configuration
)
{
) {
$this->db = $db;
$this->configuration = $configuration;
}

View File

@ -36,8 +36,7 @@ class Core_Foundation_Database_EntityRepository
Core_Foundation_Database_EntityManager $entityManager,
$tablesPrefix,
Core_Foundation_Database_EntityMetaData $entityMetaData
)
{
) {
$this->entityManager = $entityManager;
$this->db = $this->entityManager->getDatabase();
$this->tablesPrefix = $tablesPrefix;
@ -50,7 +49,7 @@ class Core_Foundation_Database_EntityRepository
if (0 === strpos($method, 'findOneBy')) {
$one = true;
$by = substr($method, 9);
} else if (0 === strpos($method, 'findBy')) {
} elseif (0 === strpos($method, 'findBy')) {
$one = false;
$by = substr($method, 6);
} else {
@ -99,7 +98,7 @@ class Core_Foundation_Database_EntityRepository
$this->entityMetaData->getEntityClassName()
)
);
} else if (count($primary) > 1) {
} elseif (count($primary) > 1) {
throw new Core_Foundation_Database_Exception(
sprintf(
'Entity `%s` has a composite primary key, which is not supported by entity repositories.',
@ -152,7 +151,7 @@ class Core_Foundation_Database_EntityRepository
{
if (count($rows) === 0) {
return null;
} else if (count($rows) > 1) {
} elseif (count($rows) > 1) {
throw new Core_Foundation_Database_Exception('Too many rows returned.');
} else {
$data = $rows[0];

View File

@ -51,13 +51,20 @@ class Core_Foundation_FileSystem_FileSystem
if (func_num_args() < 2) {
throw new Core_Foundation_FileSystem_Exception('joinPaths requires at least 2 arguments.');
} else if (func_num_args() === 2) {
return $this->joinTwoPaths(func_get_arg(0), func_get_arg(1));
$arg_O = func_get_arg(0);
$arg_1 = func_get_arg(1);
return $this->joinTwoPaths($arg_O, $arg_1);
} else if (func_num_args() > 2) {
$func_args = func_get_args();
$arg_0 = func_get_arg(0);
return $this->joinPaths(
func_get_arg(0),
$arg_0,
call_user_func_array(
array($this, 'joinPaths'),
array_slice(func_get_args(), 1)
array($this,
'joinPaths'),
array_slice($func_args, 1)
)
);
}

View File

@ -108,7 +108,7 @@ class Core_Foundation_IoC_Container
$paramClass = $param->getClass();
if ($paramClass) {
$args[] = $this->doMake($param->getClass()->getName(), $alreadySeen);
} else if ($param->isDefaultValueAvailable()) {
} elseif ($param->isDefaultValueAvailable()) {
$args[] = $param->getDefaultValue();
} else {
throw new Core_Foundation_IoC_Exception(sprintf('Cannot build a `%s`.', $className));
@ -149,7 +149,7 @@ class Core_Foundation_IoC_Container
if (is_callable($constructor)) {
$service = call_user_func($constructor);
} else if (!is_string($constructor)) {
} elseif (!is_string($constructor)) {
// user already provided the value, no need to construct it.
$service = $constructor;
} else {

View File

@ -24,19 +24,23 @@
* International Registered Trademark & Property of PrestaShop SA
*/
if (!defined('_PS_ADMIN_DIR_'))
if (!defined('_PS_ADMIN_DIR_')) {
define('_PS_ADMIN_DIR_', getcwd());
}
require(_PS_ADMIN_DIR_.'/../config/config.inc.php');
require(_PS_ADMIN_DIR_.'/functions.php');
// For retrocompatibility with "tab" parameter
if (!isset($_GET['controller']) && isset($_GET['tab']))
if (!isset($_GET['controller']) && isset($_GET['tab'])) {
$_GET['controller'] = strtolower($_GET['tab']);
if (!isset($_POST['controller']) && isset($_POST['tab']))
}
if (!isset($_POST['controller']) && isset($_POST['tab'])) {
$_POST['controller'] = strtolower($_POST['tab']);
if (!isset($_REQUEST['controller']) && isset($_REQUEST['tab']))
}
if (!isset($_REQUEST['controller']) && isset($_REQUEST['tab'])) {
$_REQUEST['controller'] = strtolower($_REQUEST['tab']);
}
// Retrocompatibility with 1.4
$_REQUEST['ajaxMode'] = $_POST['ajaxMode'] = $_GET['ajaxMode'] = $_REQUEST['ajax'] = $_POST['ajax'] = $_GET['ajax'] = 1;

View File

@ -24,8 +24,9 @@
* International Registered Trademark & Property of PrestaShop SA
*/
if (!defined('_PS_ADMIN_DIR_'))
if (!defined('_PS_ADMIN_DIR_')) {
define('_PS_ADMIN_DIR_', getcwd());
}
include(_PS_ADMIN_DIR_.'/../config/config.inc.php');
/* Getting cookie or logout */
@ -33,25 +34,26 @@ require_once(_PS_ADMIN_DIR_.'/init.php');
$context = Context::getContext();
if (Tools::isSubmit('ajaxReferrers'))
if (Tools::isSubmit('ajaxReferrers')) {
require(_PS_CONTROLLER_DIR_.'admin/AdminReferrersController.php');
}
if (Tools::getValue('page') == 'prestastore' AND @fsockopen('addons.prestashop.com', 80, $errno, $errst, 3))
if (Tools::getValue('page') == 'prestastore' and @fsockopen('addons.prestashop.com', 80, $errno, $errst, 3)) {
readfile('http://addons.prestashop.com/adminmodules.php?lang='.$context->language->iso_code);
}
if (Tools::isSubmit('getAvailableFields') AND Tools::isSubmit('entity'))
{
if (Tools::isSubmit('getAvailableFields') and Tools::isSubmit('entity')) {
$jsonArray = array();
$import = new AdminImportController();
$fields = $import->getAvailableFields(true);
foreach ($fields as $field)
foreach ($fields as $field) {
$jsonArray[] = '{"field":"'.addslashes($field).'"}';
}
die('['.implode(',', $jsonArray).']');
}
if (Tools::isSubmit('ajaxProductPackItems'))
{
if (Tools::isSubmit('ajaxProductPackItems')) {
$jsonArray = array();
$products = Db::getInstance()->executeS('
SELECT p.`id_product`, pl.`name`
@ -62,31 +64,28 @@ if (Tools::isSubmit('ajaxProductPackItems'))
AND NOT EXISTS (SELECT 1 FROM `'._DB_PREFIX_.'pack` WHERE `id_product_pack` = p.`id_product`)
AND p.`id_product` != '.(int)(Tools::getValue('id_product')));
foreach ($products as $packItem)
foreach ($products as $packItem) {
$jsonArray[] = '{"value": "'.(int)($packItem['id_product']).'-'.addslashes($packItem['name']).'", "text":"'.(int)($packItem['id_product']).' - '.addslashes($packItem['name']).'"}';
}
die('['.implode(',', $jsonArray).']');
}
if (Tools::isSubmit('getChildrenCategories') && Tools::isSubmit('id_category_parent'))
{
if (Tools::isSubmit('getChildrenCategories') && Tools::isSubmit('id_category_parent')) {
$children_categories = Category::getChildrenWithNbSelectedSubCat(Tools::getValue('id_category_parent'), Tools::getValue('selectedCat'), Context::getContext()->language->id, null, Tools::getValue('use_shop_context'));
die(Tools::jsonEncode($children_categories));
}
if (Tools::isSubmit('getNotifications'))
{
if (Tools::isSubmit('getNotifications')) {
$notification = new Notification;
die(Tools::jsonEncode($notification->getLastElements()));
}
if (Tools::isSubmit('updateElementEmployee') && Tools::getValue('updateElementEmployeeType'))
{
if (Tools::isSubmit('updateElementEmployee') && Tools::getValue('updateElementEmployeeType')) {
$notification = new Notification;
die($notification->updateEmployeeLastElement(Tools::getValue('updateElementEmployeeType')));
}
if (Tools::isSubmit('searchCategory'))
{
if (Tools::isSubmit('searchCategory')) {
$q = Tools::getValue('q');
$limit = Tools::getValue('limit');
$results = Db::getInstance()->executeS(
@ -98,27 +97,29 @@ if (Tools::isSubmit('searchCategory'))
GROUP BY c.id_category
ORDER BY c.`position`
LIMIT '.(int)$limit);
if ($results)
foreach ($results as $result)
if ($results) {
foreach ($results as $result) {
echo trim($result['name']).'|'.(int)$result['id_category']."\n";
}
}
}
if (Tools::isSubmit('getParentCategoriesId') && $id_category = Tools::getValue('id_category'))
{
if (Tools::isSubmit('getParentCategoriesId') && $id_category = Tools::getValue('id_category')) {
$category = new Category((int)$id_category);
$results = Db::getInstance()->executeS('SELECT `id_category` FROM `'._DB_PREFIX_.'category` c WHERE c.`nleft` < '.(int)$category->nleft.' AND c.`nright` > '.(int)$category->nright.'');
$output = array();
foreach ($results as $result)
foreach ($results as $result) {
$output[] = $result;
}
die(Tools::jsonEncode($output));
}
if (Tools::isSubmit('getZones'))
{
if (Tools::isSubmit('getZones')) {
$html = '<select id="zone_to_affect" name="zone_to_affect">';
foreach (Zone::getZones() as $z)
foreach (Zone::getZones() as $z) {
$html .= '<option value="'.$z['id_zone'].'">'.$z['name'].'</option>';
}
$html .= '</select>';
$array = array('hasError' => false, 'errors' => '', 'data' => $html);
die(Tools::jsonEncode($array));

View File

@ -23,15 +23,17 @@
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
if (!defined('_PS_ADMIN_DIR_'))
if (!defined('_PS_ADMIN_DIR_')) {
define('_PS_ADMIN_DIR_', getcwd());
}
include(_PS_ADMIN_DIR_.'/../config/config.inc.php');
/* Getting cookie or logout */
require_once(_PS_ADMIN_DIR_.'/init.php');
$query = Tools::getValue('q', false);
if (!$query OR $query == '' OR strlen($query) < 1)
if (!$query or $query == '' or strlen($query) < 1) {
die();
}
/*
* In the SQL request the "q" param is used entirely to match result in database.
@ -40,14 +42,16 @@ if (!$query OR $query == '' OR strlen($query) < 1)
* is not write in the name field of the product.
* So the ref pattern will be cut for the search request.
*/
if($pos = strpos($query, ' (ref:'))
if ($pos = strpos($query, ' (ref:')) {
$query = substr($query, 0, $pos);
}
$excludeIds = Tools::getValue('excludeIds', false);
if ($excludeIds && $excludeIds != 'NaN')
if ($excludeIds && $excludeIds != 'NaN') {
$excludeIds = implode(',', array_map('intval', explode(',', $excludeIds)));
else
} else {
$excludeIds = '';
}
// Excluding downloadable products from packs because download from pack is not supported
$excludeVirtuals = (bool)Tools::getValue('excludeVirtuals', true);
@ -70,18 +74,16 @@ $sql = 'SELECT p.`id_product`, pl.`link_rewrite`, p.`reference`, pl.`name`, imag
$items = Db::getInstance()->executeS($sql);
if ($items && ($excludeIds || strpos($_SERVER['HTTP_REFERER'], 'AdminScenes') !== false))
foreach ($items as $item)
if ($items && ($excludeIds || strpos($_SERVER['HTTP_REFERER'], 'AdminScenes') !== false)) {
foreach ($items as $item) {
echo trim($item['name']).(!empty($item['reference']) ? ' (ref: '.$item['reference'].')' : '').'|'.(int)($item['id_product'])."\n";
elseif ($items)
{
}
} elseif ($items) {
// packs
$results = array();
foreach ($items as $item)
{
foreach ($items as $item) {
// check if product have combination
if (Combination::isFeatureActive() && $item['cache_default_attribute'])
{
if (Combination::isFeatureActive() && $item['cache_default_attribute']) {
$sql = 'SELECT pa.`id_product_attribute`, pa.`reference`, ag.`id_attribute_group`, pai.`id_image`, agl.`name` AS group_name, al.`name` AS attribute_name,
a.`id_attribute`
FROM `'._DB_PREFIX_.'product_attribute` pa
@ -97,24 +99,22 @@ elseif ($items)
ORDER BY pa.`id_product_attribute`';
$combinations = Db::getInstance()->executeS($sql);
if (!empty($combinations))
{
foreach ($combinations as $k => $combination)
{
if (!empty($combinations)) {
foreach ($combinations as $k => $combination) {
$results[$combination['id_product_attribute']]['id'] = $item['id_product'];
$results[$combination['id_product_attribute']]['id_product_attribute'] = $combination['id_product_attribute'];
!empty($results[$combination['id_product_attribute']]['name']) ? $results[$combination['id_product_attribute']]['name'] .= ' '.$combination['group_name'].'-'.$combination['attribute_name']
: $results[$combination['id_product_attribute']]['name'] = $item['name'].' '.$combination['group_name'].'-'.$combination['attribute_name'];
if (!empty($combination['reference']))
if (!empty($combination['reference'])) {
$results[$combination['id_product_attribute']]['ref'] = $combination['reference'];
else
} else {
$results[$combination['id_product_attribute']]['ref'] = !empty($item['reference']) ? $item['reference'] : '';
if (empty($results[$combination['id_product_attribute']]['image']))
}
if (empty($results[$combination['id_product_attribute']]['image'])) {
$results[$combination['id_product_attribute']]['image'] = str_replace('http://', Tools::getShopProtocol(), $context->link->getImageLink($item['link_rewrite'], $combination['id_image'], 'home_default'));
}
}
else
{
} else {
$product = array(
'id' => (int)($item['id_product']),
'name' => $item['name'],
@ -123,9 +123,7 @@ elseif ($items)
);
array_push($results, $product);
}
}
else
{
} else {
$product = array(
'id' => (int)($item['id_product']),
'name' => $item['name'],
@ -137,6 +135,6 @@ elseif ($items)
}
$results = array_values($results);
echo Tools::jsonEncode($results);
}
else
} else {
Tools::jsonEncode(new stdClass);
}

View File

@ -24,53 +24,63 @@
* International Registered Trademark & Property of PrestaShop SA
*/
if (!defined('_PS_ADMIN_DIR_'))
if (!defined('_PS_ADMIN_DIR_')) {
define('_PS_ADMIN_DIR_', getcwd());
}
include(_PS_ADMIN_DIR_.'/../config/config.inc.php');
if (!Context::getContext()->employee->isLoggedBack())
if (!Context::getContext()->employee->isLoggedBack()) {
Tools::redirectAdmin(Context::getContext()->link->getAdminLink('AdminLogin'));
}
$tabAccess = Profile::getProfileAccess(Context::getContext()->employee->id_profile,
Tab::getIdFromClassName('AdminBackup'));
if ($tabAccess['view'] !== '1')
die (Tools::displayError('You do not have permission to view this.'));
if ($tabAccess['view'] !== '1') {
die(Tools::displayError('You do not have permission to view this.'));
}
$backupdir = realpath(PrestaShopBackup::getBackupPath());
if ($backupdir === false)
die (Tools::displayError('There is no "/backup" directory.'));
if ($backupdir === false) {
die(Tools::displayError('There is no "/backup" directory.'));
}
if (!$backupfile = Tools::getValue('filename'))
die (Tools::displayError('No file has been specified.'));
if (!$backupfile = Tools::getValue('filename')) {
die(Tools::displayError('No file has been specified.'));
}
// Check the realpath so we can validate the backup file is under the backup directory
$backupfile = realpath($backupdir.DIRECTORY_SEPARATOR.$backupfile);
if ($backupfile === false OR strncmp($backupdir, $backupfile, strlen($backupdir)) != 0 )
die (Tools::dieOrLog('The backup file does not exist.'));
if ($backupfile === false or strncmp($backupdir, $backupfile, strlen($backupdir)) != 0) {
die(Tools::dieOrLog('The backup file does not exist.'));
}
if (substr($backupfile, -4) == '.bz2')
if (substr($backupfile, -4) == '.bz2') {
$contentType = 'application/x-bzip2';
else if (substr($backupfile, -3) == '.gz')
} elseif (substr($backupfile, -3) == '.gz') {
$contentType = 'application/x-gzip';
else
} else {
$contentType = 'text/x-sql';
}
$fp = @fopen($backupfile, 'r');
if ($fp === false)
die (Tools::displayError('Unable to open backup file(s).').' "'.addslashes($backupfile).'"');
if ($fp === false) {
die(Tools::displayError('Unable to open backup file(s).').' "'.addslashes($backupfile).'"');
}
// Add the correct headers, this forces the file is saved
header('Content-Type: '.$contentType);
header('Content-Disposition: attachment; filename="'.Tools::getValue('filename'). '"');
if (ob_get_level() && ob_get_length() > 0)
if (ob_get_level() && ob_get_length() > 0) {
ob_clean();
}
$ret = @fpassthru($fp);
fclose($fp);
if ($ret === false)
die (Tools::displayError('Unable to display backup file(s).').' "'.addslashes($backupfile).'"');
if ($ret === false) {
die(Tools::displayError('Unable to display backup file(s).').' "'.addslashes($backupfile).'"');
}

View File

@ -24,18 +24,16 @@
* International Registered Trademark & Property of PrestaShop SA
*/
if (!defined('_PS_ADMIN_DIR_'))
if (!defined('_PS_ADMIN_DIR_')) {
define('_PS_ADMIN_DIR_', getcwd());
}
include(_PS_ADMIN_DIR_.'/../config/config.inc.php');
if (isset($_GET['secure_key']))
{
if (isset($_GET['secure_key'])) {
$secureKey = md5(_COOKIE_KEY_.Configuration::get('PS_SHOP_NAME'));
if (!empty($secureKey) && $secureKey === $_GET['secure_key'])
{
if (!empty($secureKey) && $secureKey === $_GET['secure_key']) {
$shop_ids = Shop::getCompleteListOfShopsID();
foreach($shop_ids as $shop_id)
{
foreach ($shop_ids as $shop_id) {
Shop::setContext(Shop::CONTEXT_SHOP, (int)$shop_id);
Currency::refreshCurrencies();
}

View File

@ -24,13 +24,13 @@
* International Registered Trademark & Property of PrestaShop SA
*/
if (!defined('_PS_ADMIN_DIR_'))
if (!defined('_PS_ADMIN_DIR_')) {
define('_PS_ADMIN_DIR_', getcwd());
}
require_once(_PS_ADMIN_DIR_.'/../config/config.inc.php');
require_once(_PS_ADMIN_DIR_.'/init.php');
if (isset($_GET['img']) AND Validate::isMd5($_GET['img']) AND isset($_GET['name']) AND Validate::isGenericName($_GET['name']) AND file_exists(_PS_UPLOAD_DIR_.$_GET['img']))
{
if (isset($_GET['img']) and Validate::isMd5($_GET['img']) and isset($_GET['name']) and Validate::isGenericName($_GET['name']) and file_exists(_PS_UPLOAD_DIR_.$_GET['img'])) {
header('Content-type: image/jpeg');
header('Content-Disposition: attachment; filename="'.$_GET['name'].'.jpg"');
echo file_get_contents(_PS_UPLOAD_DIR_.$_GET['img']);

View File

@ -24,8 +24,9 @@
* International Registered Trademark & Property of PrestaShop SA
*/
if (!defined('_PS_ADMIN_DIR_'))
if (!defined('_PS_ADMIN_DIR_')) {
define('_PS_ADMIN_DIR_', getcwd());
}
include_once(_PS_ADMIN_DIR_.'/../config/config.inc.php');
$module = Tools::getValue('module');
@ -38,39 +39,34 @@ $height = Tools::getValue('height');
$id_employee = Tools::getValue('id_employee');
$id_lang = Tools::getValue('id_lang');
if (!isset($cookie->id_employee) || !$cookie->id_employee || $cookie->id_employee != $id_employee)
if (!isset($cookie->id_employee) || !$cookie->id_employee || $cookie->id_employee != $id_employee) {
die(Tools::displayError());
}
if (!Validate::isModuleName($module))
if (!Validate::isModuleName($module)) {
die(Tools::displayError());
}
if (!Tools::file_exists_cache($module_path = _PS_ROOT_DIR_.'/modules/'.$module.'/'.$module.'.php'))
if (!Tools::file_exists_cache($module_path = _PS_ROOT_DIR_.'/modules/'.$module.'/'.$module.'.php')) {
die(Tools::displayError());
}
$shop_id = '';
Shop::setContext(Shop::CONTEXT_ALL);
if (Context::getContext()->cookie->shopContext)
{
if (Context::getContext()->cookie->shopContext) {
$split = explode('-', Context::getContext()->cookie->shopContext);
if (count($split) == 2)
{
if ($split[0] == 'g')
{
if (Context::getContext()->employee->hasAuthOnShopGroup($split[1]))
if (count($split) == 2) {
if ($split[0] == 'g') {
if (Context::getContext()->employee->hasAuthOnShopGroup($split[1])) {
Shop::setContext(Shop::CONTEXT_GROUP, $split[1]);
else
{
} else {
$shop_id = Context::getContext()->employee->getDefaultShopID();
Shop::setContext(Shop::CONTEXT_SHOP, $shop_id);
}
}
else if (Shop::getShop($split[1]) && Context::getContext()->employee->hasAuthOnShop($split[1]))
{
} elseif (Shop::getShop($split[1]) && Context::getContext()->employee->hasAuthOnShop($split[1])) {
$shop_id = $split[1];
Shop::setContext(Shop::CONTEXT_SHOP, $shop_id);
}
else
{
} else {
$shop_id = Context::getContext()->employee->getDefaultShopID();
Shop::setContext(Shop::CONTEXT_SHOP, $shop_id);
}
@ -78,27 +74,30 @@ if (Context::getContext()->cookie->shopContext)
}
// Check multishop context and set right context if need
if (Shop::getContext())
{
if (Shop::getContext() == Shop::CONTEXT_SHOP && !Shop::CONTEXT_SHOP)
if (Shop::getContext()) {
if (Shop::getContext() == Shop::CONTEXT_SHOP && !Shop::CONTEXT_SHOP) {
Shop::setContext(Shop::CONTEXT_GROUP, Shop::getContextShopGroupID());
if (Shop::getContext() == Shop::CONTEXT_GROUP && !Shop::CONTEXT_GROUP)
}
if (Shop::getContext() == Shop::CONTEXT_GROUP && !Shop::CONTEXT_GROUP) {
Shop::setContext(Shop::CONTEXT_ALL);
}
}
// Replace existing shop if necessary
if (!$shop_id)
if (!$shop_id) {
Context::getContext()->shop = new Shop(Configuration::get('PS_SHOP_DEFAULT'));
elseif (Context::getContext()->shop->id != $shop_id)
} elseif (Context::getContext()->shop->id != $shop_id) {
Context::getContext()->shop = new Shop($shop_id);
}
require_once($module_path);
$graph = new $module();
$graph->setEmployee($id_employee);
$graph->setLang($id_lang);
if ($option)
if ($option) {
$graph->setOption($option, $layers);
}
$graph->create($render, $type, $width, $height, $layers);
$graph->draw();

View File

@ -2,32 +2,35 @@
include('config/config.php');
if ($_SESSION['verify'] != 'RESPONSIVEfilemanager')
if ($_SESSION['verify'] != 'RESPONSIVEfilemanager') {
die('forbiden');
}
include('include/utils.php');
if (isset($_GET['action']))
switch ($_GET['action'])
{
if (isset($_GET['action'])) {
switch ($_GET['action']) {
case 'view':
if (isset($_GET['type']))
if (isset($_GET['type'])) {
$_SESSION['view_type'] = $_GET['type'];
else
} else {
die('view type number missing');
}
break;
case 'sort':
if (isset($_GET['sort_by']))
if (isset($_GET['sort_by'])) {
$_SESSION['sort_by'] = $_GET['sort_by'];
if (isset($_GET['descending']))
}
if (isset($_GET['descending'])) {
$_SESSION['descending'] = $_GET['descending'] === 'true';
}
break;
case 'image_size':
if (realpath(dirname(_PS_ROOT_DIR_.$_POST['path'])) != realpath(_PS_ROOT_DIR_.$upload_dir))
if (realpath(dirname(_PS_ROOT_DIR_.$_POST['path'])) != realpath(_PS_ROOT_DIR_.$upload_dir)) {
die();
}
$pos = strpos($_POST['path'], $upload_dir);
if ($pos !== false)
{
if ($pos !== false) {
$info = getimagesize(substr_replace($_POST['path'], $current_path, $pos, strlen($upload_dir)));
echo json_encode($info);
}
@ -41,21 +44,23 @@ if (isset($_GET['action']))
|| strpos($_POST['url'], 'http://featherfiles.aviary.com/') !== 0
|| $_POST['name'] != fix_filename($_POST['name'], $transliteration)
|| !in_array(strtolower($info['extension']), array('jpg', 'jpeg', 'png'))
)
) {
die('wrong data');
}
$image_data = get_file_by_url($_POST['url']);
if ($image_data === false)
{
if ($image_data === false) {
die('file could not be loaded');
}
$put_contents_path = $current_path;
if (isset($_POST['path']))
if (isset($_POST['path'])) {
$put_contents_path .= str_replace("\0", "", $_POST['path']);
}
if (isset($_POST['name']))
if (isset($_POST['name'])) {
$put_contents_path .= str_replace("\0", "", $_POST['name']);
}
file_put_contents($put_contents_path, $image_data);
//new thumb creation
@ -67,46 +72,40 @@ if (isset($_GET['action']))
}*/
break;
case 'extract':
if (strpos($_POST['path'], '/') === 0 || strpos($_POST['path'], '../') !== false || strpos($_POST['path'], './') === 0)
if (strpos($_POST['path'], '/') === 0 || strpos($_POST['path'], '../') !== false || strpos($_POST['path'], './') === 0) {
die('wrong path');
}
$path = $current_path.$_POST['path'];
$info = pathinfo($path);
$base_folder = $current_path.fix_dirname($_POST['path']).'/';
switch ($info['extension'])
{
switch ($info['extension']) {
case 'zip':
$zip = new ZipArchive;
if ($zip->open($path) === true)
{
if ($zip->open($path) === true) {
//make all the folders
for ($i = 0; $i < $zip->numFiles; $i++)
{
for ($i = 0; $i < $zip->numFiles; $i++) {
$OnlyFileName = $zip->getNameIndex($i);
$FullFileName = $zip->statIndex($i);
if ($FullFileName['name'][strlen($FullFileName['name']) - 1] == '/')
{
if ($FullFileName['name'][strlen($FullFileName['name']) - 1] == '/') {
create_folder($base_folder.$FullFileName['name']);
}
}
//unzip into the folders
for ($i = 0; $i < $zip->numFiles; $i++)
{
for ($i = 0; $i < $zip->numFiles; $i++) {
$OnlyFileName = $zip->getNameIndex($i);
$FullFileName = $zip->statIndex($i);
if (!($FullFileName['name'][strlen($FullFileName['name']) - 1] == '/'))
{
if (!($FullFileName['name'][strlen($FullFileName['name']) - 1] == '/')) {
$fileinfo = pathinfo($OnlyFileName);
if (in_array(strtolower($fileinfo['extension']), $ext))
{
if (in_array(strtolower($fileinfo['extension']), $ext)) {
copy('zip://'.$path.'#'.$OnlyFileName, $base_folder.$FullFileName['name']);
}
}
}
$zip->close();
}
else
} else {
echo 'failed to open file';
}
break;
case 'gz':
$p = new PharData($path);
@ -184,8 +183,7 @@ if (isset($_GET['action']))
</div>
</div>
<?php
if (in_array(strtolower($info['extension']), $ext_music))
{
if (in_array(strtolower($info['extension']), $ext_music)) {
?>
<script type="text/javascript">
@ -194,11 +192,16 @@ if (isset($_GET['action']))
$("#jquery_jplayer_1").jPlayer({
ready: function () {
$(this).jPlayer("setMedia", {
title: "<?php Tools::safeOutput($_GET['title']); ?>",
mp3: "<?php echo Tools::safeOutput($preview_file); ?>",
m4a: "<?php echo Tools::safeOutput($preview_file); ?>",
oga: "<?php echo Tools::safeOutput($preview_file); ?>",
wav: "<?php echo Tools::safeOutput($preview_file); ?>"
title: "<?php Tools::safeOutput($_GET['title']);
?>",
mp3: "<?php echo Tools::safeOutput($preview_file);
?>",
m4a: "<?php echo Tools::safeOutput($preview_file);
?>",
oga: "<?php echo Tools::safeOutput($preview_file);
?>",
wav: "<?php echo Tools::safeOutput($preview_file);
?>"
});
},
swfPath: "js",
@ -211,8 +214,8 @@ if (isset($_GET['action']))
</script>
<?php
} elseif (in_array(strtolower($info['extension']), $ext_video))
{
} elseif (in_array(strtolower($info['extension']), $ext_video)) {
?>
<script type="text/javascript">
@ -221,9 +224,12 @@ if (isset($_GET['action']))
$("#jquery_jplayer_1").jPlayer({
ready: function () {
$(this).jPlayer("setMedia", {
title: "<?php Tools::safeOutput($_GET['title']); ?>",
m4v: "<?php echo Tools::safeOutput($preview_file); ?>",
ogv: "<?php echo Tools::safeOutput($preview_file); ?>"
title: "<?php Tools::safeOutput($_GET['title']);
?>",
m4v: "<?php echo Tools::safeOutput($preview_file);
?>",
ogv: "<?php echo Tools::safeOutput($preview_file);
?>"
});
},
swfPath: "js",
@ -237,9 +243,11 @@ if (isset($_GET['action']))
</script>
<?php
}
break;
}
else
} else {
die('no action passed');
}
?>

View File

@ -1,20 +1,23 @@
<?php
session_start();
if (!defined('_PS_ADMIN_DIR_'))
define('_PS_ADMIN_DIR_',dirname(__FILE__).'/../../');
if (!defined('_PS_ADMIN_DIR_')) {
define('_PS_ADMIN_DIR_', dirname(__FILE__).'/../../');
}
require_once(_PS_ADMIN_DIR_.'/../config/config.inc.php');
require_once(_PS_ADMIN_DIR_.'/init.php');
if (function_exists('mb_internal_encoding'))
if (function_exists('mb_internal_encoding')) {
mb_internal_encoding('UTF-8');
}
$products_accesses = Profile::getProfileAccess(Context::getContext()->employee->id_profile, Tab::getIdFromClassName('AdminProducts'));
$cms_accesses = Profile::getProfileAccess(Context::getContext()->employee->id_profile, Tab::getIdFromClassName('AdminCmsContent'));
if (!$products_accesses['edit'] && !$cms_accesses['edit'])
if (!$products_accesses['edit'] && !$cms_accesses['edit']) {
die(Tools::displayError());
}
//------------------------------------------------------------------------------
// DON'T COPY THIS VARIABLES IN FOLDERS config.php FILES
//------------------------------------------------------------------------------
@ -105,7 +108,7 @@ $ext_video = array('mov', 'mpeg', 'mp4', 'avi', 'mpg', 'wma', 'flv', 'webm'); //
$ext_music = array();//array('mp3', 'm4a', 'ac3', 'aiff', 'mid','ogg','wav'); //Audio
$ext_misc = array();// array('zip', 'rar','gz','tar','iso','dmg'); //Archives
$ext=array_merge($ext_img, $ext_file, $ext_misc, $ext_video,$ext_music); //allowed extensions
$ext=array_merge($ext_img, $ext_file, $ext_misc, $ext_video, $ext_music); //allowed extensions
/******************
@ -167,5 +170,3 @@ $relative_image_creation_name_to_prepend= array('','test_'); //name to prepend o
$relative_image_creation_name_to_append = array('_test',''); //name to append on filename
$relative_image_creation_width = array(300,400); //width of image (you can leave empty if you set height)
$relative_image_creation_height = array(200,''); //height of image (you can leave empty if you set width)
?>

File diff suppressed because it is too large Load Diff

View File

@ -1,45 +1,50 @@
<?php
include('config/config.php');
if ($_SESSION['verify'] != 'RESPONSIVEfilemanager') die('forbiden');
if ($_SESSION['verify'] != 'RESPONSIVEfilemanager') {
die('forbiden');
}
include('include/utils.php');
$_POST['path_thumb'] = $thumbs_base_path.$_POST['path_thumb'];
if (!isset($_POST['path_thumb']) && trim($_POST['path_thumb']) == '')
if (!isset($_POST['path_thumb']) && trim($_POST['path_thumb']) == '') {
die('wrong path');
}
$thumb_pos = strpos($_POST['path_thumb'], $thumbs_base_path);
if ($thumb_pos === false
|| preg_match('/\.{1,2}[\/|\\\]/', $_POST['path_thumb']) !== 0
|| preg_match('/\.{1,2}[\/|\\\]/', $_POST['path']) !== 0
)
) {
die('wrong path');
}
$language_file = 'lang/en.php';
if (isset($_GET['lang']) && $_GET['lang'] != 'undefined' && $_GET['lang'] != '')
{
if (isset($_GET['lang']) && $_GET['lang'] != 'undefined' && $_GET['lang'] != '') {
$path_parts = pathinfo($_GET['lang']);
if (is_readable('lang/'.$path_parts['basename'].'.php'))
if (is_readable('lang/'.$path_parts['basename'].'.php')) {
$language_file = 'lang/'.$path_parts['basename'].'.php';
}
}
require_once $language_file;
$base = $current_path;
if (isset($_POST['path']))
if (isset($_POST['path'])) {
$path = $current_path.str_replace("\0", "", $_POST['path']);
else
} else {
$path = $current_path;
}
$cycle = true;
$max_cycles = 50;
$i = 0;
while ($cycle && $i < $max_cycles)
{
while ($cycle && $i < $max_cycles) {
$i++;
if ($path == $base) $cycle = false;
if ($path == $base) {
$cycle = false;
}
if (file_exists($path.'config.php'))
{
if (file_exists($path.'config.php')) {
require_once($path.'config.php');
$cycle = false;
}
@ -49,157 +54,154 @@ while ($cycle && $i < $max_cycles)
$path = $current_path.str_replace("\0", "", $_POST['path']);
$path_thumb = $_POST['path_thumb'];
if (isset($_POST['name']))
{
if (isset($_POST['name'])) {
$name = $_POST['name'];
if (preg_match('/\.{1,2}[\/|\\\]/', $name) !== 0) die('wrong name');
if (preg_match('/\.{1,2}[\/|\\\]/', $name) !== 0) {
die('wrong name');
}
}
$info = pathinfo($path);
if (isset($info['extension']) && !(isset($_GET['action']) && $_GET['action'] == 'delete_folder') && !in_array(strtolower($info['extension']), $ext))
if (isset($info['extension']) && !(isset($_GET['action']) && $_GET['action'] == 'delete_folder') && !in_array(strtolower($info['extension']), $ext)) {
die('wrong extension');
}
if (isset($_GET['action']))
{
switch ($_GET['action'])
{
if (isset($_GET['action'])) {
switch ($_GET['action']) {
case 'delete_file':
if ($delete_files)
{
if ($delete_files) {
unlink($path);
if (file_exists($path_thumb))
if (file_exists($path_thumb)) {
unlink($path_thumb);
}
$info = pathinfo($path);
if ($relative_image_creation)
{
foreach ($relative_path_from_current_pos as $k => $path)
{
if ($path != '' && $path[strlen($path) - 1] != '/')
if ($relative_image_creation) {
foreach ($relative_path_from_current_pos as $k => $path) {
if ($path != '' && $path[strlen($path) - 1] != '/') {
$path .= '/';
if (file_exists($info['dirname'].'/'.$path.$relative_image_creation_name_to_prepend[$k].$info['filename'].$relative_image_creation_name_to_append[$k].'.'.$info['extension']))
}
if (file_exists($info['dirname'].'/'.$path.$relative_image_creation_name_to_prepend[$k].$info['filename'].$relative_image_creation_name_to_append[$k].'.'.$info['extension'])) {
unlink($info['dirname'].'/'.$path.$relative_image_creation_name_to_prepend[$k].$info['filename'].$relative_image_creation_name_to_append[$k].'.'.$info['extension']);
}
}
}
if ($fixed_image_creation)
{
foreach ($fixed_path_from_filemanager as $k => $path)
{
if ($path != '' && $path[strlen($path) - 1] != '/')
if ($fixed_image_creation) {
foreach ($fixed_path_from_filemanager as $k => $path) {
if ($path != '' && $path[strlen($path) - 1] != '/') {
$path .= '/';
}
$base_dir = $path.substr_replace($info['dirname'].'/', '', 0, strlen($current_path));
if (file_exists($base_dir.$fixed_image_creation_name_to_prepend[$k].$info['filename'].$fixed_image_creation_to_append[$k].'.'.$info['extension']))
if (file_exists($base_dir.$fixed_image_creation_name_to_prepend[$k].$info['filename'].$fixed_image_creation_to_append[$k].'.'.$info['extension'])) {
unlink($base_dir.$fixed_image_creation_name_to_prepend[$k].$info['filename'].$fixed_image_creation_to_append[$k].'.'.$info['extension']);
}
}
}
}
break;
case 'delete_folder':
if ($delete_folders)
{
if (is_dir($path_thumb))
if ($delete_folders) {
if (is_dir($path_thumb)) {
deleteDir($path_thumb);
if (is_dir($path))
{
}
if (is_dir($path)) {
deleteDir($path);
if ($fixed_image_creation)
{
foreach ($fixed_path_from_filemanager as $k => $paths)
{
if ($paths != '' && $paths[strlen($paths) - 1] != '/') $paths .= '/';
if ($fixed_image_creation) {
foreach ($fixed_path_from_filemanager as $k => $paths) {
if ($paths != '' && $paths[strlen($paths) - 1] != '/') {
$paths .= '/';
}
$base_dir = $paths.substr_replace($path, '', 0, strlen($current_path));
if (is_dir($base_dir))
if (is_dir($base_dir)) {
deleteDir($base_dir);
}
}
}
}
}
break;
case 'create_folder':
if ($create_folders)
if ($create_folders) {
create_folder(fix_path($path, $transliteration), fix_path($path_thumb, $transliteration));
}
break;
case 'rename_folder':
if ($rename_folders)
{
if ($rename_folders) {
$name = fix_filename($name, $transliteration);
$name = str_replace('.', '', $name);
if (!empty($name))
{
if (!rename_folder($path, $name, $transliteration))
if (!empty($name)) {
if (!rename_folder($path, $name, $transliteration)) {
die(lang_Rename_existing_folder);
}
rename_folder($path_thumb, $name, $transliteration);
if ($fixed_image_creation)
{
foreach ($fixed_path_from_filemanager as $k => $paths)
{
if ($paths != '' && $paths[strlen($paths) - 1] != '/') $paths .= '/';
if ($fixed_image_creation) {
foreach ($fixed_path_from_filemanager as $k => $paths) {
if ($paths != '' && $paths[strlen($paths) - 1] != '/') {
$paths .= '/';
}
$base_dir = $paths.substr_replace($path, '', 0, strlen($current_path));
rename_folder($base_dir, $name, $transliteration);
}
}
} else
} else {
die(lang_Empty_name);
}
}
break;
case 'rename_file':
if ($rename_files)
{
if ($rename_files) {
$name = fix_filename($name, $transliteration);
if (!empty($name))
{
if (!rename_file($path, $name, $transliteration))
if (!empty($name)) {
if (!rename_file($path, $name, $transliteration)) {
die(lang_Rename_existing_file);
}
rename_file($path_thumb, $name, $transliteration);
if ($fixed_image_creation)
{
if ($fixed_image_creation) {
$info = pathinfo($path);
foreach ($fixed_path_from_filemanager as $k => $paths)
{
if ($paths != '' && $paths[strlen($paths) - 1] != '/') $paths .= '/';
foreach ($fixed_path_from_filemanager as $k => $paths) {
if ($paths != '' && $paths[strlen($paths) - 1] != '/') {
$paths .= '/';
}
$base_dir = $paths.substr_replace($info['dirname'].'/', '', 0, strlen($current_path));
if (file_exists($base_dir.$fixed_image_creation_name_to_prepend[$k].$info['filename'].$fixed_image_creation_to_append[$k].'.'.$info['extension']))
if (file_exists($base_dir.$fixed_image_creation_name_to_prepend[$k].$info['filename'].$fixed_image_creation_to_append[$k].'.'.$info['extension'])) {
rename_file($base_dir.$fixed_image_creation_name_to_prepend[$k].$info['filename'].$fixed_image_creation_to_append[$k].'.'.$info['extension'], $fixed_image_creation_name_to_prepend[$k].$name.$fixed_image_creation_to_append[$k], $transliteration);
}
}
} else
}
} else {
die(lang_Empty_name);
}
}
break;
case 'duplicate_file':
if ($duplicate_files)
{
if ($duplicate_files) {
$name = fix_filename($name, $transliteration);
if (!empty($name))
{
if (!duplicate_file($path, $name))
if (!empty($name)) {
if (!duplicate_file($path, $name)) {
die(lang_Rename_existing_file);
}
duplicate_file($path_thumb, $name);
if ($fixed_image_creation)
{
if ($fixed_image_creation) {
$info = pathinfo($path);
foreach ($fixed_path_from_filemanager as $k => $paths)
{
if ($paths != '' && $paths[strlen($paths) - 1] != '/') $paths .= '/';
foreach ($fixed_path_from_filemanager as $k => $paths) {
if ($paths != '' && $paths[strlen($paths) - 1] != '/') {
$paths .= '/';
}
$base_dir = $paths.substr_replace($info['dirname'].'/', '', 0, strlen($current_path));
if (file_exists($base_dir.$fixed_image_creation_name_to_prepend[$k].$info['filename'].$fixed_image_creation_to_append[$k].'.'.$info['extension']))
if (file_exists($base_dir.$fixed_image_creation_name_to_prepend[$k].$info['filename'].$fixed_image_creation_to_append[$k].'.'.$info['extension'])) {
duplicate_file($base_dir.$fixed_image_creation_name_to_prepend[$k].$info['filename'].$fixed_image_creation_to_append[$k].'.'.$info['extension'], $fixed_image_creation_name_to_prepend[$k].$name.$fixed_image_creation_to_append[$k]);
}
}
} else
}
} else {
die(lang_Empty_name);
}
}
break;
default:
die('wrong action');
break;
}
}
?>

View File

@ -1,20 +1,25 @@
<?php
include('config/config.php');
if ($_SESSION['verify'] != 'RESPONSIVEfilemanager') die('forbiden');
if ($_SESSION['verify'] != 'RESPONSIVEfilemanager') {
die('forbiden');
}
include('include/utils.php');
if (preg_match('/\.{1,2}[\/|\\\]/', $_POST['path']) !== 0)
if (preg_match('/\.{1,2}[\/|\\\]/', $_POST['path']) !== 0) {
die('wrong path');
}
if (strpos($_POST['name'], '/') !== false || strpos($_POST['name'], '\\') !== false)
if (strpos($_POST['name'], '/') !== false || strpos($_POST['name'], '\\') !== false) {
die('wrong path');
}
$path = $current_path.$_POST['path'];
$name = $_POST['name'];
$info = pathinfo($name);
if (!in_array(fix_strtolower($info['extension']), $ext))
if (!in_array(fix_strtolower($info['extension']), $ext)) {
die('wrong extension');
}
header('Pragma: private');
header('Cache-control: private, must-revalidate');
@ -24,4 +29,3 @@ header('Content-Disposition: attachment; filename="'.($name).'"');
readfile($path.$name);
exit;
?>

File diff suppressed because it is too large Load Diff

View File

@ -1,91 +1,114 @@
<?php
if($_SESSION["verify"] != "RESPONSIVEfilemanager") die('forbiden');
if ($_SESSION["verify"] != "RESPONSIVEfilemanager") {
die('forbiden');
}
function deleteDir($dir) {
if (!file_exists($dir)) return true;
if (!is_dir($dir)) return unlink($dir);
function deleteDir($dir)
{
if (!file_exists($dir)) {
return true;
}
if (!is_dir($dir)) {
return unlink($dir);
}
foreach (scandir($dir) as $item) {
if ($item == '.' || $item == '..') continue;
if (!deleteDir($dir.DIRECTORY_SEPARATOR.$item)) return false;
if ($item == '.' || $item == '..') {
continue;
}
if (!deleteDir($dir.DIRECTORY_SEPARATOR.$item)) {
return false;
}
}
return rmdir($dir);
}
function duplicate_file($old_path,$name){
if(file_exists($old_path)){
function duplicate_file($old_path, $name)
{
if (file_exists($old_path)) {
$info=pathinfo($old_path);
$new_path=$info['dirname']."/".$name.".".$info['extension'];
if(file_exists($new_path)) return false;
return copy($old_path,$new_path);
if (file_exists($new_path)) {
return false;
}
return copy($old_path, $new_path);
}
}
function rename_file($old_path,$name,$transliteration){
$name=fix_filename($name,$transliteration);
if(file_exists($old_path)){
function rename_file($old_path, $name, $transliteration)
{
$name=fix_filename($name, $transliteration);
if (file_exists($old_path)) {
$info=pathinfo($old_path);
$new_path=$info['dirname']."/".$name.".".$info['extension'];
if(file_exists($new_path)) return false;
return rename($old_path,$new_path);
if (file_exists($new_path)) {
return false;
}
return rename($old_path, $new_path);
}
}
function rename_folder($old_path,$name,$transliteration){
$name=fix_filename($name,$transliteration);
if(file_exists($old_path)){
function rename_folder($old_path, $name, $transliteration)
{
$name=fix_filename($name, $transliteration);
if (file_exists($old_path)) {
$new_path=fix_dirname($old_path)."/".$name;
if(file_exists($new_path)) return false;
return rename($old_path,$new_path);
if (file_exists($new_path)) {
return false;
}
return rename($old_path, $new_path);
}
}
function create_img_gd($imgfile, $imgthumb, $newwidth, $newheight="") {
if(image_check_memory_usage($imgfile,$newwidth,$newheight)){
function create_img_gd($imgfile, $imgthumb, $newwidth, $newheight="")
{
if (image_check_memory_usage($imgfile, $newwidth, $newheight)) {
require_once('php_image_magician.php');
$magicianObj = new imageLib($imgfile);
$magicianObj -> resizeImage($newwidth, $newheight, 'crop');
$magicianObj -> saveImage($imgthumb,80);
$magicianObj -> saveImage($imgthumb, 80);
return true;
}
return false;
}
function create_img($imgfile, $imgthumb, $newwidth, $newheight="") {
if(image_check_memory_usage($imgfile,$newwidth,$newheight)){
function create_img($imgfile, $imgthumb, $newwidth, $newheight="")
{
if (image_check_memory_usage($imgfile, $newwidth, $newheight)) {
require_once('php_image_magician.php');
$magicianObj = new imageLib($imgfile);
$magicianObj -> resizeImage($newwidth, $newheight, 'auto');
$magicianObj -> saveImage($imgthumb,80);
$magicianObj -> saveImage($imgthumb, 80);
return true;
}else{
} else {
return false;
}
}
function makeSize($size) {
function makeSize($size)
{
$units = array('B','KB','MB','GB','TB');
$u = 0;
while ( (round($size / 1024) > 0) && ($u < 4) ) {
while ((round($size / 1024) > 0) && ($u < 4)) {
$size = $size / 1024;
$u++;
}
return (number_format($size, 0) . " " . $units[$u]);
}
function foldersize($path) {
function foldersize($path)
{
$total_size = 0;
$files = scandir($path);
$cleanPath = rtrim($path, '/'). '/';
foreach($files as $t) {
foreach ($files as $t) {
if ($t<>"." && $t<>"..") {
$currentFile = $cleanPath . $t;
if (is_dir($currentFile)) {
$size = foldersize($currentFile);
$total_size += $size;
}
else {
} else {
$size = filesize($currentFile);
$total_size += $size;
}
@ -95,117 +118,126 @@ function foldersize($path) {
return $total_size;
}
function create_folder($path=false,$path_thumbs=false){
function create_folder($path=false, $path_thumbs=false)
{
$oldumask = umask(0);
if ($path && !file_exists($path))
mkdir($path, 0777, true); // or even 01777 so you get the sticky bit set
if($path_thumbs && !file_exists($path_thumbs))
mkdir($path_thumbs, 0777, true) or die("$path_thumbs cannot be found"); // or even 01777 so you get the sticky bit set
if ($path && !file_exists($path)) {
mkdir($path, 0777, true);
} // or even 01777 so you get the sticky bit set
if ($path_thumbs && !file_exists($path_thumbs)) {
mkdir($path_thumbs, 0777, true) or die("$path_thumbs cannot be found");
} // or even 01777 so you get the sticky bit set
umask($oldumask);
}
function check_files_extensions_on_path($path,$ext){
if(!is_dir($path)){
function check_files_extensions_on_path($path, $ext)
{
if (!is_dir($path)) {
$fileinfo = pathinfo($path);
if (function_exists('mb_strtolower'))
if(!in_array(mb_strtolower($fileinfo['extension']),$ext))
if (function_exists('mb_strtolower')) {
if (!in_array(mb_strtolower($fileinfo['extension']), $ext)) {
unlink($path);
else
if(!in_array(Tools::strtolower($fileinfo['extension']),$ext))
} elseif (!in_array(Tools::strtolower($fileinfo['extension']), $ext)) {
unlink($path);
}else{
}
}
} else {
$files = scandir($path);
foreach($files as $file){
check_files_extensions_on_path(trim($path,'/')."/".$file,$ext);
foreach ($files as $file) {
check_files_extensions_on_path(trim($path, '/')."/".$file, $ext);
}
}
}
function check_files_extensions_on_phar( $phar, &$files, $basepath, $ext ) {
foreach( $phar as $file )
{
if( $file->isFile() )
{
if (function_exists('mb_strtolower'))
if(in_array(mb_strtolower($file->getExtension()),$ext))
$files[] = $basepath.$file->getFileName( );
else
if(in_array(Tools::strtolower($file->getExtension()),$ext))
$files[] = $basepath.$file->getFileName( );
function check_files_extensions_on_phar($phar, &$files, $basepath, $ext)
{
foreach ($phar as $file) {
if ($file->isFile()) {
if (function_exists('mb_strtolower')) {
if (in_array(mb_strtolower($file->getExtension()), $ext)) {
$files[] = $basepath.$file->getFileName();
} elseif (in_array(Tools::strtolower($file->getExtension()), $ext)) {
$files[] = $basepath.$file->getFileName();
}
else if( $file->isDir() )
{
$iterator = new DirectoryIterator( $file );
}
} elseif ($file->isDir()) {
$iterator = new DirectoryIterator($file);
check_files_extensions_on_phar($iterator, $files, $basepath.$file->getFileName().'/', $ext);
}
}
}
function fix_filename($str,$transliteration){
if($transliteration){
if( function_exists( 'transliterator_transliterate' ) )
{
$str = transliterator_transliterate( 'Accents-Any', $str );
}
else
{
function fix_filename($str, $transliteration)
{
if ($transliteration) {
if (function_exists('transliterator_transliterate')) {
$str = transliterator_transliterate('Accents-Any', $str);
} else {
$str = iconv('UTF-8', 'ASCII//TRANSLIT//IGNORE', $str);
}
$str = preg_replace( "/[^a-zA-Z0-9\.\[\]_| -]/", '', $str );
$str = preg_replace("/[^a-zA-Z0-9\.\[\]_| -]/", '', $str);
}
$str=str_replace(array('"',"'","/","\\"),"",$str);
$str=str_replace(array('"', "'", "/", "\\"), "", $str);
$str=strip_tags($str);
// Empty or incorrectly transliterated filename.
// Here is a point: a good file UNKNOWN_LANGUAGE.jpg could become .jpg in previous code.
// So we add that default 'file' name to fix that issue.
if( strpos( $str, '.' ) === 0 )
{
if (strpos($str, '.') === 0) {
$str = 'file'.$str;
}
return trim( $str );
return trim($str);
}
function fix_dirname($str){
return str_replace('~',' ',dirname(str_replace(' ','~',$str)));
function fix_dirname($str)
{
return str_replace('~', ' ', dirname(str_replace(' ', '~', $str)));
}
function fix_strtoupper($str){
if( function_exists( 'mb_strtoupper' ) )
function fix_strtoupper($str)
{
if (function_exists('mb_strtoupper')) {
return mb_strtoupper($str);
else
} else {
return strtoupper($str);
}
}
function fix_strtolower($str){
if( function_exists( 'mb_strtoupper' ) )
function fix_strtolower($str)
{
if (function_exists('mb_strtoupper')) {
return mb_strtolower($str);
else
} else {
return strtolower($str);
}
}
function fix_path($path,$transliteration){
function fix_path($path, $transliteration)
{
$info=pathinfo($path);
if (($s = strrpos($path, '/')) !== false) $s++;
if (($e = strrpos($path, '.') - $s) !== strlen($info['filename']))
{
if (($s = strrpos($path, '/')) !== false) {
$s++;
}
if (($e = strrpos($path, '.') - $s) !== strlen($info['filename'])) {
$info['filename'] = substr($path, $s, $e);
$info['basename'] = substr($path, $s);
}
$tmp_path = $info['dirname'].DIRECTORY_SEPARATOR.$info['basename'];
$str=fix_filename($info['filename'],$transliteration);
if($tmp_path!="")
$str=fix_filename($info['filename'], $transliteration);
if ($tmp_path!="") {
return $tmp_path.DIRECTORY_SEPARATOR.$str;
else
} else {
return $str;
}
}
function base_url(){
function base_url()
{
return sprintf(
"%s://%s",
isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off' ? 'https' : 'http',
@ -213,44 +245,46 @@ function base_url(){
);
}
function config_loading($current_path,$fld){
if(file_exists($current_path.$fld.".config")){
function config_loading($current_path, $fld)
{
if (file_exists($current_path.$fld.".config")) {
require_once($current_path.$fld.".config");
return true;
}
echo "!!!!".$parent=fix_dirname($fld);
if($parent!="." && !empty($parent)){
config_loading($current_path,$parent);
if ($parent!="." && !empty($parent)) {
config_loading($current_path, $parent);
}
return false;
}
function image_check_memory_usage($img, $max_breedte, $max_hoogte){
if(file_exists($img)){
function image_check_memory_usage($img, $max_breedte, $max_hoogte)
{
if (file_exists($img)) {
$K64 = 65536; // number of bytes in 64K
$memory_usage = memory_get_usage();
$memory_limit = abs(intval(str_replace('M','',ini_get('memory_limit'))*1024*1024));
$memory_limit = abs(intval(str_replace('M', '', ini_get('memory_limit'))*1024*1024));
$image_properties = getimagesize($img);
$image_width = $image_properties[0];
$image_height = $image_properties[1];
$image_bits = $image_properties['bits'];
$image_memory_usage = $K64 + ($image_width * $image_height * ($image_bits ) * 2);
$thumb_memory_usage = $K64 + ($max_breedte * $max_hoogte * ($image_bits ) * 2);
$image_memory_usage = $K64 + ($image_width * $image_height * ($image_bits) * 2);
$thumb_memory_usage = $K64 + ($max_breedte * $max_hoogte * ($image_bits) * 2);
$memory_needed = intval($memory_usage + $image_memory_usage + $thumb_memory_usage);
if($memory_needed > $memory_limit){
ini_set('memory_limit',(intval($memory_needed/1024/1024)+5) . 'M');
if(ini_get('memory_limit') == (intval($memory_needed/1024/1024)+5) . 'M'){
if ($memory_needed > $memory_limit) {
ini_set('memory_limit', (intval($memory_needed/1024/1024)+5) . 'M');
if (ini_get('memory_limit') == (intval($memory_needed/1024/1024)+5) . 'M') {
return true;
}else{
} else {
return false;
}
}else{
} else {
return true;
}
}else{
} else {
return false;
}
}
@ -260,37 +294,50 @@ function endsWith($haystack, $needle)
return $needle === "" || substr($haystack, -strlen($needle)) === $needle;
}
function new_thumbnails_creation($targetPath,$targetFile,$name,$current_path,$relative_image_creation,$relative_path_from_current_pos,$relative_image_creation_name_to_prepend,$relative_image_creation_name_to_append,$relative_image_creation_width,$relative_image_creation_height,$fixed_image_creation,$fixed_path_from_filemanager,$fixed_image_creation_name_to_prepend,$fixed_image_creation_to_append,$fixed_image_creation_width,$fixed_image_creation_height){
function new_thumbnails_creation($targetPath, $targetFile, $name, $current_path, $relative_image_creation, $relative_path_from_current_pos, $relative_image_creation_name_to_prepend, $relative_image_creation_name_to_append, $relative_image_creation_width, $relative_image_creation_height, $fixed_image_creation, $fixed_path_from_filemanager, $fixed_image_creation_name_to_prepend, $fixed_image_creation_to_append, $fixed_image_creation_width, $fixed_image_creation_height)
{
//create relative thumbs
$all_ok=true;
if($relative_image_creation){
foreach($relative_path_from_current_pos as $k=>$path){
if($path!="" && $path[strlen($path)-1]!="/") $path.="/";
if (!file_exists($targetPath.$path)) create_folder($targetPath.$path,false);
if ($relative_image_creation) {
foreach ($relative_path_from_current_pos as $k=>$path) {
if ($path!="" && $path[strlen($path)-1]!="/") {
$path.="/";
}
if (!file_exists($targetPath.$path)) {
create_folder($targetPath.$path, false);
}
$info=pathinfo($name);
if(!endsWith($targetPath,$path))
if(!create_img($targetFile, $targetPath.$path.$relative_image_creation_name_to_prepend[$k].$info['filename'].$relative_image_creation_name_to_append[$k].".".$info['extension'], $relative_image_creation_width[$k], $relative_image_creation_height[$k]))
if (!endsWith($targetPath, $path)) {
if (!create_img($targetFile, $targetPath.$path.$relative_image_creation_name_to_prepend[$k].$info['filename'].$relative_image_creation_name_to_append[$k].".".$info['extension'], $relative_image_creation_width[$k], $relative_image_creation_height[$k])) {
$all_ok=false;
}
}
}
}
//create fixed thumbs
if($fixed_image_creation){
foreach($fixed_path_from_filemanager as $k=>$path){
if($path!="" && $path[strlen($path)-1]!="/") $path.="/";
if ($fixed_image_creation) {
foreach ($fixed_path_from_filemanager as $k=>$path) {
if ($path!="" && $path[strlen($path)-1]!="/") {
$path.="/";
}
$base_dir=$path.substr_replace($targetPath, '', 0, strlen($current_path));
if (!file_exists($base_dir)) create_folder($base_dir,false);
if (!file_exists($base_dir)) {
create_folder($base_dir, false);
}
$info=pathinfo($name);
if(!create_img($targetFile, $base_dir.$fixed_image_creation_name_to_prepend[$k].$info['filename'].$fixed_image_creation_to_append[$k].".".$info['extension'], $fixed_image_creation_width[$k], $fixed_image_creation_height[$k]))
if (!create_img($targetFile, $base_dir.$fixed_image_creation_name_to_prepend[$k].$info['filename'].$fixed_image_creation_to_append[$k].".".$info['extension'], $fixed_image_creation_width[$k], $fixed_image_creation_height[$k])) {
$all_ok=false;
}
}
}
return $all_ok;
}
// Get a remote file, using whichever mechanism is enabled
function get_file_by_url($url) {
function get_file_by_url($url)
{
if (ini_get('allow_url_fopen')) {
return file_get_contents($url);
}
@ -309,5 +356,3 @@ function get_file_by_url($url) {
return $data;
}
?>

View File

@ -1,58 +1,57 @@
<?php
define('lang_Select','Seç');
define('lang_Erase','Sil');
define('lang_Open','Aç');
define('lang_Confirm_del','Bu faylı silmek istədiyinizdə əminsinizmi?');
define('lang_All','Hamısı');
define('lang_Files','Fayllar');
define('lang_Images','Şəkillər');
define('lang_Archives','Arxivlər');
define('lang_Error_Upload','Yükləmək istədiyiniz fayl maksimum limiti keçdi.');
define('lang_Error_extension','Fayl uzantısı icazəsi yoxdur.');
define('lang_Upload_file','Fayl Yüklə');
define('lang_Filters','Filtrlər');
define('lang_Videos','Videolar');
define('lang_Music','Mahnılar');
define('lang_New_Folder','Yeni Folder');
define('lang_Folder_Created','Folder müvəffəqiyyətlə yaradıldı.');
define('lang_Existing_Folder','Mövcud folder');
define('lang_Confirm_Folder_del','Bu folderi və içindəkiləri silmək istədiyinizə əminsinizmi?');
define('lang_Return_Files_List','Faylların siyahısına geri qayıt');
define('lang_Preview','İlk baxış');
define('lang_Download','Yüklə');
define('lang_Insert_Folder_Name','Folder adı əlavə et:');
define('lang_Root','kök');
define('lang_Rename','Yenidən Adlandır');
define('lang_Back','geri');
define('lang_View','Görünüş');
define('lang_View_list','List görünüşü');
define('lang_View_columns_list','Sütunlu list görünüşü');
define('lang_View_boxes','Qutu görünüşü');
define('lang_Toolbar','Alətlər Paneli');
define('lang_Actions','Fəaliyyətlər');
define('lang_Rename_existing_file','Bu fayl var artıq');
define('lang_Rename_existing_folder','Bu folder var artıq');
define('lang_Empty_name','Ad sahəsi boşdur.');
define('lang_Text_filter','filtrlə...');
define('lang_Swipe_help','Variantları görmək üçün file/folder adına tıklayın');
define('lang_Upload_base','Normal Yükləmə');
define('lang_Upload_java','JAVA Yükləmə (Böyük fayllar üçün)');
define('lang_Upload_java_help',"Əgər Java tətbiqi yüklənmədisə; 1- Kompüterinizdə Java yüklənmiş olduğundan əmin olun yada <a href='http://java.com/en/download/'>[Java'nı Buradan Yükləyin]</a> 2- Təhlükəsizlik divarının heç bir şeyə mane olmadığından əmin olun.");
define('lang_Upload_base_help',"Faylları aşağıdakı sahəyə Gətir & Burax ve ya tıklayaraq açılan pəncərədən fayllarınızı seçin. Yükləmə başa çatdığında 'Return to files list' düyməsinə tıklayın.");
define('lang_Type_dir','Kataloq');
define('lang_Type','Növ');
define('lang_Dimension','Ölçü');
define('lang_Size','Çəki');
define('lang_Date','Tarix');
define('lang_Filename','Fayl adı');
define('lang_Operations','Əməliyyatlar');
define('lang_Date_type','d-m-Y');
define('lang_OK','Razıyam');
define('lang_Cancel','Ləğv Et');
define('lang_Sorting','sıralama');
define('lang_Show_url','URL göstər');
define('lang_Extract','bura çıxart');
define('lang_File_info','fayl məlumatı');
define('lang_Edit_image','şəkli redaktə et');
define('lang_Duplicate','Dublikat');
?>
define('lang_Select', 'Seç');
define('lang_Erase', 'Sil');
define('lang_Open', 'Aç');
define('lang_Confirm_del', 'Bu faylı silmek istədiyinizdə əminsinizmi?');
define('lang_All', 'Hamısı');
define('lang_Files', 'Fayllar');
define('lang_Images', 'Şəkillər');
define('lang_Archives', 'Arxivlər');
define('lang_Error_Upload', 'Yükləmək istədiyiniz fayl maksimum limiti keçdi.');
define('lang_Error_extension', 'Fayl uzantısı icazəsi yoxdur.');
define('lang_Upload_file', 'Fayl Yüklə');
define('lang_Filters', 'Filtrlər');
define('lang_Videos', 'Videolar');
define('lang_Music', 'Mahnılar');
define('lang_New_Folder', 'Yeni Folder');
define('lang_Folder_Created', 'Folder müvəffəqiyyətlə yaradıldı.');
define('lang_Existing_Folder', 'Mövcud folder');
define('lang_Confirm_Folder_del', 'Bu folderi və içindəkiləri silmək istədiyinizə əminsinizmi?');
define('lang_Return_Files_List', 'Faylların siyahısına geri qayıt');
define('lang_Preview', 'İlk baxış');
define('lang_Download', 'Yüklə');
define('lang_Insert_Folder_Name', 'Folder adı əlavə et:');
define('lang_Root', 'kök');
define('lang_Rename', 'Yenidən Adlandır');
define('lang_Back', 'geri');
define('lang_View', 'Görünüş');
define('lang_View_list', 'List görünüşü');
define('lang_View_columns_list', 'Sütunlu list görünüşü');
define('lang_View_boxes', 'Qutu görünüşü');
define('lang_Toolbar', 'Alətlər Paneli');
define('lang_Actions', 'Fəaliyyətlər');
define('lang_Rename_existing_file', 'Bu fayl var artıq');
define('lang_Rename_existing_folder', 'Bu folder var artıq');
define('lang_Empty_name', 'Ad sahəsi boşdur.');
define('lang_Text_filter', 'filtrlə...');
define('lang_Swipe_help', 'Variantları görmək üçün file/folder adına tıklayın');
define('lang_Upload_base', 'Normal Yükləmə');
define('lang_Upload_java', 'JAVA Yükləmə (Böyük fayllar üçün)');
define('lang_Upload_java_help', "Əgər Java tətbiqi yüklənmədisə; 1- Kompüterinizdə Java yüklənmiş olduğundan əmin olun yada <a href='http://java.com/en/download/'>[Java'nı Buradan Yükləyin]</a> 2- Təhlükəsizlik divarının heç bir şeyə mane olmadığından əmin olun.");
define('lang_Upload_base_help', "Faylları aşağıdakı sahəyə Gətir & Burax ve ya tıklayaraq açılan pəncərədən fayllarınızı seçin. Yükləmə başa çatdığında 'Return to files list' düyməsinə tıklayın.");
define('lang_Type_dir', 'Kataloq');
define('lang_Type', 'Növ');
define('lang_Dimension', 'Ölçü');
define('lang_Size', 'Çəki');
define('lang_Date', 'Tarix');
define('lang_Filename', 'Fayl adı');
define('lang_Operations', 'Əməliyyatlar');
define('lang_Date_type', 'd-m-Y');
define('lang_OK', 'Razıyam');
define('lang_Cancel', 'Ləğv Et');
define('lang_Sorting', 'sıralama');
define('lang_Show_url', 'URL göstər');
define('lang_Extract', 'bura çıxart');
define('lang_File_info', 'fayl məlumatı');
define('lang_Edit_image', 'şəkli redaktə et');
define('lang_Duplicate', 'Dublikat');

View File

@ -1,58 +1,57 @@
<?php
define('lang_Select','Избери');
define('lang_Erase','Изтрий');
define('lang_Open','Отвори');
define('lang_Confirm_del','Сигурни ли сте, че искате да изтриете този файл?');
define('lang_All','Всичко');
define('lang_Files','Файлове');
define('lang_Images','Изображения');
define('lang_Archives','Архиви');
define('lang_Error_Upload','Каченият файл надминава максимално разрешената големина.');
define('lang_Error_extension','Това файлово разширение не е позволено.');
define('lang_Upload_file','Качете файл');
define('lang_Filters','Папка');
define('lang_Videos','Видео');
define('lang_Music','Музика');
define('lang_New_Folder','Нова папка');
define('lang_Folder_Created','Папката е правилно създадена');
define('lang_Existing_Folder','Съществуваща папка');
define('lang_Confirm_Folder_del','Сигурни ли сте, че искате да изтриете папката и всичко, което се съдържа с нея?');
define('lang_Return_Files_List','Връщане към списъка с файлове');
define('lang_Preview','Преглед');
define('lang_Download','Свали');
define('lang_Insert_Folder_Name','Въведете име на папката:');
define('lang_Root','root');
define('lang_Rename','Преименуване');
define('lang_Back','обратно');
define('lang_View','View');
define('lang_View_list','List view');
define('lang_View_columns_list','Columns list view');
define('lang_View_boxes','Box view');
define('lang_Toolbar','Toolbar');
define('lang_Actions','Actions');
define('lang_Rename_existing_file','The file is already existing');
define('lang_Rename_existing_folder','The folder is already existing');
define('lang_Empty_name','The name is empty');
define('lang_Text_filter','text filter');
define('lang_Swipe_help','Swipe the name of file/folder to show options');
define('lang_Upload_base','Base upload');
define('lang_Upload_java','JAVA upload (big size files)');
define('lang_Upload_java_help',"If the Java Applet don't load 1. make sure you have Java installed otherwise <a href='http://java.com/en/download/'>[download link]</a> 2. make sure nothing is blocked from firewall");
define('lang_Upload_base_help',"Drag & Drop file/s inside above area or click in it (for modern browsers) otherwise select the file and click on button. When the upload end, click on upper return button.");
define('lang_Type_dir','dir');
define('lang_Type','Type');
define('lang_Dimension','Dimension');
define('lang_Size','Size');
define('lang_Date','Date');
define('lang_Filename','Name');
define('lang_Operations','Operations');
define('lang_Date_type','y-m-d');
define('lang_OK','OK');
define('lang_Cancel','Cancel');
define('lang_Sorting','sorting');
define('lang_Show_url','show URL');
define('lang_Extract','extract here');
define('lang_File_info','file info');
define('lang_Edit_image','edit image');
define('lang_Duplicate','Duplicate');
?>
define('lang_Select', 'Избери');
define('lang_Erase', 'Изтрий');
define('lang_Open', 'Отвори');
define('lang_Confirm_del', 'Сигурни ли сте, че искате да изтриете този файл?');
define('lang_All', 'Всичко');
define('lang_Files', 'Файлове');
define('lang_Images', 'Изображения');
define('lang_Archives', 'Архиви');
define('lang_Error_Upload', 'Каченият файл надминава максимално разрешената големина.');
define('lang_Error_extension', 'Това файлово разширение не е позволено.');
define('lang_Upload_file', 'Качете файл');
define('lang_Filters', 'Папка');
define('lang_Videos', 'Видео');
define('lang_Music', 'Музика');
define('lang_New_Folder', 'Нова папка');
define('lang_Folder_Created', 'Папката е правилно създадена');
define('lang_Existing_Folder', 'Съществуваща папка');
define('lang_Confirm_Folder_del', 'Сигурни ли сте, че искате да изтриете папката и всичко, което се съдържа с нея?');
define('lang_Return_Files_List', 'Връщане към списъка с файлове');
define('lang_Preview', 'Преглед');
define('lang_Download', 'Свали');
define('lang_Insert_Folder_Name', 'Въведете име на папката:');
define('lang_Root', 'root');
define('lang_Rename', 'Преименуване');
define('lang_Back', 'обратно');
define('lang_View', 'View');
define('lang_View_list', 'List view');
define('lang_View_columns_list', 'Columns list view');
define('lang_View_boxes', 'Box view');
define('lang_Toolbar', 'Toolbar');
define('lang_Actions', 'Actions');
define('lang_Rename_existing_file', 'The file is already existing');
define('lang_Rename_existing_folder', 'The folder is already existing');
define('lang_Empty_name', 'The name is empty');
define('lang_Text_filter', 'text filter');
define('lang_Swipe_help', 'Swipe the name of file/folder to show options');
define('lang_Upload_base', 'Base upload');
define('lang_Upload_java', 'JAVA upload (big size files)');
define('lang_Upload_java_help', "If the Java Applet don't load 1. make sure you have Java installed otherwise <a href='http://java.com/en/download/'>[download link]</a> 2. make sure nothing is blocked from firewall");
define('lang_Upload_base_help', "Drag & Drop file/s inside above area or click in it (for modern browsers) otherwise select the file and click on button. When the upload end, click on upper return button.");
define('lang_Type_dir', 'dir');
define('lang_Type', 'Type');
define('lang_Dimension', 'Dimension');
define('lang_Size', 'Size');
define('lang_Date', 'Date');
define('lang_Filename', 'Name');
define('lang_Operations', 'Operations');
define('lang_Date_type', 'y-m-d');
define('lang_OK', 'OK');
define('lang_Cancel', 'Cancel');
define('lang_Sorting', 'sorting');
define('lang_Show_url', 'show URL');
define('lang_Extract', 'extract here');
define('lang_File_info', 'file info');
define('lang_Edit_image', 'edit image');
define('lang_Duplicate', 'Duplicate');

View File

@ -1,58 +1,57 @@
<?php
define('lang_Select','Selecionar');
define('lang_Erase','Apagar');
define('lang_Open','Abrir');
define('lang_Confirm_del','Tem certeza que quer deletar este arquivo?');
define('lang_All','Todos');
define('lang_Files','Arquivos');
define('lang_Images','Imagens');
define('lang_Archives','Compactados');
define('lang_Error_Upload','O arquivo enviado é maior que o limite permitido.');
define('lang_Error_extension','Extensão não permitida.');
define('lang_Upload_file','Enviar um arquivo');
define('lang_Filters','Filtro');
define('lang_Videos','Vídeos');
define('lang_Music','Musica');
define('lang_New_Folder','Nova pasta');
define('lang_Folder_Created','Pasta criada corretamente');
define('lang_Existing_Folder','Pasta existente');
define('lang_Confirm_Folder_del','Tem certeza que você quer deletar a pasta e todo o seu conteúdo?');
define('lang_Return_Files_List','Voltar à lista de arquivos');
define('lang_Preview','Prévia');
define('lang_Download','Baixar');
define('lang_Insert_Folder_Name','Insira o nome da pasta:');
define('lang_Root','root');
define('lang_Rename','Mudar o nome');
define('lang_Back','de volta');
define('lang_View','View');
define('lang_View_list','List view');
define('lang_View_columns_list','Columns list view');
define('lang_View_boxes','Box view');
define('lang_Toolbar','Toolbar');
define('lang_Actions','Actions');
define('lang_Rename_existing_file','The file is already existing');
define('lang_Rename_existing_folder','The folder is already existing');
define('lang_Empty_name','The name is empty');
define('lang_Text_filter','text filter');
define('lang_Swipe_help','Swipe the name of file/folder to show options');
define('lang_Upload_base','Base upload');
define('lang_Upload_java','JAVA upload (big size files)');
define('lang_Upload_java_help',"If the Java Applet don't load 1. make sure you have Java installed otherwise <a href='http://java.com/en/download/'>[download link]</a> 2. make sure nothing is blocked from firewall");
define('lang_Upload_base_help',"Drag & Drop file/s inside above area or click in it (for modern browsers) otherwise select the file and click on button. When the upload end, click on upper return button.");
define('lang_Type_dir','dir');
define('lang_Type','Type');
define('lang_Dimension','Dimension');
define('lang_Size','Size');
define('lang_Date','Date');
define('lang_Filename','Name');
define('lang_Operations','Operations');
define('lang_Date_type','y-m-d');
define('lang_OK','OK');
define('lang_Cancel','Cancel');
define('lang_Sorting','sıralama');
define('lang_Show_url','show URL');
define('lang_Extract','extract here');
define('lang_File_info','file info');
define('lang_Edit_image','edit image');
define('lang_Duplicate','Duplicate');
?>
define('lang_Select', 'Selecionar');
define('lang_Erase', 'Apagar');
define('lang_Open', 'Abrir');
define('lang_Confirm_del', 'Tem certeza que quer deletar este arquivo?');
define('lang_All', 'Todos');
define('lang_Files', 'Arquivos');
define('lang_Images', 'Imagens');
define('lang_Archives', 'Compactados');
define('lang_Error_Upload', 'O arquivo enviado é maior que o limite permitido.');
define('lang_Error_extension', 'Extensão não permitida.');
define('lang_Upload_file', 'Enviar um arquivo');
define('lang_Filters', 'Filtro');
define('lang_Videos', 'Vídeos');
define('lang_Music', 'Musica');
define('lang_New_Folder', 'Nova pasta');
define('lang_Folder_Created', 'Pasta criada corretamente');
define('lang_Existing_Folder', 'Pasta existente');
define('lang_Confirm_Folder_del', 'Tem certeza que você quer deletar a pasta e todo o seu conteúdo?');
define('lang_Return_Files_List', 'Voltar à lista de arquivos');
define('lang_Preview', 'Prévia');
define('lang_Download', 'Baixar');
define('lang_Insert_Folder_Name', 'Insira o nome da pasta:');
define('lang_Root', 'root');
define('lang_Rename', 'Mudar o nome');
define('lang_Back', 'de volta');
define('lang_View', 'View');
define('lang_View_list', 'List view');
define('lang_View_columns_list', 'Columns list view');
define('lang_View_boxes', 'Box view');
define('lang_Toolbar', 'Toolbar');
define('lang_Actions', 'Actions');
define('lang_Rename_existing_file', 'The file is already existing');
define('lang_Rename_existing_folder', 'The folder is already existing');
define('lang_Empty_name', 'The name is empty');
define('lang_Text_filter', 'text filter');
define('lang_Swipe_help', 'Swipe the name of file/folder to show options');
define('lang_Upload_base', 'Base upload');
define('lang_Upload_java', 'JAVA upload (big size files)');
define('lang_Upload_java_help', "If the Java Applet don't load 1. make sure you have Java installed otherwise <a href='http://java.com/en/download/'>[download link]</a> 2. make sure nothing is blocked from firewall");
define('lang_Upload_base_help', "Drag & Drop file/s inside above area or click in it (for modern browsers) otherwise select the file and click on button. When the upload end, click on upper return button.");
define('lang_Type_dir', 'dir');
define('lang_Type', 'Type');
define('lang_Dimension', 'Dimension');
define('lang_Size', 'Size');
define('lang_Date', 'Date');
define('lang_Filename', 'Name');
define('lang_Operations', 'Operations');
define('lang_Date_type', 'y-m-d');
define('lang_OK', 'OK');
define('lang_Cancel', 'Cancel');
define('lang_Sorting', 'sıralama');
define('lang_Show_url', 'show URL');
define('lang_Extract', 'extract here');
define('lang_File_info', 'file info');
define('lang_Edit_image', 'edit image');
define('lang_Duplicate', 'Duplicate');

View File

@ -1,54 +1,53 @@
<?php
define('lang_Select','Vybrat');
define('lang_Erase','Smazat');
define('lang_Open','Otevřít');
define('lang_Confirm_del','Opravdu chcete smazat tento soubor?');
define('lang_All','Vše');
define('lang_Files','Soubory');
define('lang_Images','Obrázky');
define('lang_Archives','Archivy');
define('lang_Error_Upload','Nahrávaný soubor je příliš velký.');
define('lang_Error_extension','Nahrání souborů s touto příponou není povoleno.');
define('lang_Upload_file','Nahrát soubor');
define('lang_Filters','Filtr');
define('lang_Videos','Videa');
define('lang_Music','Hudba');
define('lang_New_Folder','Nová složka');
define('lang_Folder_Created','Složka vytvořena');
define('lang_Existing_Folder','Existující složka');
define('lang_Confirm_Folder_del','Opravdu chcete smazat tuto složku a její obsah?');
define('lang_Return_Files_List','Zpět k seznamu souborů');
define('lang_Preview','Náhled');
define('lang_Download','Stáhnout');
define('lang_Insert_Folder_Name','Vložte název složky:');
define('lang_Root','root');
define('lang_Rename','Přejmenovat');
define('lang_Back','zpátky');
define('lang_View','Zobrazení');
define('lang_View_list','Seznam souborů');
define('lang_View_columns_list','Dvousloucpvý seznam souborů');
define('lang_View_boxes','Dlaždicové zobrazení');
define('lang_Toolbar','Toolbar');
define('lang_Actions','Akce');
define('lang_Rename_existing_file','Tento soubor již existuje');
define('lang_Rename_existing_folder','Tato složka již existuje');
define('lang_Empty_name','Zadali jste prázdný název');
define('lang_Text_filter','textový filtr');
define('lang_Swipe_help','Pro zobrazení možností klikněte na jméno souboru/složky.');
define('lang_Upload_base','Základní nahrávání');
define('lang_Upload_java','JAVA upload (pro velké soubory)');
define('lang_Upload_java_help',"Pokud se Java Applet nechce načíst: 1. ujistěte se, že Java je nainstalována ve vašem počítači <a href='http://java.com/en/download/'>[odkaz pro stažení]</a> 2. ujistěte se, že nic není blokováno firewallem");
define('lang_Upload_base_help',"Přetáhněte soubor(y) do prostoru výše nebo do něj klikněte myší (pro novější prohlížeče) v krajním případě vyberte soubory a klikněte na tlačítko. Po dokončení nahrávání klikněte na tlačítko zpět umístěné v horní části okna.");
define('lang_Type_dir','adresář');
define('lang_Type','Typ');
define('lang_Dimension','Rozměr');
define('lang_Size','Velikost');
define('lang_Date','Datum');
define('lang_Filename','Jméno');
define('lang_Operations','Operace');
define('lang_Date_type','d.m.Y');
define('lang_OK','OK');
define('lang_Cancel','Zrušit');
define('lang_Sorting','řazení');
define('lang_Duplicate','Duplicate');
?>
define('lang_Select', 'Vybrat');
define('lang_Erase', 'Smazat');
define('lang_Open', 'Otevřít');
define('lang_Confirm_del', 'Opravdu chcete smazat tento soubor?');
define('lang_All', 'Vše');
define('lang_Files', 'Soubory');
define('lang_Images', 'Obrázky');
define('lang_Archives', 'Archivy');
define('lang_Error_Upload', 'Nahrávaný soubor je příliš velký.');
define('lang_Error_extension', 'Nahrání souborů s touto příponou není povoleno.');
define('lang_Upload_file', 'Nahrát soubor');
define('lang_Filters', 'Filtr');
define('lang_Videos', 'Videa');
define('lang_Music', 'Hudba');
define('lang_New_Folder', 'Nová složka');
define('lang_Folder_Created', 'Složka vytvořena');
define('lang_Existing_Folder', 'Existující složka');
define('lang_Confirm_Folder_del', 'Opravdu chcete smazat tuto složku a její obsah?');
define('lang_Return_Files_List', 'Zpět k seznamu souborů');
define('lang_Preview', 'Náhled');
define('lang_Download', 'Stáhnout');
define('lang_Insert_Folder_Name', 'Vložte název složky:');
define('lang_Root', 'root');
define('lang_Rename', 'Přejmenovat');
define('lang_Back', 'zpátky');
define('lang_View', 'Zobrazení');
define('lang_View_list', 'Seznam souborů');
define('lang_View_columns_list', 'Dvousloucpvý seznam souborů');
define('lang_View_boxes', 'Dlaždicové zobrazení');
define('lang_Toolbar', 'Toolbar');
define('lang_Actions', 'Akce');
define('lang_Rename_existing_file', 'Tento soubor již existuje');
define('lang_Rename_existing_folder', 'Tato složka již existuje');
define('lang_Empty_name', 'Zadali jste prázdný název');
define('lang_Text_filter', 'textový filtr');
define('lang_Swipe_help', 'Pro zobrazení možností klikněte na jméno souboru/složky.');
define('lang_Upload_base', 'Základní nahrávání');
define('lang_Upload_java', 'JAVA upload (pro velké soubory)');
define('lang_Upload_java_help', "Pokud se Java Applet nechce načíst: 1. ujistěte se, že Java je nainstalována ve vašem počítači <a href='http://java.com/en/download/'>[odkaz pro stažení]</a> 2. ujistěte se, že nic není blokováno firewallem");
define('lang_Upload_base_help', "Přetáhněte soubor(y) do prostoru výše nebo do něj klikněte myší (pro novější prohlížeče) v krajním případě vyberte soubory a klikněte na tlačítko. Po dokončení nahrávání klikněte na tlačítko zpět umístěné v horní části okna.");
define('lang_Type_dir', 'adresář');
define('lang_Type', 'Typ');
define('lang_Dimension', 'Rozměr');
define('lang_Size', 'Velikost');
define('lang_Date', 'Datum');
define('lang_Filename', 'Jméno');
define('lang_Operations', 'Operace');
define('lang_Date_type', 'd.m.Y');
define('lang_OK', 'OK');
define('lang_Cancel', 'Zrušit');
define('lang_Sorting', 'řazení');
define('lang_Duplicate', 'Duplicate');

View File

@ -1,58 +1,57 @@
<?php
define('lang_Select','Ausw&auml;hlen');
define('lang_Erase','L&ouml;schen');
define('lang_Open','&Ouml;ffnen');
define('lang_Confirm_del','Wollen Sie wirklich diese Datei l&ouml;schen?');
define('lang_All','Alle');
define('lang_Files','Dateien');
define('lang_Images','Bilder');
define('lang_Archives','Archive');
define('lang_Error_Upload','Dateigr&ouml;&szlig;e &uuml;berschritten.');
define('lang_Error_extension','Dateityp nicht erlaubt.');
define('lang_Upload_file','Datei hochladen');
define('lang_Filters','Filter');
define('lang_Videos','Videos');
define('lang_Music','Musik');
define('lang_New_Folder','Ordner anlegen');
define('lang_Folder_Created','Ordner erfolgreich erstellt');
define('lang_Existing_Folder','Ordner existiert bereichts');
define('lang_Confirm_Folder_del','Sind Sie sich, dass Sie diesen Ordner mit allen enthaltenen Dateien l&ouml;schen m&ouml;chten?');
define('lang_Return_Files_List','Zur&uuml;ck zur Dateiliste');
define('lang_Preview','Vorschau');
define('lang_Download','Download');
define('lang_Insert_Folder_Name','Ordnername eingeben:');
define('lang_Root','Basis');
define('lang_Rename','Umbenennen');
define('lang_Back','zur&uuml;ck');
define('lang_View','Ansicht');
define('lang_View_list','Liste');
define('lang_View_columns_list','Spalten');
define('lang_View_boxes','Boxen');
define('lang_Toolbar','Werkzeugleiste');
define('lang_Actions','Aktionen');
define('lang_Rename_existing_file','Die existiert bereits');
define('lang_Rename_existing_folder','Das Verzeichnis existiert bereits');
define('lang_Empty_name','Der Name ist leer');
define('lang_Text_filter','Suchen...');
define('lang_Swipe_help','Swipe the name of file/folder to show options');
define('lang_Upload_base','Base upload');
define('lang_Upload_java','JAVA upload (gro&szlig;e Dateien)');
define('lang_Upload_java_help',"Sollte das Java Applet nicht laden, stellen Sie sicher, dass 1. Java installiert ist <a href='http://java.com/en/download/'>[download link]</a> und 2. stellen Sie sicher, dass nichts von Ihrer Firewall geblockt wird");
define('lang_Upload_base_help',"Drag & Drop file/s inside above area or click in it (for modern browsers) otherwise select the file and click on button. When the upload end, click on upper return button.");
define('lang_Type_dir','Ordner');
define('lang_Type','Art');
define('lang_Dimension','Dimensionen');
define('lang_Size','Gr&ouml;&szlig;e');
define('lang_Date','Datum');
define('lang_Operations','Aktionen');
define('lang_Filename','Dateiname');
define('lang_Date_type','d.m.Y'); //y-m-d
define('lang_OK','OK');
define('lang_Cancel','Abbrechen');
define('lang_Sorting','sorting');
define('lang_Show_url','show URL');
define('lang_Extract','extract here');
define('lang_File_info','file info');
define('lang_Edit_image','edit image');
define('lang_Duplicate','Duplicate');
?>
define('lang_Select', 'Ausw&auml;hlen');
define('lang_Erase', 'L&ouml;schen');
define('lang_Open', '&Ouml;ffnen');
define('lang_Confirm_del', 'Wollen Sie wirklich diese Datei l&ouml;schen?');
define('lang_All', 'Alle');
define('lang_Files', 'Dateien');
define('lang_Images', 'Bilder');
define('lang_Archives', 'Archive');
define('lang_Error_Upload', 'Dateigr&ouml;&szlig;e &uuml;berschritten.');
define('lang_Error_extension', 'Dateityp nicht erlaubt.');
define('lang_Upload_file', 'Datei hochladen');
define('lang_Filters', 'Filter');
define('lang_Videos', 'Videos');
define('lang_Music', 'Musik');
define('lang_New_Folder', 'Ordner anlegen');
define('lang_Folder_Created', 'Ordner erfolgreich erstellt');
define('lang_Existing_Folder', 'Ordner existiert bereichts');
define('lang_Confirm_Folder_del', 'Sind Sie sich, dass Sie diesen Ordner mit allen enthaltenen Dateien l&ouml;schen m&ouml;chten?');
define('lang_Return_Files_List', 'Zur&uuml;ck zur Dateiliste');
define('lang_Preview', 'Vorschau');
define('lang_Download', 'Download');
define('lang_Insert_Folder_Name', 'Ordnername eingeben:');
define('lang_Root', 'Basis');
define('lang_Rename', 'Umbenennen');
define('lang_Back', 'zur&uuml;ck');
define('lang_View', 'Ansicht');
define('lang_View_list', 'Liste');
define('lang_View_columns_list', 'Spalten');
define('lang_View_boxes', 'Boxen');
define('lang_Toolbar', 'Werkzeugleiste');
define('lang_Actions', 'Aktionen');
define('lang_Rename_existing_file', 'Die existiert bereits');
define('lang_Rename_existing_folder', 'Das Verzeichnis existiert bereits');
define('lang_Empty_name', 'Der Name ist leer');
define('lang_Text_filter', 'Suchen...');
define('lang_Swipe_help', 'Swipe the name of file/folder to show options');
define('lang_Upload_base', 'Base upload');
define('lang_Upload_java', 'JAVA upload (gro&szlig;e Dateien)');
define('lang_Upload_java_help', "Sollte das Java Applet nicht laden, stellen Sie sicher, dass 1. Java installiert ist <a href='http://java.com/en/download/'>[download link]</a> und 2. stellen Sie sicher, dass nichts von Ihrer Firewall geblockt wird");
define('lang_Upload_base_help', "Drag & Drop file/s inside above area or click in it (for modern browsers) otherwise select the file and click on button. When the upload end, click on upper return button.");
define('lang_Type_dir', 'Ordner');
define('lang_Type', 'Art');
define('lang_Dimension', 'Dimensionen');
define('lang_Size', 'Gr&ouml;&szlig;e');
define('lang_Date', 'Datum');
define('lang_Operations', 'Aktionen');
define('lang_Filename', 'Dateiname');
define('lang_Date_type', 'd.m.Y'); //y-m-d
define('lang_OK', 'OK');
define('lang_Cancel', 'Abbrechen');
define('lang_Sorting', 'sorting');
define('lang_Show_url', 'show URL');
define('lang_Extract', 'extract here');
define('lang_File_info', 'file info');
define('lang_Edit_image', 'edit image');
define('lang_Duplicate', 'Duplicate');

View File

@ -1,59 +1,57 @@
<?php
define('lang_Select','Select');
define('lang_Erase','Erase');
define('lang_Open','Open');
define('lang_Confirm_del','Are you sure you want to delete this file?');
define('lang_All','All');
define('lang_Files','Files');
define('lang_Images','Images');
define('lang_Archives','Archives');
define('lang_Error_Upload','The uploaded file exceeds the max size allowed.');
define('lang_Error_extension','File extension is not allowed.');
define('lang_Upload_file','Upload');
define('lang_Filters','Filters');
define('lang_Videos','Videos');
define('lang_Music','Music');
define('lang_New_Folder','New Folder');
define('lang_Folder_Created','Folder correctly created');
define('lang_Existing_Folder','Existing folder');
define('lang_Confirm_Folder_del','Are you sure to delete the folder and all the elements in it?');
define('lang_Return_Files_List','Return to files list');
define('lang_Preview','Preview');
define('lang_Download','Download');
define('lang_Insert_Folder_Name','Insert folder name:');
define('lang_Root','root');
define('lang_Rename','Rename');
define('lang_Back','back');
define('lang_View','View');
define('lang_View_list','List view');
define('lang_View_columns_list','Columns list view');
define('lang_View_boxes','Box view');
define('lang_Toolbar','Toolbar');
define('lang_Actions','Actions');
define('lang_Rename_existing_file','The file is already existing');
define('lang_Rename_existing_folder','The folder is already existing');
define('lang_Empty_name','The name is empty');
define('lang_Text_filter','text filter');
define('lang_Swipe_help','Swipe the name of file/folder to show options');
define('lang_Upload_base','Base upload');
define('lang_Upload_java','JAVA upload (big size files)');
define('lang_Upload_java_help',"If the Java Applet doesn't load, 1. make sure you have Java installed, otherwise <a href='http://java.com/en/download/'>[download link]</a> 2. make sure nothing is blocked by your firewall");
define('lang_Upload_base_help',"Drag & Drop files or click in the area above (modern browsers) and select the file(s). When the upload is complete, click the 'Return to files list' button.");
define('lang_Type_dir','dir');
define('lang_Type','Type');
define('lang_Dimension','Dimension');
define('lang_Size','Size');
define('lang_Date','Date');
define('lang_Filename','Filename');
define('lang_Operations','Operations');
define('lang_Date_type','y-m-d');
define('lang_OK','OK');
define('lang_Cancel','Cancel');
define('lang_Sorting','sorting');
define('lang_Show_url','show URL');
define('lang_Extract','extract here');
define('lang_File_info','file info');
define('lang_Edit_image','edit image');
define('lang_Duplicate','Duplicate');
?>
define('lang_Select', 'Select');
define('lang_Erase', 'Erase');
define('lang_Open', 'Open');
define('lang_Confirm_del', 'Are you sure you want to delete this file?');
define('lang_All', 'All');
define('lang_Files', 'Files');
define('lang_Images', 'Images');
define('lang_Archives', 'Archives');
define('lang_Error_Upload', 'The uploaded file exceeds the max size allowed.');
define('lang_Error_extension', 'File extension is not allowed.');
define('lang_Upload_file', 'Upload');
define('lang_Filters', 'Filters');
define('lang_Videos', 'Videos');
define('lang_Music', 'Music');
define('lang_New_Folder', 'New Folder');
define('lang_Folder_Created', 'Folder correctly created');
define('lang_Existing_Folder', 'Existing folder');
define('lang_Confirm_Folder_del', 'Are you sure to delete the folder and all the elements in it?');
define('lang_Return_Files_List', 'Return to files list');
define('lang_Preview', 'Preview');
define('lang_Download', 'Download');
define('lang_Insert_Folder_Name', 'Insert folder name:');
define('lang_Root', 'root');
define('lang_Rename', 'Rename');
define('lang_Back', 'back');
define('lang_View', 'View');
define('lang_View_list', 'List view');
define('lang_View_columns_list', 'Columns list view');
define('lang_View_boxes', 'Box view');
define('lang_Toolbar', 'Toolbar');
define('lang_Actions', 'Actions');
define('lang_Rename_existing_file', 'The file is already existing');
define('lang_Rename_existing_folder', 'The folder is already existing');
define('lang_Empty_name', 'The name is empty');
define('lang_Text_filter', 'text filter');
define('lang_Swipe_help', 'Swipe the name of file/folder to show options');
define('lang_Upload_base', 'Base upload');
define('lang_Upload_java', 'JAVA upload (big size files)');
define('lang_Upload_java_help', "If the Java Applet doesn't load, 1. make sure you have Java installed, otherwise <a href='http://java.com/en/download/'>[download link]</a> 2. make sure nothing is blocked by your firewall");
define('lang_Upload_base_help', "Drag & Drop files or click in the area above (modern browsers) and select the file(s). When the upload is complete, click the 'Return to files list' button.");
define('lang_Type_dir', 'dir');
define('lang_Type', 'Type');
define('lang_Dimension', 'Dimension');
define('lang_Size', 'Size');
define('lang_Date', 'Date');
define('lang_Filename', 'Filename');
define('lang_Operations', 'Operations');
define('lang_Date_type', 'y-m-d');
define('lang_OK', 'OK');
define('lang_Cancel', 'Cancel');
define('lang_Sorting', 'sorting');
define('lang_Show_url', 'show URL');
define('lang_Extract', 'extract here');
define('lang_File_info', 'file info');
define('lang_Edit_image', 'edit image');
define('lang_Duplicate', 'Duplicate');

View File

@ -1,58 +1,57 @@
<?php
define('lang_Select','Seleccionar');
define('lang_Erase','Eliminar');
define('lang_Open','Abrir');
define('lang_Confirm_del','¿Seguro que deseas eliminar este archivo?');
define('lang_All','Todos');
define('lang_Files','Archivos');
define('lang_Images','Imágenes');
define('lang_Archives','Ficheros');
define('lang_Error_Upload','El archivo que intenta subir excede el máximo permitido.');
define('lang_Error_extension','La extensión del archivo no está permitida.');
define('lang_Upload_file','Subir');
define('lang_Filters','Filtros');
define('lang_Videos','Videos');
define('lang_Music','Musica');
define('lang_New_Folder','Nueva carpeta');
define('lang_Folder_Created','La carpeta ha sido creada exitosamente.');
define('lang_Existing_Folder','Carpeta existente');
define('lang_Confirm_Folder_del','¿Seguro que deseas eliminar la carpeta y todos los elementos que contiene?');
define('lang_Return_Files_List','Regresar a la lista de archivos');
define('lang_Preview','Vista previa');
define('lang_Download','Descargar');
define('lang_Insert_Folder_Name','Nombre de la carpeta:');
define('lang_Root','raíz');
define('lang_Rename','Renombrar');
define('lang_Back','atrás');
define('lang_View','Vista');
define('lang_View_list','Vista de lista');
define('lang_View_columns_list','Vista de columnas');
define('lang_View_boxes','Vista de miniaturas');
define('lang_Toolbar','Barra de herramientas');
define('lang_Actions','Acciones');
define('lang_Rename_existing_file','El archivo ya existe');
define('lang_Rename_existing_folder','La carpeta ya existe');
define('lang_Empty_name','El nombre se encuentra vacío');
define('lang_Text_filter','filtro de texto');
define('lang_Swipe_help','Deslize el nombre del archivo/carpeta para mostrar las opciones');
define('lang_Upload_base','Subida de archivos SIMPLE');
define('lang_Upload_java','Subida de archivos JAVA (para archivos pesados)');
define('lang_Upload_java_help',"Si el applet no carga: 1. Asegúrate de tener Java instalado; sino descárgalo e instálalo <a href='http://java.com/en/download/'>desde aquí</a> 2. Asegúrate que tu firewall no esté bloqueando nada.");
define('lang_Upload_base_help',"Arrastra y suelta los archivos dentro de esta área o haga clic en ella (para navegadores modernos) de lo contrario, seleccione el archivo y haga clic en el botón. Cuando finalice la subida, haga clic en el botón superior para regresar.");
define('lang_Type_dir','Carpeta');
define('lang_Type','Tipo');
define('lang_Dimension','Dimensiones');
define('lang_Size','Peso');
define('lang_Date','Fecha');
define('lang_Filename','Nombre');
define('lang_Operations','Operaciones');
define('lang_Date_type','y-m-d');
define('lang_OK','OK');
define('lang_Cancel','Cancelar');
define('lang_Sorting','Ordenar');
define('lang_Show_url','Mostrar URL');
define('lang_Extract','Extraer aquí');
define('lang_File_info','Información');
define('lang_Edit_image','Editar imagen');
define('lang_Duplicate','Duplicate');
?>
define('lang_Select', 'Seleccionar');
define('lang_Erase', 'Eliminar');
define('lang_Open', 'Abrir');
define('lang_Confirm_del', '¿Seguro que deseas eliminar este archivo?');
define('lang_All', 'Todos');
define('lang_Files', 'Archivos');
define('lang_Images', 'Imágenes');
define('lang_Archives', 'Ficheros');
define('lang_Error_Upload', 'El archivo que intenta subir excede el máximo permitido.');
define('lang_Error_extension', 'La extensión del archivo no está permitida.');
define('lang_Upload_file', 'Subir');
define('lang_Filters', 'Filtros');
define('lang_Videos', 'Videos');
define('lang_Music', 'Musica');
define('lang_New_Folder', 'Nueva carpeta');
define('lang_Folder_Created', 'La carpeta ha sido creada exitosamente.');
define('lang_Existing_Folder', 'Carpeta existente');
define('lang_Confirm_Folder_del', '¿Seguro que deseas eliminar la carpeta y todos los elementos que contiene?');
define('lang_Return_Files_List', 'Regresar a la lista de archivos');
define('lang_Preview', 'Vista previa');
define('lang_Download', 'Descargar');
define('lang_Insert_Folder_Name', 'Nombre de la carpeta:');
define('lang_Root', 'raíz');
define('lang_Rename', 'Renombrar');
define('lang_Back', 'atrás');
define('lang_View', 'Vista');
define('lang_View_list', 'Vista de lista');
define('lang_View_columns_list', 'Vista de columnas');
define('lang_View_boxes', 'Vista de miniaturas');
define('lang_Toolbar', 'Barra de herramientas');
define('lang_Actions', 'Acciones');
define('lang_Rename_existing_file', 'El archivo ya existe');
define('lang_Rename_existing_folder', 'La carpeta ya existe');
define('lang_Empty_name', 'El nombre se encuentra vacío');
define('lang_Text_filter', 'filtro de texto');
define('lang_Swipe_help', 'Deslize el nombre del archivo/carpeta para mostrar las opciones');
define('lang_Upload_base', 'Subida de archivos SIMPLE');
define('lang_Upload_java', 'Subida de archivos JAVA (para archivos pesados)');
define('lang_Upload_java_help', "Si el applet no carga: 1. Asegúrate de tener Java instalado; sino descárgalo e instálalo <a href='http://java.com/en/download/'>desde aquí</a> 2. Asegúrate que tu firewall no esté bloqueando nada.");
define('lang_Upload_base_help', "Arrastra y suelta los archivos dentro de esta área o haga clic en ella (para navegadores modernos) de lo contrario, seleccione el archivo y haga clic en el botón. Cuando finalice la subida, haga clic en el botón superior para regresar.");
define('lang_Type_dir', 'Carpeta');
define('lang_Type', 'Tipo');
define('lang_Dimension', 'Dimensiones');
define('lang_Size', 'Peso');
define('lang_Date', 'Fecha');
define('lang_Filename', 'Nombre');
define('lang_Operations', 'Operaciones');
define('lang_Date_type', 'y-m-d');
define('lang_OK', 'OK');
define('lang_Cancel', 'Cancelar');
define('lang_Sorting', 'Ordenar');
define('lang_Show_url', 'Mostrar URL');
define('lang_Extract', 'Extraer aquí');
define('lang_File_info', 'Información');
define('lang_Edit_image', 'Editar imagen');
define('lang_Duplicate', 'Duplicate');

View File

@ -1,58 +1,57 @@
<?php
define('lang_Select','انتخاب');
define('lang_Erase','حذف');
define('lang_Open','بازگشایی');
define('lang_Confirm_del','میخواهید این فایل را حذف کنید؟');
define('lang_All','همه');
define('lang_Files','فایلها');
define('lang_Images','تصاویر');
define('lang_Archives','آرشیو');
define('lang_Error_Upload','فایل آپلود شده بیش از حداکثر اندازه مجاز است.');
define('lang_Error_extension','نوع فایل مجاز نیست.');
define('lang_Upload_file','آپلود');
define('lang_Filters','فیلترها');
define('lang_Videos','ویدئوها');
define('lang_Music','موزیک');
define('lang_New_Folder','فولدر جدید');
define('lang_Folder_Created','پوشه به درستی ایجاد شد');
define('lang_Existing_Folder','پوشه های موجود');
define('lang_Confirm_Folder_del','آیا میخواهید این فولدر را با تمام محتوایش حذف کنید؟');
define('lang_Return_Files_List','برگشت به لیست فایلها');
define('lang_Preview','پیش نمایش');
define('lang_Download','دانلود');
define('lang_Insert_Folder_Name','نام فولدر:');
define('lang_Root','شاخه اصلی');
define('lang_Rename','تغییر نام');
define('lang_Back','برگشت');
define('lang_View','نمایش');
define('lang_View_list','نمایش لیست');
define('lang_View_columns_list','نمایش لیست ستونی');
define('lang_View_boxes','نمایش باکسها');
define('lang_Toolbar','نوار ابزار');
define('lang_Actions','عملیات');
define('lang_Rename_existing_file','فایل از قبل موجود است');
define('lang_Rename_existing_folder','فولدر از قبل موجود است');
define('lang_Empty_name','نام خالی است');
define('lang_Text_filter','فیلتر نوشته');
define('lang_Swipe_help','Swipe the name of file/folder to show options');
define('lang_Upload_base','آپلودر اصلی');
define('lang_Upload_java','آپلودر جاوا (فایلهای حجیم)');
define('lang_Upload_java_help',"If the Java Applet doesn't load, 1. make sure you have Java installed, otherwise <a href='http://java.com/en/download/'>[download link]</a> 2. make sure nothing is blocked by your firewall");
define('lang_Upload_base_help',"فایلها را از سیستم خود بکشید و اینجا رها کنید یا اینجا کلیک کنید و فایل انتخاب کنید و هنگامی که آپلود تمام شد، روی کلید \"برگشت به لیست فایلها\" کلیک کنید.");
define('lang_Type_dir','مسیر');
define('lang_Type','نوع');
define('lang_Dimension','بعد');
define('lang_Size','اندازه');
define('lang_Date','تاریخ');
define('lang_Filename','نام فایل');
define('lang_Operations','عملیات');
define('lang_Date_type','y-m-d');
define('lang_OK','باشه');
define('lang_Cancel','لغو');
define('lang_Sorting','مرتب سازی');
define('lang_Show_url','نمایش آدرس');
define('lang_Extract','استخراج در اینجا');
define('lang_File_info','اطلاعات فایل');
define('lang_Edit_image','ویرایش تصویر');
define('lang_Duplicate','Duplicate');
?>
define('lang_Select', 'انتخاب');
define('lang_Erase', 'حذف');
define('lang_Open', 'بازگشایی');
define('lang_Confirm_del', 'میخواهید این فایل را حذف کنید؟');
define('lang_All', 'همه');
define('lang_Files', 'فایلها');
define('lang_Images', 'تصاویر');
define('lang_Archives', 'آرشیو');
define('lang_Error_Upload', 'فایل آپلود شده بیش از حداکثر اندازه مجاز است.');
define('lang_Error_extension', 'نوع فایل مجاز نیست.');
define('lang_Upload_file', 'آپلود');
define('lang_Filters', 'فیلترها');
define('lang_Videos', 'ویدئوها');
define('lang_Music', 'موزیک');
define('lang_New_Folder', 'فولدر جدید');
define('lang_Folder_Created', 'پوشه به درستی ایجاد شد');
define('lang_Existing_Folder', 'پوشه های موجود');
define('lang_Confirm_Folder_del', 'آیا میخواهید این فولدر را با تمام محتوایش حذف کنید؟');
define('lang_Return_Files_List', 'برگشت به لیست فایلها');
define('lang_Preview', 'پیش نمایش');
define('lang_Download', 'دانلود');
define('lang_Insert_Folder_Name', 'نام فولدر:');
define('lang_Root', 'شاخه اصلی');
define('lang_Rename', 'تغییر نام');
define('lang_Back', 'برگشت');
define('lang_View', 'نمایش');
define('lang_View_list', 'نمایش لیست');
define('lang_View_columns_list', 'نمایش لیست ستونی');
define('lang_View_boxes', 'نمایش باکسها');
define('lang_Toolbar', 'نوار ابزار');
define('lang_Actions', 'عملیات');
define('lang_Rename_existing_file', 'فایل از قبل موجود است');
define('lang_Rename_existing_folder', 'فولدر از قبل موجود است');
define('lang_Empty_name', 'نام خالی است');
define('lang_Text_filter', 'فیلتر نوشته');
define('lang_Swipe_help', 'Swipe the name of file/folder to show options');
define('lang_Upload_base', 'آپلودر اصلی');
define('lang_Upload_java', 'آپلودر جاوا (فایلهای حجیم)');
define('lang_Upload_java_help', "If the Java Applet doesn't load, 1. make sure you have Java installed, otherwise <a href='http://java.com/en/download/'>[download link]</a> 2. make sure nothing is blocked by your firewall");
define('lang_Upload_base_help', "فایلها را از سیستم خود بکشید و اینجا رها کنید یا اینجا کلیک کنید و فایل انتخاب کنید و هنگامی که آپلود تمام شد، روی کلید \"برگشت به لیست فایلها\" کلیک کنید.");
define('lang_Type_dir', 'مسیر');
define('lang_Type', 'نوع');
define('lang_Dimension', 'بعد');
define('lang_Size', 'اندازه');
define('lang_Date', 'تاریخ');
define('lang_Filename', 'نام فایل');
define('lang_Operations', 'عملیات');
define('lang_Date_type', 'y-m-d');
define('lang_OK', 'باشه');
define('lang_Cancel', 'لغو');
define('lang_Sorting', 'مرتب سازی');
define('lang_Show_url', 'نمایش آدرس');
define('lang_Extract', 'استخراج در اینجا');
define('lang_File_info', 'اطلاعات فایل');
define('lang_Edit_image', 'ویرایش تصویر');
define('lang_Duplicate', 'Duplicate');

View File

@ -1,58 +1,57 @@
<?php
define('lang_Select','Sélectionner');
define('lang_Erase','Effacer');
define('lang_Open','Ouvrir');
define('lang_Confirm_del','Êtes-vous sûr de vouloir effacer ce fichier ?');
define('lang_All','Tous');
define('lang_Files','Fichiers');
define('lang_Images','Images');
define('lang_Archives','Archives');
define('lang_Select', 'Sélectionner');
define('lang_Erase', 'Effacer');
define('lang_Open', 'Ouvrir');
define('lang_Confirm_del', 'Êtes-vous sûr de vouloir effacer ce fichier ?');
define('lang_All', 'Tous');
define('lang_Files', 'Fichiers');
define('lang_Images', 'Images');
define('lang_Archives', 'Archives');
define('lang_Error_Upload', 'Votre fichier dépasse la taille maximum autorisée.');
define('lang_Error_extension','Extension de fichier non autorisée');
define('lang_Upload_file','Envoyer un fichier');
define('lang_Filters','Filtrer');
define('lang_Videos','Vidéos');
define('lang_Music','Musique');
define('lang_New_Folder','Nouveau dossier');
define('lang_Folder_Created','Dossier correctement créé');
define('lang_Existing_Folder','Dossier existant');
define('lang_Confirm_Folder_del','Êtes-vous sûr de vouloir supprimer le dossier ainsi que tous ses éléments ?');
define('lang_Return_Files_List','Revenir à la liste des fichiers');
define('lang_Preview','Aperçu');
define('lang_Download','Télécharger');
define('lang_Insert_Folder_Name','Insérer le nom du dossier:');
define('lang_Root','Racine');
define('lang_Rename','Renommer');
define('lang_Back','Retour');
define('lang_View','Vue');
define('lang_View_list','Vue par liste');
define('lang_View_columns_list','Vue par listes de colonne');
define('lang_View_boxes','Vue par icônes');
define('lang_Toolbar','Barre d\'outils');
define('lang_Actions','Actions');
define('lang_Rename_existing_file','Ce fichier existe déjà');
define('lang_Rename_existing_folder','Ce dossier existe déjà');
define('lang_Empty_name','Le nom est vide');
define('lang_Text_filter','texte de filtrage');
define('lang_Swipe_help','Glissez le nom du fichier/dossier pour afficher les options');
define('lang_Upload_base','Upload classique');
define('lang_Upload_java','JAVA upload (fichiers de grandes tailles)');
define('lang_Upload_java_help',"Si l'applet Java Applet ne charge pas 1. Assurez-vous que vous avez bien installé Java <a href='http://java.com/en/download/'>[download link]</a> 2. Assurez-vous que votre pare-feu ne bloque pas la connexion.");
define('lang_Upload_base_help',"Glisser & Déposer le(s) fichier(s) à l'intérieur de la zone ou cliquez dessus (pour les derniers navigateurs), sinon sélectionnez le fichier. Lorsque l'upload est terminé, cliquez sur le bouton revenir.");
define('lang_Type_dir','dir');
define('lang_Type','Type');
define('lang_Dimension','Dimension');
define('lang_Size','Taille');
define('lang_Date','Date');
define('lang_Filename','Nom');
define('lang_Operations','Opérations');
define('lang_Date_type','d/m/Y');
define('lang_OK','OK');
define('lang_Cancel','Annuler');
define('lang_Sorting','Trier');
define('lang_Show_url','Afficher l\'URL');
define('lang_Extract','Extraire ici');
define('lang_File_info','Information');
define('lang_Edit_image','Editer l\'image');
define('lang_Duplicate','Dupliquer');
?>
define('lang_Error_extension', 'Extension de fichier non autorisée');
define('lang_Upload_file', 'Envoyer un fichier');
define('lang_Filters', 'Filtrer');
define('lang_Videos', 'Vidéos');
define('lang_Music', 'Musique');
define('lang_New_Folder', 'Nouveau dossier');
define('lang_Folder_Created', 'Dossier correctement créé');
define('lang_Existing_Folder', 'Dossier existant');
define('lang_Confirm_Folder_del', 'Êtes-vous sûr de vouloir supprimer le dossier ainsi que tous ses éléments ?');
define('lang_Return_Files_List', 'Revenir à la liste des fichiers');
define('lang_Preview', 'Aperçu');
define('lang_Download', 'Télécharger');
define('lang_Insert_Folder_Name', 'Insérer le nom du dossier:');
define('lang_Root', 'Racine');
define('lang_Rename', 'Renommer');
define('lang_Back', 'Retour');
define('lang_View', 'Vue');
define('lang_View_list', 'Vue par liste');
define('lang_View_columns_list', 'Vue par listes de colonne');
define('lang_View_boxes', 'Vue par icônes');
define('lang_Toolbar', 'Barre d\'outils');
define('lang_Actions', 'Actions');
define('lang_Rename_existing_file', 'Ce fichier existe déjà');
define('lang_Rename_existing_folder', 'Ce dossier existe déjà');
define('lang_Empty_name', 'Le nom est vide');
define('lang_Text_filter', 'texte de filtrage');
define('lang_Swipe_help', 'Glissez le nom du fichier/dossier pour afficher les options');
define('lang_Upload_base', 'Upload classique');
define('lang_Upload_java', 'JAVA upload (fichiers de grandes tailles)');
define('lang_Upload_java_help', "Si l'applet Java Applet ne charge pas 1. Assurez-vous que vous avez bien installé Java <a href='http://java.com/en/download/'>[download link]</a> 2. Assurez-vous que votre pare-feu ne bloque pas la connexion.");
define('lang_Upload_base_help', "Glisser & Déposer le(s) fichier(s) à l'intérieur de la zone ou cliquez dessus (pour les derniers navigateurs), sinon sélectionnez le fichier. Lorsque l'upload est terminé, cliquez sur le bouton revenir.");
define('lang_Type_dir', 'dir');
define('lang_Type', 'Type');
define('lang_Dimension', 'Dimension');
define('lang_Size', 'Taille');
define('lang_Date', 'Date');
define('lang_Filename', 'Nom');
define('lang_Operations', 'Opérations');
define('lang_Date_type', 'd/m/Y');
define('lang_OK', 'OK');
define('lang_Cancel', 'Annuler');
define('lang_Sorting', 'Trier');
define('lang_Show_url', 'Afficher l\'URL');
define('lang_Extract', 'Extraire ici');
define('lang_File_info', 'Information');
define('lang_Edit_image', 'Editer l\'image');
define('lang_Duplicate', 'Dupliquer');

View File

@ -1,59 +1,57 @@
<?php
define('lang_Select','Odaberi');
define('lang_Erase','Obriši');
define('lang_Open','Otvori');
define('lang_Confirm_del','Jeste li sigurni da želite obrisati ovu datoteku?');
define('lang_All','Sve');
define('lang_Files','Datoteke');
define('lang_Images','Slike');
define('lang_Archives','Kompresirane arhive');
define('lang_Error_Upload','Datoteka koju želite prenesti prelazi maximalnu dopuštenu veličinu.');
define('lang_Error_extension','Datoteka s tom ekstenzijom nije dopuštena.');
define('lang_Upload_file','Prenesi');
define('lang_Filters','Filteri');
define('lang_Videos','Video zapisi');
define('lang_Music','Glazba');
define('lang_New_Folder','Nova mapa');
define('lang_Folder_Created','Mapa je uspješno kreirana');
define('lang_Existing_Folder','Postojeća mapa');
define('lang_Confirm_Folder_del','Jeste li sigurni da želite obrisati ovu mapu i sve datoteke u njoj?');
define('lang_Return_Files_List','Vrati se na pregled datoteka');
define('lang_Preview','Pogledaj');
define('lang_Download','Preuzmi');
define('lang_Insert_Folder_Name','Naziv nove mape:');
define('lang_Root','polazno');
define('lang_Rename','Preimenuj');
define('lang_Back','natrag');
define('lang_View','Prikaz');
define('lang_View_list','Prikaz liste');
define('lang_View_columns_list','Prikaz stupac-liste');
define('lang_View_boxes','Prikaz grid');
define('lang_Toolbar','Alatna traka');
define('lang_Actions','Radnja');
define('lang_Rename_existing_file','Datoteka već postoji');
define('lang_Rename_existing_folder','Mapa već postoji');
define('lang_Empty_name','Naziv nije upisan');
define('lang_Text_filter','filtriraj po nazivu');
define('lang_Swipe_help','Povucite prstom ime datoteke / mape za prikaz mogućnosti');
define('lang_Upload_base','Putanja do mape za prenesene datoteke');
define('lang_Upload_java','JAVA prijenos (odlično za prijenos velikih datoteka)');
define('lang_Upload_java_help',"Ako se Java dodatak ne učita 1. provjerite imate li instaliran Java dodatak <a href='http://java.com/en/download/'>[link za preuzimanje]</a> 2. provjerite da firewall nije aktiviran i blokira dodatak");
define('lang_Upload_base_help',"Povucite i ispustite datoteke ili samo kliknite (moderni preglednici) te odaberite datoteku(s). Kad prijenos završi, kliknite 'Natrag na pregled datoteka' gumb.");
define('lang_Type_dir','mapa');
define('lang_Type','Tip');
define('lang_Dimension','Dimenzije');
define('lang_Size','Veličina');
define('lang_Date','Datum');
define('lang_Filename','Naziv datoteke');
define('lang_Operations','Radnje');
define('lang_Date_type','y-m-d');
define('lang_OK','U redu');
define('lang_Cancel','Odustani');
define('lang_Sorting','sortiranje');
define('lang_Show_url','prikaži URL');
define('lang_Extract','raspakiraj ovdje');
define('lang_File_info','informacije');
define('lang_Edit_image','uredi sliku');
define('lang_Duplicate','kopiraj');
?>
define('lang_Select', 'Odaberi');
define('lang_Erase', 'Obriši');
define('lang_Open', 'Otvori');
define('lang_Confirm_del', 'Jeste li sigurni da želite obrisati ovu datoteku?');
define('lang_All', 'Sve');
define('lang_Files', 'Datoteke');
define('lang_Images', 'Slike');
define('lang_Archives', 'Kompresirane arhive');
define('lang_Error_Upload', 'Datoteka koju želite prenesti prelazi maximalnu dopuštenu veličinu.');
define('lang_Error_extension', 'Datoteka s tom ekstenzijom nije dopuštena.');
define('lang_Upload_file', 'Prenesi');
define('lang_Filters', 'Filteri');
define('lang_Videos', 'Video zapisi');
define('lang_Music', 'Glazba');
define('lang_New_Folder', 'Nova mapa');
define('lang_Folder_Created', 'Mapa je uspješno kreirana');
define('lang_Existing_Folder', 'Postojeća mapa');
define('lang_Confirm_Folder_del', 'Jeste li sigurni da želite obrisati ovu mapu i sve datoteke u njoj?');
define('lang_Return_Files_List', 'Vrati se na pregled datoteka');
define('lang_Preview', 'Pogledaj');
define('lang_Download', 'Preuzmi');
define('lang_Insert_Folder_Name', 'Naziv nove mape:');
define('lang_Root', 'polazno');
define('lang_Rename', 'Preimenuj');
define('lang_Back', 'natrag');
define('lang_View', 'Prikaz');
define('lang_View_list', 'Prikaz liste');
define('lang_View_columns_list', 'Prikaz stupac-liste');
define('lang_View_boxes', 'Prikaz grid');
define('lang_Toolbar', 'Alatna traka');
define('lang_Actions', 'Radnja');
define('lang_Rename_existing_file', 'Datoteka već postoji');
define('lang_Rename_existing_folder', 'Mapa već postoji');
define('lang_Empty_name', 'Naziv nije upisan');
define('lang_Text_filter', 'filtriraj po nazivu');
define('lang_Swipe_help', 'Povucite prstom ime datoteke / mape za prikaz mogućnosti');
define('lang_Upload_base', 'Putanja do mape za prenesene datoteke');
define('lang_Upload_java', 'JAVA prijenos (odlično za prijenos velikih datoteka)');
define('lang_Upload_java_help', "Ako se Java dodatak ne učita 1. provjerite imate li instaliran Java dodatak <a href='http://java.com/en/download/'>[link za preuzimanje]</a> 2. provjerite da firewall nije aktiviran i blokira dodatak");
define('lang_Upload_base_help', "Povucite i ispustite datoteke ili samo kliknite (moderni preglednici) te odaberite datoteku(s). Kad prijenos završi, kliknite 'Natrag na pregled datoteka' gumb.");
define('lang_Type_dir', 'mapa');
define('lang_Type', 'Tip');
define('lang_Dimension', 'Dimenzije');
define('lang_Size', 'Veličina');
define('lang_Date', 'Datum');
define('lang_Filename', 'Naziv datoteke');
define('lang_Operations', 'Radnje');
define('lang_Date_type', 'y-m-d');
define('lang_OK', 'U redu');
define('lang_Cancel', 'Odustani');
define('lang_Sorting', 'sortiranje');
define('lang_Show_url', 'prikaži URL');
define('lang_Extract', 'raspakiraj ovdje');
define('lang_File_info', 'informacije');
define('lang_Edit_image', 'uredi sliku');
define('lang_Duplicate', 'kopiraj');

View File

@ -1,58 +1,57 @@
<?php
define('lang_Select','Tallózás');
define('lang_Erase','Törlés');
define('lang_Open','Megnyitás');
define('lang_Confirm_del','Biztos vagy benne, hogy törlöd ezt a fájlt?');
define('lang_All','Összes');
define('lang_Files','Fájlok');
define('lang_Images','Képek');
define('lang_Archives','Tömörített');
define('lang_Error_Upload','A kiválasztott fájl mérete túl nagy!');
define('lang_Error_extension','A megadott kiterjesztésű fájl nem engedélyezett.');
define('lang_Upload_file','Fájl feltöltése');
define('lang_Filters','Szűrő');
define('lang_Videos','Videó');
define('lang_Music','Zene');
define('lang_New_Folder','Új mappa');
define('lang_Folder_Created','Mappa létrehozva');
define('lang_Existing_Folder','Mappa már létezik');
define('lang_Confirm_Folder_del','Biztos, hogy törlöd a könyvtárat és annak tartalmát?');
define('lang_Return_Files_List','Vissza a fájllistához');
define('lang_Preview','Előnézet');
define('lang_Download','Letöltés');
define('lang_Insert_Folder_Name','Mappa neve:');
define('lang_Root','root');
define('lang_Rename','Átnevezés');
define('lang_Back','vissza');
define('lang_View','Nézet');
define('lang_View_list','Lista');
define('lang_View_columns_list','Oszlopok');
define('lang_View_boxes','Miniatűrök');
define('lang_Toolbar','Eszközök');
define('lang_Actions','Műveletek');
define('lang_Rename_existing_file','A fájl már létezik');
define('lang_Rename_existing_folder','A mappa már létezik');
define('lang_Empty_name','A név nincs megadva');
define('lang_Text_filter','szűrés');
define('lang_Swipe_help','Húzd az egered a fájl/mappa nevére, hogy lásd az opciókat.');
define('lang_Upload_base','Alapértelmezett feltöltő');
define('lang_Upload_java','JAVA feltöltő (nagyméretű fájlokhoz)');
define('lang_Upload_java_help',"Ha a Java Applet nem töltődik be: 1. ellenőrizze, hogy a JAVA telepítve van-e, ha nincs: <a href='http://java.com/en/download/'>[letöltés]</a> 2. ellenőrizze, hogy a tűzfal nem blokkolja-e");
define('lang_Upload_base_help',"Fogd meg és húzd az ablakba a fájlt vagy kattints bele és válaszd ki majd nyomd meg a megnyitás gombot (modern böngészők). Amikor a feltöltés befejeződött kattints a fenti gombra a visszatéréshez.");
define('lang_Type_dir','Mappa');
define('lang_Type','Típus');
define('lang_Dimension','Felbontás');
define('lang_Size','Méret');
define('lang_Date','Dátum');
define('lang_Filename','Név');
define('lang_Operations','Műveletek');
define('lang_Date_type','y-m-d');
define('lang_OK','OK');
define('lang_Cancel','Mégse');
define('lang_Sorting','rendezés');
define('lang_Show_url','URL mutatása');
define('lang_Extract','kibontás ide');
define('lang_File_info','fájl info');
define('lang_Edit_image','kép szerkesztése');
define('lang_Duplicate','Klónozás');
?>
define('lang_Select', 'Tallózás');
define('lang_Erase', 'Törlés');
define('lang_Open', 'Megnyitás');
define('lang_Confirm_del', 'Biztos vagy benne, hogy törlöd ezt a fájlt?');
define('lang_All', 'Összes');
define('lang_Files', 'Fájlok');
define('lang_Images', 'Képek');
define('lang_Archives', 'Tömörített');
define('lang_Error_Upload', 'A kiválasztott fájl mérete túl nagy!');
define('lang_Error_extension', 'A megadott kiterjesztésű fájl nem engedélyezett.');
define('lang_Upload_file', 'Fájl feltöltése');
define('lang_Filters', 'Szűrő');
define('lang_Videos', 'Videó');
define('lang_Music', 'Zene');
define('lang_New_Folder', 'Új mappa');
define('lang_Folder_Created', 'Mappa létrehozva');
define('lang_Existing_Folder', 'Mappa már létezik');
define('lang_Confirm_Folder_del', 'Biztos, hogy törlöd a könyvtárat és annak tartalmát?');
define('lang_Return_Files_List', 'Vissza a fájllistához');
define('lang_Preview', 'Előnézet');
define('lang_Download', 'Letöltés');
define('lang_Insert_Folder_Name', 'Mappa neve:');
define('lang_Root', 'root');
define('lang_Rename', 'Átnevezés');
define('lang_Back', 'vissza');
define('lang_View', 'Nézet');
define('lang_View_list', 'Lista');
define('lang_View_columns_list', 'Oszlopok');
define('lang_View_boxes', 'Miniatűrök');
define('lang_Toolbar', 'Eszközök');
define('lang_Actions', 'Műveletek');
define('lang_Rename_existing_file', 'A fájl már létezik');
define('lang_Rename_existing_folder', 'A mappa már létezik');
define('lang_Empty_name', 'A név nincs megadva');
define('lang_Text_filter', 'szűrés');
define('lang_Swipe_help', 'Húzd az egered a fájl/mappa nevére, hogy lásd az opciókat.');
define('lang_Upload_base', 'Alapértelmezett feltöltő');
define('lang_Upload_java', 'JAVA feltöltő (nagyméretű fájlokhoz)');
define('lang_Upload_java_help', "Ha a Java Applet nem töltődik be: 1. ellenőrizze, hogy a JAVA telepítve van-e, ha nincs: <a href='http://java.com/en/download/'>[letöltés]</a> 2. ellenőrizze, hogy a tűzfal nem blokkolja-e");
define('lang_Upload_base_help', "Fogd meg és húzd az ablakba a fájlt vagy kattints bele és válaszd ki majd nyomd meg a megnyitás gombot (modern böngészők). Amikor a feltöltés befejeződött kattints a fenti gombra a visszatéréshez.");
define('lang_Type_dir', 'Mappa');
define('lang_Type', 'Típus');
define('lang_Dimension', 'Felbontás');
define('lang_Size', 'Méret');
define('lang_Date', 'Dátum');
define('lang_Filename', 'Név');
define('lang_Operations', 'Műveletek');
define('lang_Date_type', 'y-m-d');
define('lang_OK', 'OK');
define('lang_Cancel', 'Mégse');
define('lang_Sorting', 'rendezés');
define('lang_Show_url', 'URL mutatása');
define('lang_Extract', 'kibontás ide');
define('lang_File_info', 'fájl info');
define('lang_Edit_image', 'kép szerkesztése');
define('lang_Duplicate', 'Klónozás');

View File

@ -1,59 +1,57 @@
<?php
define('lang_Select','Pilih');
define('lang_Erase','Hapus');
define('lang_Open','Buka');
define('lang_Confirm_del','Apakah anda yakin menghapus berkas ini?');
define('lang_All','Semua');
define('lang_Files','Berkas');
define('lang_Images','Gambar');
define('lang_Archives','Arsip');
define('lang_Error_Upload','Berkas yang diubah melebihi batas ukuran yang diperbolehkan.');
define('lang_Error_extension','Ekstensi berkas tidak diperbolehkan.');
define('lang_Upload_file','Unggah');
define('lang_Filters','Saring');
define('lang_Videos','Video');
define('lang_Music','Musik');
define('lang_New_Folder','Folder Baru');
define('lang_Folder_Created','Folder Telah Dibuat');
define('lang_Existing_Folder','Folder yang ada');
define('lang_Confirm_Folder_del','Apakah anda yakin menghapus folder dan semua isi didalamnya?');
define('lang_Return_Files_List','Kembali ke daftar');
define('lang_Preview','Pratampil');
define('lang_Download','Unduh');
define('lang_Insert_Folder_Name','Masukkan nama folder:');
define('lang_Root','root');
define('lang_Rename','Ubah nama');
define('lang_Back','kembali');
define('lang_View','lihat');
define('lang_View_list','Tampilan Daftar');
define('lang_View_columns_list','Tampilan Daftar kolom');
define('lang_View_boxes','Tampilan Kotak');
define('lang_Toolbar','Toolbar');
define('lang_Actions','Aksi');
define('lang_Rename_existing_file','Berkas Sudah ada');
define('lang_Rename_existing_folder','Folder sudah ada');
define('lang_Empty_name','Nama Kosong');
define('lang_Text_filter','saring teks');
define('lang_Swipe_help','Arahkan pada nama berkas/folder untuk melihat pilihan');
define('lang_Upload_base','Basis Unggah');
define('lang_Upload_java','Unggahan dengan JAVA (Berkas Ukuran Besar)');
define('lang_Upload_java_help',"Jika JAVA applet tidak muncul maka, 1. Pastikan JAVA sudah terinstal, jika tidak <a href='http://java.com/en/download/'>[download link]</a> 2. Pastikan firewall anda tidak memblok aksi tersebut");
define('lang_Upload_base_help',"Seret & letakkan berkas atau klik area di atas (browser terbaru) dan pilih berkasnya. ketika proses unggah selesai, Klik tombol 'Kembali ke daftar'.");
define('lang_Type_dir','direktori');
define('lang_Type','Tipe');
define('lang_Dimension','Dimensi');
define('lang_Size','Ukuran');
define('lang_Date','Tanggal');
define('lang_Filename','Nama_berkas');
define('lang_Operations','Operasi');
define('lang_Date_type','y-m-d');
define('lang_OK','OK');
define('lang_Cancel','Cancel');
define('lang_Sorting','Sortir');
define('lang_Show_url','lihat URL');
define('lang_Extract','extract disini');
define('lang_File_info','info berkas');
define('lang_Edit_image','edit gambar');
define('lang_Duplicate','Duplikat');
?>
define('lang_Select', 'Pilih');
define('lang_Erase', 'Hapus');
define('lang_Open', 'Buka');
define('lang_Confirm_del', 'Apakah anda yakin menghapus berkas ini?');
define('lang_All', 'Semua');
define('lang_Files', 'Berkas');
define('lang_Images', 'Gambar');
define('lang_Archives', 'Arsip');
define('lang_Error_Upload', 'Berkas yang diubah melebihi batas ukuran yang diperbolehkan.');
define('lang_Error_extension', 'Ekstensi berkas tidak diperbolehkan.');
define('lang_Upload_file', 'Unggah');
define('lang_Filters', 'Saring');
define('lang_Videos', 'Video');
define('lang_Music', 'Musik');
define('lang_New_Folder', 'Folder Baru');
define('lang_Folder_Created', 'Folder Telah Dibuat');
define('lang_Existing_Folder', 'Folder yang ada');
define('lang_Confirm_Folder_del', 'Apakah anda yakin menghapus folder dan semua isi didalamnya?');
define('lang_Return_Files_List', 'Kembali ke daftar');
define('lang_Preview', 'Pratampil');
define('lang_Download', 'Unduh');
define('lang_Insert_Folder_Name', 'Masukkan nama folder:');
define('lang_Root', 'root');
define('lang_Rename', 'Ubah nama');
define('lang_Back', 'kembali');
define('lang_View', 'lihat');
define('lang_View_list', 'Tampilan Daftar');
define('lang_View_columns_list', 'Tampilan Daftar kolom');
define('lang_View_boxes', 'Tampilan Kotak');
define('lang_Toolbar', 'Toolbar');
define('lang_Actions', 'Aksi');
define('lang_Rename_existing_file', 'Berkas Sudah ada');
define('lang_Rename_existing_folder', 'Folder sudah ada');
define('lang_Empty_name', 'Nama Kosong');
define('lang_Text_filter', 'saring teks');
define('lang_Swipe_help', 'Arahkan pada nama berkas/folder untuk melihat pilihan');
define('lang_Upload_base', 'Basis Unggah');
define('lang_Upload_java', 'Unggahan dengan JAVA (Berkas Ukuran Besar)');
define('lang_Upload_java_help', "Jika JAVA applet tidak muncul maka, 1. Pastikan JAVA sudah terinstal, jika tidak <a href='http://java.com/en/download/'>[download link]</a> 2. Pastikan firewall anda tidak memblok aksi tersebut");
define('lang_Upload_base_help', "Seret & letakkan berkas atau klik area di atas (browser terbaru) dan pilih berkasnya. ketika proses unggah selesai, Klik tombol 'Kembali ke daftar'.");
define('lang_Type_dir', 'direktori');
define('lang_Type', 'Tipe');
define('lang_Dimension', 'Dimensi');
define('lang_Size', 'Ukuran');
define('lang_Date', 'Tanggal');
define('lang_Filename', 'Nama_berkas');
define('lang_Operations', 'Operasi');
define('lang_Date_type', 'y-m-d');
define('lang_OK', 'OK');
define('lang_Cancel', 'Cancel');
define('lang_Sorting', 'Sortir');
define('lang_Show_url', 'lihat URL');
define('lang_Extract', 'extract disini');
define('lang_File_info', 'info berkas');
define('lang_Edit_image', 'edit gambar');
define('lang_Duplicate', 'Duplikat');

View File

@ -1,58 +1,57 @@
<?php
define('lang_Select','Seleziona');
define('lang_Erase','Cancella');
define('lang_Open','Apri');
define('lang_Confirm_del','Sei sicuro di volere cancellare questo file?');
define('lang_All','Tutti');
define('lang_Files','Files');
define('lang_Images','Immagini');
define('lang_Archives','Archivi');
define('lang_Error_Upload','Il file caricato supera i limiti imposti.');
define('lang_Error_extension','Il tipo del file caricato non è permesso.');
define('lang_Upload_file','Carica');
define('lang_Filters','Filtri');
define('lang_Videos','Video');
define('lang_Music','Musica');
define('lang_New_Folder','Nuova Cartella');
define('lang_Folder_Created','Cartella creata correttamente');
define('lang_Existing_Folder','Cartella già esistente');
define('lang_Confirm_Folder_del','Sei sicuro di voler cancellare la cartella e tutti i file in essa contenuti?');
define('lang_Return_Files_List','Ritorna alla lista dei file');
define('lang_Preview','Anteprima');
define('lang_Download','Download');
define('lang_Insert_Folder_Name','Inserisci il nome della cartella:');
define('lang_Root','base');
define('lang_Rename','Rinomina');
define('lang_Back','indietro');
define('lang_View','Vista');
define('lang_View_list','Vista a lista');
define('lang_View_columns_list','Vista a colonne');
define('lang_View_boxes','Vista a box');
define('lang_Toolbar','Toolbar');
define('lang_Actions','Azioni');
define('lang_Rename_existing_file','Il file esiste già');
define('lang_Rename_existing_folder','La cartella esiste già');
define('lang_Empty_name','Il nome è vuoto');
define('lang_Text_filter','filtro di testo');
define('lang_Swipe_help','Esegui uno Swipe sul nome del file/cartella per mostrare le opzioni');
define('lang_Upload_base','Upload Base');
define('lang_Upload_java','JAVA upload (file di grosse dimensioni)');
define('lang_Upload_java_help',"Se non si carica l'applet java 1. assicurati di aver installato java nel computer altrimenti <a href='http://java.com/en/download/'>[download link]</a> 2. asscurati di non essere bloccato da un firewall");
define('lang_Upload_base_help',"Trascina i file nell'area superiore o clicca in essa (per i moderni browser) altrimenti seleziona il file e clicca sul bottone. Quando il caricamento dei file è terminato clicca sul bottone di ritorno in alto.");
define('lang_Type_dir','dir');
define('lang_Type','Tipo');
define('lang_Dimension','Dimensione');
define('lang_Size','Peso');
define('lang_Date','Data');
define('lang_Filename','Nome');
define('lang_Operations','Operazioni');
define('lang_Date_type','d/m/y');
define('lang_OK','OK');
define('lang_Cancel','Annulla');
define('lang_Sorting','ordina');
define('lang_Show_url','mostra URL');
define('lang_Extract','estrai qui');
define('lang_File_info','informazioni file');
define('lang_Edit_image','modifica immagine');
define('lang_Duplicate','Duplica');
?>
define('lang_Select', 'Seleziona');
define('lang_Erase', 'Cancella');
define('lang_Open', 'Apri');
define('lang_Confirm_del', 'Sei sicuro di volere cancellare questo file?');
define('lang_All', 'Tutti');
define('lang_Files', 'Files');
define('lang_Images', 'Immagini');
define('lang_Archives', 'Archivi');
define('lang_Error_Upload', 'Il file caricato supera i limiti imposti.');
define('lang_Error_extension', 'Il tipo del file caricato non è permesso.');
define('lang_Upload_file', 'Carica');
define('lang_Filters', 'Filtri');
define('lang_Videos', 'Video');
define('lang_Music', 'Musica');
define('lang_New_Folder', 'Nuova Cartella');
define('lang_Folder_Created', 'Cartella creata correttamente');
define('lang_Existing_Folder', 'Cartella già esistente');
define('lang_Confirm_Folder_del', 'Sei sicuro di voler cancellare la cartella e tutti i file in essa contenuti?');
define('lang_Return_Files_List', 'Ritorna alla lista dei file');
define('lang_Preview', 'Anteprima');
define('lang_Download', 'Download');
define('lang_Insert_Folder_Name', 'Inserisci il nome della cartella:');
define('lang_Root', 'base');
define('lang_Rename', 'Rinomina');
define('lang_Back', 'indietro');
define('lang_View', 'Vista');
define('lang_View_list', 'Vista a lista');
define('lang_View_columns_list', 'Vista a colonne');
define('lang_View_boxes', 'Vista a box');
define('lang_Toolbar', 'Toolbar');
define('lang_Actions', 'Azioni');
define('lang_Rename_existing_file', 'Il file esiste già');
define('lang_Rename_existing_folder', 'La cartella esiste già');
define('lang_Empty_name', 'Il nome è vuoto');
define('lang_Text_filter', 'filtro di testo');
define('lang_Swipe_help', 'Esegui uno Swipe sul nome del file/cartella per mostrare le opzioni');
define('lang_Upload_base', 'Upload Base');
define('lang_Upload_java', 'JAVA upload (file di grosse dimensioni)');
define('lang_Upload_java_help', "Se non si carica l'applet java 1. assicurati di aver installato java nel computer altrimenti <a href='http://java.com/en/download/'>[download link]</a> 2. asscurati di non essere bloccato da un firewall");
define('lang_Upload_base_help', "Trascina i file nell'area superiore o clicca in essa (per i moderni browser) altrimenti seleziona il file e clicca sul bottone. Quando il caricamento dei file è terminato clicca sul bottone di ritorno in alto.");
define('lang_Type_dir', 'dir');
define('lang_Type', 'Tipo');
define('lang_Dimension', 'Dimensione');
define('lang_Size', 'Peso');
define('lang_Date', 'Data');
define('lang_Filename', 'Nome');
define('lang_Operations', 'Operazioni');
define('lang_Date_type', 'd/m/y');
define('lang_OK', 'OK');
define('lang_Cancel', 'Annulla');
define('lang_Sorting', 'ordina');
define('lang_Show_url', 'mostra URL');
define('lang_Extract', 'estrai qui');
define('lang_File_info', 'informazioni file');
define('lang_Edit_image', 'modifica immagine');
define('lang_Duplicate', 'Duplica');

View File

@ -1,59 +1,57 @@
<?php
define('lang_Select','Сонгох');
define('lang_Erase','Устгах');
define('lang_Open','Нээх');
define('lang_Confirm_del','Та энэ файлыг устгахдаа итгэлтэй байна уу?');
define('lang_All','Бүгд');
define('lang_Files','Файлууд');
define('lang_Images','Зурагнууд');
define('lang_Archives','Архивлагдсан файлууд');
define('lang_Error_Upload','Хуулсан файл зөвшөөрөгдөх хэмжээнээс их байна.');
define('lang_Error_extension','Файлын өргөтгөх зөвшөөрөгдөөгүй.');
define('lang_Upload_file','Хуулах');
define('lang_Filters','Шүүлтүүрүүд');
define('lang_Videos','Бичлэгнүүд');
define('lang_Music','Дуунууд');
define('lang_New_Folder','Шинэ хавтас');
define('lang_Folder_Created','Хавтас амжилттай үүслээ');
define('lang_Existing_Folder','Давхардсан хавтас');
define('lang_Confirm_Folder_del','Хавтас болон доторх бүх файлуудыг устгахдаа итгэлтэй байна уу?');
define('lang_Return_Files_List','Файлын жагсаалт руу буцах');
define('lang_Preview','Урьдчилан харах');
define('lang_Download','Татаж авах');
define('lang_Insert_Folder_Name','Хавтасны нэрийг оруулна уу:');
define('lang_Root','root');
define('lang_Rename','Нэрлэх');
define('lang_Back','буцах');
define('lang_View','Үзэх');
define('lang_View_list','Жагсаалтаар харах');
define('lang_View_columns_list','Баганаар харах');
define('lang_View_boxes','Хайрцгаар харах');
define('lang_Toolbar','Товчилсон товчнууд');
define('lang_Actions','Үйлдэл');
define('lang_Rename_existing_file','Файл аль хэдийнэ үүссэн байна');
define('lang_Rename_existing_folder','Хавтас аль хэдийнэ үүсэн байна');
define('lang_Empty_name','Нэр хоосон байна');
define('lang_Text_filter','текстэн шүүлтүүр');
define('lang_Swipe_help','Файл/Хавтасны нэрийг товшоод тохиргоог харна уу');
define('lang_Upload_base','Энгийнээр хуулах');
define('lang_Upload_java','JAVA-гаар хуулах (их хэмжээтэй файл)');
define('lang_Upload_java_help',"Хэрэв Java Applet уншихгүй бол 1. Java суусан эсэхийг шалгана уу, үгүй бол <a href='http://java.com/en/download/'>[эндээс татаж авна уу]</a> 2. Галт хана дээр хаалт хийсэн эсэхийг шалгана уу");
define('lang_Upload_base_help',"Хуулах хэсэг дээр файлыг зөөж тавих болон дээр нь дарж хуулж болно (орчин үеийн хөтөч дээр). Хуулж дууссан бол 'Файлын жагсаалт руу буцах' товчин дээр дарна уу.");
define('lang_Type_dir','dir');
define('lang_Type','Төрөл');
define('lang_Dimension','Харьцаа');
define('lang_Size','Хэмжээ');
define('lang_Date','Огноо');
define('lang_Filename','Файлын нэр');
define('lang_Operations','Үйлдэлүүд');
define('lang_Date_type','y-m-d');
define('lang_OK','ОК');
define('lang_Cancel','Буцах');
define('lang_Sorting','эрэмбэлэх');
define('lang_Show_url','URL-г харах');
define('lang_Extract','энд задла');
define('lang_File_info','файлын мэдээлэл');
define('lang_Edit_image','зураг засварлах');
define('lang_Duplicate','Давхардуулах');
?>
define('lang_Select', 'Сонгох');
define('lang_Erase', 'Устгах');
define('lang_Open', 'Нээх');
define('lang_Confirm_del', 'Та энэ файлыг устгахдаа итгэлтэй байна уу?');
define('lang_All', 'Бүгд');
define('lang_Files', 'Файлууд');
define('lang_Images', 'Зурагнууд');
define('lang_Archives', 'Архивлагдсан файлууд');
define('lang_Error_Upload', 'Хуулсан файл зөвшөөрөгдөх хэмжээнээс их байна.');
define('lang_Error_extension', 'Файлын өргөтгөх зөвшөөрөгдөөгүй.');
define('lang_Upload_file', 'Хуулах');
define('lang_Filters', 'Шүүлтүүрүүд');
define('lang_Videos', 'Бичлэгнүүд');
define('lang_Music', 'Дуунууд');
define('lang_New_Folder', 'Шинэ хавтас');
define('lang_Folder_Created', 'Хавтас амжилттай үүслээ');
define('lang_Existing_Folder', 'Давхардсан хавтас');
define('lang_Confirm_Folder_del', 'Хавтас болон доторх бүх файлуудыг устгахдаа итгэлтэй байна уу?');
define('lang_Return_Files_List', 'Файлын жагсаалт руу буцах');
define('lang_Preview', 'Урьдчилан харах');
define('lang_Download', 'Татаж авах');
define('lang_Insert_Folder_Name', 'Хавтасны нэрийг оруулна уу:');
define('lang_Root', 'root');
define('lang_Rename', 'Нэрлэх');
define('lang_Back', 'буцах');
define('lang_View', 'Үзэх');
define('lang_View_list', 'Жагсаалтаар харах');
define('lang_View_columns_list', 'Баганаар харах');
define('lang_View_boxes', 'Хайрцгаар харах');
define('lang_Toolbar', 'Товчилсон товчнууд');
define('lang_Actions', 'Үйлдэл');
define('lang_Rename_existing_file', 'Файл аль хэдийнэ үүссэн байна');
define('lang_Rename_existing_folder', 'Хавтас аль хэдийнэ үүсэн байна');
define('lang_Empty_name', 'Нэр хоосон байна');
define('lang_Text_filter', 'текстэн шүүлтүүр');
define('lang_Swipe_help', 'Файл/Хавтасны нэрийг товшоод тохиргоог харна уу');
define('lang_Upload_base', 'Энгийнээр хуулах');
define('lang_Upload_java', 'JAVA-гаар хуулах (их хэмжээтэй файл)');
define('lang_Upload_java_help', "Хэрэв Java Applet уншихгүй бол 1. Java суусан эсэхийг шалгана уу, үгүй бол <a href='http://java.com/en/download/'>[эндээс татаж авна уу]</a> 2. Галт хана дээр хаалт хийсэн эсэхийг шалгана уу");
define('lang_Upload_base_help', "Хуулах хэсэг дээр файлыг зөөж тавих болон дээр нь дарж хуулж болно (орчин үеийн хөтөч дээр). Хуулж дууссан бол 'Файлын жагсаалт руу буцах' товчин дээр дарна уу.");
define('lang_Type_dir', 'dir');
define('lang_Type', 'Төрөл');
define('lang_Dimension', 'Харьцаа');
define('lang_Size', 'Хэмжээ');
define('lang_Date', 'Огноо');
define('lang_Filename', 'Файлын нэр');
define('lang_Operations', 'Үйлдэлүүд');
define('lang_Date_type', 'y-m-d');
define('lang_OK', 'ОК');
define('lang_Cancel', 'Буцах');
define('lang_Sorting', 'эрэмбэлэх');
define('lang_Show_url', 'URL-г харах');
define('lang_Extract', 'энд задла');
define('lang_File_info', 'файлын мэдээлэл');
define('lang_Edit_image', 'зураг засварлах');
define('lang_Duplicate', 'Давхардуулах');

View File

@ -1,59 +1,57 @@
<?php
define('lang_Select','Velg');
define('lang_Erase','Slett');
define('lang_Open','Åpne');
define('lang_Confirm_del','Er du sikker på at du vil slette denne filen?');
define('lang_All','Alle');
define('lang_Files','Filer');
define('lang_Images','Bilder');
define('lang_Archives','Arkiv');
define('lang_Error_Upload','Den opplastede filen overskrider maksimal tillatt størrelse.');
define('lang_Error_extension','Filtypen er ikke tillatt.');
define('lang_Upload_file','Last opp fil');
define('lang_Filters','Filter');
define('lang_Videos','Videoer');
define('lang_Music','Musikk');
define('lang_New_Folder','Ny mappe');
define('lang_Folder_Created','Mappe opprettet');
define('lang_Existing_Folder','Eksisterende mappe');
define('lang_Confirm_Folder_del','Er du sikker på at du vil slette mappen og alt innholdet?');
define('lang_Return_Files_List','Tilbake til filoversikten');
define('lang_Preview','Forhåndsvisning');
define('lang_Download','Last ned');
define('lang_Insert_Folder_Name','Gi mappen et navn:');
define('lang_Root','Rot');
define('lang_Rename','Gi nytt navn');
define('lang_Back','Tilbake');
define('lang_View','Visning');
define('lang_View_list','Listevisning');
define('lang_View_columns_list','Side ved side');
define('lang_View_boxes','Boksvisning');
define('lang_Toolbar','Verktøylinje');
define('lang_Actions','Gjøremål');
define('lang_Rename_existing_file','Filen er allerede opprettet');
define('lang_Rename_existing_folder','Mappen er allerede opprettet');
define('lang_Empty_name','Tomt navn');
define('lang_Text_filter','Tekst-filter');
define('lang_Swipe_help','Sveip filnavnet/mappenavnet for å vise alternativer');
define('lang_Upload_base','Vanlig opplasting');
define('lang_Upload_java','Java-opplasting (store filer)');
define('lang_Upload_java_help',"Hvis java-appleten ikke lastes: 1. Sjekk om Java er installert, hvis ikke <a href='http://java.com/en/download/'>last ned Java</a> 2. Sjekk brannmur-innstillingene.");
define('lang_Upload_base_help',"Dra og slipp filen(e) i området over eller klikk (virker for moderne nettlesere). Ved bruk av gammel nettleser: Velg filen og klikk på knappen. Når opplastingen er ferdig, klikk på tilbake-knappen øverst.");
define('lang_Type_dir','Mappe');
define('lang_Type','Type');
define('lang_Dimension','Dimensjoner');
define('lang_Size','Størrelse');
define('lang_Date','Dato');
define('lang_Filename','Filnavn');
define('lang_Operations','Handlinger');
define('lang_Date_type','d.m.y');
define('lang_OK','OK');
define('lang_Cancel','Avbryt');
define('lang_Sorting','Sortering');
define('lang_Show_url','Vis URL');
define('lang_Extract','extract here');
define('lang_File_info','Fil-info');
define('lang_Edit_image','Rediger bilde');
define('lang_Duplicate','Duplicate');
?>
define('lang_Select', 'Velg');
define('lang_Erase', 'Slett');
define('lang_Open', 'Åpne');
define('lang_Confirm_del', 'Er du sikker på at du vil slette denne filen?');
define('lang_All', 'Alle');
define('lang_Files', 'Filer');
define('lang_Images', 'Bilder');
define('lang_Archives', 'Arkiv');
define('lang_Error_Upload', 'Den opplastede filen overskrider maksimal tillatt størrelse.');
define('lang_Error_extension', 'Filtypen er ikke tillatt.');
define('lang_Upload_file', 'Last opp fil');
define('lang_Filters', 'Filter');
define('lang_Videos', 'Videoer');
define('lang_Music', 'Musikk');
define('lang_New_Folder', 'Ny mappe');
define('lang_Folder_Created', 'Mappe opprettet');
define('lang_Existing_Folder', 'Eksisterende mappe');
define('lang_Confirm_Folder_del', 'Er du sikker på at du vil slette mappen og alt innholdet?');
define('lang_Return_Files_List', 'Tilbake til filoversikten');
define('lang_Preview', 'Forhåndsvisning');
define('lang_Download', 'Last ned');
define('lang_Insert_Folder_Name', 'Gi mappen et navn:');
define('lang_Root', 'Rot');
define('lang_Rename', 'Gi nytt navn');
define('lang_Back', 'Tilbake');
define('lang_View', 'Visning');
define('lang_View_list', 'Listevisning');
define('lang_View_columns_list', 'Side ved side');
define('lang_View_boxes', 'Boksvisning');
define('lang_Toolbar', 'Verktøylinje');
define('lang_Actions', 'Gjøremål');
define('lang_Rename_existing_file', 'Filen er allerede opprettet');
define('lang_Rename_existing_folder', 'Mappen er allerede opprettet');
define('lang_Empty_name', 'Tomt navn');
define('lang_Text_filter', 'Tekst-filter');
define('lang_Swipe_help', 'Sveip filnavnet/mappenavnet for å vise alternativer');
define('lang_Upload_base', 'Vanlig opplasting');
define('lang_Upload_java', 'Java-opplasting (store filer)');
define('lang_Upload_java_help', "Hvis java-appleten ikke lastes: 1. Sjekk om Java er installert, hvis ikke <a href='http://java.com/en/download/'>last ned Java</a> 2. Sjekk brannmur-innstillingene.");
define('lang_Upload_base_help', "Dra og slipp filen(e) i området over eller klikk (virker for moderne nettlesere). Ved bruk av gammel nettleser: Velg filen og klikk på knappen. Når opplastingen er ferdig, klikk på tilbake-knappen øverst.");
define('lang_Type_dir', 'Mappe');
define('lang_Type', 'Type');
define('lang_Dimension', 'Dimensjoner');
define('lang_Size', 'Størrelse');
define('lang_Date', 'Dato');
define('lang_Filename', 'Filnavn');
define('lang_Operations', 'Handlinger');
define('lang_Date_type', 'd.m.y');
define('lang_OK', 'OK');
define('lang_Cancel', 'Avbryt');
define('lang_Sorting', 'Sortering');
define('lang_Show_url', 'Vis URL');
define('lang_Extract', 'extract here');
define('lang_File_info', 'Fil-info');
define('lang_Edit_image', 'Rediger bilde');
define('lang_Duplicate', 'Duplicate');

View File

@ -1,58 +1,57 @@
<?php
define('lang_Select','Selecteren');
define('lang_Erase','Verwijderen');
define('lang_Open','Openen');
define('lang_Confirm_del','Weet u zeker dat u dit bestand wilt verwijderen?');
define('lang_All','Alles Weergeven');
define('lang_Files','Bestanden');
define('lang_Images','Afbeeldingen');
define('lang_Archives','Archieven');
define('lang_Error_Upload','Het bestand overschrijdt de maximum toegestane grootte.');
define('lang_Error_extension','Bestand extensie is niet toegestaan');
define('lang_Upload_file','Bestand uploaden');
define('lang_Filters','Filter');
define('lang_Videos','Videos');
define('lang_Music','Muziek');
define('lang_New_Folder','Nieuwe map');
define('lang_Folder_Created','Map aangemaakt');
define('lang_Existing_Folder','Bestaande map');
define('lang_Confirm_Folder_del','Weet u zeker dat u deze map en alle bestanden hierin wilt verwijderen?');
define('lang_Return_Files_List','Terug naar bestanden');
define('lang_Preview','Voorbeeld');
define('lang_Download','Download');
define('lang_Insert_Folder_Name','Map naam:');
define('lang_Root','root');
define('lang_Rename','Hernoemen');
define('lang_Back','terug');
define('lang_View','Weergave');
define('lang_View_list','Lijst weergave');
define('lang_View_columns_list','Kolom-lijst weergave');
define('lang_View_boxes','Tegel weergave');
define('lang_Toolbar','Werkbalk');
define('lang_Actions','Acties');
define('lang_Rename_existing_file','Het bestand bestaat al');
define('lang_Rename_existing_folder','De map bestaat al');
define('lang_Empty_name','De bestandsnaam is leeg');
define('lang_Text_filter','Zoeken...');
define('lang_Swipe_help','Swipe over de naam van een bestand of map om opties te zien');
define('lang_Upload_base','Standaard uploader');
define('lang_Upload_java','JAVA upload (voor grote bestanden)');
define('lang_Upload_java_help',"Als de Java Applet niet laadt: 1. Heeft u JAVA geinstalleerd? Zo niet, download het hier: <a href='http://java.com/en/download/'>java.com/en/download/</a> 2. Wees er zeker van dat de firewall deze actie accepteert");
define('lang_Upload_base_help',"Klik en sleep (meerdere) bestanden vanaf uw computer naar het \"Drop files\" vlak hierboven om bestanden toe te voegen.<br/> Ook is het mogelijk om in een dialoogvenster (meerdere) bestanden te selecteren, klik hiervoor op \"Drop files\"<br/><br/><i>Als alle uploads voltooid zijn kunt u terugkeren met de knop \"Terug naar bestanden\"</i>");
define('lang_Type_dir','map');
define('lang_Type','Type');
define('lang_Dimension','Afmetingen');
define('lang_Size','Grootte');
define('lang_Date','Datum');
define('lang_Filename','Naam');
define('lang_Operations','Bewerkingen');
define('lang_Date_type','j-m-d');
define('lang_OK','OK');
define('lang_Cancel','Annuleren');
define('lang_Sorting','Sorteren op');
define('lang_Show_url','toon URL');
define('lang_Extract','hier uitpakken');
define('lang_File_info','bestands-info');
define('lang_Edit_image','afbeelding bewerken');
define('lang_Duplicate','Duplicate');
?>
define('lang_Select', 'Selecteren');
define('lang_Erase', 'Verwijderen');
define('lang_Open', 'Openen');
define('lang_Confirm_del', 'Weet u zeker dat u dit bestand wilt verwijderen?');
define('lang_All', 'Alles Weergeven');
define('lang_Files', 'Bestanden');
define('lang_Images', 'Afbeeldingen');
define('lang_Archives', 'Archieven');
define('lang_Error_Upload', 'Het bestand overschrijdt de maximum toegestane grootte.');
define('lang_Error_extension', 'Bestand extensie is niet toegestaan');
define('lang_Upload_file', 'Bestand uploaden');
define('lang_Filters', 'Filter');
define('lang_Videos', 'Videos');
define('lang_Music', 'Muziek');
define('lang_New_Folder', 'Nieuwe map');
define('lang_Folder_Created', 'Map aangemaakt');
define('lang_Existing_Folder', 'Bestaande map');
define('lang_Confirm_Folder_del', 'Weet u zeker dat u deze map en alle bestanden hierin wilt verwijderen?');
define('lang_Return_Files_List', 'Terug naar bestanden');
define('lang_Preview', 'Voorbeeld');
define('lang_Download', 'Download');
define('lang_Insert_Folder_Name', 'Map naam:');
define('lang_Root', 'root');
define('lang_Rename', 'Hernoemen');
define('lang_Back', 'terug');
define('lang_View', 'Weergave');
define('lang_View_list', 'Lijst weergave');
define('lang_View_columns_list', 'Kolom-lijst weergave');
define('lang_View_boxes', 'Tegel weergave');
define('lang_Toolbar', 'Werkbalk');
define('lang_Actions', 'Acties');
define('lang_Rename_existing_file', 'Het bestand bestaat al');
define('lang_Rename_existing_folder', 'De map bestaat al');
define('lang_Empty_name', 'De bestandsnaam is leeg');
define('lang_Text_filter', 'Zoeken...');
define('lang_Swipe_help', 'Swipe over de naam van een bestand of map om opties te zien');
define('lang_Upload_base', 'Standaard uploader');
define('lang_Upload_java', 'JAVA upload (voor grote bestanden)');
define('lang_Upload_java_help', "Als de Java Applet niet laadt: 1. Heeft u JAVA geinstalleerd? Zo niet, download het hier: <a href='http://java.com/en/download/'>java.com/en/download/</a> 2. Wees er zeker van dat de firewall deze actie accepteert");
define('lang_Upload_base_help', "Klik en sleep (meerdere) bestanden vanaf uw computer naar het \"Drop files\" vlak hierboven om bestanden toe te voegen.<br/> Ook is het mogelijk om in een dialoogvenster (meerdere) bestanden te selecteren, klik hiervoor op \"Drop files\"<br/><br/><i>Als alle uploads voltooid zijn kunt u terugkeren met de knop \"Terug naar bestanden\"</i>");
define('lang_Type_dir', 'map');
define('lang_Type', 'Type');
define('lang_Dimension', 'Afmetingen');
define('lang_Size', 'Grootte');
define('lang_Date', 'Datum');
define('lang_Filename', 'Naam');
define('lang_Operations', 'Bewerkingen');
define('lang_Date_type', 'j-m-d');
define('lang_OK', 'OK');
define('lang_Cancel', 'Annuleren');
define('lang_Sorting', 'Sorteren op');
define('lang_Show_url', 'toon URL');
define('lang_Extract', 'hier uitpakken');
define('lang_File_info', 'bestands-info');
define('lang_Edit_image', 'afbeelding bewerken');
define('lang_Duplicate', 'Duplicate');

View File

@ -1,58 +1,57 @@
<?php
define('lang_Select','Wybierz');
define('lang_Erase','Wyczyść');
define('lang_Open','Otwórz');
define('lang_Confirm_del','Czy jesteś pewien, że chcesz usunąć ten plik?');
define('lang_All','Wszystkie');
define('lang_Files','Pliki');
define('lang_Images','Zdjęcia');
define('lang_Archives','Archiwa');
define('lang_Error_Upload','Plik przekracza maksymalny dozwolony rozmiar.');
define('lang_Error_extension','Niedozwolone rozszerzenie pliku.');
define('lang_Upload_file','Wgraj plik');
define('lang_Filters','Filtr widoku');
define('lang_Videos','Filmy');
define('lang_Music','Muzyka');
define('lang_New_Folder','Dodaj nowy folder');
define('lang_Folder_Created','Folder został utworzony poprawnie');
define('lang_Existing_Folder','Istniejący folder');
define('lang_Confirm_Folder_del','Czy jesteś pewien, że chcesz usunąć folder i wszystko co znajduje się w nim?');
define('lang_Return_Files_List','Powrót do listy plików');
define('lang_Preview','Podgląd');
define('lang_Download','Pobierz');
define('lang_Insert_Folder_Name','Podaj nazwę folderu:');
define('lang_Root','root');
define('lang_Rename','Zmień nazwę');
define('lang_Back','[..]');
define('lang_View','Widok');
define('lang_View_list','Lista');
define('lang_View_columns_list','Kolumny');
define('lang_View_boxes','Bloki');
define('lang_Toolbar','Pasek');
define('lang_Actions','Opcje');
define('lang_Rename_existing_file','Ten plik już tutaj umieszczono');
define('lang_Rename_existing_folder','Ten folder już tutaj utworzono');
define('lang_Empty_name','Nie podano wymaganej nazwy');
define('lang_Text_filter','wpisz txt');
define('lang_Swipe_help','Kliknij w nazwę pliku/folderu by wyświetlić dostępne opcje');
define('lang_Upload_base','Wgrywanie standardowe');
define('lang_Upload_java','Wgrywanie przez skrypty JS (dla dużych plików)');
define('lang_Upload_java_help',"Jeżeli ten aplet JS nie powoduje wgrywania 1. Sprawdź czy masz pobraną i uruchomioną obsługę skryptów w JAVA na stronie JAVA <a href='http://java.com/en/download/'>[pobierz]</a> 2. Upewnij się, że nie jest to blokada wynikająca z ustawień zapory firewall");
define('lang_Upload_base_help',"Metoda zwana Przeciągnij & Upuść pliki w poniższy obszar, lub kliknij weń (dotyczy tylko najnowszych przeglądarek), lub wybierz plik i kliknij w przycisk. Kiedy zakończy się proces wgrywania, kliknij wyżej na przycisk by zakończyć.");
define('lang_Type_dir','FLD');
define('lang_Type','wg. typu');
define('lang_Dimension','Wymiary');
define('lang_Size','wg. wagi');
define('lang_Date','wg. daty');
define('lang_Filename','wg. nazwy');
define('lang_Operations','Opcje');
define('lang_Date_type','d-m-y');
define('lang_OK','OK');
define('lang_Cancel','Anuluj');
define('lang_Sorting','SORTOWANIE');
define('lang_Show_url','show URL');
define('lang_Extract','extract here');
define('lang_File_info','file info');
define('lang_Edit_image','edit image');
define('lang_Duplicate','Duplicate');
?>
define('lang_Select', 'Wybierz');
define('lang_Erase', 'Wyczyść');
define('lang_Open', 'Otwórz');
define('lang_Confirm_del', 'Czy jesteś pewien, że chcesz usunąć ten plik?');
define('lang_All', 'Wszystkie');
define('lang_Files', 'Pliki');
define('lang_Images', 'Zdjęcia');
define('lang_Archives', 'Archiwa');
define('lang_Error_Upload', 'Plik przekracza maksymalny dozwolony rozmiar.');
define('lang_Error_extension', 'Niedozwolone rozszerzenie pliku.');
define('lang_Upload_file', 'Wgraj plik');
define('lang_Filters', 'Filtr widoku');
define('lang_Videos', 'Filmy');
define('lang_Music', 'Muzyka');
define('lang_New_Folder', 'Dodaj nowy folder');
define('lang_Folder_Created', 'Folder został utworzony poprawnie');
define('lang_Existing_Folder', 'Istniejący folder');
define('lang_Confirm_Folder_del', 'Czy jesteś pewien, że chcesz usunąć folder i wszystko co znajduje się w nim?');
define('lang_Return_Files_List', 'Powrót do listy plików');
define('lang_Preview', 'Podgląd');
define('lang_Download', 'Pobierz');
define('lang_Insert_Folder_Name', 'Podaj nazwę folderu:');
define('lang_Root', 'root');
define('lang_Rename', 'Zmień nazwę');
define('lang_Back', '[..]');
define('lang_View', 'Widok');
define('lang_View_list', 'Lista');
define('lang_View_columns_list', 'Kolumny');
define('lang_View_boxes', 'Bloki');
define('lang_Toolbar', 'Pasek');
define('lang_Actions', 'Opcje');
define('lang_Rename_existing_file', 'Ten plik już tutaj umieszczono');
define('lang_Rename_existing_folder', 'Ten folder już tutaj utworzono');
define('lang_Empty_name', 'Nie podano wymaganej nazwy');
define('lang_Text_filter', 'wpisz txt');
define('lang_Swipe_help', 'Kliknij w nazwę pliku/folderu by wyświetlić dostępne opcje');
define('lang_Upload_base', 'Wgrywanie standardowe');
define('lang_Upload_java', 'Wgrywanie przez skrypty JS (dla dużych plików)');
define('lang_Upload_java_help', "Jeżeli ten aplet JS nie powoduje wgrywania 1. Sprawdź czy masz pobraną i uruchomioną obsługę skryptów w JAVA na stronie JAVA <a href='http://java.com/en/download/'>[pobierz]</a> 2. Upewnij się, że nie jest to blokada wynikająca z ustawień zapory firewall");
define('lang_Upload_base_help', "Metoda zwana Przeciągnij & Upuść pliki w poniższy obszar, lub kliknij weń (dotyczy tylko najnowszych przeglądarek), lub wybierz plik i kliknij w przycisk. Kiedy zakończy się proces wgrywania, kliknij wyżej na przycisk by zakończyć.");
define('lang_Type_dir', 'FLD');
define('lang_Type', 'wg. typu');
define('lang_Dimension', 'Wymiary');
define('lang_Size', 'wg. wagi');
define('lang_Date', 'wg. daty');
define('lang_Filename', 'wg. nazwy');
define('lang_Operations', 'Opcje');
define('lang_Date_type', 'd-m-y');
define('lang_OK', 'OK');
define('lang_Cancel', 'Anuluj');
define('lang_Sorting', 'SORTOWANIE');
define('lang_Show_url', 'show URL');
define('lang_Extract', 'extract here');
define('lang_File_info', 'file info');
define('lang_Edit_image', 'edit image');
define('lang_Duplicate', 'Duplicate');

View File

@ -1,58 +1,57 @@
<?php
define('lang_Select','Seleccionar');
define('lang_Erase','Eliminar');
define('lang_Open','Abrir');
define('lang_Confirm_del','Tem certeza que pretende eliminar este arquivo?');
define('lang_All','Todos');
define('lang_Files','Ficheiros');
define('lang_Images','Imagens');
define('lang_Archives','Compactados');
define('lang_Error_Upload','O ficheiro enviado é maior que o limite permitido.');
define('lang_Error_extension','Extensão não permitida.');
define('lang_Upload_file','Carregar ficheiro');
define('lang_Filters','Filtro');
define('lang_Videos','Vídeos');
define('lang_Music','Música');
define('lang_New_Folder','Nova pasta');
define('lang_Folder_Created','Pasta criada com sucesso');
define('lang_Existing_Folder','Pasta existente');
define('lang_Confirm_Folder_del','Tem certeza que pretende eliminar a pasta e todo o seu conteúdo?');
define('lang_Return_Files_List','Voltar à lista de ficheiros');
define('lang_Preview','Pré-visualizar');
define('lang_Download','Descarregar');
define('lang_Insert_Folder_Name','Insira o nome da pasta:');
define('lang_Root','root');
define('lang_Rename','Mudar o nome');
define('lang_Back','de volta');
define('lang_View','View');
define('lang_View_list','List view');
define('lang_View_columns_list','Columns list view');
define('lang_View_boxes','Box view');
define('lang_Toolbar','Toolbar');
define('lang_Actions','Actions');
define('lang_Rename_existing_file','The file is already existing');
define('lang_Rename_existing_folder','The folder is already existing');
define('lang_Empty_name','The name is empty');
define('lang_Text_filter','text filter');
define('lang_Swipe_help','Swipe the name of file/folder to show options');
define('lang_Upload_base','Base upload');
define('lang_Upload_java','JAVA upload (big size files)');
define('lang_Upload_java_help',"If the Java Applet don't load 1. make sure you have Java installed otherwise <a href='http://java.com/en/download/'>[download link]</a> 2. make sure nothing is blocked from firewall");
define('lang_Upload_base_help',"Drag & Drop file/s inside above area or click in it (for modern browsers) otherwise select the file and click on button. When the upload end, click on upper return button.");
define('lang_Type_dir','dir');
define('lang_Type','Type');
define('lang_Dimension','Dimension');
define('lang_Size','Size');
define('lang_Date','Date');
define('lang_Filename','Name');
define('lang_Operations','Operations');
define('lang_Date_type','y-m-d');
define('lang_OK','OK');
define('lang_Cancel','Cancel');
define('lang_Sorting','sorting');
define('lang_Show_url','show URL');
define('lang_Extract','extract here');
define('lang_File_info','file info');
define('lang_Edit_image','edit image');
define('lang_Duplicate','Duplicate');
?>
define('lang_Select', 'Seleccionar');
define('lang_Erase', 'Eliminar');
define('lang_Open', 'Abrir');
define('lang_Confirm_del', 'Tem certeza que pretende eliminar este arquivo?');
define('lang_All', 'Todos');
define('lang_Files', 'Ficheiros');
define('lang_Images', 'Imagens');
define('lang_Archives', 'Compactados');
define('lang_Error_Upload', 'O ficheiro enviado é maior que o limite permitido.');
define('lang_Error_extension', 'Extensão não permitida.');
define('lang_Upload_file', 'Carregar ficheiro');
define('lang_Filters', 'Filtro');
define('lang_Videos', 'Vídeos');
define('lang_Music', 'Música');
define('lang_New_Folder', 'Nova pasta');
define('lang_Folder_Created', 'Pasta criada com sucesso');
define('lang_Existing_Folder', 'Pasta existente');
define('lang_Confirm_Folder_del', 'Tem certeza que pretende eliminar a pasta e todo o seu conteúdo?');
define('lang_Return_Files_List', 'Voltar à lista de ficheiros');
define('lang_Preview', 'Pré-visualizar');
define('lang_Download', 'Descarregar');
define('lang_Insert_Folder_Name', 'Insira o nome da pasta:');
define('lang_Root', 'root');
define('lang_Rename', 'Mudar o nome');
define('lang_Back', 'de volta');
define('lang_View', 'View');
define('lang_View_list', 'List view');
define('lang_View_columns_list', 'Columns list view');
define('lang_View_boxes', 'Box view');
define('lang_Toolbar', 'Toolbar');
define('lang_Actions', 'Actions');
define('lang_Rename_existing_file', 'The file is already existing');
define('lang_Rename_existing_folder', 'The folder is already existing');
define('lang_Empty_name', 'The name is empty');
define('lang_Text_filter', 'text filter');
define('lang_Swipe_help', 'Swipe the name of file/folder to show options');
define('lang_Upload_base', 'Base upload');
define('lang_Upload_java', 'JAVA upload (big size files)');
define('lang_Upload_java_help', "If the Java Applet don't load 1. make sure you have Java installed otherwise <a href='http://java.com/en/download/'>[download link]</a> 2. make sure nothing is blocked from firewall");
define('lang_Upload_base_help', "Drag & Drop file/s inside above area or click in it (for modern browsers) otherwise select the file and click on button. When the upload end, click on upper return button.");
define('lang_Type_dir', 'dir');
define('lang_Type', 'Type');
define('lang_Dimension', 'Dimension');
define('lang_Size', 'Size');
define('lang_Date', 'Date');
define('lang_Filename', 'Name');
define('lang_Operations', 'Operations');
define('lang_Date_type', 'y-m-d');
define('lang_OK', 'OK');
define('lang_Cancel', 'Cancel');
define('lang_Sorting', 'sorting');
define('lang_Show_url', 'show URL');
define('lang_Extract', 'extract here');
define('lang_File_info', 'file info');
define('lang_Edit_image', 'edit image');
define('lang_Duplicate', 'Duplicate');

View File

@ -1,58 +1,57 @@
<?php
define('lang_Select','Выбрать');
define('lang_Erase','Удалить');
define('lang_Open','Открыть');
define('lang_Confirm_del','Уверены, что хотите удалить этот файл?');
define('lang_All','Все');
define('lang_Files','Файлы');
define('lang_Images','Изображения');
define('lang_Archives','Архивы');
define('lang_Error_Upload','Загружаемый файл превышает допустимый размер.');
define('lang_Error_extension','Недопустимый формат файла.');
define('lang_Upload_file','Загрузить файл');
define('lang_Filters','Фильтр');
define('lang_Videos','Видео');
define('lang_Music','Музыка');
define('lang_New_Folder','New folder');
define('lang_Folder_Created','Папка успешно создана');
define('lang_Existing_Folder','Существующая папка');
define('lang_Confirm_Folder_del','Уверены, что хотите удалить эту папку и все файлы в ней?');
define('lang_Return_Files_List','Вернуться к списку файлов');
define('lang_Preview','Просмотр');
define('lang_Download','Загрузить');
define('lang_Insert_Folder_Name','Введите имя папки:');
define('lang_Root','Корневая папка');
define('lang_Rename','Переименовать');
define('lang_Back','назад');
define('lang_View','Вид');
define('lang_View_list','Список');
define('lang_View_columns_list','Столбцы');
define('lang_View_boxes','Плитка');
define('lang_Toolbar','Панель');
define('lang_Actions','Действия');
define('lang_Rename_existing_file','Файл уже существует');
define('lang_Rename_existing_folder','Папка уже существует');
define('lang_Empty_name','Не заполнено имя');
define('lang_Text_filter','фильтр');
define('lang_Swipe_help','Наведите на имя файла/папки, чтобы увидеть опции');
define('lang_Upload_base','Основная загрузка');
define('lang_Upload_java','JAVA загрузка (для файлов больших размеров)');
define('lang_Upload_java_help',"Если Java-апплет не загружается: 1. Убедитесь, что установлена Java, в противном случае <a href='http://java.com/en/download/'>[скачайте]</a> 2. Убедитесь, что фаервол ничего не блокирует");
define('lang_Upload_base_help',"Перетащите файлы в область выше или щелкните по ней мышкой (для современных браузеров) и выберите файл(ы). После завершения загрузки нажмите кнопку &laquo;Вернуться к списку файлов&raquo;.");
define('lang_Type_dir','папка');
define('lang_Type','Тип');
define('lang_Dimension','Разрешение');
define('lang_Size','Размер');
define('lang_Date','Дата');
define('lang_Filename','Имя&nbsp;файла');
define('lang_Operations','Действие');
define('lang_Date_type','y-m-d');
define('lang_OK','OK');
define('lang_Cancel','Отмена');
define('lang_Sorting','Сортировка');
define('lang_Show_url','Показать URL');
define('lang_Extract','Распаковать здесь');
define('lang_File_info','Свойства файла');
define('lang_Edit_image','Редактировать');
define('lang_Duplicate','Duplicate');
?>
define('lang_Select', 'Выбрать');
define('lang_Erase', 'Удалить');
define('lang_Open', 'Открыть');
define('lang_Confirm_del', 'Уверены, что хотите удалить этот файл?');
define('lang_All', 'Все');
define('lang_Files', 'Файлы');
define('lang_Images', 'Изображения');
define('lang_Archives', 'Архивы');
define('lang_Error_Upload', 'Загружаемый файл превышает допустимый размер.');
define('lang_Error_extension', 'Недопустимый формат файла.');
define('lang_Upload_file', 'Загрузить файл');
define('lang_Filters', 'Фильтр');
define('lang_Videos', 'Видео');
define('lang_Music', 'Музыка');
define('lang_New_Folder', 'New folder');
define('lang_Folder_Created', 'Папка успешно создана');
define('lang_Existing_Folder', 'Существующая папка');
define('lang_Confirm_Folder_del', 'Уверены, что хотите удалить эту папку и все файлы в ней?');
define('lang_Return_Files_List', 'Вернуться к списку файлов');
define('lang_Preview', 'Просмотр');
define('lang_Download', 'Загрузить');
define('lang_Insert_Folder_Name', 'Введите имя папки:');
define('lang_Root', 'Корневая папка');
define('lang_Rename', 'Переименовать');
define('lang_Back', 'назад');
define('lang_View', 'Вид');
define('lang_View_list', 'Список');
define('lang_View_columns_list', 'Столбцы');
define('lang_View_boxes', 'Плитка');
define('lang_Toolbar', 'Панель');
define('lang_Actions', 'Действия');
define('lang_Rename_existing_file', 'Файл уже существует');
define('lang_Rename_existing_folder', 'Папка уже существует');
define('lang_Empty_name', 'Не заполнено имя');
define('lang_Text_filter', 'фильтр');
define('lang_Swipe_help', 'Наведите на имя файла/папки, чтобы увидеть опции');
define('lang_Upload_base', 'Основная загрузка');
define('lang_Upload_java', 'JAVA загрузка (для файлов больших размеров)');
define('lang_Upload_java_help', "Если Java-апплет не загружается: 1. Убедитесь, что установлена Java, в противном случае <a href='http://java.com/en/download/'>[скачайте]</a> 2. Убедитесь, что фаервол ничего не блокирует");
define('lang_Upload_base_help', "Перетащите файлы в область выше или щелкните по ней мышкой (для современных браузеров) и выберите файл(ы). После завершения загрузки нажмите кнопку &laquo;Вернуться к списку файлов&raquo;.");
define('lang_Type_dir', 'папка');
define('lang_Type', 'Тип');
define('lang_Dimension', 'Разрешение');
define('lang_Size', 'Размер');
define('lang_Date', 'Дата');
define('lang_Filename', 'Имя&nbsp;файла');
define('lang_Operations', 'Действие');
define('lang_Date_type', 'y-m-d');
define('lang_OK', 'OK');
define('lang_Cancel', 'Отмена');
define('lang_Sorting', 'Сортировка');
define('lang_Show_url', 'Показать URL');
define('lang_Extract', 'Распаковать здесь');
define('lang_File_info', 'Свойства файла');
define('lang_Edit_image', 'Редактировать');
define('lang_Duplicate', 'Duplicate');

View File

@ -1,59 +1,57 @@
<?php
define('lang_Select','Välj'); // Select
define('lang_Erase','Radera'); // Erase
define('lang_Open','Öppna'); // Open
define('lang_Confirm_del','Är du säker på att du vill radera denna fil?'); //Are you sure you want to delete this file?
define('lang_All','Alla'); // All
define('lang_Files','Filer'); // Files
define('lang_Images','Bilder'); // Images
define('lang_Archives','Arkiv'); // Archives
define('lang_Error_Upload','Den uppladdade filen överskrider max storleken.'); // The uploaded file exceeds the max size allowed.
define('lang_Error_extension','Filtypen är ej tillåten.'); // File extension is not allowed.
define('lang_Upload_file','Ladda upp'); // Upload
define('lang_Filters','Filter'); // Filters
define('lang_Videos','Videor'); // Videos
define('lang_Music','Musik'); // Music
define('lang_New_Folder','Ny katalog'); // New Folder
define('lang_Folder_Created','Katalogen har skapats'); // Folder correctly created
define('lang_Existing_Folder','Befintlig katalog'); // Existing folder
define('lang_Confirm_Folder_del','Är du säker på att du vill radera denna katalog samt dess innehåll?'); // Are you sure to delete the folder and all the elements in it?
define('lang_Return_Files_List','Tillbaka till filvisaren'); // Return to files list
define('lang_Preview','Förhandsgranska'); // Preview
define('lang_Download','Ladda hem'); // Download
define('lang_Insert_Folder_Name','Ange katalog namn:'); // Insert folder name:
define('lang_Root','root'); // root
define('lang_Rename','Byt namn'); // Rename
define('lang_Back','tillbaka'); // back
define('lang_View','Visa'); // View
define('lang_View_list','Listvy'); // List view
define('lang_View_columns_list','Columnvy'); // Columns list view
define('lang_View_boxes','Boxvy'); // Box view
define('lang_Toolbar','Verktygsfält'); // Toolbar
define('lang_Actions','Åtgärder'); // Actions
define('lang_Rename_existing_file','Det finns redan en fil med det namnet'); // The file is already existing
define('lang_Rename_existing_folder','Det finns redan en katalog med det namnet'); // The folder is already existing
define('lang_Empty_name','Du har ej angivet något namn'); // The name is empty
define('lang_Text_filter','text filter'); // text filter
define('lang_Swipe_help','Svep över filnamnet/katalognamnet för att visa åtgärder'); // Swipe the name of file/folder to show options
define('lang_Upload_base','Basal uppladdning'); // Base upload
define('lang_Upload_java','JAVA uppladdning (för stora filer)'); // JAVA upload (big size files)
define('lang_Upload_java_help',"Om Java Appleten inte laddar, 1. säkerställ att Java är installerat, <a href='http://java.com/en/download/'>ladda hem</a> och installera om det saknas 2. säkerställ att programmet inte blokeras av din brandvägg"); // If the Java Applet doesn't load, 1. make sure you have Java installed, otherwise <a href='http://java.com/en/download/'>[download link]</a> 2. make sure nothing is blocked by your firewall
define('lang_Upload_base_help',"Dra och släpa filer eller klicka ovan och välj en eller flera filer. När uppladningen är klar, klicka på 'Tillbaka till filvisaren' knappen."); // Drag & Drop files or click in the area above (modern browsers) and select the file(s). When the upload is complete, click the 'Return to files list' button.
define('lang_Type_dir','katalog'); // dir
define('lang_Type','Typ'); // Type
define('lang_Dimension','Dimension'); // Dimension
define('lang_Size','Storlek'); // Size
define('lang_Date','Datum'); // Date
define('lang_Filename','Filname'); // Filename
define('lang_Operations','Handlingar'); // Operations
define('lang_Date_type','y-m-d'); // y-m-d
define('lang_OK','OK'); // OK
define('lang_Cancel','Avbryt'); // Cancel
define('lang_Sorting','sortering'); // sorting
define('lang_Show_url','visa sökväg'); // show URL
define('lang_Extract','packa upp här'); // extract here
define('lang_File_info','fil information'); // file info
define('lang_Edit_image','editera bild'); // edit image
define('lang_Duplicate','Duplicera'); // Duplicate
?>
define('lang_Select', 'Välj'); // Select
define('lang_Erase', 'Radera'); // Erase
define('lang_Open', 'Öppna'); // Open
define('lang_Confirm_del', 'Är du säker på att du vill radera denna fil?'); //Are you sure you want to delete this file?
define('lang_All', 'Alla'); // All
define('lang_Files', 'Filer'); // Files
define('lang_Images', 'Bilder'); // Images
define('lang_Archives', 'Arkiv'); // Archives
define('lang_Error_Upload', 'Den uppladdade filen överskrider max storleken.'); // The uploaded file exceeds the max size allowed.
define('lang_Error_extension', 'Filtypen är ej tillåten.'); // File extension is not allowed.
define('lang_Upload_file', 'Ladda upp'); // Upload
define('lang_Filters', 'Filter'); // Filters
define('lang_Videos', 'Videor'); // Videos
define('lang_Music', 'Musik'); // Music
define('lang_New_Folder', 'Ny katalog'); // New Folder
define('lang_Folder_Created', 'Katalogen har skapats'); // Folder correctly created
define('lang_Existing_Folder', 'Befintlig katalog'); // Existing folder
define('lang_Confirm_Folder_del', 'Är du säker på att du vill radera denna katalog samt dess innehåll?'); // Are you sure to delete the folder and all the elements in it?
define('lang_Return_Files_List', 'Tillbaka till filvisaren'); // Return to files list
define('lang_Preview', 'Förhandsgranska'); // Preview
define('lang_Download', 'Ladda hem'); // Download
define('lang_Insert_Folder_Name', 'Ange katalog namn:'); // Insert folder name:
define('lang_Root', 'root'); // root
define('lang_Rename', 'Byt namn'); // Rename
define('lang_Back', 'tillbaka'); // back
define('lang_View', 'Visa'); // View
define('lang_View_list', 'Listvy'); // List view
define('lang_View_columns_list', 'Columnvy'); // Columns list view
define('lang_View_boxes', 'Boxvy'); // Box view
define('lang_Toolbar', 'Verktygsfält'); // Toolbar
define('lang_Actions', 'Åtgärder'); // Actions
define('lang_Rename_existing_file', 'Det finns redan en fil med det namnet'); // The file is already existing
define('lang_Rename_existing_folder', 'Det finns redan en katalog med det namnet'); // The folder is already existing
define('lang_Empty_name', 'Du har ej angivet något namn'); // The name is empty
define('lang_Text_filter', 'text filter'); // text filter
define('lang_Swipe_help', 'Svep över filnamnet/katalognamnet för att visa åtgärder'); // Swipe the name of file/folder to show options
define('lang_Upload_base', 'Basal uppladdning'); // Base upload
define('lang_Upload_java', 'JAVA uppladdning (för stora filer)'); // JAVA upload (big size files)
define('lang_Upload_java_help', "Om Java Appleten inte laddar, 1. säkerställ att Java är installerat, <a href='http://java.com/en/download/'>ladda hem</a> och installera om det saknas 2. säkerställ att programmet inte blokeras av din brandvägg"); // If the Java Applet doesn't load, 1. make sure you have Java installed, otherwise <a href='http://java.com/en/download/'>[download link]</a> 2. make sure nothing is blocked by your firewall
define('lang_Upload_base_help', "Dra och släpa filer eller klicka ovan och välj en eller flera filer. När uppladningen är klar, klicka på 'Tillbaka till filvisaren' knappen."); // Drag & Drop files or click in the area above (modern browsers) and select the file(s). When the upload is complete, click the 'Return to files list' button.
define('lang_Type_dir', 'katalog'); // dir
define('lang_Type', 'Typ'); // Type
define('lang_Dimension', 'Dimension'); // Dimension
define('lang_Size', 'Storlek'); // Size
define('lang_Date', 'Datum'); // Date
define('lang_Filename', 'Filname'); // Filename
define('lang_Operations', 'Handlingar'); // Operations
define('lang_Date_type', 'y-m-d'); // y-m-d
define('lang_OK', 'OK'); // OK
define('lang_Cancel', 'Avbryt'); // Cancel
define('lang_Sorting', 'sortering'); // sorting
define('lang_Show_url', 'visa sökväg'); // show URL
define('lang_Extract', 'packa upp här'); // extract here
define('lang_File_info', 'fil information'); // file info
define('lang_Edit_image', 'editera bild'); // edit image
define('lang_Duplicate', 'Duplicera'); // Duplicate

View File

@ -1,59 +1,57 @@
<?php
define('lang_Select','Vybrať');
define('lang_Erase','Odstrániť');
define('lang_Open','Otvoriť');
define('lang_Confirm_del','Naozaj chcete vymazať tento súbor?');
define('lang_All','Všetky');
define('lang_Files','Súbory');
define('lang_Images','Obrázky');
define('lang_Archives','Archívy');
define('lang_Error_Upload','Súbor presahuje maximálnu veľkosť.');
define('lang_Error_extension','Typ súboru nie je podporovaný.');
define('lang_Upload_file','Súbor');
define('lang_Filters','Filtrovať');
define('lang_Videos','Videá');
define('lang_Music','Hudba');
define('lang_New_Folder','Priečinok');
define('lang_Folder_Created','Priečinok bol vytvorený');
define('lang_Existing_Folder','Priečinok už existuje');
define('lang_Confirm_Folder_del','Naozaj chcete vymazať priečinok a odstrániť tak všetky súbory v ňom?');
define('lang_Return_Files_List','Späť na zoznam súborov');
define('lang_Preview','Náhľad');
define('lang_Download','Prevziať');
define('lang_Insert_Folder_Name','Názov priečinku:');
define('lang_Root','root');
define('lang_Rename','Premenovať');
define('lang_Back','späť');
define('lang_View','Zobraziť');
define('lang_View_list','Zoznam');
define('lang_View_columns_list','Stĺpce');
define('lang_View_boxes','Ikony');
define('lang_Toolbar','Nástroje');
define('lang_Actions','Pridať');
define('lang_Rename_existing_file','Súbor už existuje');
define('lang_Rename_existing_folder','Priečinok už existuje');
define('lang_Empty_name','Názov je prázdny');
define('lang_Text_filter','Vyhľadať');
define('lang_Swipe_help','Pre viac možností prejdite myšou na súboru/priečinok');
define('lang_Upload_base','Klasické nahratie súborov');
define('lang_Upload_java','Nahrať súbory cez JAVA (veľké súbory)');
define('lang_Upload_java_help',"Ak sa vám nezobrazí Java Applet, 1. uistite sa, že máte nainštalovanú Javu, (<a href='http://java.com/en/download/'>[prevziať]</a>) 2. uistite sa, že nie je zablokovaná cez Firewall");
define('lang_Upload_base_help',"Myšou presuňte súbory alebo kliknite na určenú plochu a vyberte súbory. Keď je nahrávanie dokončené, kliknite na tlačidlo 'Späť na zoznam súborov'.");
define('lang_Type_dir','dir');
define('lang_Type','Typ');
define('lang_Dimension','Rozlíšenie');
define('lang_Size','Veľkosť');
define('lang_Date','Dátum');
define('lang_Filename','Názov');
define('lang_Operations','Operácie');
define('lang_Date_type','d.m.Y');
define('lang_OK','OK');
define('lang_Cancel','Zrušiť');
define('lang_Sorting','Zoradiť');
define('lang_Show_url','Zobraziť URL');
define('lang_Extract','Rozbaliť sem');
define('lang_File_info','Informácie o súbore');
define('lang_Edit_image','Upraviť obrázok');
define('lang_Duplicate','Duplikovať');
?>
define('lang_Select', 'Vybrať');
define('lang_Erase', 'Odstrániť');
define('lang_Open', 'Otvoriť');
define('lang_Confirm_del', 'Naozaj chcete vymazať tento súbor?');
define('lang_All', 'Všetky');
define('lang_Files', 'Súbory');
define('lang_Images', 'Obrázky');
define('lang_Archives', 'Archívy');
define('lang_Error_Upload', 'Súbor presahuje maximálnu veľkosť.');
define('lang_Error_extension', 'Typ súboru nie je podporovaný.');
define('lang_Upload_file', 'Súbor');
define('lang_Filters', 'Filtrovať');
define('lang_Videos', 'Videá');
define('lang_Music', 'Hudba');
define('lang_New_Folder', 'Priečinok');
define('lang_Folder_Created', 'Priečinok bol vytvorený');
define('lang_Existing_Folder', 'Priečinok už existuje');
define('lang_Confirm_Folder_del', 'Naozaj chcete vymazať priečinok a odstrániť tak všetky súbory v ňom?');
define('lang_Return_Files_List', 'Späť na zoznam súborov');
define('lang_Preview', 'Náhľad');
define('lang_Download', 'Prevziať');
define('lang_Insert_Folder_Name', 'Názov priečinku:');
define('lang_Root', 'root');
define('lang_Rename', 'Premenovať');
define('lang_Back', 'späť');
define('lang_View', 'Zobraziť');
define('lang_View_list', 'Zoznam');
define('lang_View_columns_list', 'Stĺpce');
define('lang_View_boxes', 'Ikony');
define('lang_Toolbar', 'Nástroje');
define('lang_Actions', 'Pridať');
define('lang_Rename_existing_file', 'Súbor už existuje');
define('lang_Rename_existing_folder', 'Priečinok už existuje');
define('lang_Empty_name', 'Názov je prázdny');
define('lang_Text_filter', 'Vyhľadať');
define('lang_Swipe_help', 'Pre viac možností prejdite myšou na súboru/priečinok');
define('lang_Upload_base', 'Klasické nahratie súborov');
define('lang_Upload_java', 'Nahrať súbory cez JAVA (veľké súbory)');
define('lang_Upload_java_help', "Ak sa vám nezobrazí Java Applet, 1. uistite sa, že máte nainštalovanú Javu, (<a href='http://java.com/en/download/'>[prevziať]</a>) 2. uistite sa, že nie je zablokovaná cez Firewall");
define('lang_Upload_base_help', "Myšou presuňte súbory alebo kliknite na určenú plochu a vyberte súbory. Keď je nahrávanie dokončené, kliknite na tlačidlo 'Späť na zoznam súborov'.");
define('lang_Type_dir', 'dir');
define('lang_Type', 'Typ');
define('lang_Dimension', 'Rozlíšenie');
define('lang_Size', 'Veľkosť');
define('lang_Date', 'Dátum');
define('lang_Filename', 'Názov');
define('lang_Operations', 'Operácie');
define('lang_Date_type', 'd.m.Y');
define('lang_OK', 'OK');
define('lang_Cancel', 'Zrušiť');
define('lang_Sorting', 'Zoradiť');
define('lang_Show_url', 'Zobraziť URL');
define('lang_Extract', 'Rozbaliť sem');
define('lang_File_info', 'Informácie o súbore');
define('lang_Edit_image', 'Upraviť obrázok');
define('lang_Duplicate', 'Duplikovať');

View File

@ -1,58 +1,57 @@
<?php
define('lang_Select','Seç');
define('lang_Erase','Sil');
define('lang_Open','Aç');
define('lang_Confirm_del','Bu dosyayı silmek istediğinizden emin misiniz?');
define('lang_All','Tümü');
define('lang_Files','Dosyalar');
define('lang_Images','Resimler');
define('lang_Archives','Arşivler');
define('lang_Error_Upload','Yüklemeye çalıştığınız dosya maximum yükleme limitini aştı.');
define('lang_Error_extension','Dosya uzantısı izni yok.');
define('lang_Upload_file','Dosya Yükle');
define('lang_Filters','Filtreler');
define('lang_Videos','Videolar');
define('lang_Music','Müzikler');
define('lang_New_Folder','Yeni Klasör');
define('lang_Folder_Created','Klasör başarıyla oluşturuldu.');
define('lang_Existing_Folder','Mevcut klasör');
define('lang_Confirm_Folder_del','Bu klasörü ve içindekileri silmek istediğinizden emin misiniz?');
define('lang_Return_Files_List','Dosya listesine geri dön');
define('lang_Preview','Önizleme');
define('lang_Download','İndir');
define('lang_Insert_Folder_Name','Klasör adı ekle:');
define('lang_Root','kök');
define('lang_Rename','Yeniden Adlandır');
define('lang_Back','geri');
define('lang_View','Görünüm');
define('lang_View_list','Liste görünümü');
define('lang_View_columns_list','Kolonlu liste görünümü');
define('lang_View_boxes','Kutu görünümü');
define('lang_Toolbar','Araç Çubuğu');
define('lang_Actions','Eylemler');
define('lang_Rename_existing_file','Bu dosya zaten mevcut');
define('lang_Rename_existing_folder','Bu klasör zaten mevcut');
define('lang_Empty_name','İsim alanı boş.');
define('lang_Text_filter','filtrele...');
define('lang_Swipe_help','Seçenekleri görüntülemek için dosya/klasör ismine tıklayın');
define('lang_Upload_base','Normal Yükleme');
define('lang_Upload_java','JAVA Yükleme (Büyük dosyalar için)');
define('lang_Upload_java_help',"Eğer Java uygulaması yüklenmediyse; 1- Bilgisayarınızda Java yüklü olduğundan emin olun yada <a href='http://java.com/en/download/'>[Java'yı Buradan İndirin]</a> 2- Güvenlik duvarının hiçbir şeye engel olmadığından emin olun.");
define('lang_Upload_base_help',"Dosyaları aşağıdaki alana Taşı & Bırak veya tıklayarak açılan pencereden dosyalarınızı seçin. Yükleme bittiğinde 'Return to files list' butonuna tıklayın.");
define('lang_Type_dir','dizin');
define('lang_Type','Tür');
define('lang_Dimension','Ebat');
define('lang_Size','Boyut');
define('lang_Date','Tarih');
define('lang_Filename','Dosya adı');
define('lang_Operations','İşlemler');
define('lang_Date_type','d-m-Y');
define('lang_OK','Tamam');
define('lang_Cancel','İptal');
define('lang_Sorting','sıralama');
define('lang_Show_url','URL göster');
define('lang_Extract','buraya çıkart');
define('lang_File_info','dosya bilgisi');
define('lang_Edit_image','resmi düzenle');
define('lang_Duplicate','Çoğalt');
?>
define('lang_Select', 'Seç');
define('lang_Erase', 'Sil');
define('lang_Open', 'Aç');
define('lang_Confirm_del', 'Bu dosyayı silmek istediğinizden emin misiniz?');
define('lang_All', 'Tümü');
define('lang_Files', 'Dosyalar');
define('lang_Images', 'Resimler');
define('lang_Archives', 'Arşivler');
define('lang_Error_Upload', 'Yüklemeye çalıştığınız dosya maximum yükleme limitini aştı.');
define('lang_Error_extension', 'Dosya uzantısı izni yok.');
define('lang_Upload_file', 'Dosya Yükle');
define('lang_Filters', 'Filtreler');
define('lang_Videos', 'Videolar');
define('lang_Music', 'Müzikler');
define('lang_New_Folder', 'Yeni Klasör');
define('lang_Folder_Created', 'Klasör başarıyla oluşturuldu.');
define('lang_Existing_Folder', 'Mevcut klasör');
define('lang_Confirm_Folder_del', 'Bu klasörü ve içindekileri silmek istediğinizden emin misiniz?');
define('lang_Return_Files_List', 'Dosya listesine geri dön');
define('lang_Preview', 'Önizleme');
define('lang_Download', 'İndir');
define('lang_Insert_Folder_Name', 'Klasör adı ekle:');
define('lang_Root', 'kök');
define('lang_Rename', 'Yeniden Adlandır');
define('lang_Back', 'geri');
define('lang_View', 'Görünüm');
define('lang_View_list', 'Liste görünümü');
define('lang_View_columns_list', 'Kolonlu liste görünümü');
define('lang_View_boxes', 'Kutu görünümü');
define('lang_Toolbar', 'Araç Çubuğu');
define('lang_Actions', 'Eylemler');
define('lang_Rename_existing_file', 'Bu dosya zaten mevcut');
define('lang_Rename_existing_folder', 'Bu klasör zaten mevcut');
define('lang_Empty_name', 'İsim alanı boş.');
define('lang_Text_filter', 'filtrele...');
define('lang_Swipe_help', 'Seçenekleri görüntülemek için dosya/klasör ismine tıklayın');
define('lang_Upload_base', 'Normal Yükleme');
define('lang_Upload_java', 'JAVA Yükleme (Büyük dosyalar için)');
define('lang_Upload_java_help', "Eğer Java uygulaması yüklenmediyse; 1- Bilgisayarınızda Java yüklü olduğundan emin olun yada <a href='http://java.com/en/download/'>[Java'yı Buradan İndirin]</a> 2- Güvenlik duvarının hiçbir şeye engel olmadığından emin olun.");
define('lang_Upload_base_help', "Dosyaları aşağıdaki alana Taşı & Bırak veya tıklayarak açılan pencereden dosyalarınızı seçin. Yükleme bittiğinde 'Return to files list' butonuna tıklayın.");
define('lang_Type_dir', 'dizin');
define('lang_Type', 'Tür');
define('lang_Dimension', 'Ebat');
define('lang_Size', 'Boyut');
define('lang_Date', 'Tarih');
define('lang_Filename', 'Dosya adı');
define('lang_Operations', 'İşlemler');
define('lang_Date_type', 'd-m-Y');
define('lang_OK', 'Tamam');
define('lang_Cancel', 'İptal');
define('lang_Sorting', 'sıralama');
define('lang_Show_url', 'URL göster');
define('lang_Extract', 'buraya çıkart');
define('lang_File_info', 'dosya bilgisi');
define('lang_Edit_image', 'resmi düzenle');
define('lang_Duplicate', 'Çoğalt');

View File

@ -1,58 +1,57 @@
<?php
define('lang_Select','Вибрати');
define('lang_Erase','Видалити');
define('lang_Open','Відкрити');
define('lang_Confirm_del','Впевнені, що хочете видалити цей файл?');
define('lang_All','Всі');
define('lang_Files','Файли');
define('lang_Images','Зображення');
define('lang_Archives','Архіви');
define('lang_Error_Upload','Файл, що завантажується перевищує дозволений розмір.');
define('lang_Error_extension','Неприпустимий формат файлу.');
define('lang_Upload_file','Завантажити файл');
define('lang_Filters','Фільтр');
define('lang_Videos','Відео');
define('lang_Music','Музика');
define('lang_New_Folder','Нова папка');
define('lang_Folder_Created','Папку успішно створено');
define('lang_Existing_Folder','Існуюча папка');
define('lang_Confirm_Folder_del','Впевнені, що хочете видалити цю папку і всі файли в ній?');
define('lang_Return_Files_List','Повернутися до списку файлів');
define('lang_Preview','Перегляд');
define('lang_Download','Завантажити');
define('lang_Insert_Folder_Name','Введіть ім`я папки:');
define('lang_Root','Коренева папка');
define('lang_Rename','Переіменувати');
define('lang_Back','назад');
define('lang_View','Вигляд');
define('lang_View_list','Список');
define('lang_View_columns_list','Стовпчики');
define('lang_View_boxes','Плиткою');
define('lang_Toolbar','Панель');
define('lang_Actions','Дії');
define('lang_Rename_existing_file','Файл вже існує');
define('lang_Rename_existing_folder','Папка вже існує');
define('lang_Empty_name','Не заповнено ім`я');
define('lang_Text_filter','фільтр');
define('lang_Swipe_help','Наведіть на ім`я файлу/папки, щоб побачити опції');
define('lang_Upload_base','Основне завантаження');
define('lang_Upload_java','JAVA-завантаження (для файлів великих розмірів)');
define('lang_Upload_java_help',"Якщо Java-апплет не завантажується: 1. переконайтесь, що Java встановлено на вашому комп`ютері, інакше <a href='http://java.com/en/download/'>[завантажте]</a> 2. переконайтесь, що фаєрвол нічого не блокує");
define('lang_Upload_base_help',"Перетягніть файли в область, що вище або клікніть по ній мишкою (для сучасних браузерів), в іншому разі виберіть файл та натисніть кнопку. Коли завантаження закінчиться - натисніть кнопку повернення.");
define('lang_Type_dir','папка');
define('lang_Type','Тип');
define('lang_Dimension','Розмір');
define('lang_Size','Об`єм');
define('lang_Date','Дата');
define('lang_Filename','Ім`я файлу');
define('lang_Operations','Дії');
define('lang_Date_type','р-м-д');
define('lang_OK','OK');
define('lang_Cancel','Відміна');
define('lang_Sorting','Сортування');
define('lang_Show_url','show URL');
define('lang_Extract','extract here');
define('lang_File_info','file info');
define('lang_Edit_image','edit image');
define('lang_Duplicate','Duplicate');
?>
define('lang_Select', 'Вибрати');
define('lang_Erase', 'Видалити');
define('lang_Open', 'Відкрити');
define('lang_Confirm_del', 'Впевнені, що хочете видалити цей файл?');
define('lang_All', 'Всі');
define('lang_Files', 'Файли');
define('lang_Images', 'Зображення');
define('lang_Archives', 'Архіви');
define('lang_Error_Upload', 'Файл, що завантажується перевищує дозволений розмір.');
define('lang_Error_extension', 'Неприпустимий формат файлу.');
define('lang_Upload_file', 'Завантажити файл');
define('lang_Filters', 'Фільтр');
define('lang_Videos', 'Відео');
define('lang_Music', 'Музика');
define('lang_New_Folder', 'Нова папка');
define('lang_Folder_Created', 'Папку успішно створено');
define('lang_Existing_Folder', 'Існуюча папка');
define('lang_Confirm_Folder_del', 'Впевнені, що хочете видалити цю папку і всі файли в ній?');
define('lang_Return_Files_List', 'Повернутися до списку файлів');
define('lang_Preview', 'Перегляд');
define('lang_Download', 'Завантажити');
define('lang_Insert_Folder_Name', 'Введіть ім`я папки:');
define('lang_Root', 'Коренева папка');
define('lang_Rename', 'Переіменувати');
define('lang_Back', 'назад');
define('lang_View', 'Вигляд');
define('lang_View_list', 'Список');
define('lang_View_columns_list', 'Стовпчики');
define('lang_View_boxes', 'Плиткою');
define('lang_Toolbar', 'Панель');
define('lang_Actions', 'Дії');
define('lang_Rename_existing_file', 'Файл вже існує');
define('lang_Rename_existing_folder', 'Папка вже існує');
define('lang_Empty_name', 'Не заповнено ім`я');
define('lang_Text_filter', 'фільтр');
define('lang_Swipe_help', 'Наведіть на ім`я файлу/папки, щоб побачити опції');
define('lang_Upload_base', 'Основне завантаження');
define('lang_Upload_java', 'JAVA-завантаження (для файлів великих розмірів)');
define('lang_Upload_java_help', "Якщо Java-апплет не завантажується: 1. переконайтесь, що Java встановлено на вашому комп`ютері, інакше <a href='http://java.com/en/download/'>[завантажте]</a> 2. переконайтесь, що фаєрвол нічого не блокує");
define('lang_Upload_base_help', "Перетягніть файли в область, що вище або клікніть по ній мишкою (для сучасних браузерів), в іншому разі виберіть файл та натисніть кнопку. Коли завантаження закінчиться - натисніть кнопку повернення.");
define('lang_Type_dir', 'папка');
define('lang_Type', 'Тип');
define('lang_Dimension', 'Розмір');
define('lang_Size', 'Об`єм');
define('lang_Date', 'Дата');
define('lang_Filename', 'Ім`я файлу');
define('lang_Operations', 'Дії');
define('lang_Date_type', 'р-м-д');
define('lang_OK', 'OK');
define('lang_Cancel', 'Відміна');
define('lang_Sorting', 'Сортування');
define('lang_Show_url', 'show URL');
define('lang_Extract', 'extract here');
define('lang_File_info', 'file info');
define('lang_Edit_image', 'edit image');
define('lang_Duplicate', 'Duplicate');

View File

@ -1,6 +1,8 @@
<?php
include('config/config.php');
if ($_SESSION['verify'] != 'RESPONSIVEfilemanager') die('forbiden');
if ($_SESSION['verify'] != 'RESPONSIVEfilemanager') {
die('forbiden');
}
include('include/utils.php');
$_POST['path'] = $current_path.str_replace('\0', '', $_POST['path']);
@ -14,30 +16,29 @@ $thumb_pos = strpos($_POST['path_thumb'], $thumbs_base_path);
if ($path_pos === false || $thumb_pos === false
|| preg_match('/\.{1,2}[\/|\\\]/', $_POST['path_thumb']) !== 0
|| preg_match('/\.{1,2}[\/|\\\]/', $_POST['path']) !== 0)
|| preg_match('/\.{1,2}[\/|\\\]/', $_POST['path']) !== 0) {
die('wrong path');
}
$path = $storeFolder;
$cycle = true;
$max_cycles = 50;
$i = 0;
while ($cycle && $i < $max_cycles)
{
while ($cycle && $i < $max_cycles) {
$i++;
if ($path == $current_path) $cycle = false;
if (file_exists($path.'config.php'))
{
if ($path == $current_path) {
$cycle = false;
}
if (file_exists($path.'config.php')) {
require_once($path.'config.php');
$cycle = false;
}
$path = fix_dirname($path).'/';
}
if (!empty($_FILES))
{
if (!empty($_FILES)) {
$info = pathinfo($_FILES['file']['name']);
if (isset($info['extension']) && in_array(fix_strtolower($info['extension']), $ext))
{
if (isset($info['extension']) && in_array(fix_strtolower($info['extension']), $ext)) {
$tempFile = $_FILES['file']['tmp_name'];
$targetPath = $storeFolder;
@ -48,12 +49,10 @@ if (!empty($_FILES))
array_pop($file_name_splitted);
$_FILES['file']['name'] = implode('-', $file_name_splitted).'.'.$info['extension'];
if (file_exists($targetPath.$_FILES['file']['name']))
{
if (file_exists($targetPath.$_FILES['file']['name'])) {
$i = 1;
$info = pathinfo($_FILES['file']['name']);
while (file_exists($targetPath.$info['filename'].'_'.$i.'.'.$info['extension']))
{
while (file_exists($targetPath.$info['filename'].'_'.$i.'.'.$info['extension'])) {
$i++;
}
$_FILES['file']['name'] = $info['filename'].'_'.$i.'.'.$info['extension'];
@ -61,88 +60,78 @@ if (!empty($_FILES))
$targetFile = $targetPath.$_FILES['file']['name'];
$targetFileThumb = $targetPathThumb.$_FILES['file']['name'];
if (in_array(fix_strtolower($info['extension']), $ext_img) && @getimagesize($tempFile) != false)
if (in_array(fix_strtolower($info['extension']), $ext_img) && @getimagesize($tempFile) != false) {
$is_img = true;
else
} else {
$is_img = false;
}
if ($is_img)
{
if ($is_img) {
move_uploaded_file($tempFile, $targetFile);
chmod($targetFile, 0755);
$memory_error = false;
if (!create_img_gd($targetFile, $targetFileThumb, 122, 91))
if (!create_img_gd($targetFile, $targetFileThumb, 122, 91)) {
$memory_error = false;
else
{
if (!new_thumbnails_creation($targetPath, $targetFile, $_FILES['file']['name'], $current_path, $relative_image_creation, $relative_path_from_current_pos, $relative_image_creation_name_to_prepend, $relative_image_creation_name_to_append, $relative_image_creation_width, $relative_image_creation_height, $fixed_image_creation, $fixed_path_from_filemanager, $fixed_image_creation_name_to_prepend, $fixed_image_creation_to_append, $fixed_image_creation_width, $fixed_image_creation_height))
} else {
if (!new_thumbnails_creation($targetPath, $targetFile, $_FILES['file']['name'], $current_path, $relative_image_creation, $relative_path_from_current_pos, $relative_image_creation_name_to_prepend, $relative_image_creation_name_to_append, $relative_image_creation_width, $relative_image_creation_height, $fixed_image_creation, $fixed_path_from_filemanager, $fixed_image_creation_name_to_prepend, $fixed_image_creation_to_append, $fixed_image_creation_width, $fixed_image_creation_height)) {
$memory_error = false;
else
{
} else {
$imginfo = getimagesize($targetFile);
$srcWidth = $imginfo[0];
$srcHeight = $imginfo[1];
if ($image_resizing)
{
if ($image_resizing_width == 0)
{
if ($image_resizing_height == 0)
{
if ($image_resizing) {
if ($image_resizing_width == 0) {
if ($image_resizing_height == 0) {
$image_resizing_width = $srcWidth;
$image_resizing_height = $srcHeight;
} else
} else {
$image_resizing_width = $image_resizing_height * $srcWidth / $srcHeight;
} elseif ($image_resizing_height == 0)
}
} elseif ($image_resizing_height == 0) {
$image_resizing_height = $image_resizing_width * $srcHeight / $srcWidth;
}
$srcWidth = $image_resizing_width;
$srcHeight = $image_resizing_height;
create_img_gd($targetFile, $targetFile, $image_resizing_width, $image_resizing_height);
}
//max resizing limit control
$resize = false;
if ($image_max_width != 0 && $srcWidth > $image_max_width)
{
if ($image_max_width != 0 && $srcWidth > $image_max_width) {
$resize = true;
$srcHeight = $image_max_width * $srcHeight / $srcWidth;
$srcWidth = $image_max_width;
}
if ($image_max_height != 0 && $srcHeight > $image_max_height)
{
if ($image_max_height != 0 && $srcHeight > $image_max_height) {
$resize = true;
$srcWidth = $image_max_height * $srcWidth / $srcHeight;
$srcHeight = $image_max_height;
}
if ($resize)
if ($resize) {
create_img_gd($targetFile, $targetFile, $srcWidth, $srcHeight);
}
}
if ($memory_error)
{
}
if ($memory_error) {
//error
unlink($targetFile);
header('HTTP/1.1 406 Not enought Memory', true, 406);
exit();
}
}
else
{
} else {
move_uploaded_file($tempFile, $targetFile);
chmod($targetFile, 0755);
}
} else
{
} else {
header('HTTP/1.1 406 file not permitted', true, 406);
exit();
}
} else
{
} else {
header('HTTP/1.1 405 Bad Request', true, 405);
exit();
}
if (isset($_POST['submit']))
{
if (isset($_POST['submit'])) {
$query = http_build_query(
array(
'type' => $_POST['type'],
@ -154,5 +143,3 @@ if (isset($_POST['submit']))
);
header('location: dialog.php?'.$query);
}
?>

View File

@ -23,12 +23,13 @@
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
if (!defined('_PS_ADMIN_DIR_'))
if (!defined('_PS_ADMIN_DIR_')) {
define('_PS_ADMIN_DIR_', getcwd());
}
require_once(_PS_ADMIN_DIR_.'/../images.inc.php');
function bindDatepicker($id, $time)
{
if ($time)
if ($time) {
echo '
var dateObj = new Date();
var hours = dateObj.getHours();
@ -38,6 +39,7 @@ function bindDatepicker($id, $time)
if (mins < 10) { mins = "0" + mins; }
if (secs < 10) { secs = "0" + secs; }
var time = " "+hours+":"+mins+":"+secs;';
}
echo '
$(function() {
@ -60,14 +62,17 @@ function includeDatepicker($id, $time = false)
echo '<link type="text/css" rel="stylesheet" href="'.__PS_BASE_URI__.'js/jquery/ui/themes/ui-lightness/jquery.ui.theme.css" />';
echo '<link type="text/css" rel="stylesheet" href="'.__PS_BASE_URI__.'js/jquery/ui/themes/ui-lightness/jquery.ui.datepicker.css" />';
$iso = Db::getInstance()->getValue('SELECT iso_code FROM '._DB_PREFIX_.'lang WHERE `id_lang` = '.(int)Context::getContext()->language->id);
if ($iso != 'en')
if ($iso != 'en') {
echo '<script type="text/javascript" src="'.__PS_BASE_URI__.'js/jquery/ui/i18n/jquery.ui.datepicker-'.Tools::htmlentitiesUTF8($iso).'.js"></script>';
}
echo '<script type="text/javascript">';
if (is_array($id))
foreach ($id as $id2)
if (is_array($id)) {
foreach ($id as $id2) {
bindDatepicker($id2, $time);
else
}
} else {
bindDatepicker($id, $time);
}
echo '</script>';
}
@ -93,22 +98,23 @@ function rewriteSettingsFile($base_urls = null, $theme = null, $array_db = null)
$defines['_COOKIE_IV_'] = addslashes(_COOKIE_IV_);
$defines['_PS_CREATION_DATE_'] = addslashes(_PS_CREATION_DATE_);
if (defined('_RIJNDAEL_KEY_'))
if (defined('_RIJNDAEL_KEY_')) {
$defines['_RIJNDAEL_KEY_'] = addslashes(_RIJNDAEL_KEY_);
if (defined('_RIJNDAEL_IV_'))
}
if (defined('_RIJNDAEL_IV_')) {
$defines['_RIJNDAEL_IV_'] = addslashes(_RIJNDAEL_IV_);
}
$defines['_PS_VERSION_'] = addslashes(_PS_VERSION_);
$content = "<?php\n\n";
foreach ($defines as $k => $value)
{
if ($k == '_PS_VERSION_')
foreach ($defines as $k => $value) {
if ($k == '_PS_VERSION_') {
$content .= 'if (!defined(\''.$k.'\'))'."\n\t";
}
$content .= 'define(\''.$k.'\', \''.addslashes($value).'\');'."\n";
}
copy(_PS_ADMIN_DIR_.'/../config/settings.inc.php', _PS_ADMIN_DIR_.'/../config/settings.old.php');
if ($fd = fopen(_PS_ADMIN_DIR_.'/../config/settings.inc.php', 'w'))
{
if ($fd = fopen(_PS_ADMIN_DIR_.'/../config/settings.inc.php', 'w')) {
fwrite($fd, $content);
fclose($fd);
return true;
@ -140,14 +146,12 @@ function displayDate($sql_date, $with_time = false)
function getPath($url_base, $id_category, $path = '', $highlight = '', $category_type = 'catalog', $home = false)
{
$context = Context::getContext();
if ($category_type == 'catalog')
{
if ($category_type == 'catalog') {
$category = Db::getInstance()->getRow('
SELECT id_category, level_depth, nleft, nright
FROM '._DB_PREFIX_.'category
WHERE id_category = '.(int)$id_category);
if (isset($category['id_category']))
{
if (isset($category['id_category'])) {
$sql = 'SELECT c.id_category, cl.name, cl.link_rewrite
FROM '._DB_PREFIX_.'category c
LEFT JOIN '._DB_PREFIX_.'category_lang cl ON (cl.id_category = c.id_category'.Shop::addSqlRestrictionOnLang('cl').')
@ -163,8 +167,7 @@ function getPath($url_base, $id_category, $path = '', $highlight = '', $category
$full_path = '';
$n = 1;
$n_categories = (int)count($categories);
foreach ($categories as $category)
{
foreach ($categories as $category) {
$link = Context::getContext()->link->getAdminLink('AdminCategories');
$edit = '<a href="'.Tools::safeOutput($link.'&id_category='.(int)$category['id_category'].'&'.(($category['id_category'] == 1 || $home) ? 'viewcategory' : 'updatecategory')).'" title="'.($category['id_category'] == Category::getRootCategory()->id_category ? 'Home' : 'Modify').'"><i class="icon-'.(($category['id_category'] == Category::getRootCategory()->id_category || $home) ? 'home' : 'pencil').'"></i></a> ';
$full_path .= $edit.
@ -176,23 +179,24 @@ function getPath($url_base, $id_category, $path = '', $highlight = '', $category
return $full_path.$path;
}
}
elseif ($category_type == 'cms')
{
} elseif ($category_type == 'cms') {
$category = new CMSCategory($id_category, $context->language->id);
if (!$category->id)
if (!$category->id) {
return $path;
}
$name = ($highlight != null) ? str_ireplace($highlight, '<span class="highlight">'.$highlight.'</span>', CMSCategory::hideCMSCategoryPosition($category->name)) : CMSCategory::hideCMSCategoryPosition($category->name);
$edit = '<a href="'.Tools::safeOutput($url_base.'&id_cms_category='.$category->id.'&addcategory&token='.Tools::getAdminToken('AdminCmsContent'.(int)Tab::getIdFromClassName('AdminCmsContent').(int)$context->employee->id)).'">
<i class="icon-pencil"></i></a> ';
if ($category->id == 1)
if ($category->id == 1) {
$edit = '<li><a href="'.Tools::safeOutput($url_base.'&id_cms_category='.$category->id.'&viewcategory&token='.Tools::getAdminToken('AdminCmsContent'.(int)Tab::getIdFromClassName('AdminCmsContent').(int)$context->employee->id)).'">
<i class="icon-home"></i></a></li> ';
}
$path = $edit.'<li><a href="'.Tools::safeOutput($url_base.'&id_cms_category='.$category->id.'&viewcategory&token='.Tools::getAdminToken('AdminCmsContent'.(int)Tab::getIdFromClassName('AdminCmsContent').(int)$context->employee->id)).'">
'.$name.'</a></li> > '.$path;
if ($category->id == 1)
if ($category->id == 1) {
return substr($path, 0, strlen($path) - 3);
}
return getPath($url_base, $category->id_parent, $path, '', 'cms');
}
}
@ -200,12 +204,13 @@ function getPath($url_base, $id_category, $path = '', $highlight = '', $category
function getDirContent($path)
{
$content = array();
if (is_dir($path))
{
if (is_dir($path)) {
$d = dir($path);
while (false !== ($entry = $d->read()))
if ($entry{0} != '.')
while (false !== ($entry = $d->read())) {
if ($entry{0} != '.') {
$content[] = $entry;
}
}
$d->close();
}
return $content;
@ -213,8 +218,9 @@ function getDirContent($path)
function createDir($path, $rights)
{
if (file_exists($path))
if (file_exists($path)) {
return true;
}
return @mkdir($path, $rights);
}
@ -235,8 +241,9 @@ function translate($string)
Tools::displayAsDeprecated();
global $_LANGADM;
if (!is_array($_LANGADM))
if (!is_array($_LANGADM)) {
return str_replace('"', '&quot;', $string);
}
$key = md5(str_replace('\'', '\\\'', $string));
$str = (array_key_exists('index'.$key, $_LANGADM)) ? $_LANGADM['index'.$key] : ((array_key_exists('index'.$key, $_LANGADM)) ? $_LANGADM['index'.$key] : $string);
return str_replace('"', '&quot;', stripslashes($str));
@ -251,26 +258,25 @@ function translate($string)
function checkingTab($tab)
{
$tab_lowercase = Tools::strtolower(trim($tab));
if (!Validate::isTabName($tab))
if (!Validate::isTabName($tab)) {
return false;
}
$row = Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow('SELECT id_tab, module, class_name FROM `'._DB_PREFIX_.'tab` WHERE LOWER(class_name) = \''.pSQL($tab).'\'');
if (!$row['id_tab'])
{
if (isset(AdminTab::$tabParenting[$tab]))
if (!$row['id_tab']) {
if (isset(AdminTab::$tabParenting[$tab])) {
Tools::redirectAdmin('?tab='.AdminTab::$tabParenting[$tab].'&token='.Tools::getAdminTokenLite(AdminTab::$tabParenting[$tab]));
}
echo sprintf(Tools::displayError('Page %s cannot be found.'), $tab);
return false;
}
// Class file is included in Dispatcher::dispatch() function
if (!class_exists($tab, false) || !$row['id_tab'])
{
if (!class_exists($tab, false) || !$row['id_tab']) {
echo sprintf(Tools::displayError('The class %s cannot be found.'), $tab);
return false;
}
$admin_obj = new $tab;
if (!$admin_obj->viewAccess() && ($admin_obj->table != 'employee' || Context::getContext()->employee->id != Tools::getValue('id_employee') || !Tools::isSubmit('updateemployee')))
{
if (!$admin_obj->viewAccess() && ($admin_obj->table != 'employee' || Context::getContext()->employee->id != Tools::getValue('id_employee') || !Tools::isSubmit('updateemployee'))) {
$admin_obj->_errors = array(Tools::displayError('Access denied.'));
echo $admin_obj->displayErrors();
return false;
@ -285,11 +291,13 @@ function checkTabRights($id_tab)
{
static $tab_accesses = null;
if ($tab_accesses === null)
if ($tab_accesses === null) {
$tab_accesses = Profile::getProfileAccesses(Context::getContext()->employee->id_profile);
}
if (isset($tab_accesses[(int)$id_tab]['view']))
if (isset($tab_accesses[(int)$id_tab]['view'])) {
return ($tab_accesses[(int)$id_tab]['view'] === '1');
}
return false;
}
@ -335,59 +343,61 @@ function checkTabRights($id_tab)
function simpleXMLToArray($xml, $flatten_values = true, $flatten_attributes = true, $flatten_children = true, $value_key = '@value', $attributes_key = '@attributes', $children_key = '@children')
{
$return = array();
if (!($xml instanceof SimpleXMLElement))
if (!($xml instanceof SimpleXMLElement)) {
return $return;
}
$name = $xml->getName();
$value = trim((string)$xml);
if (strlen($value) == 0)
if (strlen($value) == 0) {
$value = null;
}
if ($value !== null)
{
if (!$flatten_values)
if ($value !== null) {
if (!$flatten_values) {
$return[$value_key] = $value;
else
} else {
$return = $value;
}
}
$children = array();
$first = true;
foreach ($xml->children() as $element_name => $child)
{
foreach ($xml->children() as $element_name => $child) {
$value = simpleXMLToArray($child, $flatten_values, $flatten_attributes, $flatten_children, $value_key, $attributes_key, $children_key);
if (isset($children[$element_name]))
{
if ($first)
{
if (isset($children[$element_name])) {
if ($first) {
$temp = $children[$element_name];
unset($children[$element_name]);
$children[$element_name][] = $temp;
$first = false;
}
$children[$element_name][] = $value;
}
else
} else {
$children[$element_name] = $value;
}
}
if (count($children) > 0)
{
if (!$flatten_children)
if (count($children) > 0) {
if (!$flatten_children) {
$return[$children_key] = $children;
else
} else {
$return = array_merge($return, $children);
}
}
$attributes = array();
foreach ($xml->attributes() as $name => $value)
foreach ($xml->attributes() as $name => $value) {
$attributes[$name] = trim($value);
}
if (count($attributes) > 0)
if (!$flatten_attributes)
if (count($attributes) > 0) {
if (!$flatten_attributes) {
$return[$attributes_key] = $attributes;
else
} else {
$return = array_merge($return, $attributes);
}
}
return $return;
}
@ -403,137 +413,135 @@ function runAdminTab($tab, $ajax_mode = false)
require_once(_PS_ADMIN_DIR_.'/init.php');
$cookie = Context::getContext()->cookie;
if (empty($tab) && !count($_POST))
{
if (empty($tab) && !count($_POST)) {
$tab = 'AdminDashboard';
$_POST['tab'] = $tab;
$_POST['token'] = Tools::getAdminTokenLite($tab);
}
// $tab = $_REQUEST['tab'];
if ($admin_obj = checkingTab($tab))
{
if ($admin_obj = checkingTab($tab)) {
Context::getContext()->controller = $admin_obj;
// init is different for new tabs (AdminController) and old tabs (AdminTab)
if ($admin_obj instanceof AdminController)
{
if ($ajax_mode)
if ($admin_obj instanceof AdminController) {
if ($ajax_mode) {
$admin_obj->ajax = true;
}
$admin_obj->path = dirname($_SERVER['PHP_SELF']);
$admin_obj->run();
}
else
{
if (!$ajax_mode)
} else {
if (!$ajax_mode) {
require_once(_PS_ADMIN_DIR_.'/header.inc.php');
}
$iso_user = Context::getContext()->language->id;
$tabs = array();
$tabs = Tab::recursiveTab($admin_obj->id, $tabs);
$tabs = array_reverse($tabs);
$bread = '';
foreach ($tabs as $key => $item)
{
foreach ($tabs as $key => $item) {
$bread .= ' <img src="../img/admin/separator_breadcrumb.png" style="margin-right:5px" alt="&gt;" />';
if (count($tabs) - 1 > $key)
if (count($tabs) - 1 > $key) {
$bread .= '<a href="?tab='.$item['class_name'].'&token='.Tools::getAdminToken($item['class_name'].(int)$item['id_tab'].(int)Context::getContext()->employee->id).'">';
}
$bread .= $item['name'];
if (count($tabs) - 1 > $key)
if (count($tabs) - 1 > $key) {
$bread .= '</a>';
}
}
if (!$ajax_mode && Shop::isFeatureActive() && Shop::getContext() != Shop::CONTEXT_ALL && Context::getContext()->controller->multishop_context != Shop::CONTEXT_ALL)
{
if (!$ajax_mode && Shop::isFeatureActive() && Shop::getContext() != Shop::CONTEXT_ALL && Context::getContext()->controller->multishop_context != Shop::CONTEXT_ALL) {
echo '<div class="multishop_info">';
if (Shop::getContext() == Shop::CONTEXT_GROUP)
{
if (Shop::getContext() == Shop::CONTEXT_GROUP) {
$shop_group = new ShopGroup((int)Shop::getContextShopGroupID());
printf(Translate::getAdminTranslation('You are configuring your store for group shop %s'), '<b>'.$shop_group->name.'</b>');
}
elseif (Shop::getContext() == Shop::CONTEXT_SHOP)
} elseif (Shop::getContext() == Shop::CONTEXT_SHOP) {
printf(Translate::getAdminTranslation('You are configuring your store for shop %s'), '<b>'.Context::getContext()->shop->name.'</b>');
}
echo '</div>';
}
if (Validate::isLoadedObject($admin_obj))
{
if ($admin_obj->checkToken())
{
if ($ajax_mode)
{
if (Validate::isLoadedObject($admin_obj)) {
if ($admin_obj->checkToken()) {
if ($ajax_mode) {
// the differences with index.php is here
$admin_obj->ajaxPreProcess();
$action = Tools::getValue('action');
// no need to use displayConf() here
if (!empty($action) && method_exists($admin_obj, 'ajaxProcess'.Tools::toCamelCase($action)))
if (!empty($action) && method_exists($admin_obj, 'ajaxProcess'.Tools::toCamelCase($action))) {
$admin_obj->{'ajaxProcess'.Tools::toCamelCase($action)}();
else
} else {
$admin_obj->ajaxProcess();
}
// @TODO We should use a displayAjaxError
$admin_obj->displayErrors();
if (!empty($action) && method_exists($admin_obj, 'displayAjax'.Tools::toCamelCase($action)))
if (!empty($action) && method_exists($admin_obj, 'displayAjax'.Tools::toCamelCase($action))) {
$admin_obj->{'displayAjax'.$action}();
else
} else {
$admin_obj->displayAjax();
}
else
{
} else {
/* Filter memorization */
if (isset($_POST) && !empty($_POST) && isset($admin_obj->table))
foreach ($_POST as $key => $value)
if (is_array($admin_obj->table))
{
foreach ($admin_obj->table as $table)
if (strncmp($key, $table.'Filter_', 7) === 0 || strncmp($key, 'submitFilter', 12) === 0)
if (isset($_POST) && !empty($_POST) && isset($admin_obj->table)) {
foreach ($_POST as $key => $value) {
if (is_array($admin_obj->table)) {
foreach ($admin_obj->table as $table) {
if (strncmp($key, $table.'Filter_', 7) === 0 || strncmp($key, 'submitFilter', 12) === 0) {
$cookie->$key = !is_array($value) ? $value : serialize($value);
}
elseif (strncmp($key, $admin_obj->table.'Filter_', 7) === 0 || strncmp($key, 'submitFilter', 12) === 0)
}
} elseif (strncmp($key, $admin_obj->table.'Filter_', 7) === 0 || strncmp($key, 'submitFilter', 12) === 0) {
$cookie->$key = !is_array($value) ? $value : serialize($value);
}
}
}
if (isset($_GET) && !empty($_GET) && isset($admin_obj->table))
foreach ($_GET as $key => $value)
if (is_array($admin_obj->table))
{
foreach ($admin_obj->table as $table)
if (strncmp($key, $table.'OrderBy', 7) === 0 || strncmp($key, $table.'Orderway', 8) === 0)
if (isset($_GET) && !empty($_GET) && isset($admin_obj->table)) {
foreach ($_GET as $key => $value) {
if (is_array($admin_obj->table)) {
foreach ($admin_obj->table as $table) {
if (strncmp($key, $table.'OrderBy', 7) === 0 || strncmp($key, $table.'Orderway', 8) === 0) {
$cookie->$key = $value;
}
elseif (strncmp($key, $admin_obj->table.'OrderBy', 7) === 0 || strncmp($key, $admin_obj->table.'Orderway', 12) === 0)
}
} elseif (strncmp($key, $admin_obj->table.'OrderBy', 7) === 0 || strncmp($key, $admin_obj->table.'Orderway', 12) === 0) {
$cookie->$key = $value;
}
}
}
$admin_obj->displayConf();
$admin_obj->postProcess();
$admin_obj->displayErrors();
$admin_obj->display();
include(_PS_ADMIN_DIR_.'/footer.inc.php');
}
}
else
{
if ($ajax_mode)
{
} else {
if ($ajax_mode) {
// If this is an XSS attempt, then we should only display a simple, secure page
if (ob_get_level() && ob_get_length() > 0)
if (ob_get_level() && ob_get_length() > 0) {
ob_clean();
}
// ${1} in the replacement string of the regexp is required, because the token may begin with a number and mix up with it (e.g. $17)
$url = preg_replace('/([&?]token=)[^&]*(&.*)?$/', '${1}'.$admin_obj->token.'$2', $_SERVER['REQUEST_URI']);
if (false === strpos($url, '?token=') && false === strpos($url, '&token='))
if (false === strpos($url, '?token=') && false === strpos($url, '&token=')) {
$url .= '&token='.$admin_obj->token;
}
// we can display the correct url
// die(Tools::jsonEncode(array(Translate::getAdminTranslation('Invalid security token'),$url)));
die(Tools::jsonEncode(Translate::getAdminTranslation('Invalid security token')));
}
else
{
} else {
// If this is an XSS attempt, then we should only display a simple, secure page
if (ob_get_level() && ob_get_length() > 0)
if (ob_get_level() && ob_get_length() > 0) {
ob_clean();
}
// ${1} in the replacement string of the regexp is required, because the token may begin with a number and mix up with it (e.g. $17)
$url = preg_replace('/([&?]token=)[^&]*(&.*)?$/', '${1}'.$admin_obj->token.'$2', $_SERVER['REQUEST_URI']);
if (false === strpos($url, '?token=') && false === strpos($url, '&token='))
if (false === strpos($url, '?token=') && false === strpos($url, '&token=')) {
$url .= '&token='.$admin_obj->token;
}
$message = Translate::getAdminTranslation('Invalid security token');
echo '<html><head><title>'.$message.'</title></head><body style="font-family:Arial,Verdana,Helvetica,sans-serif;background-color:#EC8686">

View File

@ -24,7 +24,8 @@
* International Registered Trademark & Property of PrestaShop SA
*/
if (!defined('_PS_ADMIN_DIR_'))
if (!defined('_PS_ADMIN_DIR_')) {
define('_PS_ADMIN_DIR_', getcwd());
}
require(_PS_ADMIN_DIR_.'/../config/config.inc.php');
Controller::getController('GetFileController')->run();

View File

@ -24,8 +24,9 @@
* International Registered Trademark & Property of PrestaShop SA
*/
if (!defined('_PS_ADMIN_DIR_'))
if (!defined('_PS_ADMIN_DIR_')) {
define('_PS_ADMIN_DIR_', getcwd());
}
include_once(_PS_ADMIN_DIR_.'/../config/config.inc.php');
$module = Tools::getValue('module');
@ -42,40 +43,35 @@ $id_employee = (int)(Tools::getValue('id_employee'));
$id_lang = (int)(Tools::getValue('id_lang'));
if (!isset($cookie->id_employee) || !$cookie->id_employee || $cookie->id_employee != $id_employee)
if (!isset($cookie->id_employee) || !$cookie->id_employee || $cookie->id_employee != $id_employee) {
die(Tools::displayError());
}
if (!Validate::isModuleName($module))
if (!Validate::isModuleName($module)) {
die(Tools::displayError());
}
if (!Tools::file_exists_cache($module_path = _PS_ROOT_DIR_.'/modules/'.$module.'/'.$module.'.php'))
if (!Tools::file_exists_cache($module_path = _PS_ROOT_DIR_.'/modules/'.$module.'/'.$module.'.php')) {
die(Tools::displayError());
}
$shop_id = '';
Shop::setContext(Shop::CONTEXT_ALL);
if (Context::getContext()->cookie->shopContext)
{
if (Context::getContext()->cookie->shopContext) {
$split = explode('-', Context::getContext()->cookie->shopContext);
if (count($split) == 2)
{
if ($split[0] == 'g')
{
if (Context::getContext()->employee->hasAuthOnShopGroup($split[1]))
if (count($split) == 2) {
if ($split[0] == 'g') {
if (Context::getContext()->employee->hasAuthOnShopGroup($split[1])) {
Shop::setContext(Shop::CONTEXT_GROUP, $split[1]);
else
{
} else {
$shop_id = Context::getContext()->employee->getDefaultShopID();
Shop::setContext(Shop::CONTEXT_SHOP, $shop_id);
}
}
else if (Shop::getShop($split[1]) && Context::getContext()->employee->hasAuthOnShop($split[1]))
{
} elseif (Shop::getShop($split[1]) && Context::getContext()->employee->hasAuthOnShop($split[1])) {
$shop_id = $split[1];
Shop::setContext(Shop::CONTEXT_SHOP, $shop_id);
}
else
{
} else {
$shop_id = Context::getContext()->employee->getDefaultShopID();
Shop::setContext(Shop::CONTEXT_SHOP, $shop_id);
}
@ -83,19 +79,21 @@ if (Context::getContext()->cookie->shopContext)
}
// Check multishop context and set right context if need
if (Shop::getContext())
{
if (Shop::getContext() == Shop::CONTEXT_SHOP && !Shop::CONTEXT_SHOP)
if (Shop::getContext()) {
if (Shop::getContext() == Shop::CONTEXT_SHOP && !Shop::CONTEXT_SHOP) {
Shop::setContext(Shop::CONTEXT_GROUP, Shop::getContextShopGroupID());
if (Shop::getContext() == Shop::CONTEXT_GROUP && !Shop::CONTEXT_GROUP)
}
if (Shop::getContext() == Shop::CONTEXT_GROUP && !Shop::CONTEXT_GROUP) {
Shop::setContext(Shop::CONTEXT_ALL);
}
}
// Replace existing shop if necessary
if (!$shop_id)
if (!$shop_id) {
Context::getContext()->shop = new Shop(Configuration::get('PS_SHOP_DEFAULT'));
elseif (Context::getContext()->shop->id != $shop_id)
} elseif (Context::getContext()->shop->id != $shop_id) {
Context::getContext()->shop = new Shop($shop_id);
}
require_once($module_path);
@ -103,8 +101,9 @@ require_once($module_path);
$grid = new $module();
$grid->setEmployee($id_employee);
$grid->setLang($id_lang);
if ($option)
if ($option) {
$grid->setOption($option);
}
$grid->create($render, $type, $width, $height, $start, $limit, $sort, $dir);
$grid->render();

View File

@ -39,6 +39,7 @@ Context::getContext()->smarty->assign(array(
'navigationPipe', Configuration::get('PS_NAVIGATION_PIPE'),
'meta_title' => implode(' '.Configuration::get('PS_NAVIGATION_PIPE').' ', $title),
'display_header' => true,
'display_header_javascript' => true,
'display_footer' => true,
));
$dir = Context::getContext()->smarty->getTemplateDir(0).'controllers'.DIRECTORY_SEPARATOR.trim($con->override_folder, '\\/').DIRECTORY_SEPARATOR;

View File

@ -25,30 +25,34 @@
*/
$timer_start = microtime(true);
if (!defined('_PS_ADMIN_DIR_'))
if (!defined('_PS_ADMIN_DIR_')) {
define('_PS_ADMIN_DIR_', getcwd());
}
if (!defined('PS_ADMIN_DIR'))
if (!defined('PS_ADMIN_DIR')) {
define('PS_ADMIN_DIR', _PS_ADMIN_DIR_);
}
require(_PS_ADMIN_DIR_.'/../config/config.inc.php');
require(_PS_ADMIN_DIR_.'/functions.php');
//small test to clear cache after upgrade
if (Configuration::get('PS_UPGRADE_CLEAR_CACHE'))
{
if (Configuration::get('PS_UPGRADE_CLEAR_CACHE')) {
header('Cache-Control: max-age=0, must-revalidate');
header('Expires: Mon, 06 Jun 1985 06:06:00 GMT+1');
Configuration::updateValue('PS_UPGRADE_CLEAR_CACHE', 0);
}
// For retrocompatibility with "tab" parameter
if (!isset($_GET['controller']) && isset($_GET['tab']))
if (!isset($_GET['controller']) && isset($_GET['tab'])) {
$_GET['controller'] = strtolower($_GET['tab']);
if (!isset($_POST['controller']) && isset($_POST['tab']))
}
if (!isset($_POST['controller']) && isset($_POST['tab'])) {
$_POST['controller'] = strtolower($_POST['tab']);
if (!isset($_REQUEST['controller']) && isset($_REQUEST['tab']))
}
if (!isset($_REQUEST['controller']) && isset($_REQUEST['tab'])) {
$_REQUEST['controller'] = strtolower($_REQUEST['tab']);
}
// Prepare and trigger admin dispatcher
Dispatcher::getInstance()->dispatch();

View File

@ -30,71 +30,76 @@ $timerStart = microtime(true);
// $_GET['tab'] = $_GET['controller'];
// $_POST['tab'] = $_POST['controller'];
// $_REQUEST['tab'] = $_REQUEST['controller'];
try
{
try {
$context = Context::getContext();
if (isset($_GET['logout']))
if (isset($_GET['logout'])) {
$context->employee->logout();
}
if (!isset($context->employee) || !$context->employee->isLoggedBack())
if (!isset($context->employee) || !$context->employee->isLoggedBack()) {
Tools::redirectAdmin('index.php?controller=AdminLogin&redirect='.$_SERVER['REQUEST_URI']);
}
// Set current index
// @deprecated global
global $currentIndex; // retrocompatibility;
$currentIndex = $_SERVER['SCRIPT_NAME'].(($controller = Tools::getValue('controller')) ? '?controller='.$controller: '');
if ($back = Tools::getValue('back'))
if ($back = Tools::getValue('back')) {
$currentIndex .= '&back='.urlencode($back);
}
AdminTab::$currentIndex = $currentIndex;
$iso = $context->language->iso_code;
if (file_exists(_PS_TRANSLATIONS_DIR_.$iso.'/errors.php'))
if (file_exists(_PS_TRANSLATIONS_DIR_.$iso.'/errors.php')) {
include(_PS_TRANSLATIONS_DIR_.$iso.'/errors.php');
if (file_exists(_PS_TRANSLATIONS_DIR_.$iso.'/fields.php'))
}
if (file_exists(_PS_TRANSLATIONS_DIR_.$iso.'/fields.php')) {
include(_PS_TRANSLATIONS_DIR_.$iso.'/fields.php');
if (file_exists(_PS_TRANSLATIONS_DIR_.$iso.'/admin.php'))
}
if (file_exists(_PS_TRANSLATIONS_DIR_.$iso.'/admin.php')) {
include(_PS_TRANSLATIONS_DIR_.$iso.'/admin.php');
}
/* Server Params */
$protocol_link = (Configuration::get('PS_SSL_ENABLED')) ? 'https://' : 'http://';
$protocol_content = (isset($useSSL) AND $useSSL AND Configuration::get('PS_SSL_ENABLED')) ? 'https://' : 'http://';
$protocol_content = (isset($useSSL) and $useSSL and Configuration::get('PS_SSL_ENABLED')) ? 'https://' : 'http://';
$link = new Link($protocol_link, $protocol_content);
$context->link = $link;
if (!defined('_PS_BASE_URL_'))
if (!defined('_PS_BASE_URL_')) {
define('_PS_BASE_URL_', Tools::getShopDomain(true));
if (!defined('_PS_BASE_URL_SSL_'))
}
if (!defined('_PS_BASE_URL_SSL_')) {
define('_PS_BASE_URL_SSL_', Tools::getShopDomainSsl(true));
}
$path = dirname(__FILE__).'/themes/';
// if the current employee theme is not valid (check layout.tpl presence),
// reset to default theme
if (empty($context->employee->bo_theme) ||
!file_exists($path.$context->employee->bo_theme.'/template/layout.tpl'))
{
!file_exists($path.$context->employee->bo_theme.'/template/layout.tpl')) {
// default admin theme is "default".
$context->employee->bo_theme = '';
if (file_exists($path.'default/template/layout.tpl'))
if (file_exists($path.'default/template/layout.tpl')) {
$context->employee->bo_theme = 'default';
else
{
} else {
// if default theme doesn't exists, try to find one, otherwise throw exception
foreach (scandir($path) as $theme)
if ($theme[0] != '.' && file_exists($path.$theme.'/template/layout.tpl'))
{
foreach (scandir($path) as $theme) {
if ($theme[0] != '.' && file_exists($path.$theme.'/template/layout.tpl')) {
$context->employee->bo_theme = $theme;
break;
}
}
// if no theme is found, admin can't work.
if (empty($context->employee->bo_theme))
if (empty($context->employee->bo_theme)) {
throw new PrestaShopException('Unable to load theme for employee, and no valid theme found');
}
}
$context->employee->update();
}
// Change shop context ?
if (Shop::isFeatureActive() && Tools::getValue('setShopContext') !== false)
{
if (Shop::isFeatureActive() && Tools::getValue('setShopContext') !== false) {
$context->cookie->shopContext = Tools::getValue('setShopContext');
$url = parse_url($_SERVER['REQUEST_URI']);
$query = (isset($url['query'])) ? $url['query'] : '';
@ -106,32 +111,23 @@ try
$context->currency = new Currency(Configuration::get('PS_CURRENCY_DEFAULT'));
if ($context->employee->isLoggedBack())
{
if ($context->employee->isLoggedBack()) {
$shop_id = '';
Shop::setContext(Shop::CONTEXT_ALL);
if ($context->cookie->shopContext)
{
if ($context->cookie->shopContext) {
$split = explode('-', $context->cookie->shopContext);
if (count($split) == 2)
{
if ($split[0] == 'g')
{
if ($context->employee->hasAuthOnShopGroup($split[1]))
if (count($split) == 2) {
if ($split[0] == 'g') {
if ($context->employee->hasAuthOnShopGroup($split[1])) {
Shop::setContext(Shop::CONTEXT_GROUP, $split[1]);
else
{
} else {
$shop_id = $context->employee->getDefaultShopID();
Shop::setContext(Shop::CONTEXT_SHOP, $shop_id);
}
}
elseif ($context->employee->hasAuthOnShop($split[1]))
{
} elseif ($context->employee->hasAuthOnShop($split[1])) {
$shop_id = $split[1];
Shop::setContext(Shop::CONTEXT_SHOP, $shop_id);
}
else
{
} else {
$shop_id = $context->employee->getDefaultShopID();
Shop::setContext(Shop::CONTEXT_SHOP, $shop_id);
}
@ -139,13 +135,12 @@ try
}
// Replace existing shop if necessary
if (!$shop_id)
if (!$shop_id) {
$context->shop = new Shop(Configuration::get('PS_SHOP_DEFAULT'));
else if ($context->shop->id != $shop_id)
} elseif ($context->shop->id != $shop_id) {
$context->shop = new Shop($shop_id);
}
}
catch(PrestaShopException $e)
{
}
} catch (PrestaShopException $e) {
$e->displayMessage();
}

View File

@ -24,8 +24,9 @@
* International Registered Trademark & Property of PrestaShop SA
*/
if (!defined('_PS_ADMIN_DIR_'))
if (!defined('_PS_ADMIN_DIR_')) {
define('_PS_ADMIN_DIR_', getcwd());
}
include(_PS_ADMIN_DIR_.'/../config/config.inc.php');
/**
@ -34,8 +35,9 @@ include(_PS_ADMIN_DIR_.'/../config/config.inc.php');
*/
Tools::displayFileAsDeprecated();
if (!Context::getContext()->employee->id)
if (!Context::getContext()->employee->id) {
Tools::redirectAdmin('index.php?controller=AdminLogin');
}
$function_array = array(
'pdf' => 'generateInvoicePDF',
@ -50,11 +52,11 @@ $function_array = array(
);
$pdf_controller = new AdminPdfController();
foreach ($function_array as $var => $function)
if (isset($_GET[$var]))
{
foreach ($function_array as $var => $function) {
if (isset($_GET[$var])) {
$pdf_controller->{'process'.$function}();
exit;
}
}
exit;

View File

@ -24,19 +24,23 @@
* International Registered Trademark & Property of PrestaShop SA
*/
if (!defined('_PS_ADMIN_DIR_'))
if (!defined('_PS_ADMIN_DIR_')) {
define('_PS_ADMIN_DIR_', getcwd());
}
include(_PS_ADMIN_DIR_.'/../config/config.inc.php');
if (!Tools::getValue('id_shop'))
if (!Tools::getValue('id_shop')) {
Context::getContext()->shop->setContext(Shop::CONTEXT_ALL);
else
} else {
Context::getContext()->shop->setContext(Shop::CONTEXT_SHOP, (int)Tools::getValue('id_shop'));
}
if (substr(_COOKIE_KEY_, 34, 8) != Tools::getValue('token'))
if (substr(_COOKIE_KEY_, 34, 8) != Tools::getValue('token')) {
die;
}
ini_set('max_execution_time', 7200);
Search::indexation(Tools::getValue('full'));
if (Tools::getValue('redirect'))
if (Tools::getValue('redirect')) {
Tools::redirectAdmin($_SERVER['HTTP_REFERER'].'&conf=4');
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,33 +1,2 @@
/* This stylesheet should be used to add your custom styles to the back-office without using the Sass sources. It will be loaded after all the default styles.
You should NOT edit any other exisiting back-office CSS file manually: they are generated by the Sass preprocessor: http://www.sass-lang.com/ . */
.defaultForm .result {}
.defaultForm .result li {
list-style: none;
padding: 5px 10px;
}
.defaultForm .result li span {
margin-left: 10px;
}
.defaultForm .searchResult {
padding: 0;
position: absolute;
width: 50%;
z-index: 3;
}
.defaultForm .searchResult ul {
background: #fff;
border-radius: 5px;
margin: 0px;
padding: 0;
border:1px solid #ccc;
}
.defaultForm .searchResult ul li {
cursor: pointer;
list-style-type: none;
margin: 0;
padding: 5px 10px;
}
.defaultForm .searchResult ul li:hover {
background: #f1f1f1;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -160,11 +160,6 @@ $(document).ready(function() {
$('.page-head .breadcrumb').css('left', '70px');
$('.page-head .page-subtitle').css('left', '70px');
} else {
menuCollapse.css('margin-left', '');
$('.page-head .page-title').css('padding-left', '230px');
$('.page-head .breadcrumb').css('left', '230px');
$('.page-head .page-subtitle').css('left', '230px');
}
}

View File

@ -13,6 +13,7 @@ Tree.prototype =
{
var that = $(this);
var name = this.$element.parent().find('ul.tree input').first().attr('name');
var idTree = this.$element.parent().find('.cattree.tree').first().attr('id');
this.$element.find("label.tree-toggler, .icon-folder-close, .icon-folder-open").unbind('click');
this.$element.find("label.tree-toggler, .icon-folder-close, .icon-folder-open").click(
function ()
@ -95,17 +96,10 @@ Tree.prototype =
}
});
}
if (name != 'id_parent')
if (typeof(treeClickFunc) != 'undefined')
{
this.$element.find(":input[type=radio]").unbind('click');
this.$element.find(":input[type=radio]").click(
function()
{
location.href = location.href.replace(
/&id_category=[0-9]*/, "")+"&id_category="
+$(this).val();
}
);
this.$element.find(":input[type=radio]").click(treeClickFunc);
}
}
@ -144,7 +138,8 @@ Tree.prototype =
expandAll : function($speed)
{
if (typeof(idTree) != 'undefined' && typeof(full_loaded) == 'undefined')
var idTree = this.$element.parent().find('.cattree.tree').first().attr('id');
if (typeof(idTree) != 'undefined' && !$('#'+idTree).hasClass('full_loaded'))
{
var selected = [];
that = this;
@ -154,13 +149,14 @@ Tree.prototype =
selected.push($(this).val());
}
);
var name = $('#'+idTree).parent().find('ul.tree input').first().attr('name');
var inputType = $('#'+idTree).parent().find('ul.tree input').first().attr('type');
var name = $('#'+idTree).find('ul.tree input').first().attr('name');
var inputType = $('#'+idTree).find('ul.tree input').first().attr('type');
var useCheckBox = 0;
if (inputType == 'checkbox')
{
useCheckBox = 1;
}
$.get(
'ajax-tab.php',
{controller:'AdminProducts',token:currentToken,action:'getCategoryTree',type:idTree,fullTree:1,selected:selected, inputName:name,useCheckBox:useCheckBox},
@ -175,7 +171,7 @@ Tree.prototype =
.removeClass("icon-folder-close")
.addClass("icon-folder-open");
$(this).parent().parent().children("ul.tree").show($speed);
full_loaded = true;
$('#'+idTree).addClass('full_loaded');
}
);
}

View File

@ -148,6 +148,8 @@
dd.data_value
color: #aaa
@extend .clearfix
small
font-size: 0.5em
dd.dash_trend
background-color: white
width: 80px

View File

@ -20,7 +20,7 @@ $chosen-focus-box-shadow: 0 1px 1px rgba(0, 0, 0, .075) inset, 0 0 8px rgba(82,
$chosen-focus-transition: border linear .2s, box-shadow linear .2s
$chosen-height: $input-height-base
$chosen-multi-height: $input-height-base + 6px
$chosen-sprite-path: 'chosen-sprite.png'
$chosen-sprite-path: '../img/chosen-sprite.png'
.chosen-select
width: 100%

View File

@ -33,6 +33,8 @@
border-color: darken(#CAE5F4,10%)
input, select
margin: 0
&.center
margin: 0 auto
tbody
> tr > td
border-top: none
@ -153,9 +155,22 @@ tr.highlighted td
table, thead, tbody, th, td, tr
display: block
thead tr
position: absolute
top: -9999px
left: -9999px
display: block
float: left
width: 70%
&:first-child
width: 30%
th
width: 100% !important
&:first-child:last-child
display: none
th
height: 48px
text-align: center
th .fixed-width-md
float: left
th .fixed-width-sm
width: 100% !important
tr
border: 1px solid #ccc
@include box-shadow(#EAEDEF 0 2px 0 0 )

View File

@ -371,6 +371,13 @@ if (secs < 10)
secs = "0" + secs;
$('.datepicker').datetimepicker({
beforeShow: function (input, inst) {
setTimeout(function () {
inst.dpDiv.css({
'z-index': 1031
});
}, 0);
},
prevText: '',
nextText: '',
dateFormat: 'yy-mm-dd',

View File

@ -14,7 +14,7 @@
<input class="form-control" type="text" name="product_rule_group_{$product_rule_group_id|intval}_quantity" value="{$product_rule_group_quantity|intval}" />
</div>
<div class="col-lg-7">
<p class="form-control-static">{l s='product(s) matching the following rules:'}</p>
<label class="control-label pull-left">{l s='product(s) matching the following rules:'}</label>
</div>
</div>

View File

@ -151,7 +151,7 @@
else
$('#message_forward_email').hide(200);
});
$('teaxtrea[name=message_forward]').click(function(){
$('textarea[name=message_forward]').click(function(){
if($(this).val() == '{l s='You can add a comment here.'}')
{
$(this).val('');

View File

@ -416,10 +416,12 @@
<table class="table">
<thead>
<tr>
<th><span class="title_box ">{l s='ID'}</span></th>
<th><span class="title_box ">{l s='Code'}</span></th>
<th><span class="title_box ">{l s='Name'}</span></th>
<th><span class="title_box ">{l s='Status'}</span></th>
<th><span class="title_box">{l s='ID'}</span></th>
<th><span class="title_box">{l s='Code'}</span></th>
<th><span class="title_box">{l s='Name'}</span></th>
<th><span class="title_box">{l s='Status'}</span></th>
<th><span class="title_box">{l s='Qty available'}</span></th>
<th><span class="title_box">{l s='Actions'}</span></th>
<tr/>
</thead>
<tbody>
@ -430,16 +432,17 @@
<td>{$discount['name']}</td>
<td>
{if $discount['active']}
<i class="icon-ok"></i>
<i class="icon-check"></i>
{else}
<i class="icon-remove"></i>
{/if}
</td>
<td>{if $discount['quantity'] > 0}{$discount['quantity_for_user']|intval}{else}0{/if}</td>
<td>
<a href="?tab=AdminCartRules&amp;id_cart_rule={$discount['id_cart_rule']}&amp;addcart_rule&amp;token={getAdminToken tab='AdminCartRules'}">
<a href="?tab=AdminCartRules&amp;id_cart_rule={$discount['id_cart_rule']|intval}&amp;addcart_rule&amp;token={getAdminToken tab='AdminCartRules'}">
<i class="icon-pencil"></i>
</a>
<a href="?tab=AdminCartRules&amp;id_cart_rule={$discount['id_cart_rule']}&amp;deletecart_rule&amp;token={getAdminToken tab='AdminCartRules'}">
<a href="?tab=AdminCartRules&amp;id_cart_rule={$discount['id_cart_rule']|intval}&amp;deletecart_rule&amp;token={getAdminToken tab='AdminCartRules'}">
<i class="icon-remove"></i>
</a>
</td>
@ -617,7 +620,7 @@
</td>
<td class="text-right">
<div class="btn-group">
<a class="btn btn-default" href="?tab=AdminAddresses&amp;id_address={$address['id_address']}&amp;addaddress=1&amp;token={getAdminToken tab='AdminAddresses'}">
<a class="btn btn-default" href="?tab=AdminAddresses&amp;id_address={$address['id_address']}&amp;addaddress=1&amp;token={getAdminToken tab='AdminAddresses'}&amp;back={$smarty.server.REQUEST_URI|urlencode}">
<i class="icon-edit"></i> {l s='Edit'}
</a>
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
@ -625,7 +628,7 @@
</button>
<ul class="dropdown-menu">
<li>
<a href="?tab=AdminAddresses&amp;id_address={$address['id_address']}&amp;deleteaddress&amp;token={getAdminToken tab='AdminAddresses'}">
<a href="?tab=AdminAddresses&amp;id_address={$address['id_address']}&amp;deleteaddress&amp;token={getAdminToken tab='AdminAddresses'}&amp;back={$smarty.server.REQUEST_URI|urlencode}">
<i class="icon-trash"></i>
{l s='Delete'}
</a>

View File

@ -25,14 +25,13 @@
<div class="panel">
{if isset($header)}{$header}{/if}
{if isset($nodes)}
<ul id="{$id|escape:'html':'UTF-8'}" class="tree">
<ul id="{$id|escape:'html':'UTF-8'}" class="cattree tree">
{$nodes}
</ul>
{/if}
</div>
<script type="text/javascript">
var currentToken="{$token|@addslashes}";
var idTree="{$id|escape:'html':'UTF-8'}";
{if isset($use_checkbox) && $use_checkbox == true}
function checkAllAssociatedCategories($tree)
{

View File

@ -23,9 +23,9 @@
* International Registered Trademark & Property of PrestaShop SA
*}
<li class="tree-item{if isset($node['disabled']) && $node['disabled'] == true} tree-item-disable{/if}">
<label class="tree-item-name">
<span class="tree-item-name">
<input type="radio" name="id_category" value="{$node['id_category']}"{if isset($node['disabled']) && $node['disabled'] == true} disabled="disabled"{/if} />
<i class="tree-dot"></i>
{$node['name']}
</label>
<label class="tree-toggler">{$node['name']}</label>
</span>
</li>

View File

@ -42,7 +42,7 @@
{/if}
</td>
<td class="fixed-width-xs">
<img width="32" alt="{$module->displayName|escape:'html':'UTF-8'}" title="{$module->displayName|escape:'html':'UTF-8'}" src="{if isset($module->image)}{$module->image}{else}{$modules_uri}/{$module->name}/{$module->logo}{/if}" />
<img width="57" alt="{$module->displayName|escape:'html':'UTF-8'}" title="{$module->displayName|escape:'html':'UTF-8'}" src="{if isset($module->image)}{$module->image}{else}{$modules_uri}/{$module->name}/{$module->logo}{/if}" />
</td>
<td>
<div id="anchor{$module->name|ucfirst}" title="{$module->displayName|escape:'html':'UTF-8'}">
@ -81,7 +81,7 @@
<div class="btn-group pull-right">
{if isset($module->type) && $module->type == 'addonsMustHave'}
<a class="btn btn-default _blank" href="{$module->addons_buy_url|replace:' ':'+'|escape:'html':'UTF-8'}">
<i class="icon-shopping-cart"></i> &nbsp;{if $module->price|floatval == 0}{l s='Free'}{elseif isset($module->id_currency) && isset($module->price)}{displayPrice price=$module->price currency=$module->id_currency}{/if}
<i class="icon-shopping-cart"></i> &nbsp;{if isset($module->price)}{if $module->price|floatval == 0}{l s='Free'}{elseif isset($module->id_currency)}{displayPrice price=$module->price currency=$module->id_currency}{/if}{/if}
</a>
{else}
{if isset($module->id) && $module->id gt 0}

View File

@ -43,7 +43,7 @@
{/foreach}
{assign var='modules' value=$modules|substr:0:-1}
<li>
<a id="desc-module-update-all" class="toolbar_btn" href="{$currentIndex|escape:'html':'UTF-8'}&amp;token={$token|escape:'html':'UTF-8'}&amp;update={$modules|urlencode}" title="{l s='Update all'}">
<a id="desc-module-update-all" class="toolbar_btn" href="{$currentIndex|escape:'html':'UTF-8'}&amp;token={$token|escape:'html':'UTF-8'}&amp;updateAll=1" title="{l s='Update all'}">
<i class="process-icon-refresh"></i>
<div>{l s='Update all'}</div>
</a>

View File

@ -27,7 +27,13 @@
<img src="{$image}" alt="{$displayName}" class="img-thumbnail" />
{if isset($badges)}
{foreach $badges as $badge}
{if is_array($badge)}
{foreach $badge as $_badge}
<img src="{$_badge}" alt="" class="clearfix quickview-badge" />
{/foreach}
{else}
<img src="{$badge}" alt="" class="clearfix quickview-badge" />
{/if}
{/foreach}
{/if}
</div>

View File

@ -62,7 +62,7 @@
<p>
<a href="{$module->addons_buy_url|replace:' ':'+'|escape:'html':'UTF-8'}" class="button updated _blank">
<span class="btn btn-default">
<i class="icon-shopping-cart"></i>{if $module->price|floatval == 0}{l s='Free'}{elseif isset($module->price) && isset($module->id_currency)} &nbsp;&nbsp;{displayPrice price=$module->price currency=$module->id_currency}{/if}
<i class="icon-shopping-cart"></i>{if isset($module->price)}{if $module->price|floatval == 0}{l s='Free'}{elseif isset($module->id_currency)} &nbsp;&nbsp;{displayPrice price=$module->price currency=$module->id_currency}{/if}{/if}
</span>
</a>
</p>

View File

@ -50,7 +50,7 @@
<div class="form-group">
<label class="control-label col-lg-3 required"> {l s='Transplant to'}</label>
<div class="col-lg-9">
<select name="id_hook" disabled="disabled">
<select name="id_hook"{if !$hooks|@count} disabled="disabled"{/if}>
{if !$hooks}
<option value="0">{l s='Select a module above before choosing from available hooks'}</option>
{else}

View File

@ -51,7 +51,7 @@
<div class="input-group">
{if $currency->format % 2}<div class="input-group-addon">{$currency->sign} {l s='tax excl.'}</div>{/if}
<input type="text" name="product_price_tax_excl" class="edit_product_price_tax_excl edit_product_price" value="{Tools::ps_round($product['unit_price_tax_excl'], 2)}" size="5" />
{if !$currency->format % 2}<div class="input-group-addon">{$currency->sign} {l s='tax excl.'}</div>{/if}
{if !($currency->format % 2)}<div class="input-group-addon">{$currency->sign} {l s='tax excl.'}</div>{/if}
</div>
</div>
<br/>
@ -59,7 +59,7 @@
<div class="input-group">
{if $currency->format % 2}<div class="input-group-addon">{$currency->sign} {l s='tax incl.'}</div>{/if}
<input type="text" name="product_price_tax_incl" class="edit_product_price_tax_incl edit_product_price" value="{Tools::ps_round($product['unit_price_tax_incl'], 2)}" size="5" />
{if !$currency->format % 2}<div class="input-group-addon">{$currency->sign} {l s='tax incl.'}</div>{/if}
{if !($currency->format % 2)}<div class="input-group-addon">{$currency->sign} {l s='tax incl.'}</div>{/if}
</div>
</div>
</div>
@ -216,7 +216,7 @@
<div class="input-group">
{if $currency->format % 2}<div class="input-group-addon">{$currency->sign}</div>{/if}
<input onchange="checkPartialRefundProductAmount(this)" type="text" name="partialRefundProduct[{$product['id_order_detail']|intval}]" />
{if !$currency->format % 2}<div class="input-group-addon">{$currency->sign}</div>{/if}
{if !($currency->format % 2)}<div class="input-group-addon">{$currency->sign}</div>{/if}
</div>
<p class="help-block"><i class="icon-warning-sign"></i> {l s='(Max %s %s)' sprintf=[Tools::displayPrice(Tools::ps_round($amount_refundable, 2), $currency->id), $smarty.capture.TaxMethod]}</p>
</div>

View File

@ -50,20 +50,17 @@
<td style="display:none;">
<div class="row">
<div class="input-group fixed-width-xl">
<div class="input-group-addon">
{$currency->sign}
{l s='tax excl.'}
</div>
{if $currency->format % 2}<div class="input-group-addon">{$currency->sign} {l s='tax excl.'}</div>{/if}
<input type="text" name="add_product[product_price_tax_excl]" id="add_product_product_price_tax_excl" value="" disabled="disabled" />
{if !($currency->format % 2)}<div class="input-group-addon">{$currency->sign} {l s='tax excl.'}</div>{/if}
</div>
</div>
<br/>
<div class="row">
<div class="input-group fixed-width-xl">
<div class="input-group-addon">
{$currency->sign}
{l s='tax incl.'}
</div>
{if $currency->format % 2}<div class="input-group-addon">{$currency->sign} {l s='tax incl.'}</div>{/if}
<input type="text" name="add_product[product_price_tax_incl]" id="add_product_product_price_tax_incl" value="" disabled="disabled" />
{if !($currency->format % 2)}<div class="input-group-addon">{$currency->sign} {l s='tax incl.'}</div>{/if}
</div>
</div>
</td>

View File

@ -55,7 +55,7 @@
<div class="input-group">
{if $currency->format % 2}<div class="input-group-addon">{$currency->sign} {l s='tax excl.'}</div>{/if}
<input type="text" name="product_price_tax_excl" class="edit_product_price_tax_excl edit_product_price" value="{Tools::ps_round($product['unit_price_tax_excl'], 2)}"/>
{if !$currency->format % 2}<div class="input-group-addon">{$currency->sign} {l s='tax excl.'}</div>{/if}
{if !($currency->format % 2)}<div class="input-group-addon">{$currency->sign} {l s='tax excl.'}</div>{/if}
</div>
</div>
<br/>
@ -63,7 +63,7 @@
<div class="input-group">
{if $currency->format % 2}<div class="input-group-addon">{$currency->sign} {l s='tax incl.'}</div>{/if}
<input type="text" name="product_price_tax_incl" class="edit_product_price_tax_incl edit_product_price" value="{Tools::ps_round($product['unit_price_tax_incl'], 2)}"/>
{if !$currency->format % 2}<div class="input-group-addon">{$currency->sign} {l s='tax incl.'}</div>{/if}
{if !($currency->format % 2)}<div class="input-group-addon">{$currency->sign} {l s='tax incl.'}</div>{/if}
</div>
</div>
</div>
@ -183,7 +183,7 @@
<div class="input-group">
{if $currency->format % 2}<div class="input-group-addon">{$currency->sign}</div>{/if}
<input onchange="checkPartialRefundProductAmount(this)" type="text" name="partialRefundProduct[{$product['id_order_detail']}]" />
{if !$currency->format % 2}<div class="input-group-addon">{$currency->sign}</div>{/if}
{if !($currency->format % 2)}<div class="input-group-addon">{$currency->sign}</div>{/if}
</div>
<p class="help-block"><i class="icon-warning-sign"></i> {l s='(Max %s %s)' sprintf=[Tools::displayPrice(Tools::ps_round($amount_refundable, 2), $currency->id) , $smarty.capture.TaxMethod]}</p>
</div>

View File

@ -588,7 +588,7 @@
{if ($customer->isGuest())}
{l s='This order has been placed by a guest.'}
{if (!Customer::customerExists($customer->email))}
<form method="post" action="index.php?tab=AdminCustomers&amp;id_customer={$customer->id}&amp;token={getAdminToken tab='AdminCustomers'}">
<form method="post" action="index.php?tab=AdminCustomers&amp;id_customer={$customer->id}&amp;id_order={$order->id|intval}&amp;token={getAdminToken tab='AdminCustomers'}">
<input type="hidden" name="id_lang" value="{$order->id_lang}" />
<input class="btn btn-default" type="submit" name="submitGuestToCustomer" value="{l s='Transform a guest into a customer'}" />
<p class="help-block">{l s='This feature will generate a random password and send an email to the customer.'}</p>
@ -1351,21 +1351,22 @@
}
});
var date = new Date();
var hours = date.getHours();
if (hours < 10)
hours = "0" + hours;
var mins = date.getMinutes();
if (mins < 10)
mins = "0" + mins;
var secs = date.getSeconds();
if (secs < 10)
secs = "0" + secs;
$('.datepicker').datetimepicker({
prevText: '',
nextText: '',
dateFormat: 'yy-mm-dd ' + hours + ':' + mins + ':' + secs
dateFormat: 'yy-mm-dd',
// Define a custom regional settings in order to use PrestaShop translation tools
currentText: '{l s='Now' js=1}',
closeText: '{l s='Done' js=1}',
ampm: false,
amNames: ['AM', 'A'],
pmNames: ['PM', 'P'],
timeFormat: 'hh:mm:ss tt',
timeSuffix: '',
timeOnlyTitle: '{l s='Choose Time' js=1}',
timeText: '{l s='Time' js=1}',
hourText: '{l s='Hour' js=1}',
minuteText: '{l s='Minute' js=1}'
});
});

View File

@ -175,6 +175,7 @@
$('#testMemcachedServer').click(function() {
var host = $('input:text[name=memcachedIp]').val();
var port = $('input:text[name=memcachedPort]').val();
var type = $('input[name="caching_system"]:radio:checked').val() == 'CacheMemcached' ? 'memcached' : 'memcache';
if (host && port)
{
$.ajax({
@ -186,6 +187,7 @@
action: 'test_server',
sHost: host,
sPort: port,
type: type,
ajax: true
},
context: document.body,

View File

@ -31,8 +31,8 @@
{assign var=imploded_selected_categories value='","'|implode:$selected_categories}
var selected_categories = new Array("{$imploded_selected_categories}");
$('#'+idTree).tree('collapseAll');
$('#'+idTree).find(":input").each(
$('#{$id_tree}').tree('collapseAll');
$('#{$id_tree}').find(":input").each(
function()
{
if ($.inArray($(this).val(), selected_categories) != -1)

View File

@ -25,14 +25,26 @@
<div class="panel">
{if isset($header)}{$header}{/if}
{if isset($nodes)}
<ul id="{$id|escape:'html':'UTF-8'}" class="tree">
<ul id="{$id|escape:'html':'UTF-8'}" class="cattree tree">
{$nodes}
</ul>
{/if}
</div>
<script type="text/javascript">
var currentToken="{$token|@addslashes}";
var idTree="{$id|escape:'html':'UTF-8'}";
var treeClickFunc = function() {
var loc = location.href;
if (loc.indexOf("&id_category") !== -1) {
loc = location.href.replace(
/&id_category=[0-9]*/, "&id_category="
+ $(this).val());
}
else {
loc = location.href + "&id_category="
+ $(this).val();
}
location.href = loc;
};
function addDefaultCategory(elem)
{
$('select#id_category_default').append('<option value="' + elem.val()+'">' + (elem.val() !=1 ? elem.parent().find('label').html() : home) + '</option>');
@ -121,9 +133,7 @@
{/if}
$(document).ready(function(){
$('#{$id|escape:'html':'UTF-8'}').tree('collapseAll');
$('#{$id|escape:'html':'UTF-8'}').find(':input[type=radio]').click(function(){
location.href = location.href.replace(/&id_category=[0-9]*/, '') + '&id_category=' + $(this).val();
});
$('#{$id|escape:'html':'UTF-8'}').find(':input[type=radio]').click(treeClickFunc);
{if isset($selected_categories)}
$('#no_default_category').hide();

View File

@ -26,7 +26,7 @@
{if isset($header)}{$header}{/if}
<div id="block_category_tree"{if !$is_category_filter} style="display:none"{/if}>
{if isset($nodes)}
<ul id="{$id|escape:'html':'UTF-8'}" class="tree">
<ul id="{$id|escape:'html':'UTF-8'}" class="cattree tree">
{$nodes}
</ul>
{/if}
@ -34,7 +34,19 @@
</div>
<script type="text/javascript">
var currentToken="{$token|@addslashes}";
var idTree="{$id|escape:'html':'UTF-8'}";
var treeClickFunc = function() {
var loc = location.href;
if (loc.indexOf("&id_category") !== -1) {
loc = location.href.replace(
/&id_category=[0-9]*/, "&id_category="
+ $(this).val());
}
else {
loc = location.href + "&id_category="
+ $(this).val();
}
location.href = loc;
};
{if isset($use_checkbox) && $use_checkbox == true}
function checkAllAssociatedCategories($tree)
{
@ -93,14 +105,7 @@
});
$('#collapse-all-{$id|escape:'html':'UTF-8'}').hide();
$("#{$id|escape:'html':'UTF-8'}").find(":input[type=radio]").click(
function()
{
location.href = location.href.replace(
/&id_category=[0-9]*/, "")+"&id_category="
+$(this).val();
}
);
$("#{$id|escape:'html':'UTF-8'}").find(":input[type=radio]").click(treeClickFunc);
{if isset($selected_categories)}
{assign var=imploded_selected_categories value='","'|implode:$selected_categories}

View File

@ -467,7 +467,7 @@ $(document).ready(function () {
timeOnlyTitle: '{l s='Choose Time' js=1}',
timeText: '{l s='Time' js=1}',
hourText: '{l s='Hour' js=1}',
minuteText: '{l s='Minute' js=1}',
minuteText: '{l s='Minute' js=1}'
});
$('#sp_reduction_type').on('change', function() {
if (this.value == 'percentage')

View File

@ -158,7 +158,7 @@
</tr>
</thead>
{foreach from=$attributes item=attribute}
<tr>
<tr{if $attribute['default_on']} class="highlighted"{/if}>
<td class="available_quantity" id="qty_{$attribute['id_product_attribute']}">
<span>{$available_quantity[$attribute['id_product_attribute']]}</span>
<input type="text" name="qty_{$attribute['id_product_attribute']}" class="fixed-width-sm" value="{$available_quantity[$attribute['id_product_attribute']]|htmlentities}"/>

Some files were not shown because too many files have changed in this diff Show More