[+] Classes : added new class Media => It contains all the method related to media like CSS, JS
[+] Classes : added new method Media::addJquery(), Media::addJqueryUI(), Media::addJqueryPlugin() [~] Deprecated : All method related to CCC has been moved in class Media git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8926 b9a71923-0436-4b27-9f14-aed3839534dd
@@ -3345,7 +3345,7 @@ class AdminProducts extends AdminTab
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="'.__PS_BASE_URI__.'css/jquery.autocomplete.css" />
|
||||
<script type="text/javascript" src="'._PS_JS_DIR_.'/jquery/jquery.autocomplete.js"></script>
|
||||
<script type="text/javascript" src="'._PS_JS_DIR_.'jquery/jquery.autocomplete.js"></script>
|
||||
<div id="ajax_choose_product" style="padding:6px; padding-top:2px; width:600px;">
|
||||
<p class="clear">'.$this->l('Begin typing the first letters of the product name, then select the product from the drop-down list:').'</p>
|
||||
<input type="text" value="" id="product_autocomplete_input" />
|
||||
@@ -3386,7 +3386,7 @@ class AdminProducts extends AdminTab
|
||||
</div>';
|
||||
// TinyMCE
|
||||
$iso = $this->context->language->iso_code;
|
||||
$isoTinyMCE = (file_exists(_PS_JS_DIR_.'/tiny_mce/langs/'.$iso.'.js') ? $iso : 'en');
|
||||
$isoTinyMCE = (file_exists(_PS_JS_DIR_.'tiny_mce/langs/'.$iso.'.js') ? $iso : 'en');
|
||||
$ad = dirname($_SERVER["PHP_SELF"]);
|
||||
echo '
|
||||
<script type="text/javascript">
|
||||
@@ -3394,8 +3394,8 @@ class AdminProducts extends AdminTab
|
||||
var pathCSS = \''._THEME_CSS_DIR_.'\' ;
|
||||
var ad = \''.$ad.'\' ;
|
||||
</script>
|
||||
<script type="text/javascript" src="'._PS_JS_DIR_.'/tiny_mce/tiny_mce.js"></script>
|
||||
<script type="text/javascript" src="'._PS_JS_DIR_.'/tinymce.inc.js"></script>
|
||||
<script type="text/javascript" src="'._PS_JS_DIR_.'tiny_mce/tiny_mce.js"></script>
|
||||
<script type="text/javascript" src="'._PS_JS_DIR_.'tinymce.inc.js"></script>
|
||||
<script type="text/javascript">
|
||||
toggleVirtualProduct(getE(\'is_virtual_good\'));
|
||||
unitPriceWithTax(\'unit\');
|
||||
@@ -3440,9 +3440,9 @@ class AdminProducts extends AdminTab
|
||||
<ul id="listImage"></ul>
|
||||
<link href="../css/fileuploader.css" rel="stylesheet" type="text/css">
|
||||
<script type="text/javascript">var upbutton = "'.$this->l('Upload a file').'"; </script>
|
||||
<script src="'._PS_JS_DIR_.'/fileuploader.js" type="text/javascript"></script>
|
||||
<script src="'._PS_JS_DIR_.'/jquery/jquery-ui-1.8.10.custom.min.js" type="text/javascript"></script>
|
||||
<script type="text/javascript" src="'._PS_JS_DIR_.'/admin.js"></script>
|
||||
<script src="'._PS_JS_DIR_.'fileuploader.js" type="text/javascript"></script>
|
||||
<script src="'._PS_JS_DIR_.'jquery/jquery-ui-1.8.10.custom.min.js" type="text/javascript"></script>
|
||||
<script type="text/javascript" src="'._PS_JS_DIR_.'admin.js"></script>
|
||||
<script type="text/javascript">
|
||||
function deleteImg(id)
|
||||
{
|
||||
@@ -3554,7 +3554,7 @@ class AdminProducts extends AdminTab
|
||||
<tr><td colspan="2" style="padding-bottom:10px;"><hr style="width:100%;" /></td></tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<script type="text/javascript" src="'._PS_JS_DIR_.'/jquery/jquery.tablednd_0_5.js"></script>
|
||||
<script type="text/javascript" src="'._PS_JS_DIR_.'jquery/jquery.tablednd_0_5.js"></script>
|
||||
<script type="text/javascript">
|
||||
var token = \''.($token != null ? $token : $this->token).'\';
|
||||
var come_from = \''.$this->table.'\';
|
||||
@@ -4488,4 +4488,4 @@ class AdminProducts extends AdminTab
|
||||
|
||||
$this->displayErrors();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -879,15 +879,17 @@ class AdminControllerCore extends Controller
|
||||
$this->addCSS(__PS_BASE_URI__.str_replace(_PS_ROOT_DIR_.DIRECTORY_SEPARATOR,'', _PS_ADMIN_DIR_).'/themes/default/admin.css', 'all');
|
||||
if ($this->context->language->is_rtl)
|
||||
$this->addCSS(_THEME_CSS_DIR_.'rtl.css');
|
||||
|
||||
$this->addJquery();
|
||||
$this->addjQueryPlugin(array('cluetip', 'hoverIntent'));
|
||||
|
||||
$this->addJS(_PS_JS_DIR_.'jquery/jquery-1.4.4.min.js');
|
||||
$this->addJS(_PS_JS_DIR_.'jquery/jquery.hoverIntent.minified.js');
|
||||
$this->addJS(_PS_JS_DIR_.'jquery/jquery.cluetip.js');
|
||||
$this->addJS(_PS_JS_DIR_.'admin.js');
|
||||
$this->addJS(_PS_JS_DIR_.'toggle.js');
|
||||
$this->addJS(_PS_JS_DIR_.'tools.js');
|
||||
$this->addJS(_PS_JS_DIR_.'ajax.js');
|
||||
$this->addJS(_PS_JS_DIR_.'notifications.js');
|
||||
$this->addJS(array(
|
||||
_PS_JS_DIR_.'admin.js',
|
||||
_PS_JS_DIR_.'toggle.js',
|
||||
_PS_JS_DIR_.'tools.js',
|
||||
_PS_JS_DIR_.'ajax.js',
|
||||
_PS_JS_DIR_.'notifications.js')
|
||||
);
|
||||
}
|
||||
|
||||
public static function translate($string, $class, $addslashes = FALSE, $htmlentities = TRUE)
|
||||
|
||||
@@ -173,24 +173,19 @@ abstract class ControllerCore
|
||||
public function addCSS($css_uri, $css_media_type = 'all')
|
||||
{
|
||||
if (is_array($css_uri))
|
||||
{
|
||||
foreach ($css_uri as $file => $media_type)
|
||||
self::addCSS($file, $media_type);
|
||||
return true;
|
||||
}
|
||||
foreach($css_uri as $css_file => $media)
|
||||
{
|
||||
if (is_string($css_file))
|
||||
{
|
||||
if ($css_path = Media::getCSSPath($css_file, $media))
|
||||
$this->css_files = array_merge($css_path, $this->css_files);
|
||||
}
|
||||
else if ($css_path = Media::getCSSPath($media, $css_media_type))
|
||||
$this->css_files = array_merge($css_path, $this->css_files);
|
||||
}
|
||||
|
||||
// remove PS_BASE_URI on _PS_ROOT_DIR_ for the following
|
||||
$url_data = parse_url($css_uri);
|
||||
$file_uri = _PS_ROOT_DIR_.Tools::str_replace_once(__PS_BASE_URI__, DIRECTORY_SEPARATOR, $url_data['path']);
|
||||
|
||||
// check if css files exists
|
||||
if (!file_exists($file_uri))
|
||||
return true;
|
||||
|
||||
// adding file to the big array...
|
||||
$this->css_files[$css_uri] = $css_media_type;
|
||||
|
||||
return true;
|
||||
else if ($css_path = Media::getCSSPath($css_uri, $css_media_type))
|
||||
$this->css_files = array_merge($css_path, $this->css_files);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -202,26 +197,62 @@ abstract class ControllerCore
|
||||
public function addJS($js_uri)
|
||||
{
|
||||
if (is_array($js_uri))
|
||||
foreach($js_uri as $js_file)
|
||||
if ($js_path = Media::getJSPath($js_file))
|
||||
$this->js_files[] = $js_path;
|
||||
else if ($js_path = Media::getJSPath($js_uri))
|
||||
$this->js_files[] = $js_path;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a new javascript file in page header.
|
||||
*
|
||||
* @param mixed $js_uri
|
||||
* @return void
|
||||
*/
|
||||
public function addJquery($version = null, $folder = null, $minifier = true)
|
||||
{
|
||||
$this->addJS(Media::getJqueryPath($version, $folder, $minifier));
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a new javascript file in page header.
|
||||
*
|
||||
* @param mixed $js_uri
|
||||
* @return void
|
||||
*/
|
||||
public function addJqueryUI($component)
|
||||
{
|
||||
if (is_array($component))
|
||||
foreach($component as $ui)
|
||||
$ui_path = Media::getJqueryUIPath($ui);
|
||||
else
|
||||
$ui_path = Media::getJqueryUIPath($component);
|
||||
$this->addJS($ui_path);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a new javascript file in page header.
|
||||
*
|
||||
* @param mixed $js_uri
|
||||
* @return void
|
||||
*/
|
||||
public function addJqueryPlugin($name)
|
||||
{
|
||||
$plugin_path = array();
|
||||
if (is_array($name))
|
||||
{
|
||||
foreach ($js_uri as $file)
|
||||
self::addJS($file);
|
||||
return true;
|
||||
foreach($name as $plugin)
|
||||
{
|
||||
$plugin_path = Media::getJqueryPluginPath($plugin);
|
||||
$this->addJS($plugin_path['js']);
|
||||
$this->addCSS($plugin_path['css']);
|
||||
}
|
||||
}
|
||||
|
||||
if (in_array($js_uri, $this->js_files))
|
||||
return true;
|
||||
|
||||
// remove PS_BASE_URI on _PS_ROOT_DIR_ for the following
|
||||
$url_data = parse_url($js_uri);
|
||||
$file_uri = _PS_ROOT_DIR_.Tools::str_replace_once(__PS_BASE_URI__, DIRECTORY_SEPARATOR, $url_data['path']);
|
||||
|
||||
// check if js files exists
|
||||
if (!preg_match('/^http(s?):\/\//i', $file_uri) && !file_exists($file_uri))
|
||||
return true;
|
||||
|
||||
// adding file to the big array...
|
||||
$this->js_files[] = $js_uri;
|
||||
|
||||
return true;
|
||||
else
|
||||
$plugin_path = Media::getJqueryPluginPath($name);
|
||||
|
||||
$this->addCSS($plugin_path['css']);
|
||||
$this->addJS($plugin_path['js']);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -498,15 +498,16 @@ class FrontControllerCore extends Controller
|
||||
public function setMedia()
|
||||
{
|
||||
$this->addCSS(_THEME_CSS_DIR_.'global.css', 'all');
|
||||
$this->addJS(array(_PS_JS_DIR_.'jquery/jquery-1.4.4.min.js', _PS_JS_DIR_.'jquery/jquery.easing.1.3.js', _PS_JS_DIR_.'tools.js'));
|
||||
$this->addjquery();
|
||||
$this->addjqueryPlugin('easing');
|
||||
$this->addJS(_PS_JS_DIR_.'tools.js');
|
||||
|
||||
if (Tools::isSubmit('live_edit') AND Tools::getValue('ad') AND (Tools::getValue('liveToken') == sha1(Tools::getValue('ad')._COOKIE_KEY_)))
|
||||
{
|
||||
$this->addJS(array(
|
||||
_PS_JS_DIR_.'jquery/jquery-ui-1.8.10.custom.min.js',
|
||||
_PS_JS_DIR_.'jquery/jquery.fancybox-1.3.4.js',
|
||||
_PS_JS_DIR_.'hookLiveEdit.js')
|
||||
);
|
||||
$this->addCSS(_PS_CSS_DIR_.'jquery.fancybox-1.3.4.css');
|
||||
$this->addJqueryUI('ui.sortable');
|
||||
$this->addjqueryPlugin('fancybox');
|
||||
$this->addJS(_PS_JS_DIR_.'hookLiveEdit.js');
|
||||
$this->addCSS(_PS_CSS_DIR_.'jquery.fancybox-1.3.4.css', 'all'); //TODO
|
||||
}
|
||||
if ($this->context->language->is_rtl)
|
||||
$this->addCSS(_THEME_CSS_DIR_.'rtl.css');
|
||||
@@ -538,13 +539,11 @@ class FrontControllerCore extends Controller
|
||||
{
|
||||
// CSS compressor management
|
||||
if (Configuration::get('PS_CSS_THEME_CACHE'))
|
||||
$this->css_files = Tools::cccCSS($this->css_files);
|
||||
|
||||
$this->css_files = Media::cccCSS($this->css_files);
|
||||
//JS compressor management
|
||||
if (Configuration::get('PS_JS_THEME_CACHE'))
|
||||
$this->js_files = Tools::cccJs($this->js_files);
|
||||
$this->js_files = Media::cccJs($this->js_files);
|
||||
}
|
||||
|
||||
$this->context->smarty->assign('css_files', $this->css_files);
|
||||
$this->context->smarty->assign('js_files', array_unique($this->js_files));
|
||||
}
|
||||
|
||||
@@ -31,9 +31,6 @@
|
||||
|
||||
class HelperCore
|
||||
{
|
||||
public static $translationsKeysForAdminCategorieTree = array(
|
||||
'Home', 'selected', 'selecteds', 'Collapse All', 'Expand All', 'Check All', 'Uncheck All'
|
||||
);
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
@@ -65,19 +62,32 @@ class HelperCore
|
||||
* @param type $input_name name of input
|
||||
* @return string
|
||||
*/
|
||||
public static function renderAdminCategorieTree($trads, $selected_cat = array(), $input_name = 'categoryBox', $use_radio = false)
|
||||
public static function renderAdminCategorieTree($trads, $selected_cat = array(), $input_name = 'categoryBox', $use_radio = false, $use_search = false)
|
||||
{
|
||||
if (!$use_radio)
|
||||
$input_name = $input_name.'[]';
|
||||
|
||||
$html = '
|
||||
<script src="../js/jquery/treeview/jquery.treeview.js" type="text/javascript"></script>
|
||||
<script src="../js/jquery/treeview/jquery.treeview.async.js" type="text/javascript"></script>
|
||||
<script src="../js/jquery/treeview/jquery.treeview.edit.js" type="text/javascript"></script>
|
||||
<script src="../js/admin-categories-tree.js" type="text/javascript"></script>
|
||||
<script src="'._PS_JS_DIR_.'/jquery/treeview/jquery.treeview.js" type="text/javascript"></script>
|
||||
<script src="'._PS_JS_DIR_.'/jquery/treeview/jquery.treeview.async.js" type="text/javascript"></script>
|
||||
<script src="'._PS_JS_DIR_.'/jquery/treeview/jquery.treeview.edit.js" type="text/javascript"></script>
|
||||
<script src="'._PS_JS_DIR_.'/admin-categories-tree.js" type="text/javascript"></script>'.
|
||||
($use_search ? '<script type="text/javascript" src="'._PS_JS_DIR_.'jquery/jquery.autocomplete.js"></script>' : '' ).'
|
||||
<script type="text/javascript">
|
||||
var inputName = "'.$input_name.'";
|
||||
';
|
||||
var inputName = "'.$input_name.'";';
|
||||
if ($use_search)
|
||||
{
|
||||
|
||||
$html .= '
|
||||
$(\'document\').ready( function() {
|
||||
var dataCat = '. Tools::jsonEncode(array(array('name' => 'toto'), array('name' => 'titi'), array('name' => 'tutu'))).';
|
||||
$(\'input[name="search_cat"]\').autocomplete(dataCat);
|
||||
//$(\'input[name="search_cat"]\').result(function(event, data, formatted) {
|
||||
//alert(\'toto\');
|
||||
//});
|
||||
});
|
||||
';
|
||||
}
|
||||
if (sizeof($selected_cat) > 0)
|
||||
{
|
||||
if (isset($selected_cat[0]))
|
||||
@@ -102,7 +112,7 @@ class HelperCore
|
||||
'.(!$use_radio ? '
|
||||
- <a href="#" id="check_all" >'.$trads['Check All'].'</a>
|
||||
- <a href="#" id="uncheck_all" >'.$trads['Uncheck All'].'</a>
|
||||
' : '').'
|
||||
' : '').($use_search ? '<span style="margin-left:20px">'.$trads['search'].' : <form method="post" id="filternameForm"><input type="text" name="search_cat" id="search_cat"></form></span>' : '').'
|
||||
</div>
|
||||
';
|
||||
|
||||
|
||||
@@ -0,0 +1,503 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 7521 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
class MediaCore
|
||||
{
|
||||
public static $jquery_ui_dependencies = array(
|
||||
'ui.core' => array('fileName' => 'jquery.ui.core.min.js', 'dependencies' => array(), 'theme' => false),
|
||||
'ui.widget' => array('fileName' => 'jquery.ui.widget.min.js', 'dependencies' => array(), 'theme' => false),
|
||||
'ui.mouse' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget'), 'theme' => false),
|
||||
'ui.position' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array(), 'theme' => false),
|
||||
'ui.draggable' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget', 'ui.mouse'), 'theme' => false),
|
||||
'ui.droppable' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('uicore', 'ui.widget', 'ui.mouse', 'ui.draggable'), 'theme' => false),
|
||||
'ui.resizable' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget', 'ui.mouse'), 'theme' => true),
|
||||
'ui.selectable' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget', 'ui.mouse'), 'theme' => true),
|
||||
'ui.sortable' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget', 'ui.mouse'), 'theme' => false),
|
||||
'ui.accordion' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget'), 'theme' => true),
|
||||
'ui.autocomplete' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget', 'ui.position'), 'theme' => true),
|
||||
'ui.button' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget'), 'theme' => true),
|
||||
'ui.dialog' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget', 'ui.position'), 'theme' => true),
|
||||
'ui.slider' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget', 'ui.mouse'), 'theme' => true),
|
||||
'ui.tabs' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget'), 'theme' => true),
|
||||
'ui.datepicker' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core'), 'theme' => true),
|
||||
'ui.progressbar' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget'), 'theme' => true),
|
||||
'effects.core' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array(), 'theme' => false),
|
||||
'effects.blind' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false),
|
||||
'effects.bounce' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false),
|
||||
'effects.clip' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false),
|
||||
'effects.drop' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false),
|
||||
'effects.explode' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false),
|
||||
'effects.fade' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false),
|
||||
'effects.fold' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false),
|
||||
'effects.highlight' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false),
|
||||
'effects.pulsate' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false),
|
||||
'effects.scale' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false),
|
||||
'effects.shake' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false),
|
||||
'effects.slide' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false),
|
||||
'effects.transfer' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'))
|
||||
);
|
||||
|
||||
public static function minifyHTML($html_content)
|
||||
{
|
||||
if (strlen($html_content) > 0)
|
||||
{
|
||||
//set an alphabetical order for args
|
||||
$html_content = preg_replace_callback(
|
||||
'/(<[a-zA-Z0-9]+)((\s?[a-zA-Z0-9]+=[\"\\\'][^\"\\\']*[\"\\\']\s?)*)>/'
|
||||
,array('Media', 'minifyHTMLpregCallback')
|
||||
,$html_content);
|
||||
|
||||
require_once(_PS_TOOL_DIR_.'minify_html/minify_html.class.php');
|
||||
$html_content = str_replace(chr(194) . chr(160), ' ', $html_content);
|
||||
$html_content = Minify_HTML::minify($html_content, array('xhtml', 'cssMinifier', 'jsMinifier'));
|
||||
|
||||
if (Configuration::get('PS_HIGH_HTML_THEME_COMPRESSION'))
|
||||
{
|
||||
//$html_content = preg_replace('/"([^\>\s"]*)"/i', '$1', $html_content);//FIXME create a js bug
|
||||
$html_content = preg_replace('/<!DOCTYPE \w[^\>]*dtd\">/is', '', $html_content);
|
||||
$html_content = preg_replace('/\s\>/is', '>', $html_content);
|
||||
$html_content = str_replace('</li>', '', $html_content);
|
||||
$html_content = str_replace('</dt>', '', $html_content);
|
||||
$html_content = str_replace('</dd>', '', $html_content);
|
||||
$html_content = str_replace('</head>', '', $html_content);
|
||||
$html_content = str_replace('<head>', '', $html_content);
|
||||
$html_content = str_replace('</html>', '', $html_content);
|
||||
$html_content = str_replace('</body>', '', $html_content);
|
||||
//$html_content = str_replace('</p>', '', $html_content);//FIXME doesnt work...
|
||||
$html_content = str_replace("</option>\n", '', $html_content);//TODO with bellow
|
||||
$html_content = str_replace('</option>', '', $html_content);
|
||||
$html_content = str_replace('<script type=text/javascript>', '<script>', $html_content);//Do a better expreg
|
||||
$html_content = str_replace("<script>\n", '<script>', $html_content);//Do a better expreg
|
||||
}
|
||||
|
||||
return $html_content;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public static function minifyHTMLpregCallback($preg_matches)
|
||||
{
|
||||
$args = array();
|
||||
preg_match_all('/[a-zA-Z0-9]+=[\"\\\'][^\"\\\']*[\"\\\']/is', $preg_matches[2], $args);
|
||||
$args = $args[0];
|
||||
sort($args);
|
||||
$output = $preg_matches[1].' '.implode(' ', $args).'>';
|
||||
return $output;
|
||||
}
|
||||
|
||||
public static function packJSinHTML($html_content)
|
||||
{
|
||||
if (strlen($html_content) > 0)
|
||||
{
|
||||
$htmlContentCopy = $html_content;
|
||||
$html_content = preg_replace_callback(
|
||||
'/\\s*(<script\\b[^>]*?>)([\\s\\S]*?)(<\\/script>)\\s*/i'
|
||||
,array('Media', 'packJSinHTMLpregCallback')
|
||||
,$html_content);
|
||||
|
||||
// If the string is too big preg_replace return an error
|
||||
// In this case, we don't compress the content
|
||||
if( preg_last_error() == PREG_BACKTRACK_LIMIT_ERROR ) {
|
||||
error_log('ERROR: PREG_BACKTRACK_LIMIT_ERROR in function packJSinHTML');
|
||||
return $htmlContentCopy;
|
||||
}
|
||||
return $html_content;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public static function packJSinHTMLpregCallback($preg_matches)
|
||||
{
|
||||
$preg_matches[1] = $preg_matches[1].'/* <![CDATA[ */';
|
||||
$preg_matches[2] = self::packJS($preg_matches[2]);
|
||||
$preg_matches[count($preg_matches)-1] = '/* ]]> */'.$preg_matches[count($preg_matches)-1];
|
||||
unset($preg_matches[0]);
|
||||
$output = implode('', $preg_matches);
|
||||
return $output;
|
||||
}
|
||||
|
||||
|
||||
public static function packJS($js_content)
|
||||
{
|
||||
if (strlen($js_content) > 0)
|
||||
{
|
||||
require_once(_PS_TOOL_DIR_.'js_minify/jsmin.php');
|
||||
return JSMin::minify($js_content);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public static function minifyCSS($css_content, $fileuri = false)
|
||||
{
|
||||
global $current_css_file;
|
||||
|
||||
$current_css_file = $fileuri;
|
||||
if (strlen($css_content) > 0)
|
||||
{
|
||||
$css_content = preg_replace('#/\*.*?\*/#s', '', $css_content);
|
||||
$css_content = preg_replace_callback('#url\((?:\'|")?([^\)\'"]*)(?:\'|")?\)#s',array('Media', 'replaceByAbsoluteURL'), $css_content);
|
||||
|
||||
$css_content = preg_replace('#\s+#',' ',$css_content);
|
||||
$css_content = str_replace("\t", '', $css_content);
|
||||
$css_content = str_replace("\n", '', $css_content);
|
||||
//$css_content = str_replace('}', "}\n", $css_content);
|
||||
|
||||
$css_content = str_replace('; ', ';', $css_content);
|
||||
$css_content = str_replace(': ', ':', $css_content);
|
||||
$css_content = str_replace(' {', '{', $css_content);
|
||||
$css_content = str_replace('{ ', '{', $css_content);
|
||||
$css_content = str_replace(', ', ',', $css_content);
|
||||
$css_content = str_replace('} ', '}', $css_content);
|
||||
$css_content = str_replace(' }', '}', $css_content);
|
||||
$css_content = str_replace(';}', '}', $css_content);
|
||||
$css_content = str_replace(':0px', ':0', $css_content);
|
||||
$css_content = str_replace(' 0px', ' 0', $css_content);
|
||||
$css_content = str_replace(':0em', ':0', $css_content);
|
||||
$css_content = str_replace(' 0em', ' 0', $css_content);
|
||||
$css_content = str_replace(':0pt', ':0', $css_content);
|
||||
$css_content = str_replace(' 0pt', ' 0', $css_content);
|
||||
$css_content = str_replace(':0%', ':0', $css_content);
|
||||
$css_content = str_replace(' 0%', ' 0', $css_content);
|
||||
|
||||
return trim($css_content);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* addJS return javascript path
|
||||
*
|
||||
* @param mixed $js_uri
|
||||
* @return string
|
||||
*/
|
||||
public static function getJSPath($js_uri)
|
||||
{
|
||||
if (is_array($js_uri) OR is_null($js_uri))
|
||||
return false;
|
||||
$url_data = parse_url($js_uri);
|
||||
if (!array_key_exists('host', $url_data))
|
||||
$file_uri = _PS_ROOT_DIR_.Tools::str_replace_once(__PS_BASE_URI__, DIRECTORY_SEPARATOR, $url_data['path']); // remove PS_BASE_URI on _PS_ROOT_DIR_ for the following
|
||||
else
|
||||
$file_uri = $js_uri;
|
||||
// check if js files exists
|
||||
|
||||
if (!preg_match('/^http(s?):\/\//i', $file_uri) && !file_exists($file_uri))
|
||||
return false;
|
||||
|
||||
// adding file to the big array...;
|
||||
return $js_uri;
|
||||
}
|
||||
|
||||
/**
|
||||
* addCSS return stylesheet path.
|
||||
*
|
||||
* @param mixed $css_uri
|
||||
* @param string $css_media_type
|
||||
* @return string
|
||||
*/
|
||||
public static function getCSSPath($css_uri, $css_media_type = 'all')
|
||||
{
|
||||
// remove PS_BASE_URI on _PS_ROOT_DIR_ for the following
|
||||
$url_data = parse_url($css_uri);
|
||||
$file_uri = _PS_ROOT_DIR_.Tools::str_replace_once(__PS_BASE_URI__, DIRECTORY_SEPARATOR, $url_data['path']);
|
||||
// check if css files exists
|
||||
if (!file_exists($file_uri))
|
||||
return false;
|
||||
|
||||
// adding file to the big array...
|
||||
if (is_array($css_uri))
|
||||
return $css_uri;
|
||||
return array($css_uri => $css_media_type);
|
||||
}
|
||||
|
||||
/**
|
||||
* return jquery path.
|
||||
*
|
||||
* @param mixed $version
|
||||
* @return string
|
||||
*/
|
||||
public static function getJqueryPath($version = null, $folder = null, $minifier = true)
|
||||
{
|
||||
$addNoConflict = false;
|
||||
if (is_null($version))
|
||||
$version = _PS_JQUERY_VERSION_; //set default version
|
||||
else if (preg_match('/^([0-9]+\.)+[0-9]$/Ui', $version))
|
||||
$addNoConflict = true;
|
||||
else
|
||||
return false;
|
||||
|
||||
if (is_null($folder))
|
||||
$folder = _PS_JS_DIR_.'jquery/'; //set default folder
|
||||
//check if file exist
|
||||
$file = $folder.'jquery-'.$version.($minifier ? '.min.js' : '.js');
|
||||
// remove PS_BASE_URI on _PS_ROOT_DIR_ for the following
|
||||
$url_data = parse_url($file);
|
||||
$file_uri = _PS_ROOT_DIR_.Tools::str_replace_once(__PS_BASE_URI__, DIRECTORY_SEPARATOR, $url_data['path']);
|
||||
// check if js files exists, if not try to load query from ajax.googleapis.com
|
||||
|
||||
if (file_exists($file_uri))
|
||||
return self::getJSPath($file);
|
||||
else
|
||||
return self::getJSPath(Tools::getCurrentUrlProtocolPrefix().'ajax.googleapis.com/ajax/libs/jquery/'.$version.'/jquery'.($minifier ? '.min.js' : '.js'));
|
||||
if ($addNoConflict)
|
||||
return self::getJSPath(_PS_JS_DIR_.'jquery/jquery.noConflict.php?version='.$version);
|
||||
}
|
||||
|
||||
/**
|
||||
* return jqueryUI component path.
|
||||
*
|
||||
* @param mixed $component
|
||||
* @return string
|
||||
*/
|
||||
public static function getJqueryUIPath($component, $theme = 'base', $check_dependencies = true)
|
||||
{
|
||||
$ui_path = array('js' => array(), 'css' => array());
|
||||
$folder = _PS_JS_DIR_.'jquery/ui/';
|
||||
$file = 'jquery.'.$component.'.min.js';
|
||||
$url_data = parse_url($folder.$file);
|
||||
$file_uri = _PS_ROOT_DIR_.Tools::str_replace_once(__PS_BASE_URI__, DIRECTORY_SEPARATOR, $url_data['path']);
|
||||
$ui_tmp = array();
|
||||
if ($check_dependencies && array_key_exists($component, self::$jquery_ui_dependencies))
|
||||
foreach(self::$jquery_ui_dependencies[$component]['dependencies'] as $dependency)
|
||||
$ui_tmp[] = self::getJqueryUIPath($dependency, $theme, false);
|
||||
|
||||
if (file_exists($file_uri))
|
||||
{
|
||||
if (!empty($ui_tmp))
|
||||
{
|
||||
$ui_tmp[] = self::getJSPath($folder.$file);
|
||||
return $ui_tmp;
|
||||
}
|
||||
else
|
||||
return self::getJSPath($folder.$file);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* return jquery plugin path.
|
||||
*
|
||||
* @param mixed $name
|
||||
* @return void
|
||||
*/
|
||||
public static function getJqueryPluginPath($name)
|
||||
{
|
||||
$plugin_path = array('js' => array(), 'css' => array());
|
||||
$folder = _PS_JS_DIR_.'jquery/plugins/';
|
||||
$file = 'jquery.'.$name.'.js';
|
||||
$url_data = parse_url($folder);
|
||||
$file_uri = _PS_ROOT_DIR_.Tools::str_replace_once(__PS_BASE_URI__, DIRECTORY_SEPARATOR, $url_data['path']);
|
||||
if (file_exists($file_uri.$file))
|
||||
$plugin_path['js'] = self::getJSPath($folder.$file);
|
||||
else if (file_exists($file_uri.$name.'/'.$file))
|
||||
$plugin_path['js'] = self::getJSPath($folder.$name.'/'.$file);
|
||||
else
|
||||
return false;
|
||||
$plugin_path['css'] = self::getJqueryPluginCSSPath($name);
|
||||
return $plugin_path;
|
||||
}
|
||||
|
||||
/**
|
||||
* return jquery plugin css path if exist.
|
||||
*
|
||||
* @param mixed $name
|
||||
* @return void
|
||||
*/
|
||||
public static function getJqueryPluginCSSPath($name)
|
||||
{
|
||||
$plugin_path = array('js' => array(), 'css' => array());
|
||||
$folder = _PS_JS_DIR_.'jquery/plugins/';
|
||||
$file = 'jquery.'.$name.'.css';
|
||||
$url_data = parse_url($folder);
|
||||
$file_uri = _PS_ROOT_DIR_.Tools::str_replace_once(__PS_BASE_URI__, DIRECTORY_SEPARATOR, $url_data['path']);
|
||||
if (file_exists($file_uri.$file))
|
||||
return self::getCSSPath($folder.$file);
|
||||
else if (file_exists($file_uri.$name.'/'.$file))
|
||||
return self::getCSSPath($folder.$name.'/'.$file);
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Combine Compress and Cache CSS (ccc) calls
|
||||
*
|
||||
* @param array css_files
|
||||
* @return array processed css_files
|
||||
*/
|
||||
public static function cccCss($css_files)
|
||||
{
|
||||
//inits
|
||||
$css_files_by_media = array();
|
||||
$compressed_css_files = array();
|
||||
$compressed_css_files_not_found = array();
|
||||
$compressed_css_files_infos = array();
|
||||
$protocolLink = Tools::getCurrentUrlProtocolPrefix();
|
||||
|
||||
// group css files by media
|
||||
foreach ($css_files as $filename => $media)
|
||||
{
|
||||
if (!array_key_exists($media, $css_files_by_media))
|
||||
$css_files_by_media[$media] = array();
|
||||
|
||||
$infos = array();
|
||||
$infos['uri'] = $filename;
|
||||
$url_data = parse_url($filename);
|
||||
$infos['path'] = _PS_ROOT_DIR_.Tools::str_replace_once(__PS_BASE_URI__, '/', $url_data['path']);
|
||||
$css_files_by_media[$media]['files'][] = $infos;
|
||||
if (!array_key_exists('date', $css_files_by_media[$media]))
|
||||
$css_files_by_media[$media]['date'] = 0;
|
||||
$css_files_by_media[$media]['date'] = max(
|
||||
file_exists($infos['path']) ? filemtime($infos['path']) : 0,
|
||||
$css_files_by_media[$media]['date']
|
||||
);
|
||||
|
||||
if (!array_key_exists($media, $compressed_css_files_infos))
|
||||
$compressed_css_files_infos[$media] = array('key' => '');
|
||||
$compressed_css_files_infos[$media]['key'] .= $filename;
|
||||
}
|
||||
|
||||
// get compressed css file infos
|
||||
foreach ($compressed_css_files_infos as $media => &$info)
|
||||
{
|
||||
$key = md5($info['key'].$protocolLink);
|
||||
$filename = _PS_THEME_DIR_.'cache/'.$key.'_'.$media.'.css';
|
||||
$info = array(
|
||||
'key' => $key,
|
||||
'date' => file_exists($filename) ? filemtime($filename) : 0
|
||||
);
|
||||
}
|
||||
// aggregate and compress css files content, write new caches files
|
||||
foreach ($css_files_by_media as $media => $media_infos)
|
||||
{
|
||||
$cache_filename = _PS_THEME_DIR_.'cache/'.$compressed_css_files_infos[$media]['key'].'_'.$media.'.css';
|
||||
if ($media_infos['date'] > $compressed_css_files_infos[$media]['date'])
|
||||
{
|
||||
$compressed_css_files[$media] = '';
|
||||
foreach ($media_infos['files'] as $file_infos)
|
||||
{
|
||||
if (file_exists($file_infos['path']))
|
||||
$compressed_css_files[$media] .= self::minifyCSS(file_get_contents($file_infos['path']), $file_infos['uri']);
|
||||
else
|
||||
$compressed_css_files_not_found[] = $file_infos['path'];
|
||||
}
|
||||
if (!empty($compressed_css_files_not_found))
|
||||
$content = '/* WARNING ! file(s) not found : "'.
|
||||
implode(',', $compressed_css_files_not_found).
|
||||
'" */'."\n".$compressed_css_files[$media];
|
||||
else
|
||||
$content = $compressed_css_files[$media];
|
||||
file_put_contents($cache_filename, $content);
|
||||
chmod($cache_filename, 0777);
|
||||
}
|
||||
$compressed_css_files[$media] = $cache_filename;
|
||||
}
|
||||
|
||||
// rebuild the original css_files array
|
||||
$css_files = array();
|
||||
foreach ($compressed_css_files as $media => $filename)
|
||||
{
|
||||
$url = str_replace(_PS_THEME_DIR_, _THEMES_DIR_._THEME_NAME_.'/', $filename);
|
||||
$css_files[$protocolLink.Tools::getMediaServer($url).$url] = $media;
|
||||
}
|
||||
return $css_files;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Combine Compress and Cache (ccc) JS calls
|
||||
*
|
||||
* @param array js_files
|
||||
* @return array processed js_files
|
||||
*/
|
||||
public static function cccJS($js_files)
|
||||
{
|
||||
//inits
|
||||
$compressed_js_files_not_found = array();
|
||||
$js_files_infos = array();
|
||||
$js_files_date = 0;
|
||||
$compressed_js_file_date = 0;
|
||||
$compressed_js_filename = '';
|
||||
$js_external_files = array();
|
||||
$protocolLink = Tools::getCurrentUrlProtocolPrefix();
|
||||
|
||||
// get js files infos
|
||||
foreach ($js_files as $filename)
|
||||
{
|
||||
$expr = explode(':', $filename);
|
||||
|
||||
if ($expr[0] == 'http')
|
||||
$js_external_files[] = $filename;
|
||||
else
|
||||
{
|
||||
$infos = array();
|
||||
$infos['uri'] = $filename;
|
||||
$url_data = parse_url($filename);
|
||||
$infos['path'] =_PS_ROOT_DIR_.Tools::str_replace_once(__PS_BASE_URI__, '/', $url_data['path']);
|
||||
$js_files_infos[] = $infos;
|
||||
|
||||
$js_files_date = max(
|
||||
file_exists($infos['path']) ? filemtime($infos['path']) : 0,
|
||||
$js_files_date
|
||||
);
|
||||
$compressed_js_filename .= $filename;
|
||||
}
|
||||
}
|
||||
|
||||
// get compressed js file infos
|
||||
$compressed_js_filename = md5($compressed_js_filename);
|
||||
|
||||
$compressed_js_path = _PS_THEME_DIR_.'cache/'.$compressed_js_filename.'.js';
|
||||
$compressed_js_file_date = file_exists($compressed_js_path) ? filemtime($compressed_js_path) : 0;
|
||||
|
||||
// aggregate and compress js files content, write new caches files
|
||||
if ($js_files_date > $compressed_js_file_date)
|
||||
{
|
||||
$content = '';
|
||||
foreach ($js_files_infos as $file_infos)
|
||||
{
|
||||
if (file_exists($file_infos['path']))
|
||||
$content .= file_get_contents($file_infos['path']).';';
|
||||
else
|
||||
$compressed_js_files_not_found[] = $file_infos['path'];
|
||||
}
|
||||
$content = self::packJS($content);
|
||||
|
||||
if (!empty($compressed_js_files_not_found))
|
||||
$content = '/* WARNING ! file(s) not found : "'.
|
||||
implode(',', $compressed_js_files_not_found).
|
||||
'" */'."\n".$content;
|
||||
|
||||
file_put_contents($compressed_js_path, $content);
|
||||
chmod($compressed_js_path, 0777);
|
||||
}
|
||||
|
||||
// rebuild the original js_files array
|
||||
$url = str_replace(_PS_ROOT_DIR_.'/', __PS_BASE_URI__, $compressed_js_path);
|
||||
|
||||
return array_merge(array($protocolLink.Tools::getMediaServer($url).$url), $js_external_files);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1206,43 +1206,15 @@ class ToolsCore
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated as of 1.5 use Media::minifyHTML()
|
||||
*/
|
||||
|
||||
public static function minifyHTML($html_content)
|
||||
{
|
||||
if (strlen($html_content) > 0)
|
||||
{
|
||||
//set an alphabetical order for args
|
||||
$html_content = preg_replace_callback(
|
||||
'/(<[a-zA-Z0-9]+)((\s?[a-zA-Z0-9]+=[\"\\\'][^\"\\\']*[\"\\\']\s?)*)>/'
|
||||
,array('Tools', 'minifyHTMLpregCallback')
|
||||
,$html_content);
|
||||
|
||||
require_once(_PS_TOOL_DIR_.'minify_html/minify_html.class.php');
|
||||
$html_content = str_replace(chr(194) . chr(160), ' ', $html_content);
|
||||
$html_content = Minify_HTML::minify($html_content, array('xhtml', 'cssMinifier', 'jsMinifier'));
|
||||
|
||||
if (Configuration::get('PS_HIGH_HTML_THEME_COMPRESSION'))
|
||||
{
|
||||
//$html_content = preg_replace('/"([^\>\s"]*)"/i', '$1', $html_content);//FIXME create a js bug
|
||||
$html_content = preg_replace('/<!DOCTYPE \w[^\>]*dtd\">/is', '', $html_content);
|
||||
$html_content = preg_replace('/\s\>/is', '>', $html_content);
|
||||
$html_content = str_replace('</li>', '', $html_content);
|
||||
$html_content = str_replace('</dt>', '', $html_content);
|
||||
$html_content = str_replace('</dd>', '', $html_content);
|
||||
$html_content = str_replace('</head>', '', $html_content);
|
||||
$html_content = str_replace('<head>', '', $html_content);
|
||||
$html_content = str_replace('</html>', '', $html_content);
|
||||
$html_content = str_replace('</body>', '', $html_content);
|
||||
//$html_content = str_replace('</p>', '', $html_content);//FIXME doesnt work...
|
||||
$html_content = str_replace("</option>\n", '', $html_content);//TODO with bellow
|
||||
$html_content = str_replace('</option>', '', $html_content);
|
||||
$html_content = str_replace('<script type=text/javascript>', '<script>', $html_content);//Do a better expreg
|
||||
$html_content = str_replace("<script>\n", '<script>', $html_content);//Do a better expreg
|
||||
}
|
||||
|
||||
return $html_content;
|
||||
}
|
||||
return false;
|
||||
Tools::displayAsDeprecated();
|
||||
return Media::minifyHTML($html_content);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1265,56 +1237,41 @@ class ToolsCore
|
||||
$b = hexdec(substr($hex, 4, 2));
|
||||
return (($r * 299) + ($g * 587) + ($b * 114)) / 1000;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated as of 1.5 use Media::minifyHTMLpregCallback()
|
||||
*/
|
||||
public static function minifyHTMLpregCallback($preg_matches)
|
||||
{
|
||||
$args = array();
|
||||
preg_match_all('/[a-zA-Z0-9]+=[\"\\\'][^\"\\\']*[\"\\\']/is', $preg_matches[2], $args);
|
||||
$args = $args[0];
|
||||
sort($args);
|
||||
$output = $preg_matches[1].' '.implode(' ', $args).'>';
|
||||
return $output;
|
||||
Tools::displayAsDeprecated();
|
||||
return Media::minifyHTMLpregCallback($preg_matches);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated as of 1.5 use Media::packJSinHTML()
|
||||
*/
|
||||
public static function packJSinHTML($html_content)
|
||||
{
|
||||
if (strlen($html_content) > 0)
|
||||
{
|
||||
$htmlContentCopy = $html_content;
|
||||
$html_content = preg_replace_callback(
|
||||
'/\\s*(<script\\b[^>]*?>)([\\s\\S]*?)(<\\/script>)\\s*/i'
|
||||
,array('Tools', 'packJSinHTMLpregCallback')
|
||||
,$html_content);
|
||||
|
||||
// If the string is too big preg_replace return an error
|
||||
// In this case, we don't compress the content
|
||||
if( preg_last_error() == PREG_BACKTRACK_LIMIT_ERROR ) {
|
||||
error_log('ERROR: PREG_BACKTRACK_LIMIT_ERROR in function packJSinHTML');
|
||||
return $htmlContentCopy;
|
||||
}
|
||||
return $html_content;
|
||||
}
|
||||
return false;
|
||||
Tools::displayAsDeprecated();
|
||||
return Media::packJSinHTML($html_content);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated as of 1.5 use Media::packJSinHTMLpregCallback()
|
||||
*/
|
||||
public static function packJSinHTMLpregCallback($preg_matches)
|
||||
{
|
||||
$preg_matches[1] = $preg_matches[1].'/* <![CDATA[ */';
|
||||
$preg_matches[2] = self::packJS($preg_matches[2]);
|
||||
$preg_matches[count($preg_matches)-1] = '/* ]]> */'.$preg_matches[count($preg_matches)-1];
|
||||
unset($preg_matches[0]);
|
||||
$output = implode('', $preg_matches);
|
||||
return $output;
|
||||
Tools::displayAsDeprecated();
|
||||
return Media::packJSinHTMLpregCallback($preg_matches);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated as of 1.5 use Media::packJS()
|
||||
*/
|
||||
public static function packJS($js_content)
|
||||
{
|
||||
if (strlen($js_content) > 0)
|
||||
{
|
||||
require_once(_PS_TOOL_DIR_.'js_minify/jsmin.php');
|
||||
return JSMin::minify($js_content);
|
||||
}
|
||||
return false;
|
||||
Tools::displayAsDeprecated();
|
||||
return Media::packJS($js_content);
|
||||
}
|
||||
|
||||
|
||||
@@ -1328,42 +1285,14 @@ class ToolsCore
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated as of 1.5 use Media::minifyCSS()
|
||||
*/
|
||||
public static function minifyCSS($css_content, $fileuri = false)
|
||||
{
|
||||
global $current_css_file;
|
||||
|
||||
$current_css_file = $fileuri;
|
||||
if (strlen($css_content) > 0)
|
||||
{
|
||||
$css_content = preg_replace('#/\*.*?\*/#s', '', $css_content);
|
||||
$css_content = preg_replace_callback('#url\((?:\'|")?([^\)\'"]*)(?:\'|")?\)#s',array('Tools', 'replaceByAbsoluteURL'), $css_content);
|
||||
|
||||
$css_content = preg_replace('#\s+#',' ',$css_content);
|
||||
$css_content = str_replace("\t", '', $css_content);
|
||||
$css_content = str_replace("\n", '', $css_content);
|
||||
//$css_content = str_replace('}', "}\n", $css_content);
|
||||
|
||||
$css_content = str_replace('; ', ';', $css_content);
|
||||
$css_content = str_replace(': ', ':', $css_content);
|
||||
$css_content = str_replace(' {', '{', $css_content);
|
||||
$css_content = str_replace('{ ', '{', $css_content);
|
||||
$css_content = str_replace(', ', ',', $css_content);
|
||||
$css_content = str_replace('} ', '}', $css_content);
|
||||
$css_content = str_replace(' }', '}', $css_content);
|
||||
$css_content = str_replace(';}', '}', $css_content);
|
||||
$css_content = str_replace(':0px', ':0', $css_content);
|
||||
$css_content = str_replace(' 0px', ' 0', $css_content);
|
||||
$css_content = str_replace(':0em', ':0', $css_content);
|
||||
$css_content = str_replace(' 0em', ' 0', $css_content);
|
||||
$css_content = str_replace(':0pt', ':0', $css_content);
|
||||
$css_content = str_replace(' 0pt', ' 0', $css_content);
|
||||
$css_content = str_replace(':0%', ':0', $css_content);
|
||||
$css_content = str_replace(' 0%', ' 0', $css_content);
|
||||
|
||||
return trim($css_content);
|
||||
}
|
||||
return false;
|
||||
Tools::displayAsDeprecated();
|
||||
return Media::minifyCSS($css_content, $fileuri);
|
||||
}
|
||||
|
||||
public static function replaceByAbsoluteURL($matches)
|
||||
@@ -1410,163 +1339,26 @@ class ToolsCore
|
||||
}
|
||||
|
||||
/**
|
||||
* Combine Compress and Cache CSS (ccc) calls
|
||||
*
|
||||
* @param array css_files
|
||||
* @return array processed css_files
|
||||
* @deprecated as of 1.5 use Media::cccCss()
|
||||
*/
|
||||
public static function cccCss($css_files) {
|
||||
//inits
|
||||
$css_files_by_media = array();
|
||||
$compressed_css_files = array();
|
||||
$compressed_css_files_not_found = array();
|
||||
$compressed_css_files_infos = array();
|
||||
$protocolLink = self::getCurrentUrlProtocolPrefix();
|
||||
|
||||
// group css files by media
|
||||
foreach ($css_files as $filename => $media)
|
||||
{
|
||||
if (!array_key_exists($media, $css_files_by_media))
|
||||
$css_files_by_media[$media] = array();
|
||||
|
||||
$infos = array();
|
||||
$infos['uri'] = $filename;
|
||||
$url_data = parse_url($filename);
|
||||
$infos['path'] = _PS_ROOT_DIR_.self::str_replace_once(__PS_BASE_URI__, '/', $url_data['path']);
|
||||
$css_files_by_media[$media]['files'][] = $infos;
|
||||
if (!array_key_exists('date', $css_files_by_media[$media]))
|
||||
$css_files_by_media[$media]['date'] = 0;
|
||||
$css_files_by_media[$media]['date'] = max(
|
||||
file_exists($infos['path']) ? filemtime($infos['path']) : 0,
|
||||
$css_files_by_media[$media]['date']
|
||||
);
|
||||
|
||||
if (!array_key_exists($media, $compressed_css_files_infos))
|
||||
$compressed_css_files_infos[$media] = array('key' => '');
|
||||
$compressed_css_files_infos[$media]['key'] .= $filename;
|
||||
}
|
||||
|
||||
// get compressed css file infos
|
||||
foreach ($compressed_css_files_infos as $media => &$info)
|
||||
{
|
||||
$key = md5($info['key'].$protocolLink);
|
||||
$filename = _PS_THEME_DIR_.'cache/'.$key.'_'.$media.'.css';
|
||||
$info = array(
|
||||
'key' => $key,
|
||||
'date' => file_exists($filename) ? filemtime($filename) : 0
|
||||
);
|
||||
}
|
||||
// aggregate and compress css files content, write new caches files
|
||||
foreach ($css_files_by_media as $media => $media_infos)
|
||||
{
|
||||
$cache_filename = _PS_THEME_DIR_.'cache/'.$compressed_css_files_infos[$media]['key'].'_'.$media.'.css';
|
||||
if ($media_infos['date'] > $compressed_css_files_infos[$media]['date'])
|
||||
{
|
||||
$compressed_css_files[$media] = '';
|
||||
foreach ($media_infos['files'] as $file_infos)
|
||||
{
|
||||
if (file_exists($file_infos['path']))
|
||||
$compressed_css_files[$media] .= self::minifyCSS(file_get_contents($file_infos['path']), $file_infos['uri']);
|
||||
else
|
||||
$compressed_css_files_not_found[] = $file_infos['path'];
|
||||
}
|
||||
if (!empty($compressed_css_files_not_found))
|
||||
$content = '/* WARNING ! file(s) not found : "'.
|
||||
implode(',', $compressed_css_files_not_found).
|
||||
'" */'."\n".$compressed_css_files[$media];
|
||||
else
|
||||
$content = $compressed_css_files[$media];
|
||||
file_put_contents($cache_filename, $content);
|
||||
chmod($cache_filename, 0777);
|
||||
}
|
||||
$compressed_css_files[$media] = $cache_filename;
|
||||
}
|
||||
|
||||
// rebuild the original css_files array
|
||||
$css_files = array();
|
||||
foreach ($compressed_css_files as $media => $filename)
|
||||
{
|
||||
$url = str_replace(_PS_THEME_DIR_, _THEMES_DIR_._THEME_NAME_.'/', $filename);
|
||||
$css_files[$protocolLink.self::getMediaServer($url).$url] = $media;
|
||||
}
|
||||
return $css_files;
|
||||
public static function cccCss($css_files)
|
||||
{
|
||||
Tools::displayAsDeprecated();
|
||||
return Media::cccCss($css_files);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Combine Compress and Cache (ccc) JS calls
|
||||
*
|
||||
* @param array js_files
|
||||
* @return array processed js_files
|
||||
* @deprecated as of 1.5 use Media::cccJS()
|
||||
*/
|
||||
public static function cccJS($js_files) {
|
||||
//inits
|
||||
$compressed_js_files_not_found = array();
|
||||
$js_files_infos = array();
|
||||
$js_files_date = 0;
|
||||
$compressed_js_file_date = 0;
|
||||
$compressed_js_filename = '';
|
||||
$js_external_files = array();
|
||||
$protocolLink = self::getCurrentUrlProtocolPrefix();
|
||||
|
||||
// get js files infos
|
||||
foreach ($js_files as $filename)
|
||||
{
|
||||
$expr = explode(':', $filename);
|
||||
|
||||
if ($expr[0] == 'http')
|
||||
$js_external_files[] = $filename;
|
||||
else
|
||||
{
|
||||
$infos = array();
|
||||
$infos['uri'] = $filename;
|
||||
$url_data = parse_url($filename);
|
||||
$infos['path'] =_PS_ROOT_DIR_.self::str_replace_once(__PS_BASE_URI__, '/', $url_data['path']);
|
||||
$js_files_infos[] = $infos;
|
||||
|
||||
$js_files_date = max(
|
||||
file_exists($infos['path']) ? filemtime($infos['path']) : 0,
|
||||
$js_files_date
|
||||
);
|
||||
$compressed_js_filename .= $filename;
|
||||
}
|
||||
}
|
||||
|
||||
// get compressed js file infos
|
||||
$compressed_js_filename = md5($compressed_js_filename);
|
||||
|
||||
$compressed_js_path = _PS_THEME_DIR_.'cache/'.$compressed_js_filename.'.js';
|
||||
$compressed_js_file_date = file_exists($compressed_js_path) ? filemtime($compressed_js_path) : 0;
|
||||
|
||||
// aggregate and compress js files content, write new caches files
|
||||
if ($js_files_date > $compressed_js_file_date)
|
||||
{
|
||||
$content = '';
|
||||
foreach ($js_files_infos as $file_infos)
|
||||
{
|
||||
if (file_exists($file_infos['path']))
|
||||
$content .= file_get_contents($file_infos['path']).';';
|
||||
else
|
||||
$compressed_js_files_not_found[] = $file_infos['path'];
|
||||
}
|
||||
$content = self::packJS($content);
|
||||
|
||||
if (!empty($compressed_js_files_not_found))
|
||||
$content = '/* WARNING ! file(s) not found : "'.
|
||||
implode(',', $compressed_js_files_not_found).
|
||||
'" */'."\n".$content;
|
||||
|
||||
file_put_contents($compressed_js_path, $content);
|
||||
chmod($compressed_js_path, 0777);
|
||||
}
|
||||
|
||||
// rebuild the original js_files array
|
||||
$url = str_replace(_PS_ROOT_DIR_.'/', __PS_BASE_URI__, $compressed_js_path);
|
||||
|
||||
return array_merge(array($protocolLink.Tools::getMediaServer($url).$url), $js_external_files);
|
||||
public static function cccJS($js_files)
|
||||
{
|
||||
Tools::displayAsDeprecated();
|
||||
return Media::cccJS($css_files);
|
||||
}
|
||||
|
||||
private static $_cache_nb_media_servers = null;
|
||||
|
||||
public static function getMediaServer($filename)
|
||||
{
|
||||
if (self::$_cache_nb_media_servers === null)
|
||||
@@ -1770,7 +1562,6 @@ FileETag INode MTime Size
|
||||
{
|
||||
$backtrace = debug_backtrace();
|
||||
$callee = next($backtrace);
|
||||
|
||||
if ($message)
|
||||
trigger_error($message, E_USER_WARNING);
|
||||
else
|
||||
|
||||
@@ -158,4 +158,6 @@ if (!defined('_PS_CACHE_ENABLED_'))
|
||||
|
||||
define('_PS_SMARTY_NO_COMPILE_', 0);
|
||||
define('_PS_SMARTY_CHECK_COMPILE_', 1);
|
||||
define('_PS_SMARTY_FORCE_COMPILE_', 2);
|
||||
define('_PS_SMARTY_FORCE_COMPILE_', 2);
|
||||
|
||||
define('_PS_JQUERY_VERSION_', '1.4.4');
|
||||
@@ -163,13 +163,13 @@ function smarty_modifier_truncate($string, $length = 80, $etc = '...', $break_wo
|
||||
|
||||
function smartyMinifyHTML($tpl_output, &$smarty)
|
||||
{
|
||||
$tpl_output = Tools::minifyHTML($tpl_output);
|
||||
$tpl_output = Media::minifyHTML($tpl_output);
|
||||
return $tpl_output;
|
||||
}
|
||||
|
||||
function smartyPackJSinHTML($tpl_output, &$smarty)
|
||||
{
|
||||
$tpl_output = Tools::packJSinHTML($tpl_output);
|
||||
$tpl_output = Media::packJSinHTML($tpl_output);
|
||||
return $tpl_output;
|
||||
}
|
||||
|
||||
|
||||
@@ -132,13 +132,13 @@ function smarty_modifier_truncate($string, $length = 80, $etc = '...', $break_wo
|
||||
|
||||
function smartyMinifyHTML($tpl_output, &$smarty)
|
||||
{
|
||||
$tpl_output = Tools::minifyHTML($tpl_output);
|
||||
$tpl_output = Media::minifyHTML($tpl_output);
|
||||
return $tpl_output;
|
||||
}
|
||||
|
||||
function smartyPackJSinHTML($tpl_output, &$smarty)
|
||||
{
|
||||
$tpl_output = Tools::packJSinHTML($tpl_output);
|
||||
$tpl_output = Media::packJSinHTML($tpl_output);
|
||||
return $tpl_output;
|
||||
}
|
||||
|
||||
|
||||
@@ -155,8 +155,8 @@ class AdminHomeControllerCore extends AdminController
|
||||
{
|
||||
parent::setMedia();
|
||||
if (strpos($_SERVER['HTTP_USER_AGENT'],'MSIE') !== false)
|
||||
$this->addJS(_PS_JS_DIR_.'jquery/excanvas.min.js');
|
||||
$this->addJS(_PS_JS_DIR_.'jquery/jquery.flot.min.js');
|
||||
$this->addJqueryPlugin('excanvas');
|
||||
$this->addJqueryPlugin('flot');
|
||||
}
|
||||
|
||||
protected function warnDomainName()
|
||||
|
||||
@@ -358,7 +358,8 @@ class AuthControllerCore extends FrontController
|
||||
{
|
||||
parent::setMedia();
|
||||
$this->addCSS(_THEME_CSS_DIR_.'authentication.css');
|
||||
$this->addJS(array(_THEME_JS_DIR_.'tools/statesManagement.js', _PS_JS_DIR_.'jquery/jquery-typewatch.pack.js'));
|
||||
$this->addJqueryPlugin('typewatch');
|
||||
$this->addJS(_THEME_JS_DIR_.'tools/statesManagement.js');
|
||||
}
|
||||
|
||||
public function process()
|
||||
|
||||
@@ -36,8 +36,8 @@ class CategoryControllerCore extends FrontController
|
||||
public function setMedia()
|
||||
{
|
||||
parent::setMedia();
|
||||
//TODO : check why cluetip css is include without js file
|
||||
$this->addCSS(array(
|
||||
_PS_CSS_DIR_.'jquery.cluetip.css' => 'all',
|
||||
_THEME_CSS_DIR_.'scenes.css' => 'all',
|
||||
_THEME_CSS_DIR_.'category.css' => 'all',
|
||||
_THEME_CSS_DIR_.'product_list.css' => 'all',
|
||||
|
||||
@@ -37,10 +37,11 @@ class HistoryControllerCore extends FrontController
|
||||
parent::setMedia();
|
||||
$this->addCSS(_THEME_CSS_DIR_.'history.css');
|
||||
$this->addCSS(_THEME_CSS_DIR_.'addresses.css');
|
||||
$this->addJqueryPlugin('scrollTo');
|
||||
$this->addJS(array(
|
||||
_PS_JS_DIR_.'jquery/jquery.scrollTo-1.4.2-min.js',
|
||||
_THEME_JS_DIR_.'history.js',
|
||||
_THEME_JS_DIR_.'tools.js'));
|
||||
_THEME_JS_DIR_.'history.js',
|
||||
_THEME_JS_DIR_.'tools.js')
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -100,6 +100,7 @@ class OrderFollowControllerCore extends FrontController
|
||||
parent::setMedia();
|
||||
$this->addCSS(_THEME_CSS_DIR_.'history.css');
|
||||
$this->addCSS(_THEME_CSS_DIR_.'addresses.css');
|
||||
$this->addJS(array(_PS_JS_DIR_.'jquery/jquery.scrollTo-1.4.2-min.js', _THEME_JS_DIR_.'history.js'));
|
||||
$this->addJqueryPlugin('scrollTo');
|
||||
$this->addJS(_THEME_JS_DIR_.'history.js');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -221,7 +221,7 @@ class OrderOpcControllerCore extends ParentOrderController
|
||||
$this->addCSS(_THEME_CSS_DIR_.'order-opc.css');
|
||||
// Adding JS files
|
||||
$this->addJS(_THEME_JS_DIR_.'order-opc.js');
|
||||
$this->addJS(_PS_JS_DIR_.'jquery/jquery.scrollTo-1.4.2-min.js');
|
||||
$this->addJqueryPlugin('scrollTo');
|
||||
$this->addJS(_THEME_JS_DIR_.'tools/statesManagement.js');
|
||||
}
|
||||
|
||||
|
||||
@@ -37,7 +37,8 @@ class OrderSlipControllerCore extends FrontController
|
||||
parent::setMedia();
|
||||
$this->addCSS(_THEME_CSS_DIR_.'history.css');
|
||||
$this->addCSS(_THEME_CSS_DIR_.'addresses.css');
|
||||
$this->addJS(array(_PS_JS_DIR_.'jquery/jquery.scrollTo-1.4.2-min.js',_THEME_JS_DIR_.'history.js'));
|
||||
$this->addJqueryPlugin('scrollTo');
|
||||
$this->addJS(_THEME_JS_DIR_.'history.js');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -134,17 +134,15 @@ class ParentOrderControllerCore extends FrontController
|
||||
|
||||
// Adding CSS style sheet
|
||||
$this->addCSS(_THEME_CSS_DIR_.'addresses.css');
|
||||
$this->addCSS(_PS_CSS_DIR_.'jquery.fancybox-1.3.4.css', 'screen');
|
||||
|
||||
// Adding JS files
|
||||
$this->addJS(_THEME_JS_DIR_.'tools.js');
|
||||
if ((Configuration::get('PS_ORDER_PROCESS_TYPE') == 0 && Tools::getValue('step') == 1) || Configuration::get('PS_ORDER_PROCESS_TYPE') == 1)
|
||||
$this->addJS(_THEME_JS_DIR_.'order-address.js');
|
||||
$this->addJS(_PS_JS_DIR_.'jquery/jquery.fancybox-1.3.4.js');
|
||||
$this->addJqueryPlugin('fancybox');
|
||||
if ((int)(Configuration::get('PS_BLOCK_CART_AJAX')) || Configuration::get('PS_ORDER_PROCESS_TYPE') == 1)
|
||||
{
|
||||
$this->addJS(_THEME_JS_DIR_.'cart-summary.js');
|
||||
$this->addJS(_PS_JS_DIR_.'jquery/jquery-typewatch.pack.js');
|
||||
$this->addJqueryPlugin('typewatch');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -35,18 +35,15 @@ class ProductControllerCore extends FrontController
|
||||
|
||||
$this->addCSS(_THEME_CSS_DIR_.'product.css');
|
||||
$this->addCSS(_PS_CSS_DIR_.'jquery.fancybox-1.3.4.css', 'screen');
|
||||
$this->addJqueryPlugin(array('fancybox', 'idTabs', 'scrollTo', 'serialScroll'));
|
||||
$this->addJS(array(
|
||||
_PS_JS_DIR_.'jquery/jquery.fancybox-1.3.4.js',
|
||||
_PS_JS_DIR_.'jquery/jquery.idTabs.modified.js',
|
||||
_PS_JS_DIR_.'jquery/jquery.scrollTo-1.4.2-min.js',
|
||||
_PS_JS_DIR_.'jquery/jquery.serialScroll-1.2.2-min.js',
|
||||
_THEME_JS_DIR_.'tools.js',
|
||||
_THEME_JS_DIR_.'product.js'));
|
||||
_THEME_JS_DIR_.'tools.js',
|
||||
_THEME_JS_DIR_.'product.js')
|
||||
);
|
||||
|
||||
if (Configuration::get('PS_DISPLAY_JQZOOM') == 1)
|
||||
{
|
||||
$this->addCSS(_PS_CSS_DIR_.'jqzoom.css', 'screen');
|
||||
$this->addJS(_PS_JS_DIR_.'jquery/jquery.jqzoom.js');
|
||||
$this->addJqueryPlugin('jqzoom');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine on
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule "(.*)\.css$" retro-compat.css.php?file=$1.css [QSA,L]
|
||||
</IfModule>
|
||||
|
||||
|
||||
@@ -1,142 +0,0 @@
|
||||
table.jCalendar {
|
||||
border: 1px solid #000;
|
||||
background: #aaa;
|
||||
border-collapse: separate;
|
||||
border-spacing: 2px;
|
||||
}
|
||||
table.jCalendar th {
|
||||
background: #333;
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
padding: 3px 5px;
|
||||
}
|
||||
table.jCalendar td {
|
||||
background: #ccc;
|
||||
color: #000;
|
||||
padding: 3px 5px;
|
||||
text-align: center;
|
||||
}
|
||||
table.jCalendar td.other-month {
|
||||
background: #ddd;
|
||||
color: #aaa;
|
||||
}
|
||||
table.jCalendar td.today {
|
||||
background: #666;
|
||||
color: #fff;
|
||||
}
|
||||
table.jCalendar td.selected {
|
||||
background: #f66;
|
||||
color: #fff;
|
||||
}
|
||||
table.jCalendar td.selected:hover {
|
||||
background: #f33;
|
||||
color: #fff;
|
||||
}
|
||||
table.jCalendar td:hover, table.jCalendar td.dp-hover {
|
||||
background: #fff;
|
||||
color: #000;
|
||||
}
|
||||
table.jCalendar td.disabled, table.jCalendar td.disabled:hover {
|
||||
background: #bbb;
|
||||
color: #888;
|
||||
}
|
||||
|
||||
/* For the popup */
|
||||
|
||||
/* NOTE - you will probably want to style a.dp-choose-date - see how I did it in demo.css */
|
||||
/* located in demo.css and creates a little calendar icon
|
||||
* instead of a text link for "Choose date"
|
||||
*/
|
||||
a.dp-choose-date {
|
||||
/*float: left;
|
||||
display: block;
|
||||
text-indent: -2000px;*/
|
||||
width: 16px;
|
||||
height: 18px;
|
||||
overflow: visible;
|
||||
padding: 0;
|
||||
margin: 2px 3px 0 3px;
|
||||
background: url('../img/admin/calendar.png') no-repeat 0px -1px;
|
||||
}
|
||||
a.dp-choose-date.dp-disabled {
|
||||
background-position: 0 -20px;
|
||||
cursor: default;
|
||||
}
|
||||
/* makes the input field shorter once the date picker code
|
||||
* has run (to allow space for the calendar icon
|
||||
*/
|
||||
input.dp-applied {
|
||||
width: 100px;
|
||||
/*float: left;*/
|
||||
}
|
||||
|
||||
|
||||
|
||||
div.dp-popup {
|
||||
position: relative;
|
||||
background: #ccc;
|
||||
font-size: 10px;
|
||||
font-family: arial, sans-serif;
|
||||
padding: 2px;
|
||||
width: 171px;
|
||||
line-height: 1.2em;
|
||||
}
|
||||
div#dp-popup {
|
||||
position: absolute;
|
||||
z-index: 199;
|
||||
}
|
||||
div.dp-popup h2 {
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
margin: 2px 0;
|
||||
padding: 0;
|
||||
}
|
||||
a#dp-close {
|
||||
font-size: 11px;
|
||||
padding: 4px 0;
|
||||
text-align: center;
|
||||
display: block;
|
||||
}
|
||||
a#dp-close:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
div.dp-popup a {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
padding: 3px 2px 0;
|
||||
}
|
||||
div.dp-popup div.dp-nav-prev {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 4px;
|
||||
width: 100px;
|
||||
}
|
||||
div.dp-popup div.dp-nav-prev a {
|
||||
float: left;
|
||||
}
|
||||
/* Opera needs the rules to be this specific otherwise it doesn't change the cursor back to pointer after you have disabled and re-enabled a link */
|
||||
div.dp-popup div.dp-nav-prev a, div.dp-popup div.dp-nav-next a {
|
||||
cursor: pointer;
|
||||
}
|
||||
div.dp-popup div.dp-nav-prev a.disabled, div.dp-popup div.dp-nav-next a.disabled {
|
||||
cursor: default;
|
||||
}
|
||||
div.dp-popup div.dp-nav-next {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
right: 4px;
|
||||
width: 100px;
|
||||
}
|
||||
div.dp-popup div.dp-nav-next a {
|
||||
float: right;
|
||||
}
|
||||
div.dp-popup a.disabled {
|
||||
cursor: default;
|
||||
color: #aaa;
|
||||
}
|
||||
div.dp-popup td {
|
||||
cursor: pointer;
|
||||
}
|
||||
div.dp-popup td.disabled {
|
||||
cursor: default;
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
header('content-type: text/css');
|
||||
$css_folder = __DIR__.'/../js/jquery/';
|
||||
|
||||
$css_files = array(
|
||||
'datepicker.css' =>
|
||||
array('new_file' => $css_folder.'themes/base/jquery.ui.datepicker.css'),
|
||||
'fileuploader.css' =>
|
||||
array('new_file' => $css_folder.'plugins/ajaxfileupload/jquery.ajaxfileupload.css'),
|
||||
'jquery.autocomplete.css' =>
|
||||
array('new_file' => $css_folder.'plugins/autocomplete/jquery.autocomplete.css'),
|
||||
'jquery.cluetip.css' =>
|
||||
array('new_file' => $css_folder.'plugins/cluetip/jquery.cluetip.css'),
|
||||
'jquery.fancybox-1.3.4.css' =>
|
||||
array('new_file' => $css_folder.'plugins/fancybox/jquery.fancybox.css'),
|
||||
'jquery.jgrowl.css'=>
|
||||
array('new_file' => $css_folder.'plugins/jgrowl/jquery.jgrowl.css'),
|
||||
'jquery.treeview.css' =>
|
||||
array('new_file' => $css_folder.'plugins/treeview/jquery.treeview.css'),
|
||||
'jqzoom.css' =>
|
||||
array('new_file' => $css_folder.'plugins/jqzoom/jquery.jqzoom.css'),
|
||||
'tabpane.css' =>
|
||||
array('new_file' => $css_folder.'plugins/tabpane/jquery.tabpane.css'),
|
||||
'thickbox.css' =>
|
||||
array('new_file' => $css_folder.'plugins/thickbox/jquery.thickbox.css'),
|
||||
'jquery.fancybox.css' =>
|
||||
array('new_file' => $css_folder.'plugins/fancybox/jquery.fancybox.css'),
|
||||
'jquery.autocomplete.css' =>
|
||||
array('new_file' => $css_folder.'plugins/autocomplete/jquery.autocomplete.css')
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
$file = $_GET['file'];
|
||||
|
||||
if (!array_key_exists($file, $css_files)) //check if file is a real prestashop native CSS
|
||||
die('file_not_found');
|
||||
else
|
||||
$html = file_get_contents($css_files[$file]['new_file']);
|
||||
|
||||
if ($file == 'datepicker.css')
|
||||
{
|
||||
$html .= file_get_contents($css_folder.'themes/base/jquery.ui.theme.css');
|
||||
$html = str_replace('url(images', 'url(../themes/base/images', $html);
|
||||
}
|
||||
echo $html ;
|
||||
@@ -0,0 +1,8 @@
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine on
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule "([^/]*)\.js$" retro-compat.js.php?file=$1.js [QSA,L]
|
||||
RewriteRule "([^/]*)\.css$" ../css/retro-compat.css.php?file=$1.css [QSA,L]
|
||||
</IfModule>
|
||||
|
||||
|
||||
@@ -404,7 +404,6 @@ if (helpboxes)
|
||||
{
|
||||
//Display by rollover
|
||||
$('input').mouseover(function() {
|
||||
console.log($(this).parent());
|
||||
$(this).parent().find('.hint:first').css('display', 'block');
|
||||
});
|
||||
$('input').mouseout(function() { $(this).parent().find('.hint:first').css('display', 'none'); });
|
||||
|
||||
@@ -1,194 +0,0 @@
|
||||
jQuery.extend({
|
||||
createUploadIframe: function(id, uri)
|
||||
{
|
||||
//create frame
|
||||
var frameId = 'jUploadFrame' + id;
|
||||
var iframeHtml = '<iframe id="' + frameId + '" name="' + frameId + '" style="position:absolute; top:-9999px; left:-9999px"';
|
||||
if(window.ActiveXObject)
|
||||
{
|
||||
if(typeof uri== 'boolean'){
|
||||
iframeHtml += ' src="' + 'javascript:false' + '"';
|
||||
|
||||
}
|
||||
else if(typeof uri== 'string'){
|
||||
iframeHtml += ' src="' + uri + '"';
|
||||
|
||||
}
|
||||
}
|
||||
iframeHtml += ' />';
|
||||
jQuery(iframeHtml).appendTo(document.body);
|
||||
|
||||
return jQuery('#' + frameId).get(0);
|
||||
},
|
||||
createUploadForm: function(id, fileElementId, data)
|
||||
{
|
||||
//create form
|
||||
var formId = 'jUploadForm' + id;
|
||||
var fileId = 'jUploadFile' + id;
|
||||
var form = jQuery('<form action="" method="POST" name="' + formId + '" id="' + formId + '" enctype="multipart/form-data"></form>');
|
||||
if(data)
|
||||
{
|
||||
for(var i in data)
|
||||
{
|
||||
jQuery('<input type="hidden" name="' + i + '" value="' + data[i] + '" />').appendTo(form);
|
||||
}
|
||||
}
|
||||
var oldElement = jQuery('#' + fileElementId);
|
||||
var newElement = jQuery(oldElement).clone();
|
||||
jQuery(oldElement).attr('id', fileId);
|
||||
jQuery(oldElement).before(newElement);
|
||||
jQuery(oldElement).appendTo(form);
|
||||
|
||||
|
||||
|
||||
//set attributes
|
||||
jQuery(form).css('position', 'absolute');
|
||||
jQuery(form).css('top', '-1200px');
|
||||
jQuery(form).css('left', '-1200px');
|
||||
jQuery(form).appendTo('body');
|
||||
return form;
|
||||
},
|
||||
|
||||
ajaxFileUpload: function(s) {
|
||||
// TODO introduce global settings, allowing the client to modify them for all requests, not only timeout
|
||||
s = jQuery.extend({}, jQuery.ajaxSettings, s);
|
||||
var id = new Date().getTime()
|
||||
var form = jQuery.createUploadForm(id, s.fileElementId, (typeof(s.data)=='undefined'?false:s.data));
|
||||
var io = jQuery.createUploadIframe(id, s.secureuri);
|
||||
var frameId = 'jUploadFrame' + id;
|
||||
var formId = 'jUploadForm' + id;
|
||||
// Watch for a new set of requests
|
||||
if ( s.global && ! jQuery.active++ )
|
||||
{
|
||||
jQuery.event.trigger( "ajaxStart" );
|
||||
}
|
||||
var requestDone = false;
|
||||
// Create the request object
|
||||
var xml = {}
|
||||
if ( s.global )
|
||||
jQuery.event.trigger("ajaxSend", [xml, s]);
|
||||
// Wait for a response to come back
|
||||
var uploadCallback = function(isTimeout)
|
||||
{
|
||||
var io = document.getElementById(frameId);
|
||||
try
|
||||
{
|
||||
if(io.contentWindow)
|
||||
{
|
||||
xml.responseText = io.contentWindow.document.body?io.contentWindow.document.body.innerHTML:null;
|
||||
xml.responseXML = io.contentWindow.document.XMLDocument?io.contentWindow.document.XMLDocument:io.contentWindow.document;
|
||||
|
||||
}else if(io.contentDocument)
|
||||
{
|
||||
xml.responseText = io.contentDocument.document.body?io.contentDocument.document.body.innerHTML:null;
|
||||
xml.responseXML = io.contentDocument.document.XMLDocument?io.contentDocument.document.XMLDocument:io.contentDocument.document;
|
||||
}
|
||||
}catch(e)
|
||||
{
|
||||
jQuery.handleError(s, xml, null, e);
|
||||
}
|
||||
if ( xml || isTimeout == "timeout")
|
||||
{
|
||||
requestDone = true;
|
||||
var status;
|
||||
try {
|
||||
status = isTimeout != "timeout" ? "success" : "error";
|
||||
// Make sure that the request was successful or notmodified
|
||||
if ( status != "error" )
|
||||
{
|
||||
// process the data (runs the xml through httpData regardless of callback)
|
||||
var data = jQuery.uploadHttpData( xml, s.dataType );
|
||||
// If a local callback was specified, fire it and pass it the data
|
||||
if ( s.success )
|
||||
s.success( data, status );
|
||||
|
||||
// Fire the global callback
|
||||
if( s.global )
|
||||
jQuery.event.trigger( "ajaxSuccess", [xml, s] );
|
||||
} else
|
||||
jQuery.handleError(s, xml, status);
|
||||
} catch(e)
|
||||
{
|
||||
status = "error";
|
||||
jQuery.handleError(s, xml, status, e);
|
||||
}
|
||||
|
||||
// The request was completed
|
||||
if( s.global )
|
||||
jQuery.event.trigger( "ajaxComplete", [xml, s] );
|
||||
|
||||
// Handle the global AJAX counter
|
||||
if ( s.global && ! --jQuery.active )
|
||||
jQuery.event.trigger( "ajaxStop" );
|
||||
|
||||
// Process result
|
||||
if ( s.complete )
|
||||
s.complete(xml, status);
|
||||
|
||||
jQuery(io).unbind()
|
||||
|
||||
setTimeout(function()
|
||||
{ try
|
||||
{
|
||||
jQuery(io).remove();
|
||||
jQuery(form).remove();
|
||||
|
||||
} catch(e)
|
||||
{
|
||||
jQuery.handleError(s, xml, null, e);
|
||||
}
|
||||
|
||||
}, 100)
|
||||
xml = null
|
||||
|
||||
}
|
||||
}
|
||||
// Timeout checker
|
||||
if ( s.timeout > 0 )
|
||||
{
|
||||
setTimeout(function(){
|
||||
// Check to see if the request is still happening
|
||||
if( !requestDone ) uploadCallback( "timeout" );
|
||||
}, s.timeout);
|
||||
}
|
||||
try
|
||||
{
|
||||
|
||||
var form = jQuery('#' + formId);
|
||||
jQuery(form).attr('action', s.url);
|
||||
jQuery(form).attr('method', 'POST');
|
||||
jQuery(form).attr('target', frameId);
|
||||
if(form.encoding)
|
||||
{
|
||||
jQuery(form).attr('encoding', 'multipart/form-data');
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery(form).attr('enctype', 'multipart/form-data');
|
||||
}
|
||||
jQuery(form).submit();
|
||||
|
||||
} catch(e)
|
||||
{
|
||||
jQuery.handleError(s, xml, null, e);
|
||||
}
|
||||
jQuery('#' + frameId).load(uploadCallback );
|
||||
return {abort: function () {}};
|
||||
},
|
||||
|
||||
uploadHttpData: function( r, type ) {
|
||||
var data = !type;
|
||||
data = type == "xml" || data ? r.responseXML : r.responseText;
|
||||
// If the type is "script", eval it in global context
|
||||
if ( type == "script" )
|
||||
jQuery.globalEval( data );
|
||||
// Get the JavaScript object, if JSON is used.
|
||||
if ( type == "json" )
|
||||
eval( "data = " + data );
|
||||
// evaluate scripts within html
|
||||
if ( type == "html" )
|
||||
jQuery("<div>").html(data).evalScripts();
|
||||
|
||||
return data;
|
||||
}
|
||||
})
|
||||
|
Before Width: | Height: | Size: 395 B |
|
Before Width: | Height: | Size: 403 B |
@@ -1,875 +0,0 @@
|
||||
/*
|
||||
* jQuery UI CSS Framework
|
||||
* Copyright (c) 2008 AUTHORS.txt (http://ui.jquery.com/about)
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
|
||||
* To view and modify this theme, visit http://themeroller.com/?ctl=themeroller&tr=&ffDefault=Trebuchet+MS,+Tahoma,+Verdana,+Arial,+sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=03_highlight_soft.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=01_flat.png&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px
|
||||
*/
|
||||
|
||||
.ui-widget {
|
||||
font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;
|
||||
font-size:1.1em;
|
||||
}
|
||||
.ui-widget-header {
|
||||
background:#F6A828 url(f6a828.png) repeat-x scroll 50% 50%;
|
||||
border:1px solid #E78F08;
|
||||
color:#FFFFFF;
|
||||
font-weight:bold;
|
||||
}
|
||||
.ui-widget-header a {
|
||||
color:#FFFFFF;
|
||||
}
|
||||
.ui-widget-content {
|
||||
background:#EEEEEE url(eeeeee.png) repeat-x scroll 50% 0;
|
||||
border:1px solid #DDDDDD;
|
||||
color:#333333;
|
||||
display:none;
|
||||
}
|
||||
.ui-widget-content a {
|
||||
color:#488c40;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.ui-state-default, .ui-widget-content .ui-state-default {
|
||||
background:#F6F6F6 url(f6f6f6.png) repeat-x scroll 50% 50%;
|
||||
border:1px solid #CCCCCC;
|
||||
color:#812143;
|
||||
outline-color:-moz-use-text-color;
|
||||
outline-style:none;
|
||||
outline-width:medium;
|
||||
}
|
||||
.ui-state-default a {
|
||||
color:#812143;
|
||||
outline-color:-moz-use-text-color;
|
||||
outline-style:none;
|
||||
outline-width:medium;
|
||||
text-decoration:none;
|
||||
}
|
||||
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus {
|
||||
background:#F6F6F6 url(f6f6f6.png) repeat-x scroll 50% 50%;
|
||||
border:1px solid #CCCCCC;
|
||||
color:#812143;
|
||||
outline-color:-moz-use-text-color;
|
||||
outline-style:none;
|
||||
outline-width:medium;
|
||||
}
|
||||
.ui-state-hover a {
|
||||
color:#812143;
|
||||
outline-color:-moz-use-text-color;
|
||||
outline-style:none;
|
||||
outline-width:medium;
|
||||
text-decoration:none;
|
||||
}
|
||||
.ui-state-active, .ui-widget-content .ui-state-active {
|
||||
background:#F6F6F6 url(f6f6f6.png) repeat-x scroll 50% 50%;
|
||||
border:1px solid #CCCCCC;
|
||||
color:#812143;
|
||||
outline-color:-moz-use-text-color;
|
||||
outline-style:none;
|
||||
outline-width:medium;
|
||||
}
|
||||
.ui-state-active a {
|
||||
color:#812143;
|
||||
outline-color:-moz-use-text-color;
|
||||
outline-style:none;
|
||||
outline-width:medium;
|
||||
text-decoration:none;
|
||||
}
|
||||
.ui-state-highlight, .ui-widget-content .ui-state-highlight {
|
||||
background:#FFE45C url(ffe45c.png) repeat-x scroll 50% 0;
|
||||
border:1px solid #FED22F;
|
||||
color:#363636;
|
||||
}
|
||||
.ui-state-error, .ui-widget-content .ui-state-error {
|
||||
background:#B81900 url(b81900.png) repeat scroll 50% 50%;
|
||||
border:1px solid #CD0A0A;
|
||||
color:#FFFFFF;
|
||||
}
|
||||
.ui-state-error-text, .ui-widget-content .ui-state-error-text {
|
||||
color:#FFFFFF;
|
||||
}
|
||||
.ui-state-disabled, .ui-widget-content .ui-state-disabled {
|
||||
background-image:none;
|
||||
opacity:0.35;
|
||||
}
|
||||
.ui-priority-primary, .ui-widget-content .ui-priority-primary {
|
||||
font-weight:bold;
|
||||
}
|
||||
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary {
|
||||
font-weight:normal;
|
||||
opacity:0.7;
|
||||
}
|
||||
.ui-icon {
|
||||
background-image:url(222222.png);
|
||||
height:16px;
|
||||
width:16px;
|
||||
}
|
||||
.ui-widget-content .ui-icon {
|
||||
background-image:url(icons222222.png);
|
||||
}
|
||||
.ui-widget-header .ui-icon {
|
||||
background-image:url(iconsffffff.png);
|
||||
}
|
||||
.ui-state-default .ui-icon {
|
||||
background-image:url(iconsef8c08.png);
|
||||
}
|
||||
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {
|
||||
background-image:url(iconsef8c08.png);
|
||||
}
|
||||
.ui-state-active .ui-icon {
|
||||
background-image: url("../../../img/admin/less.png");
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.ui-state-highlight .ui-icon {
|
||||
background-image:url(icons228ef1.png);
|
||||
}
|
||||
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {
|
||||
background-image:url(iconsffd27a.png);
|
||||
}
|
||||
.ui-icon-carat-1-n {
|
||||
background-position:0 0;
|
||||
}
|
||||
.ui-icon-carat-1-ne {
|
||||
background-position:-16px 0;
|
||||
}
|
||||
.ui-icon-carat-1-e {
|
||||
background-position:-32px 0;
|
||||
}
|
||||
.ui-icon-carat-1-se {
|
||||
background-position:-48px 0;
|
||||
}
|
||||
.ui-icon-carat-1-s {
|
||||
background-position:-64px 0;
|
||||
}
|
||||
.ui-icon-carat-1-sw {
|
||||
background-position:-80px 0;
|
||||
}
|
||||
.ui-icon-carat-1-w {
|
||||
background-position:-96px 0;
|
||||
}
|
||||
.ui-icon-carat-1-nw {
|
||||
background-position:-112px 0;
|
||||
}
|
||||
.ui-icon-carat-2-n-s {
|
||||
background-position:-128px 0;
|
||||
}
|
||||
.ui-icon-carat-2-e-w {
|
||||
background-position:-144px 0;
|
||||
}
|
||||
.ui-icon-triangle-1-n {
|
||||
background-position:0 -16px;
|
||||
}
|
||||
.ui-icon-triangle-1-ne {
|
||||
background-position:-16px -16px;
|
||||
}
|
||||
.ui-icon-triangle-1-e {
|
||||
background-position:-32px -16px;
|
||||
}
|
||||
.ui-icon-triangle-1-se {
|
||||
background-position:-48px -16px;
|
||||
}
|
||||
.ui-icon-triangle-1-s {
|
||||
background-image: url('../../../img/admin/more.png');
|
||||
}
|
||||
.ui-state-default .ui-icon-triangle-1-e
|
||||
{
|
||||
background-image: url('../../../img/admin/more.png');
|
||||
background-position: 3px 4px;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.ui-state-default .ui-icon-triangle-1-s
|
||||
{
|
||||
background-image: url('../../../img/admin/less.png');
|
||||
background-position: 0px 4px;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.ui-icon-triangle-1-sw {
|
||||
background-position:-80px -16px;
|
||||
}
|
||||
.ui-icon-triangle-1-w {
|
||||
background-position:-96px -16px;
|
||||
}
|
||||
.ui-icon-triangle-1-nw {
|
||||
background-position:-112px -16px;
|
||||
}
|
||||
.ui-icon-triangle-2-n-s {
|
||||
background-position:-128px -16px;
|
||||
}
|
||||
.ui-icon-triangle-2-e-w {
|
||||
background-position:-144px -16px;
|
||||
}
|
||||
.ui-icon-arrow-1-n {
|
||||
background-position:0 -32px;
|
||||
}
|
||||
.ui-icon-arrow-1-ne {
|
||||
background-position:-16px -32px;
|
||||
}
|
||||
.ui-icon-arrow-1-e {
|
||||
background-position:-32px -32px;
|
||||
}
|
||||
.ui-icon-arrow-1-se {
|
||||
background-position:-48px -32px;
|
||||
}
|
||||
.ui-icon-arrow-1-s {
|
||||
background-position:-64px -32px;
|
||||
}
|
||||
.ui-icon-arrow-1-sw {
|
||||
background-position:-80px -32px;
|
||||
}
|
||||
.ui-icon-arrow-1-w {
|
||||
background-position:-96px -32px;
|
||||
}
|
||||
.ui-icon-arrow-1-nw {
|
||||
background-position:-112px -32px;
|
||||
}
|
||||
.ui-icon-arrow-2-n-s {
|
||||
background-position:-128px -32px;
|
||||
}
|
||||
.ui-icon-arrow-2-ne-sw {
|
||||
background-position:-144px -32px;
|
||||
}
|
||||
.ui-icon-arrow-2-e-w {
|
||||
background-position:-160px -32px;
|
||||
}
|
||||
.ui-icon-arrow-2-se-nw {
|
||||
background-position:-176px -32px;
|
||||
}
|
||||
.ui-icon-arrowstop-1-n {
|
||||
background-position:-192px -32px;
|
||||
}
|
||||
.ui-icon-arrowstop-1-e {
|
||||
background-position:-208px -32px;
|
||||
}
|
||||
.ui-icon-arrowstop-1-s {
|
||||
background-position:-224px -32px;
|
||||
}
|
||||
.ui-icon-arrowstop-1-w {
|
||||
background-position:-240px -32px;
|
||||
}
|
||||
.ui-icon-arrowthick-1-n {
|
||||
background-position:0 -48px;
|
||||
}
|
||||
.ui-icon-arrowthick-1-ne {
|
||||
background-position:-16px -48px;
|
||||
}
|
||||
.ui-icon-arrowthick-1-e {
|
||||
background-position:-32px -48px;
|
||||
}
|
||||
.ui-icon-arrowthick-1-se {
|
||||
background-position:-48px -48px;
|
||||
}
|
||||
.ui-icon-arrowthick-1-s {
|
||||
background-position:-64px -48px;
|
||||
}
|
||||
.ui-icon-arrowthick-1-sw {
|
||||
background-position:-80px -48px;
|
||||
}
|
||||
.ui-icon-arrowthick-1-w {
|
||||
background-position:-96px -48px;
|
||||
}
|
||||
.ui-icon-arrowthick-1-nw {
|
||||
background-position:-112px -48px;
|
||||
}
|
||||
.ui-icon-arrowthick-2-n-s {
|
||||
background-position:-128px -48px;
|
||||
}
|
||||
.ui-icon-arrowthick-2-ne-sw {
|
||||
background-position:-144px -48px;
|
||||
}
|
||||
.ui-icon-arrowthick-2-e-w {
|
||||
background-position:-160px -48px;
|
||||
}
|
||||
.ui-icon-arrowthick-2-se-nw {
|
||||
background-position:-176px -48px;
|
||||
}
|
||||
.ui-icon-arrowthickstop-1-n {
|
||||
background-position:-192px -48px;
|
||||
}
|
||||
.ui-icon-arrowthickstop-1-e {
|
||||
background-position:-208px -48px;
|
||||
}
|
||||
.ui-icon-arrowthickstop-1-s {
|
||||
background-position:-224px -48px;
|
||||
}
|
||||
.ui-icon-arrowthickstop-1-w {
|
||||
background-position:-240px -48px;
|
||||
}
|
||||
.ui-icon-arrowreturnthick-1-w {
|
||||
background-position:0 -64px;
|
||||
}
|
||||
.ui-icon-arrowreturnthick-1-n {
|
||||
background-position:-16px -64px;
|
||||
}
|
||||
.ui-icon-arrowreturnthick-1-e {
|
||||
background-position:-32px -64px;
|
||||
}
|
||||
.ui-icon-arrowreturnthick-1-s {
|
||||
background-position:-48px -64px;
|
||||
}
|
||||
.ui-icon-arrowreturn-1-w {
|
||||
background-position:-64px -64px;
|
||||
}
|
||||
.ui-icon-arrowreturn-1-n {
|
||||
background-position:-80px -64px;
|
||||
}
|
||||
.ui-icon-arrowreturn-1-e {
|
||||
background-position:-96px -64px;
|
||||
}
|
||||
.ui-icon-arrowreturn-1-s {
|
||||
background-position:-112px -64px;
|
||||
}
|
||||
.ui-icon-arrowrefresh-1-w {
|
||||
background-position:-128px -64px;
|
||||
}
|
||||
.ui-icon-arrowrefresh-1-n {
|
||||
background-position:-144px -64px;
|
||||
}
|
||||
.ui-icon-arrowrefresh-1-e {
|
||||
background-position:-160px -64px;
|
||||
}
|
||||
.ui-icon-arrowrefresh-1-s {
|
||||
background-position:-176px -64px;
|
||||
}
|
||||
.ui-icon-arrow-4 {
|
||||
background-position:0 -80px;
|
||||
}
|
||||
.ui-icon-arrow-4-diag {
|
||||
background-position:-16px -80px;
|
||||
}
|
||||
.ui-icon-extlink {
|
||||
background-position:-32px -80px;
|
||||
}
|
||||
.ui-icon-newwin {
|
||||
background-position:-48px -80px;
|
||||
}
|
||||
.ui-icon-refresh {
|
||||
background-position:-64px -80px;
|
||||
}
|
||||
.ui-icon-shuffle {
|
||||
background-position:-80px -80px;
|
||||
}
|
||||
.ui-icon-transfer-e-w {
|
||||
background-position:-96px -80px;
|
||||
}
|
||||
.ui-icon-transferthick-e-w {
|
||||
background-position:-112px -80px;
|
||||
}
|
||||
.ui-icon-folder-collapsed {
|
||||
background-position:0 -96px;
|
||||
}
|
||||
.ui-icon-folder-open {
|
||||
background-position:-16px -96px;
|
||||
}
|
||||
.ui-icon-document {
|
||||
background-position:-32px -96px;
|
||||
}
|
||||
.ui-icon-document-b {
|
||||
background-position:-48px -96px;
|
||||
}
|
||||
.ui-icon-note {
|
||||
background-position:-64px -96px;
|
||||
}
|
||||
.ui-icon-mail-closed {
|
||||
background-position:-80px -96px;
|
||||
}
|
||||
.ui-icon-mail-open {
|
||||
background-position:-96px -96px;
|
||||
}
|
||||
.ui-icon-suitcase {
|
||||
background-position:-112px -96px;
|
||||
}
|
||||
.ui-icon-comment {
|
||||
background-position:-128px -96px;
|
||||
}
|
||||
.ui-icon-person {
|
||||
background-position:-144px -96px;
|
||||
}
|
||||
.ui-icon-print {
|
||||
background-position:-160px -96px;
|
||||
}
|
||||
.ui-icon-trash {
|
||||
background-position:-176px -96px;
|
||||
}
|
||||
.ui-icon-locked {
|
||||
background-position:-192px -96px;
|
||||
}
|
||||
.ui-icon-unlocked {
|
||||
background-position:-208px -96px;
|
||||
}
|
||||
.ui-icon-bookmark {
|
||||
background-position:-224px -96px;
|
||||
}
|
||||
.ui-icon-tag {
|
||||
background-position:-240px -96px;
|
||||
}
|
||||
.ui-icon-home {
|
||||
background-position:0 -112px;
|
||||
}
|
||||
.ui-icon-flag {
|
||||
background-position:-16px -112px;
|
||||
}
|
||||
.ui-icon-calendar {
|
||||
background-position:-32px -112px;
|
||||
}
|
||||
.ui-icon-cart {
|
||||
background-position:-48px -112px;
|
||||
}
|
||||
.ui-icon-pencil {
|
||||
background-position:-64px -112px;
|
||||
}
|
||||
.ui-icon-clock {
|
||||
background-position:-80px -112px;
|
||||
}
|
||||
.ui-icon-disk {
|
||||
background-position:-96px -112px;
|
||||
}
|
||||
.ui-icon-calculator {
|
||||
background-position:-112px -112px;
|
||||
}
|
||||
.ui-icon-zoomin {
|
||||
background-position:-128px -112px;
|
||||
}
|
||||
.ui-icon-zoomout {
|
||||
background-position:-144px -112px;
|
||||
}
|
||||
.ui-icon-search {
|
||||
background-position:-160px -112px;
|
||||
}
|
||||
.ui-icon-wrench {
|
||||
background-position:-176px -112px;
|
||||
}
|
||||
.ui-icon-gear {
|
||||
background-position:-192px -112px;
|
||||
}
|
||||
.ui-icon-heart {
|
||||
background-position:-208px -112px;
|
||||
}
|
||||
.ui-icon-star {
|
||||
background-position:-224px -112px;
|
||||
}
|
||||
.ui-icon-link {
|
||||
background-position:-240px -112px;
|
||||
}
|
||||
.ui-icon-cancel {
|
||||
background-position:0 -128px;
|
||||
}
|
||||
.ui-icon-plus {
|
||||
background-position:-16px -128px;
|
||||
}
|
||||
.ui-icon-plusthick {
|
||||
background-position:-32px -128px;
|
||||
}
|
||||
.ui-icon-minus {
|
||||
background-position:-48px -128px;
|
||||
}
|
||||
.ui-icon-minusthick {
|
||||
background-position:-64px -128px;
|
||||
}
|
||||
.ui-icon-close {
|
||||
background-position:-80px -128px;
|
||||
}
|
||||
.ui-icon-closethick {
|
||||
background-position:-96px -128px;
|
||||
}
|
||||
.ui-icon-key {
|
||||
background-position:-112px -128px;
|
||||
}
|
||||
.ui-icon-lightbulb {
|
||||
background-position:-128px -128px;
|
||||
}
|
||||
.ui-icon-scissors {
|
||||
background-position:-144px -128px;
|
||||
}
|
||||
.ui-icon-clipboard {
|
||||
background-position:-160px -128px;
|
||||
}
|
||||
.ui-icon-copy {
|
||||
background-position:-176px -128px;
|
||||
}
|
||||
.ui-icon-contact {
|
||||
background-position:-192px -128px;
|
||||
}
|
||||
.ui-icon-image {
|
||||
background-position:-208px -128px;
|
||||
}
|
||||
.ui-icon-video {
|
||||
background-position:-224px -128px;
|
||||
}
|
||||
.ui-icon-alert {
|
||||
background-position:0 -144px;
|
||||
}
|
||||
.ui-icon-info {
|
||||
background-position:-16px -144px;
|
||||
}
|
||||
.ui-icon-notice {
|
||||
background-position:-32px -144px;
|
||||
}
|
||||
.ui-icon-help {
|
||||
background-position:-48px -144px;
|
||||
}
|
||||
.ui-icon-check {
|
||||
background-position:-64px -144px;
|
||||
}
|
||||
.ui-icon-bullet {
|
||||
background-position:-80px -144px;
|
||||
}
|
||||
.ui-icon-radio-off {
|
||||
background-position:-96px -144px;
|
||||
}
|
||||
.ui-icon-radio-on {
|
||||
background-position:-112px -144px;
|
||||
}
|
||||
.ui-icon-play {
|
||||
background-position:0 -160px;
|
||||
}
|
||||
.ui-icon-pause {
|
||||
background-position:-16px -160px;
|
||||
}
|
||||
.ui-icon-seek-next {
|
||||
background-position:-32px -160px;
|
||||
}
|
||||
.ui-icon-seek-prev {
|
||||
background-position:-48px -160px;
|
||||
}
|
||||
.ui-icon-seek-end {
|
||||
background-position:-64px -160px;
|
||||
}
|
||||
.ui-icon-seek-first {
|
||||
background-position:-80px -160px;
|
||||
}
|
||||
.ui-icon-stop {
|
||||
background-position:-96px -160px;
|
||||
}
|
||||
.ui-icon-eject {
|
||||
background-position:-112px -160px;
|
||||
}
|
||||
.ui-icon-volume-off {
|
||||
background-position:-128px -160px;
|
||||
}
|
||||
.ui-icon-volume-on {
|
||||
background-position:-144px -160px;
|
||||
}
|
||||
.ui-icon-power {
|
||||
background-position:0 -176px;
|
||||
}
|
||||
.ui-icon-signal-diag {
|
||||
background-position:-16px -176px;
|
||||
}
|
||||
.ui-icon-signal {
|
||||
background-position:-32px -176px;
|
||||
}
|
||||
.ui-icon-battery-0 {
|
||||
background-position:-48px -176px;
|
||||
}
|
||||
.ui-icon-battery-1 {
|
||||
background-position:-64px -176px;
|
||||
}
|
||||
.ui-icon-battery-2 {
|
||||
background-position:-80px -176px;
|
||||
}
|
||||
.ui-icon-battery-3 {
|
||||
background-position:-96px -176px;
|
||||
}
|
||||
.ui-icon-circle-plus {
|
||||
background-position:0 -192px;
|
||||
}
|
||||
.ui-icon-circle-minus {
|
||||
background-position:-16px -192px;
|
||||
}
|
||||
.ui-icon-circle-close {
|
||||
background-position:-32px -192px;
|
||||
}
|
||||
.ui-icon-circle-triangle-e {
|
||||
background-position:-48px -192px;
|
||||
}
|
||||
.ui-icon-circle-triangle-s {
|
||||
background-position:-64px -192px;
|
||||
}
|
||||
.ui-icon-circle-triangle-w {
|
||||
background-position:-80px -192px;
|
||||
}
|
||||
.ui-icon-circle-triangle-n {
|
||||
background-position:-96px -192px;
|
||||
}
|
||||
.ui-icon-circle-arrow-e {
|
||||
background-position:-112px -192px;
|
||||
}
|
||||
.ui-icon-circle-arrow-s {
|
||||
background-position:-128px -192px;
|
||||
}
|
||||
.ui-icon-circle-arrow-w {
|
||||
background-position:-144px -192px;
|
||||
}
|
||||
.ui-icon-circle-arrow-n {
|
||||
background-position:-160px -192px;
|
||||
}
|
||||
.ui-icon-circle-zoomin {
|
||||
background-position:-176px -192px;
|
||||
}
|
||||
.ui-icon-circle-zoomout {
|
||||
background-position:-192px -192px;
|
||||
}
|
||||
.ui-icon-circle-check {
|
||||
background-position:-208px -192px;
|
||||
}
|
||||
.ui-icon-circlesmall-plus {
|
||||
background-position:0 -208px;
|
||||
}
|
||||
.ui-icon-circlesmall-minus {
|
||||
background-position:-16px -208px;
|
||||
}
|
||||
.ui-icon-circlesmall-close {
|
||||
background-position:-32px -208px;
|
||||
}
|
||||
.ui-icon-squaresmall-plus {
|
||||
background-position:-48px -208px;
|
||||
}
|
||||
.ui-icon-squaresmall-minus {
|
||||
background-position:-64px -208px;
|
||||
}
|
||||
.ui-icon-squaresmall-close {
|
||||
background-position:-80px -208px;
|
||||
}
|
||||
.ui-icon-grip-dotted-vertical {
|
||||
background-position:0 -224px;
|
||||
}
|
||||
.ui-icon-grip-dotted-horizontal {
|
||||
background-position:-16px -224px;
|
||||
}
|
||||
.ui-icon-grip-solid-vertical {
|
||||
background-position:-32px -224px;
|
||||
}
|
||||
.ui-icon-grip-solid-horizontal {
|
||||
background-position:-48px -224px;
|
||||
}
|
||||
.ui-icon-gripsmall-diagonal-se {
|
||||
background-position:-64px -224px;
|
||||
}
|
||||
.ui-icon-grip-diagonal-se {
|
||||
background-position:-80px -224px;
|
||||
}
|
||||
.ui-corner-tl {
|
||||
-moz-border-radius-topleft:4px;
|
||||
}
|
||||
.ui-corner-tr {
|
||||
-moz-border-radius-topright:4px;
|
||||
}
|
||||
.ui-corner-bl {
|
||||
-moz-border-radius-bottomleft:4px;
|
||||
}
|
||||
.ui-corner-br {
|
||||
-moz-border-radius-bottomright:4px;
|
||||
}
|
||||
.ui-corner-top {
|
||||
-moz-border-radius-topleft:4px;
|
||||
-moz-border-radius-topright:4px;
|
||||
}
|
||||
.ui-corner-bottom {
|
||||
-moz-border-radius-bottomleft:4px;
|
||||
-moz-border-radius-bottomright:4px;
|
||||
}
|
||||
.ui-corner-right {
|
||||
-moz-border-radius-bottomright:4px;
|
||||
-moz-border-radius-topright:4px;
|
||||
}
|
||||
.ui-corner-left {
|
||||
-moz-border-radius-bottomleft:4px;
|
||||
-moz-border-radius-topleft:4px;
|
||||
}
|
||||
.ui-corner-all {
|
||||
-moz-border-radius-bottomleft:4px;
|
||||
-moz-border-radius-bottomright:4px;
|
||||
-moz-border-radius-topleft:4px;
|
||||
-moz-border-radius-topright:4px;
|
||||
}
|
||||
.ui-widget-overlay {
|
||||
background:#666666 url(666666.png) repeat scroll 50% 50%;
|
||||
opacity:0.5;
|
||||
}
|
||||
.ui-widget-shadow {
|
||||
-moz-border-radius-bottomleft:5px;
|
||||
-moz-border-radius-bottomright:5px;
|
||||
-moz-border-radius-topleft:5px;
|
||||
-moz-border-radius-topright:5px;
|
||||
background:#000000 url(000000.png) repeat-x scroll 50% 50%;
|
||||
margin:-5px 0 0 -5px;
|
||||
opacity:0.2;
|
||||
padding:5px;
|
||||
}
|
||||
|
||||
.ui-datepicker {
|
||||
padding:0.2em 0.2em 0;
|
||||
width:17em;
|
||||
z-index:99;
|
||||
}
|
||||
.ui-datepicker-header {
|
||||
padding:0.2em 0;
|
||||
position:relative;
|
||||
}
|
||||
.ui-datepicker-prev, .ui-datepicker-next {
|
||||
height:1.8em;
|
||||
position:absolute;
|
||||
top:2px;
|
||||
width:1.8em;
|
||||
}
|
||||
.ui-datepicker-prev:hover, .ui-datepicker-next:hover {
|
||||
top:1px;
|
||||
}
|
||||
.ui-datepicker-prev {
|
||||
left:2px;
|
||||
}
|
||||
.ui-datepicker-next {
|
||||
right:2px;
|
||||
}
|
||||
.ui-datepicker-prev:hover {
|
||||
left:1px;
|
||||
}
|
||||
.ui-datepicker-next:hover {
|
||||
right:1px;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span {
|
||||
display:block;
|
||||
left:50%;
|
||||
margin-left:-8px;
|
||||
margin-top:-8px;
|
||||
position:absolute;
|
||||
top:50%;
|
||||
}
|
||||
.ui-datepicker-title {
|
||||
line-height:1.8em;
|
||||
margin:0 2.3em;
|
||||
text-align:center;
|
||||
}
|
||||
.ui-datepicker-title select {
|
||||
float:left;
|
||||
font-size:1em;
|
||||
margin:1px 0;
|
||||
}
|
||||
.ui-datepicker select.ui-datepicker-month-year {
|
||||
width:100%;
|
||||
}
|
||||
.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
|
||||
width:49%;
|
||||
}
|
||||
.ui-datepicker-title select.ui-datepicker-year {
|
||||
float:right;
|
||||
}
|
||||
.ui-datepicker table {
|
||||
border-collapse:collapse;
|
||||
font-size:0.9em;
|
||||
margin:0 0 0.4em;
|
||||
width:100%;
|
||||
}
|
||||
.ui-datepicker th {
|
||||
font-weight:bold;
|
||||
padding:0.7em 0.3em;
|
||||
text-align:center;
|
||||
}
|
||||
.ui-datepicker td span, .ui-datepicker td a {
|
||||
display:block;
|
||||
padding:0.2em;
|
||||
text-align:right;
|
||||
text-decoration:none;
|
||||
}
|
||||
.ui-datepicker-buttonpane {
|
||||
background-image:none;
|
||||
border-bottom:0 none;
|
||||
border-left:0 none;
|
||||
border-right:0 none;
|
||||
margin:0.7em 0 0;
|
||||
padding:0 0.2em;
|
||||
}
|
||||
.ui-datepicker-buttonpane button {
|
||||
cursor:pointer;
|
||||
float:right;
|
||||
margin:0.5em 0.2em 0.4em;
|
||||
overflow:visible;
|
||||
padding:0.2em 0.6em 0.3em;
|
||||
width:auto;
|
||||
}
|
||||
.ui-datepicker-buttonpane button.ui-datepicker-current {
|
||||
float:left;
|
||||
}
|
||||
.ui-datepicker.ui-datepicker-multi {
|
||||
width:auto;
|
||||
}
|
||||
.ui-datepicker-multi .ui-datepicker-group {
|
||||
float:left;
|
||||
}
|
||||
.ui-datepicker-multi .ui-datepicker-group table {
|
||||
margin:0 auto 0.4em;
|
||||
width:95%;
|
||||
}
|
||||
.ui-datepicker-multi-2 .ui-datepicker-group {
|
||||
width:50%;
|
||||
}
|
||||
.ui-datepicker-multi-3 .ui-datepicker-group {
|
||||
width:33.3%;
|
||||
}
|
||||
.ui-datepicker-multi-4 .ui-datepicker-group {
|
||||
width:25%;
|
||||
}
|
||||
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header {
|
||||
border-left-width:0;
|
||||
}
|
||||
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
|
||||
border-left-width:0;
|
||||
}
|
||||
.ui-datepicker-multi .ui-datepicker-buttonpane {
|
||||
clear:left;
|
||||
}
|
||||
.ui-datepicker-rtl {
|
||||
direction:rtl;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-prev {
|
||||
left:auto;
|
||||
right:2px;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-next {
|
||||
left:2px;
|
||||
right:auto;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-prev:hover {
|
||||
left:auto;
|
||||
right:1px;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-next:hover {
|
||||
left:1px;
|
||||
right:auto;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane {
|
||||
clear:right;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane button {
|
||||
float:left;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current {
|
||||
float:right;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-group {
|
||||
float:right;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header {
|
||||
border-left-width:1px;
|
||||
border-right-width:0;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
|
||||
border-left-width:1px;
|
||||
border-right-width:0;
|
||||
}
|
||||
.ui-datepicker-cover {
|
||||
display:block;
|
||||
height:200px;
|
||||
left:-4px;
|
||||
position:absolute;
|
||||
top:-4px;
|
||||
width:200px;
|
||||
z-index:-1;
|
||||
}
|
||||
.ui-accordion { width: 100%; }
|
||||
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative;zoom: 1; }
|
||||
.ui-accordion .ui-accordion-li-fix { display: inline; }
|
||||
.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
|
||||
.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .2em ; }
|
||||
.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
|
||||
.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: 5px; top: 50%; margin-top: -8px; }
|
||||
.ui-accordion .ui-accordion-content { border-top: 0; margin-top: -2px; position: relative;overflow: auto; display: none; }
|
||||
.ui-accordion .ui-accordion-content-active { display: block; }
|
||||
|
Before Width: | Height: | Size: 201 B |
|
Before Width: | Height: | Size: 895 B |
|
Before Width: | Height: | Size: 235 B |
|
Before Width: | Height: | Size: 249 B |
|
Before Width: | Height: | Size: 207 B |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 10 KiB |
@@ -1,11 +0,0 @@
|
||||
<?php
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
@@ -1,11 +0,0 @@
|
||||
<?php
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
@@ -1,909 +0,0 @@
|
||||
/* Arabic Translation for jQuery UI date picker plugin. */
|
||||
/* Khaled Al Horani -- koko.dw@gmail.com */
|
||||
/* خالد الحوراني -- koko.dw@gmail.com */
|
||||
/* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['ar'] = {
|
||||
clearText: 'مسح', clearStatus: 'امسح التاريخ الحالي',
|
||||
closeText: 'إغلاق', closeStatus: 'إغلاق بدون حفظ',
|
||||
prevText: '<السابق', prevStatus: 'عرض الشهر السابق',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'التالي>', nextStatus: 'عرض الشهر القادم',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'اليوم', currentStatus: 'عرض الشهر الحالي',
|
||||
monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'آذار', 'حزيران',
|
||||
'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
|
||||
monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
|
||||
monthStatus: 'عرض شهر آخر', yearStatus: 'عرض سنة آخرى',
|
||||
weekHeader: 'أسبوع', weekStatus: 'أسبوع السنة',
|
||||
dayNames: ['السبت', 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة'],
|
||||
dayNamesShort: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'],
|
||||
dayNamesMin: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'],
|
||||
dayStatus: 'اختر DD لليوم الأول من الأسبوع', dateStatus: 'اختر D, M d',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
initStatus: 'اختر يوم', isRTL: true};
|
||||
$.datepicker.setDefaults($.datepicker.regional['ar']);
|
||||
});/* Bulgarian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Stoyan Kyosev (http://svest.org). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['bg'] = {
|
||||
clearText: 'изчисти', clearStatus: 'изчисти актуалната дата',
|
||||
closeText: 'затвори', closeStatus: 'затвори без промени',
|
||||
prevText: '<назад', prevStatus: 'покажи последния месец',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'напред>', nextStatus: 'покажи следващия месец',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'днес', currentStatus: '',
|
||||
monthNames: ['Януари','Февруари','Март','Април','Май','Юни',
|
||||
'Юли','Август','Септември','Октомври','Ноември','Декември'],
|
||||
monthNamesShort: ['Яну','Фев','Мар','Апр','Май','Юни',
|
||||
'Юли','Авг','Сеп','Окт','Нов','Дек'],
|
||||
monthStatus: 'покажи друг месец', yearStatus: 'покажи друга година',
|
||||
weekHeader: 'Wk', weekStatus: 'седмица от месеца',
|
||||
dayNames: ['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'],
|
||||
dayNamesShort: ['Нед','Пон','Вто','Сря','Чет','Пет','Съб'],
|
||||
dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Съ'],
|
||||
dayStatus: 'Сложи DD като първи ден от седмицата', dateStatus: 'Избери D, M d',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
initStatus: 'Избери дата', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['bg']);
|
||||
});
|
||||
/* Inicialitzaci� en catal� per a l'extenci� 'calendar' per jQuery. */
|
||||
/* Writers: (joan.leon@gmail.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['ca'] = {
|
||||
clearText: 'Netejar', clearStatus: '',
|
||||
closeText: 'Tancar', closeStatus: '',
|
||||
prevText: '<Ant', prevStatus: '',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Seg>', nextStatus: '',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Avui', currentStatus: '',
|
||||
monthNames: ['Gener','Febrer','Març','Abril','Maig','Juny',
|
||||
'Juliol','Agost','Setembre','Octubre','Novembre','Desembre'],
|
||||
monthNamesShort: ['Gen','Feb','Mar','Abr','Mai','Jun',
|
||||
'Jul','Ago','Set','Oct','Nov','Des'],
|
||||
monthStatus: '', yearStatus: '',
|
||||
weekHeader: 'Sm', weekStatus: '',
|
||||
dayNames: ['Diumenge','Dilluns','Dimarts','Dimecres','Dijous','Divendres','Dissabte'],
|
||||
dayNamesShort: ['Dug','Dln','Dmt','Dmc','Djs','Dvn','Dsb'],
|
||||
dayNamesMin: ['Dg','Dl','Dt','Dc','Dj','Dv','Ds'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'mm/dd/yy', firstDay: 0,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['ca']);
|
||||
});/* Czech initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Tomas Muller (tomas@tomas-muller.net). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['cs'] = {
|
||||
clearText: 'Vymazat', clearStatus: 'Vymaže zadané datum',
|
||||
closeText: 'Zavřít', closeStatus: 'Zavře kalendář beze změny',
|
||||
prevText: '<Dříve', prevStatus: 'Přejít na předchozí měsí',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Později>', nextStatus: 'Přejít na další měsíc',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Nyní', currentStatus: 'Přejde na aktuální měsíc',
|
||||
monthNames: ['leden','únor','březen','duben','květen','červen',
|
||||
'červenec','srpen','září','říjen','listopad','prosinec'],
|
||||
monthNamesShort: ['led','úno','bře','dub','kvě','čer',
|
||||
'čvc','srp','zář','říj','lis','pro'],
|
||||
monthStatus: 'Přejít na jiný měsíc', yearStatus: 'Přejít na jiný rok',
|
||||
weekHeader: 'Týd', weekStatus: 'Týden v roce',
|
||||
dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'],
|
||||
dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'],
|
||||
dayNamesMin: ['ne','po','út','st','čt','pá','so'],
|
||||
dayStatus: 'Nastavit DD jako první den v týdnu', dateStatus: '\'Vyber\' DD, M d',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
initStatus: 'Vyberte datum', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['cs']);
|
||||
});
|
||||
/* Danish initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Jan Christensen ( deletestuff@gmail.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['da'] = {
|
||||
clearText: 'Nulstil', clearStatus: 'Nulstil den aktuelle dato',
|
||||
closeText: 'Luk', closeStatus: 'Luk uden ændringer',
|
||||
prevText: '<Forrige', prevStatus: 'Vis forrige måned',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Næste>', nextStatus: 'Vis næste måned',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Idag', currentStatus: 'Vis aktuel måned',
|
||||
monthNames: ['Januar','Februar','Marts','April','Maj','Juni',
|
||||
'Juli','August','September','Oktober','November','December'],
|
||||
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
|
||||
'Jul','Aug','Sep','Okt','Nov','Dec'],
|
||||
monthStatus: 'Vis en anden måned', yearStatus: 'Vis et andet år',
|
||||
weekHeader: 'Uge', weekStatus: 'Årets uge',
|
||||
dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],
|
||||
dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'],
|
||||
dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'],
|
||||
dayStatus: 'Sæt DD som første ugedag', dateStatus: 'Vælg D, M d',
|
||||
dateFormat: 'dd-mm-yy', firstDay: 0,
|
||||
initStatus: 'Vælg en dato', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['da']);
|
||||
});
|
||||
/* German initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Milian Wolff (mail@milianw.de). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['de'] = {
|
||||
clearText: 'löschen', clearStatus: 'aktuelles Datum löschen',
|
||||
closeText: 'schließen', closeStatus: 'ohne Änderungen schließen',
|
||||
prevText: '<zurück', prevStatus: 'letzten Monat zeigen',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Vor>', nextStatus: 'nächsten Monat zeigen',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'heute', currentStatus: '',
|
||||
monthNames: ['Januar','Februar','März','April','Mai','Juni',
|
||||
'Juli','August','September','Oktober','November','Dezember'],
|
||||
monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun',
|
||||
'Jul','Aug','Sep','Okt','Nov','Dez'],
|
||||
monthStatus: 'anderen Monat anzeigen', yearStatus: 'anderes Jahr anzeigen',
|
||||
weekHeader: 'Wo', weekStatus: 'Woche des Monats',
|
||||
dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
|
||||
dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
|
||||
dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
|
||||
dayStatus: 'Setze DD als ersten Wochentag', dateStatus: 'Wähle D, M d',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
initStatus: 'Wähle ein Datum', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['de']);
|
||||
});
|
||||
/* Esperanto initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Olivier M. (olivierweb@ifrance.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['eo'] = {
|
||||
clearText: 'Vakigi', clearStatus: '',
|
||||
closeText: 'Fermi', closeStatus: 'Fermi sen modifi',
|
||||
prevText: '<Anta', prevStatus: 'Vidi la antaŭan monaton',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Sekv>', nextStatus: 'Vidi la sekvan monaton',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Nuna', currentStatus: 'Vidi la nunan monaton',
|
||||
monthNames: ['Januaro','Februaro','Marto','Aprilo','Majo','Junio',
|
||||
'Julio','Aŭgusto','Septembro','Oktobro','Novembro','Decembro'],
|
||||
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
|
||||
'Jul','Aŭg','Sep','Okt','Nov','Dec'],
|
||||
monthStatus: 'Vidi alian monaton', yearStatus: 'Vidi alian jaron',
|
||||
weekHeader: 'Sb', weekStatus: '',
|
||||
dayNames: ['Dimanĉo','Lundo','Mardo','Merkredo','Ĵaŭdo','Vendredo','Sabato'],
|
||||
dayNamesShort: ['Dim','Lun','Mar','Mer','Ĵaŭ','Ven','Sab'],
|
||||
dayNamesMin: ['Di','Lu','Ma','Me','Ĵa','Ve','Sa'],
|
||||
dayStatus: 'Uzi DD kiel unua tago de la semajno', dateStatus: 'Elekti DD, MM d',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
initStatus: 'Elekti la daton', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['eo']);
|
||||
});
|
||||
/* Inicializaci�n en espa�ol para la extensi�n 'UI date picker' para jQuery. */
|
||||
/* Traducido por Vester (xvester@gmail.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['es'] = {
|
||||
clearText: 'Limpiar', clearStatus: '',
|
||||
closeText: 'Cerrar', closeStatus: '',
|
||||
prevText: '<Ant', prevStatus: '',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Sig>', nextStatus: '',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Hoy', currentStatus: '',
|
||||
monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio',
|
||||
'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
|
||||
monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun',
|
||||
'Jul','Ago','Sep','Oct','Nov','Dic'],
|
||||
monthStatus: '', yearStatus: '',
|
||||
weekHeader: 'Sm', weekStatus: '',
|
||||
dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'],
|
||||
dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'],
|
||||
dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['es']);
|
||||
});/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */
|
||||
/* Javad Mowlanezhad -- jmowla@gmail.com */
|
||||
/* Jalali calendar should supported soon! (Its implemented but I have to test it) */
|
||||
jQuery(function($) {
|
||||
$.datepicker.regional['fa'] = {
|
||||
clearText: 'حذف تاريخ', clearStatus: 'پاک کردن تاريخ جاري',
|
||||
closeText: 'بستن', closeStatus: 'بستن بدون اعمال تغييرات',
|
||||
prevText: '<قبلي', prevStatus: 'نمايش ماه قبل',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'بعدي>', nextStatus: 'نمايش ماه بعد',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'امروز', currentStatus: 'نمايش ماه جاري',
|
||||
monthNames: ['فروردين','ارديبهشت','خرداد','تير','مرداد','شهريور',
|
||||
'مهر','آبان','آذر','دي','بهمن','اسفند'],
|
||||
monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
|
||||
monthStatus: 'نمايش ماه متفاوت', yearStatus: 'نمايش سال متفاوت',
|
||||
weekHeader: 'هف', weekStatus: 'هفتهِ سال',
|
||||
dayNames: ['يکشنبه','دوشنبه','سهشنبه','چهارشنبه','پنجشنبه','جمعه','شنبه'],
|
||||
dayNamesShort: ['ي','د','س','چ','پ','ج', 'ش'],
|
||||
dayNamesMin: ['ي','د','س','چ','پ','ج', 'ش'],
|
||||
dayStatus: 'قبول DD بعنوان اولين روز هفته', dateStatus: 'انتخاب D, M d',
|
||||
dateFormat: 'yy/mm/dd', firstDay: 6,
|
||||
initStatus: 'انتخاب تاريخ', isRTL: true};
|
||||
$.datepicker.setDefaults($.datepicker.regional['fa']);
|
||||
});/* Finnish initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Harri Kilpi� (harrikilpio@gmail.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['fi'] = {
|
||||
clearText: 'Tyhjennä', clearStatus: '',
|
||||
closeText: 'Sulje', closeStatus: '',
|
||||
prevText: '«Edellinen', prevStatus: '',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Seuraava»', nextStatus: '',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Tänään', currentStatus: '',
|
||||
monthNames: ['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kesäkuu',
|
||||
'Heinäkuu','Elokuu','Syyskuu','Lokakuu','Marraskuu','Joulukuu'],
|
||||
monthNamesShort: ['Tammi','Helmi','Maalis','Huhti','Touko','Kesä',
|
||||
'Heinä','Elo','Syys','Loka','Marras','Joulu'],
|
||||
monthStatus: '', yearStatus: '',
|
||||
weekHeader: 'Vk', weekStatus: '',
|
||||
dayNamesShort: ['Su','Ma','Ti','Ke','To','Pe','Su'],
|
||||
dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'],
|
||||
dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['fi']);
|
||||
});
|
||||
/* French initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Keith Wood (kbwood@virginbroadband.com.au) and Stéphane Nahmani (sholby@sholby.net). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['fr'] = {
|
||||
clearText: 'Effacer', clearStatus: 'Effacer la date sélectionnée',
|
||||
closeText: 'Fermer', closeStatus: 'Fermer sans modifier',
|
||||
prevText: '<Préc', prevStatus: 'Voir le mois précédent',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Suiv>', nextStatus: 'Voir le mois suivant',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Courant', currentStatus: 'Voir le mois courant',
|
||||
monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin',
|
||||
'Juillet','Août','Septembre','Octobre','Novembre','Décembre'],
|
||||
monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun',
|
||||
'Jul','Aoû','Sep','Oct','Nov','Déc'],
|
||||
monthStatus: 'Voir un autre mois', yearStatus: 'Voir une autre année',
|
||||
weekHeader: 'Sm', weekStatus: '',
|
||||
dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
|
||||
dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'],
|
||||
dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'],
|
||||
dayStatus: 'Utiliser DD comme premier jour de la semaine', dateStatus: '\'Choisir\' le DD d MM',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 1,
|
||||
initStatus: 'Choisir la date', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['fr']);
|
||||
});/* Hebrew initialisation for the UI Datepicker extension. */
|
||||
/* Written by Amir Hardon (ahardon at gmail dot com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['he'] = {
|
||||
clearText: 'נקה', clearStatus: '',
|
||||
closeText: 'סגור', closeStatus: '',
|
||||
prevText: '<הקודם', prevStatus: '',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'הבא>', nextStatus: '',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'היום', currentStatus: '',
|
||||
monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני',
|
||||
'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'],
|
||||
monthNamesShort: ['1','2','3','4','5','6',
|
||||
'7','8','9','10','11','12'],
|
||||
monthStatus: '', yearStatus: '',
|
||||
weekHeader: 'Sm', weekStatus: '',
|
||||
dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'],
|
||||
dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
|
||||
dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
|
||||
dayStatus: 'DD', dateStatus: 'DD, M d',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
initStatus: '', isRTL: true};
|
||||
$.datepicker.setDefaults($.datepicker.regional['he']);
|
||||
});
|
||||
/* Croatian i18n for the jQuery UI date picker plugin. */
|
||||
/* Written by Vjekoslav Nesek. */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['hr'] = {
|
||||
clearText: 'izbriši', clearStatus: 'Izbriši trenutni datum',
|
||||
closeText: 'Zatvori', closeStatus: 'Zatvori kalendar',
|
||||
prevText: '<', prevStatus: 'Prikaži prethodni mjesec',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: '>', nextStatus: 'Prikaži slijedeći mjesec',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Danas', currentStatus: 'Današnji datum',
|
||||
monthNames: ['Siječanj','Veljača','Ožujak','Travanj','Svibanj','Lipani',
|
||||
'Srpanj','Kolovoz','Rujan','Listopad','Studeni','Prosinac'],
|
||||
monthNamesShort: ['Sij','Velj','Ožu','Tra','Svi','Lip',
|
||||
'Srp','Kol','Ruj','Lis','Stu','Pro'],
|
||||
monthStatus: 'Prikaži mjesece', yearStatus: 'Prikaži godine',
|
||||
weekHeader: 'Tje', weekStatus: 'Tjedan',
|
||||
dayNames: ['Nedjalja','Ponedjeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'],
|
||||
dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'],
|
||||
dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
|
||||
dayStatus: 'Odaber DD za prvi dan tjedna', dateStatus: '\'Datum\' D, M d',
|
||||
dateFormat: 'dd.mm.yy.', firstDay: 1,
|
||||
initStatus: 'Odaberi datum', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['hr']);
|
||||
});/* Hungarian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Istvan Karaszi (jquerycalendar@spam.raszi.hu). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['hu'] = {
|
||||
clearText: 'törlés', clearStatus: '',
|
||||
closeText: 'bezárás', closeStatus: '',
|
||||
prevText: '« vissza', prevStatus: '',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'előre »', nextStatus: '',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'ma', currentStatus: '',
|
||||
monthNames: ['Január', 'Február', 'Március', 'Április', 'Május', 'Június',
|
||||
'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December'],
|
||||
monthNamesShort: ['Jan', 'Feb', 'Már', 'Ápr', 'Máj', 'Jún',
|
||||
'Júl', 'Aug', 'Szep', 'Okt', 'Nov', 'Dec'],
|
||||
monthStatus: '', yearStatus: '',
|
||||
weekHeader: 'Hé', weekStatus: '',
|
||||
dayNames: ['Vasámap', 'Hétfö', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'],
|
||||
dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'],
|
||||
dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'yy-mm-dd', firstDay: 1,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['hu']);
|
||||
});
|
||||
/* Armenian(UTF-8) initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Levon Zakaryan (levon.zakaryan@gmail.com)*/
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['hy'] = {
|
||||
clearText: 'Մաքրել', clearStatus: '',
|
||||
closeText: 'Փակել', closeStatus: '',
|
||||
prevText: '<Նախ.', prevStatus: '',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Հաջ.>', nextStatus: '',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Այսօր', currentStatus: '',
|
||||
monthNames: ['Հունվար','Փետրվար','Մարտ','Ապրիլ','Մայիս','Հունիս',
|
||||
'Հուլիս','Օգոստոս','Սեպտեմբեր','Հոկտեմբեր','Նոյեմբեր','Դեկտեմբեր'],
|
||||
monthNamesShort: ['Հունվ','Փետր','Մարտ','Ապր','Մայիս','Հունիս',
|
||||
'Հուլ','Օգս','Սեպ','Հոկ','Նոյ','Դեկ'],
|
||||
monthStatus: '', yearStatus: '',
|
||||
weekHeader: 'ՇԲՏ', weekStatus: '',
|
||||
dayNames: ['կիրակի','եկուշաբթի','երեքշաբթի','չորեքշաբթի','հինգշաբթի','ուրբաթ','շաբաթ'],
|
||||
dayNamesShort: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'],
|
||||
dayNamesMin: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['hy']);
|
||||
});/* Indonesian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Deden Fathurahman (dedenf@gmail.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['id'] = {
|
||||
clearText: 'kosongkan', clearStatus: 'bersihkan tanggal yang sekarang',
|
||||
closeText: 'Tutup', closeStatus: 'Tutup tanpa mengubah',
|
||||
prevText: '<mundur', prevStatus: 'Tampilkan bulan sebelumnya',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'maju>', nextStatus: 'Tampilkan bulan berikutnya',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'hari ini', currentStatus: 'Tampilkan bulan sekarang',
|
||||
monthNames: ['Januari','Februari','Maret','April','Mei','Juni',
|
||||
'Juli','Agustus','September','Oktober','Nopember','Desember'],
|
||||
monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun',
|
||||
'Jul','Agus','Sep','Okt','Nop','Des'],
|
||||
monthStatus: 'Tampilkan bulan yang berbeda', yearStatus: 'Tampilkan tahun yang berbeda',
|
||||
weekHeader: 'Mg', weekStatus: 'Minggu dalam tahun',
|
||||
dayNames: ['Minggu','Senin','Selasa','Rabu','Kamis','Jumat','Sabtu'],
|
||||
dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'],
|
||||
dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'],
|
||||
dayStatus: 'gunakan DD sebagai awal hari dalam minggu', dateStatus: 'pilih le DD, MM d',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
initStatus: 'Pilih Tanggal', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['id']);
|
||||
});/* Icelandic initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Haukur H. Thorsson (haukur@eskill.is). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['is'] = {
|
||||
clearText: 'Hreinsa', clearStatus: '',
|
||||
closeText: 'Loka', closeStatus: '',
|
||||
prevText: '< Fyrri', prevStatus: '',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Næsti >', nextStatus: '',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Í dag', currentStatus: '',
|
||||
monthNames: ['Janúar','Febrúar','Mars','Apríl','Maí','Júní',
|
||||
'Júlí','Ágúst','September','Október','Nóvember','Desember'],
|
||||
monthNamesShort: ['Jan','Feb','Mar','Apr','Maí','Jún',
|
||||
'Júl','Ágú','Sep','Okt','Nóv','Des'],
|
||||
monthStatus: '', yearStatus: '',
|
||||
weekHeader: 'Vika', weekStatus: '',
|
||||
dayNames: ['Sunnudagur','Mánudagur','Þriðjudagur','Miðvikudagur','Fimmtudagur','Föstudagur','Laugardagur'],
|
||||
dayNamesShort: ['Sun','Mán','Þri','Mið','Fim','Fös','Lau'],
|
||||
dayNamesMin: ['Su','Má','Þr','Mi','Fi','Fö','La'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['is']);
|
||||
});/* Italian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Apaella (apaella@gmail.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['it'] = {
|
||||
clearText: 'Svuota', clearStatus: 'Annulla',
|
||||
closeText: 'Chiudi', closeStatus: 'Chiudere senza modificare',
|
||||
prevText: '<Prec', prevStatus: 'Mese precedente',
|
||||
prevBigText: '<<', prevBigStatus: 'Mostra l\'anno precedente',
|
||||
nextText: 'Succ>', nextStatus: 'Mese successivo',
|
||||
nextBigText: '>>', nextBigStatus: 'Mostra l\'anno successivo',
|
||||
currentText: 'Oggi', currentStatus: 'Mese corrente',
|
||||
monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno',
|
||||
'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'],
|
||||
monthNamesShort: ['Gen','Feb','Mar','Apr','Mag','Giu',
|
||||
'Lug','Ago','Set','Ott','Nov','Dic'],
|
||||
monthStatus: 'Seleziona un altro mese', yearStatus: 'Seleziona un altro anno',
|
||||
weekHeader: 'Sm', weekStatus: 'Settimana dell\'anno',
|
||||
dayNames: ['Domenica','Lunedì','Martedì','Mercoledì','Giovedì','Venerdì','Sabato'],
|
||||
dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'],
|
||||
dayNamesMin: ['Do','Lu','Ma','Me','Gio','Ve','Sa'],
|
||||
dayStatus: 'Usa DD come primo giorno della settimana', dateStatus: '\'Seleziona\' D, M d',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 1,
|
||||
initStatus: 'Scegliere una data', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['it']);
|
||||
});
|
||||
/* Japanese initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Kentaro SATO (kentaro@ranvis.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['ja'] = {
|
||||
clearText: 'クリア', clearStatus: '日付をクリアします',
|
||||
closeText: '閉じる', closeStatus: '変更せずに閉じます',
|
||||
prevText: '<前', prevStatus: '前月を表示します',
|
||||
prevBigText: '<<', prevBigStatus: '前年を表示します',
|
||||
nextText: '次>', nextStatus: '翌月を表示します',
|
||||
nextBigText: '>>', nextBigStatus: '翌年を表示します',
|
||||
currentText: '今日', currentStatus: '今月を表示します',
|
||||
monthNames: ['1月','2月','3月','4月','5月','6月',
|
||||
'7月','8月','9月','10月','11月','12月'],
|
||||
monthNamesShort: ['1月','2月','3月','4月','5月','6月',
|
||||
'7月','8月','9月','10月','11月','12月'],
|
||||
monthStatus: '表示する月を変更します', yearStatus: '表示する年を変更します',
|
||||
weekHeader: '週', weekStatus: '暦週で第何週目かを表します',
|
||||
dayNames: ['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'],
|
||||
dayNamesShort: ['日','月','火','水','木','金','土'],
|
||||
dayNamesMin: ['日','月','火','水','木','金','土'],
|
||||
dayStatus: '週の始まりをDDにします', dateStatus: 'Md日(D)',
|
||||
dateFormat: 'yy/mm/dd', firstDay: 0,
|
||||
initStatus: '日付を選択します', isRTL: false,
|
||||
showMonthAfterYear: true};
|
||||
$.datepicker.setDefaults($.datepicker.regional['ja']);
|
||||
});/* Korean initialisation for the jQuery calendar extension. */
|
||||
/* Written by DaeKwon Kang (ncrash.dk@gmail.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['ko'] = {
|
||||
clearText: '지우기', clearStatus: '',
|
||||
closeText: '닫기', closeStatus: '',
|
||||
prevText: '이전달', prevStatus: '',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: '다음달', nextStatus: '',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: '오늘', currentStatus: '',
|
||||
monthNames: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)',
|
||||
'7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'],
|
||||
monthNamesShort: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)',
|
||||
'7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'],
|
||||
monthStatus: '', yearStatus: '',
|
||||
weekHeader: 'Wk', weekStatus: '',
|
||||
dayNames: ['일','월','화','수','목','금','토'],
|
||||
dayNamesShort: ['일','월','화','수','목','금','토'],
|
||||
dayNamesMin: ['일','월','화','수','목','금','토'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'yy-mm-dd', firstDay: 0,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['ko']);
|
||||
});/* Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
||||
/* @author Arturas Paleicikas <arturas@avalon.lt> */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['lt'] = {
|
||||
clearText: 'Išvalyti', clearStatus: '',
|
||||
closeText: 'Uždaryti', closeStatus: '',
|
||||
prevText: '<Atgal', prevStatus: '',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Pirmyn>', nextStatus: '',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Šiandien', currentStatus: '',
|
||||
monthNames: ['Sausis','Vasaris','Kovas','Balandis','Gegužė','Birželis',
|
||||
'Liepa','Rugpjūtis','Rugsėjis','Spalis','Lapkritis','Gruodis'],
|
||||
monthNamesShort: ['Sau','Vas','Kov','Bal','Geg','Bir',
|
||||
'Lie','Rugp','Rugs','Spa','Lap','Gru'],
|
||||
monthStatus: '', yearStatus: '',
|
||||
weekHeader: '', weekStatus: '',
|
||||
dayNames: ['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','šeštadienis'],
|
||||
dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'],
|
||||
dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'yy-mm-dd', firstDay: 1,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['lt']);
|
||||
});/* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
||||
/* @author Arturas Paleicikas <arturas.paleicikas@metasite.net> */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['lv'] = {
|
||||
clearText: 'Notīrīt', clearStatus: '',
|
||||
closeText: 'Aizvērt', closeStatus: '',
|
||||
prevText: 'Iepr', prevStatus: '',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Nāka', nextStatus: '',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Šodien', currentStatus: '',
|
||||
monthNames: ['Janvāris','Februāris','Marts','Aprīlis','Maijs','Jūnijs',
|
||||
'Jūlijs','Augusts','Septembris','Oktobris','Novembris','Decembris'],
|
||||
monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jūn',
|
||||
'Jūl','Aug','Sep','Okt','Nov','Dec'],
|
||||
monthStatus: '', yearStatus: '',
|
||||
weekHeader: 'Nav', weekStatus: '',
|
||||
dayNames: ['svētdiena','pirmdiena','otrdiena','trešdiena','ceturtdiena','piektdiena','sestdiena'],
|
||||
dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'],
|
||||
dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'dd-mm-yy', firstDay: 1,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['lv']);
|
||||
});/* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Mathias Bynens <http://mathiasbynens.be/> */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional.nl = {
|
||||
clearText: 'Wissen', clearStatus: 'Wis de huidige datum',
|
||||
closeText: 'Sluiten', closeStatus: 'Sluit zonder verandering',
|
||||
prevText: '←', prevStatus: 'Bekijk de vorige maand',
|
||||
prevBigText: '«', nextBigStatus: 'Bekijk het vorige jaar',
|
||||
nextText: '→', nextStatus: 'Bekijk de volgende maand',
|
||||
nextBigText: '»', nextBigStatus: 'Bekijk het volgende jaar',
|
||||
currentText: 'Vandaag', currentStatus: 'Bekijk de huidige maand',
|
||||
monthNames: ['januari', 'februari', 'maart', 'april', 'mei', 'juni',
|
||||
'juli', 'augustus', 'september', 'oktober', 'november', 'december'],
|
||||
monthNamesShort: ['jan', 'feb', 'maa', 'apr', 'mei', 'jun',
|
||||
'jul', 'aug', 'sep', 'okt', 'nov', 'dec'],
|
||||
monthStatus: 'Bekijk een andere maand', yearStatus: 'Bekijk een ander jaar',
|
||||
weekHeader: 'Wk', weekStatus: 'Week van het jaar',
|
||||
dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'],
|
||||
dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'],
|
||||
dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],
|
||||
dayStatus: 'Stel DD in als eerste dag van de week', dateStatus: 'dd/mm/yy',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 1,
|
||||
initStatus: 'Kies een datum', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional.nl);
|
||||
});/* Norwegian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Naimdjon Takhirov (naimdjon@gmail.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['no'] = {
|
||||
clearText: 'Tøm', clearStatus: '',
|
||||
closeText: 'Lukk', closeStatus: '',
|
||||
prevText: '«Forrige', prevStatus: '',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Neste»', nextStatus: '',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'I dag', currentStatus: '',
|
||||
monthNames: ['Januar','Februar','Mars','April','Mai','Juni',
|
||||
'Juli','August','September','Oktober','November','Desember'],
|
||||
monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jun',
|
||||
'Jul','Aug','Sep','Okt','Nov','Des'],
|
||||
monthStatus: '', yearStatus: '',
|
||||
weekHeader: 'Uke', weekStatus: '',
|
||||
dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'],
|
||||
dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],
|
||||
dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'yy-mm-dd', firstDay: 0,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['no']);
|
||||
});
|
||||
/* Polish initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Jacek Wysocki (jacek.wysocki@gmail.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['pl'] = {
|
||||
clearText: 'Wyczyść', clearStatus: 'Wyczyść obecną datę',
|
||||
closeText: 'Zamknij', closeStatus: 'Zamknij bez zapisywania',
|
||||
prevText: '<Poprzedni', prevStatus: 'Pokaż poprzedni miesiąc',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Następny>', nextStatus: 'Pokaż następny miesiąc',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Dziś', currentStatus: 'Pokaż aktualny miesiąc',
|
||||
monthNames: ['Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec',
|
||||
'Lipiec','Sierpień','Wrzesień','Październik','Listopad','Grudzień'],
|
||||
monthNamesShort: ['Sty','Lu','Mar','Kw','Maj','Cze',
|
||||
'Lip','Sie','Wrz','Pa','Lis','Gru'],
|
||||
monthStatus: 'Pokaż inny miesiąc', yearStatus: 'Pokaż inny rok',
|
||||
weekHeader: 'Tydz', weekStatus: 'Tydzień roku',
|
||||
dayNames: ['Niedziela','Poniedzialek','Wtorek','Środa','Czwartek','Piątek','Sobota'],
|
||||
dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'],
|
||||
dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'],
|
||||
dayStatus: 'Ustaw DD jako pierwszy dzień tygodnia', dateStatus: '\'Wybierz\' D, M d',
|
||||
dateFormat: 'yy-mm-dd', firstDay: 1,
|
||||
initStatus: 'Wybierz datę', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['pl']);
|
||||
});
|
||||
/* Brazilian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Leonildo Costa Silva (leocsilva@gmail.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['pt-BR'] = {
|
||||
clearText: 'Limpar', clearStatus: '',
|
||||
closeText: 'Fechar', closeStatus: '',
|
||||
prevText: '<Anterior', prevStatus: '',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Próximo>', nextStatus: '',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Hoje', currentStatus: '',
|
||||
monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho',
|
||||
'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
|
||||
monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun',
|
||||
'Jul','Ago','Set','Out','Nov','Dez'],
|
||||
monthStatus: '', yearStatus: '',
|
||||
weekHeader: 'Sm', weekStatus: '',
|
||||
dayNames: ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sabado'],
|
||||
dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'],
|
||||
dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['pt-BR']);
|
||||
});/* Romanian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Edmond L. (ll_edmond@walla.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['ro'] = {
|
||||
clearText: 'Curat', clearStatus: 'Sterge data curenta',
|
||||
closeText: 'Inchide', closeStatus: 'Inchide fara schimbare',
|
||||
prevText: '<Anterior', prevStatus: 'Arata luna trecuta',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Urmator>', nextStatus: 'Arata luna urmatoare',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Azi', currentStatus: 'Arata luna curenta',
|
||||
monthNames: ['Ianuarie','Februarie','Martie','Aprilie','Mai','Junie',
|
||||
'Julie','August','Septembrie','Octobrie','Noiembrie','Decembrie'],
|
||||
monthNamesShort: ['Ian', 'Feb', 'Mar', 'Apr', 'Mai', 'Jun',
|
||||
'Jul', 'Aug', 'Sep', 'Oct', 'Noi', 'Dec'],
|
||||
monthStatus: 'Arata o luna diferita', yearStatus: 'Arat un an diferit',
|
||||
weekHeader: 'Sapt', weekStatus: 'Saptamana anului',
|
||||
dayNames: ['Duminica', 'Luni', 'Marti', 'Miercuri', 'Joi', 'Vineri', 'Sambata'],
|
||||
dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sam'],
|
||||
dayNamesMin: ['Du','Lu','Ma','Mi','Jo','Vi','Sa'],
|
||||
dayStatus: 'Seteaza DD ca prima saptamana zi', dateStatus: 'Selecteaza D, M d',
|
||||
dateFormat: 'mm/dd/yy', firstDay: 0,
|
||||
initStatus: 'Selecteaza o data', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['ro']);
|
||||
});
|
||||
/* Russian (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Andrew Stromnov (stromnov@gmail.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['ru'] = {
|
||||
clearText: 'Очистить', clearStatus: '',
|
||||
closeText: 'Закрыть', closeStatus: '',
|
||||
prevText: '<Пред', prevStatus: '',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'След>', nextStatus: '',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Сегодня', currentStatus: '',
|
||||
monthNames: ['Январь','Февраль','Март','Апрель','Май','Июнь',
|
||||
'Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'],
|
||||
monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн',
|
||||
'Июл','Авг','Сен','Окт','Ноя','Дек'],
|
||||
monthStatus: '', yearStatus: '',
|
||||
weekHeader: 'Не', weekStatus: '',
|
||||
dayNames: ['воскресенье','понедельник','вторник','среда','четверг','пятница','суббота'],
|
||||
dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'],
|
||||
dayNamesMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['ru']);
|
||||
});/* Slovak initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Vojtech Rinik (vojto@hmm.sk). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['sk'] = {
|
||||
clearText: 'Zmazať', clearStatus: '',
|
||||
closeText: 'Zavrieť', closeStatus: '',
|
||||
prevText: '<Predchádzajúci', prevStatus: '',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Nasledujúci>', nextStatus: '',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Dnes', currentStatus: '',
|
||||
monthNames: ['Január','Február','Marec','Apríl','Máj','Jún',
|
||||
'Júl','August','September','Október','November','December'],
|
||||
monthNamesShort: ['Jan','Feb','Mar','Apr','Máj','Jún',
|
||||
'Júl','Aug','Sep','Okt','Nov','Dec'],
|
||||
monthStatus: '', yearStatus: '',
|
||||
weekHeader: 'Ty', weekStatus: '',
|
||||
dayNames: ['Nedel\'a','Pondelok','Utorok','Streda','Štvrtok','Piatok','Sobota'],
|
||||
dayNamesShort: ['Ned','Pon','Uto','Str','Štv','Pia','Sob'],
|
||||
dayNamesMin: ['Ne','Po','Ut','St','Št','Pia','So'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 0,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['sk']);
|
||||
});
|
||||
/* Slovenian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Jaka Jancar (jaka@kubje.org). */
|
||||
/* c = č, s = š z = ž C = Č S = Š Z = Ž */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['sl'] = {
|
||||
clearText: 'Izbriši', clearStatus: 'Izbriši trenutni datum',
|
||||
closeText: 'Zapri', closeStatus: 'Zapri brez spreminjanja',
|
||||
prevText: '<Prejšnji', prevStatus: 'Prikaži prejšnji mesec',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Naslednji>', nextStatus: 'Prikaži naslednji mesec',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Trenutni', currentStatus: 'Prikaži trenutni mesec',
|
||||
monthNames: ['Januar','Februar','Marec','April','Maj','Junij',
|
||||
'Julij','Avgust','September','Oktober','November','December'],
|
||||
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
|
||||
'Jul','Avg','Sep','Okt','Nov','Dec'],
|
||||
monthStatus: 'Prikaži drug mesec', yearStatus: 'Prikaži drugo leto',
|
||||
weekHeader: 'Teden', weekStatus: 'Teden v letu',
|
||||
dayNames: ['Nedelja','Ponedeljek','Torek','Sreda','Četrtek','Petek','Sobota'],
|
||||
dayNamesShort: ['Ned','Pon','Tor','Sre','Čet','Pet','Sob'],
|
||||
dayNamesMin: ['Ne','Po','To','Sr','Če','Pe','So'],
|
||||
dayStatus: 'Nastavi DD za prvi dan v tednu', dateStatus: 'Izberi DD, d MM yy',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
initStatus: 'Izbira datuma', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['sl']);
|
||||
});
|
||||
/* Albanian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Flakron Bytyqi (flakron@gmail.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['sq'] = {
|
||||
clearText: 'fshije', clearStatus: 'fshije datën aktuale',
|
||||
closeText: 'mbylle', closeStatus: 'mbylle pa ndryshime',
|
||||
prevText: '<mbrapa', prevStatus: 'trego muajin e fundit',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Përpara>', nextStatus: 'trego muajin tjetër',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'sot', currentStatus: '',
|
||||
monthNames: ['Janar','Shkurt','Mars','Pril','Maj','Qershor',
|
||||
'Korrik','Gusht','Shtator','Tetor','Nëntor','Dhjetor'],
|
||||
monthNamesShort: ['Jan','Shk','Mar','Pri','Maj','Qer',
|
||||
'Kor','Gus','Sht','Tet','Nën','Dhj'],
|
||||
monthStatus: 'trego muajin tjetër', yearStatus: 'trego tjetër vit',
|
||||
weekHeader: 'Ja', weekStatus: 'Java e muajit',
|
||||
dayNames: ['E Diel','E Hënë','E Martë','E Mërkurë','E Enjte','E Premte','E Shtune'],
|
||||
dayNamesShort: ['Di','Hë','Ma','Më','En','Pr','Sh'],
|
||||
dayNamesMin: ['Di','Hë','Ma','Më','En','Pr','Sh'],
|
||||
dayStatus: 'Vendose DD si ditë të parë të javës', dateStatus: '\'Zgjedh\' D, M d',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
initStatus: 'Zgjedhe një datë', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['sq']);
|
||||
});
|
||||
/* Swedish initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Anders Ekdahl ( anders@nomadiz.se). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['sv'] = {
|
||||
clearText: 'Rensa', clearStatus: '',
|
||||
closeText: 'Stäng', closeStatus: '',
|
||||
prevText: '«Förra', prevStatus: '',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Nästa»', nextStatus: '',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Idag', currentStatus: '',
|
||||
monthNames: ['Januari','Februari','Mars','April','Maj','Juni',
|
||||
'Juli','Augusti','September','Oktober','November','December'],
|
||||
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
|
||||
'Jul','Aug','Sep','Okt','Nov','Dec'],
|
||||
monthStatus: '', yearStatus: '',
|
||||
weekHeader: 'Ve', weekStatus: '',
|
||||
dayNamesShort: ['Sön','Mån','Tis','Ons','Tor','Fre','Lör'],
|
||||
dayNames: ['Söndag','Måndag','Tisdag','Onsdag','Torsdag','Fredag','Lördag'],
|
||||
dayNamesMin: ['Sö','Må','Ti','On','To','Fr','Lö'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'yy-mm-dd', firstDay: 1,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['sv']);
|
||||
});
|
||||
/* Thai initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by pipo (pipo@sixhead.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['th'] = {
|
||||
clearText: 'ลบ', clearStatus: '',
|
||||
closeText: 'ปิด', closeStatus: '',
|
||||
prevText: '« ย้อน', prevStatus: '',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'ถัดไป »', nextStatus: '',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'วันนี้', currentStatus: '',
|
||||
monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน',
|
||||
'กรกฏาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'],
|
||||
monthNamesShort: ['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.',
|
||||
'ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.'],
|
||||
monthStatus: '', yearStatus: '',
|
||||
weekHeader: 'Sm', weekStatus: '',
|
||||
dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'],
|
||||
dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
|
||||
dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['th']);
|
||||
});/* Turkish initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Izzet Emre Erkan (kara@karalamalar.net). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['tr'] = {
|
||||
clearText: 'temizle', clearStatus: 'geçerli tarihi temizler',
|
||||
closeText: 'kapat', closeStatus: 'sadece göstergeyi kapat',
|
||||
prevText: '<geri', prevStatus: 'önceki ayı göster',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'ileri>', nextStatus: 'sonraki ayı göster',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'bugün', currentStatus: '',
|
||||
monthNames: ['Ocak','Şubat','Mart','Nisan','Mayıs','Haziran',
|
||||
'Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık'],
|
||||
monthNamesShort: ['Oca','Şub','Mar','Nis','May','Haz',
|
||||
'Tem','Ağu','Eyl','Eki','Kas','Ara'],
|
||||
monthStatus: 'başka ay', yearStatus: 'başka yıl',
|
||||
weekHeader: 'Hf', weekStatus: 'Ayın haftaları',
|
||||
dayNames: ['Pazar','Pazartesi','Salı','Çarşamba','Perşembe','Cuma','Cumartesi'],
|
||||
dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
|
||||
dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
|
||||
dayStatus: 'Haftanın ilk gününü belirleyin', dateStatus: 'D, M d seçiniz',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
initStatus: 'Bir tarih seçiniz', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['tr']);
|
||||
});/* Ukrainian (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Maxim Drogobitskiy (maxdao@gmail.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['uk'] = {
|
||||
clearText: 'Очистити', clearStatus: '',
|
||||
closeText: 'Закрити', closeStatus: '',
|
||||
prevText: '<', prevStatus: '',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: '>', nextStatus: '',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Сьогодні', currentStatus: '',
|
||||
monthNames: ['Січень','Лютий','Березень','Квітень','Травень','Червень',
|
||||
'Липень','Серпень','Вересень','Жовтень','Листопад','Грудень'],
|
||||
monthNamesShort: ['Січ','Лют','Бер','Кві','Тра','Чер',
|
||||
'Лип','Сер','Вер','Жов','Лис','Гру'],
|
||||
monthStatus: '', yearStatus: '',
|
||||
weekHeader: 'Не', weekStatus: '',
|
||||
dayNames: ['неділя','понеділок','вівторок','середа','четвер','пятниця','суббота'],
|
||||
dayNamesShort: ['нед','пнд','вів','срд','чтв','птн','сбт'],
|
||||
dayNamesMin: ['Нд','Пн','Вт','Ср','Чт','Пт','Сб'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['uk']);
|
||||
});/* Chinese initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Cloudream (cloudream@gmail.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['zh-CN'] = {
|
||||
clearText: '清除', clearStatus: '清除已选日期',
|
||||
closeText: '关闭', closeStatus: '不改变当前选择',
|
||||
prevText: '<上月', prevStatus: '显示上月',
|
||||
prevBigText: '<<', prevBigStatus: '显示上一年',
|
||||
nextText: '下月>', nextStatus: '显示下月',
|
||||
nextBigText: '>>', nextBigStatus: '显示下一年',
|
||||
currentText: '今天', currentStatus: '显示本月',
|
||||
monthNames: ['一月','二月','三月','四月','五月','六月',
|
||||
'七月','八月','九月','十月','十一月','十二月'],
|
||||
monthNamesShort: ['一','二','三','四','五','六',
|
||||
'七','八','九','十','十一','十二'],
|
||||
monthStatus: '选择月份', yearStatus: '选择年份',
|
||||
weekHeader: '周', weekStatus: '年内周次',
|
||||
dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
|
||||
dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
|
||||
dayNamesMin: ['日','一','二','三','四','五','六'],
|
||||
dayStatus: '设置 DD 为一周起始', dateStatus: '选择 m月 d日, DD',
|
||||
dateFormat: 'yy-mm-dd', firstDay: 1,
|
||||
initStatus: '请选择日期', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['zh-CN']);
|
||||
});
|
||||
/* Chinese initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Ressol (ressol@gmail.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['zh-TW'] = {
|
||||
clearText: '清除', clearStatus: '清除已選日期',
|
||||
closeText: '關閉', closeStatus: '不改變目前的選擇',
|
||||
prevText: '<上月', prevStatus: '顯示上月',
|
||||
prevBigText: '<<', prevBigStatus: '顯示上一年',
|
||||
nextText: '下月>', nextStatus: '顯示下月',
|
||||
nextBigText: '>>', nextBigStatus: '顯示下一年',
|
||||
currentText: '今天', currentStatus: '顯示本月',
|
||||
monthNames: ['一月','二月','三月','四月','五月','六月',
|
||||
'七月','八月','九月','十月','十一月','十二月'],
|
||||
monthNamesShort: ['一','二','三','四','五','六',
|
||||
'七','八','九','十','十一','十二'],
|
||||
monthStatus: '選擇月份', yearStatus: '選擇年份',
|
||||
weekHeader: '周', weekStatus: '年內周次',
|
||||
dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
|
||||
dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
|
||||
dayNamesMin: ['日','一','二','三','四','五','六'],
|
||||
dayStatus: '設定 DD 為一周起始', dateStatus: '選擇 m月 d日, DD',
|
||||
dateFormat: 'yy/mm/dd', firstDay: 1,
|
||||
initStatus: '請選擇日期', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['zh-TW']);
|
||||
});
|
||||
@@ -1,26 +0,0 @@
|
||||
/* Arabic Translation for jQuery UI date picker plugin. */
|
||||
/* Khaled Al Horani -- koko.dw@gmail.com */
|
||||
/* خالد الحوراني -- koko.dw@gmail.com */
|
||||
/* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['ar'] = {
|
||||
clearText: 'مسح', clearStatus: 'امسح التاريخ الحالي',
|
||||
closeText: 'إغلاق', closeStatus: 'إغلاق بدون حفظ',
|
||||
prevText: '<السابق', prevStatus: 'عرض الشهر السابق',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'التالي>', nextStatus: 'عرض الشهر القادم',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'اليوم', currentStatus: 'عرض الشهر الحالي',
|
||||
monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'آذار', 'حزيران',
|
||||
'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
|
||||
monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
|
||||
monthStatus: 'عرض شهر آخر', yearStatus: 'عرض سنة آخرى',
|
||||
weekHeader: 'أسبوع', weekStatus: 'أسبوع السنة',
|
||||
dayNames: ['السبت', 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة'],
|
||||
dayNamesShort: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'],
|
||||
dayNamesMin: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'],
|
||||
dayStatus: 'اختر DD لليوم الأول من الأسبوع', dateStatus: 'اختر D, M d',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
initStatus: 'اختر يوم', isRTL: true};
|
||||
$.datepicker.setDefaults($.datepicker.regional['ar']);
|
||||
});
|
||||
@@ -1,25 +0,0 @@
|
||||
/* Bulgarian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Stoyan Kyosev (http://svest.org). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['bg'] = {
|
||||
clearText: 'изчисти', clearStatus: 'изчисти актуалната дата',
|
||||
closeText: 'затвори', closeStatus: 'затвори без промени',
|
||||
prevText: '<назад', prevStatus: 'покажи последния месец',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'напред>', nextStatus: 'покажи следващия месец',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'днес', currentStatus: '',
|
||||
monthNames: ['Януари','Февруари','Март','Април','Май','Юни',
|
||||
'Юли','Август','Септември','Октомври','Ноември','Декември'],
|
||||
monthNamesShort: ['Яну','Фев','Мар','Апр','Май','Юни',
|
||||
'Юли','Авг','Сеп','Окт','Нов','Дек'],
|
||||
monthStatus: 'покажи друг месец', yearStatus: 'покажи друга година',
|
||||
weekHeader: 'Wk', weekStatus: 'седмица от месеца',
|
||||
dayNames: ['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'],
|
||||
dayNamesShort: ['Нед','Пон','Вто','Сря','Чет','Пет','Съб'],
|
||||
dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Съ'],
|
||||
dayStatus: 'Сложи DD като първи ден от седмицата', dateStatus: 'Избери D, M d',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
initStatus: 'Избери дата', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['bg']);
|
||||
});
|
||||
@@ -1,25 +0,0 @@
|
||||
/* Czech initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Tomas Muller (tomas@tomas-muller.net). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['cs'] = {
|
||||
clearText: 'Vymazat', clearStatus: 'Vymaže zadané datum',
|
||||
closeText: 'Zavřít', closeStatus: 'Zavře kalendář beze změny',
|
||||
prevText: '<Dříve', prevStatus: 'Přejít na předchozí měsí',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Později>', nextStatus: 'Přejít na další měsíc',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Nyní', currentStatus: 'Přejde na aktuální měsíc',
|
||||
monthNames: ['leden','únor','březen','duben','květen','červen',
|
||||
'červenec','srpen','září','říjen','listopad','prosinec'],
|
||||
monthNamesShort: ['led','úno','bře','dub','kvě','čer',
|
||||
'čvc','srp','zář','říj','lis','pro'],
|
||||
monthStatus: 'Přejít na jiný měsíc', yearStatus: 'Přejít na jiný rok',
|
||||
weekHeader: 'Týd', weekStatus: 'Týden v roce',
|
||||
dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'],
|
||||
dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'],
|
||||
dayNamesMin: ['ne','po','út','st','čt','pá','so'],
|
||||
dayStatus: 'Nastavit DD jako první den v týdnu', dateStatus: '\'Vyber\' DD, M d',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
initStatus: 'Vyberte datum', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['cs']);
|
||||
});
|
||||
@@ -1,25 +0,0 @@
|
||||
/* Danish initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Jan Christensen ( deletestuff@gmail.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['da'] = {
|
||||
clearText: 'Nulstil', clearStatus: 'Nulstil den aktuelle dato',
|
||||
closeText: 'Luk', closeStatus: 'Luk uden ændringer',
|
||||
prevText: '<Forrige', prevStatus: 'Vis forrige måned',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Næste>', nextStatus: 'Vis næste måned',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Idag', currentStatus: 'Vis aktuel måned',
|
||||
monthNames: ['Januar','Februar','Marts','April','Maj','Juni',
|
||||
'Juli','August','September','Oktober','November','December'],
|
||||
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
|
||||
'Jul','Aug','Sep','Okt','Nov','Dec'],
|
||||
monthStatus: 'Vis en anden måned', yearStatus: 'Vis et andet år',
|
||||
weekHeader: 'Uge', weekStatus: 'Årets uge',
|
||||
dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],
|
||||
dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'],
|
||||
dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'],
|
||||
dayStatus: 'Sæt DD som første ugedag', dateStatus: 'Vælg D, M d',
|
||||
dateFormat: 'dd-mm-yy', firstDay: 0,
|
||||
initStatus: 'Vælg en dato', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['da']);
|
||||
});
|
||||
@@ -1,25 +0,0 @@
|
||||
/* German initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Milian Wolff (mail@milianw.de). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['de'] = {
|
||||
clearText: 'löschen', clearStatus: 'aktuelles Datum löschen',
|
||||
closeText: 'schließen', closeStatus: 'ohne Änderungen schließen',
|
||||
prevText: '<zurück', prevStatus: 'letzten Monat zeigen',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Vor>', nextStatus: 'nächsten Monat zeigen',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'heute', currentStatus: '',
|
||||
monthNames: ['Januar','Februar','März','April','Mai','Juni',
|
||||
'Juli','August','September','Oktober','November','Dezember'],
|
||||
monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun',
|
||||
'Jul','Aug','Sep','Okt','Nov','Dez'],
|
||||
monthStatus: 'anderen Monat anzeigen', yearStatus: 'anderes Jahr anzeigen',
|
||||
weekHeader: 'Wo', weekStatus: 'Woche des Monats',
|
||||
dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
|
||||
dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
|
||||
dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
|
||||
dayStatus: 'Setze DD als ersten Wochentag', dateStatus: 'Wähle D, M d',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
initStatus: 'Wähle ein Datum', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['de']);
|
||||
});
|
||||
@@ -1,25 +0,0 @@
|
||||
/* Esperanto initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Olivier M. (olivierweb@ifrance.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['eo'] = {
|
||||
clearText: 'Vakigi', clearStatus: '',
|
||||
closeText: 'Fermi', closeStatus: 'Fermi sen modifi',
|
||||
prevText: '<Anta', prevStatus: 'Vidi la antaŭan monaton',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Sekv>', nextStatus: 'Vidi la sekvan monaton',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Nuna', currentStatus: 'Vidi la nunan monaton',
|
||||
monthNames: ['Januaro','Februaro','Marto','Aprilo','Majo','Junio',
|
||||
'Julio','Aŭgusto','Septembro','Oktobro','Novembro','Decembro'],
|
||||
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
|
||||
'Jul','Aŭg','Sep','Okt','Nov','Dec'],
|
||||
monthStatus: 'Vidi alian monaton', yearStatus: 'Vidi alian jaron',
|
||||
weekHeader: 'Sb', weekStatus: '',
|
||||
dayNames: ['Dimanĉo','Lundo','Mardo','Merkredo','Ĵaŭdo','Vendredo','Sabato'],
|
||||
dayNamesShort: ['Dim','Lun','Mar','Mer','Ĵaŭ','Ven','Sab'],
|
||||
dayNamesMin: ['Di','Lu','Ma','Me','Ĵa','Ve','Sa'],
|
||||
dayStatus: 'Uzi DD kiel unua tago de la semajno', dateStatus: 'Elekti DD, MM d',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
initStatus: 'Elekti la daton', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['eo']);
|
||||
});
|
||||
@@ -1,25 +0,0 @@
|
||||
/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */
|
||||
/* Javad Mowlanezhad -- jmowla@gmail.com */
|
||||
/* Jalali calendar should supported soon! (Its implemented but I have to test it) */
|
||||
jQuery(function($) {
|
||||
$.datepicker.regional['fa'] = {
|
||||
clearText: 'حذف تاريخ', clearStatus: 'پاک کردن تاريخ جاري',
|
||||
closeText: 'بستن', closeStatus: 'بستن بدون اعمال تغييرات',
|
||||
prevText: '<قبلي', prevStatus: 'نمايش ماه قبل',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'بعدي>', nextStatus: 'نمايش ماه بعد',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'امروز', currentStatus: 'نمايش ماه جاري',
|
||||
monthNames: ['فروردين','ارديبهشت','خرداد','تير','مرداد','شهريور',
|
||||
'مهر','آبان','آذر','دي','بهمن','اسفند'],
|
||||
monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
|
||||
monthStatus: 'نمايش ماه متفاوت', yearStatus: 'نمايش سال متفاوت',
|
||||
weekHeader: 'هف', weekStatus: 'هفتهِ سال',
|
||||
dayNames: ['يکشنبه','دوشنبه','سهشنبه','چهارشنبه','پنجشنبه','جمعه','شنبه'],
|
||||
dayNamesShort: ['ي','د','س','چ','پ','ج', 'ش'],
|
||||
dayNamesMin: ['ي','د','س','چ','پ','ج', 'ش'],
|
||||
dayStatus: 'قبول DD بعنوان اولين روز هفته', dateStatus: 'انتخاب D, M d',
|
||||
dateFormat: 'yy/mm/dd', firstDay: 6,
|
||||
initStatus: 'انتخاب تاريخ', isRTL: true};
|
||||
$.datepicker.setDefaults($.datepicker.regional['fa']);
|
||||
});
|
||||
@@ -1,25 +0,0 @@
|
||||
/* French initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Keith Wood (kbwood@virginbroadband.com.au) and Stéphane Nahmani (sholby@sholby.net). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['fr'] = {
|
||||
clearText: 'Effacer', clearStatus: 'Effacer la date sélectionnée',
|
||||
closeText: 'Fermer', closeStatus: 'Fermer sans modifier',
|
||||
prevText: '<Préc', prevStatus: 'Voir le mois précédent',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Suiv>', nextStatus: 'Voir le mois suivant',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Courant', currentStatus: 'Voir le mois courant',
|
||||
monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin',
|
||||
'Juillet','Août','Septembre','Octobre','Novembre','Décembre'],
|
||||
monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun',
|
||||
'Jul','Aoû','Sep','Oct','Nov','Déc'],
|
||||
monthStatus: 'Voir un autre mois', yearStatus: 'Voir une autre année',
|
||||
weekHeader: 'Sm', weekStatus: '',
|
||||
dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
|
||||
dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'],
|
||||
dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'],
|
||||
dayStatus: 'Utiliser DD comme premier jour de la semaine', dateStatus: '\'Choisir\' le DD d MM',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 1,
|
||||
initStatus: 'Choisir la date', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['fr']);
|
||||
});
|
||||
@@ -1,25 +0,0 @@
|
||||
/* Croatian i18n for the jQuery UI date picker plugin. */
|
||||
/* Written by Vjekoslav Nesek. */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['hr'] = {
|
||||
clearText: 'izbriši', clearStatus: 'Izbriši trenutni datum',
|
||||
closeText: 'Zatvori', closeStatus: 'Zatvori kalendar',
|
||||
prevText: '<', prevStatus: 'Prikaži prethodni mjesec',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: '>', nextStatus: 'Prikaži slijedeći mjesec',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Danas', currentStatus: 'Današnji datum',
|
||||
monthNames: ['Siječanj','Veljača','Ožujak','Travanj','Svibanj','Lipani',
|
||||
'Srpanj','Kolovoz','Rujan','Listopad','Studeni','Prosinac'],
|
||||
monthNamesShort: ['Sij','Velj','Ožu','Tra','Svi','Lip',
|
||||
'Srp','Kol','Ruj','Lis','Stu','Pro'],
|
||||
monthStatus: 'Prikaži mjesece', yearStatus: 'Prikaži godine',
|
||||
weekHeader: 'Tje', weekStatus: 'Tjedan',
|
||||
dayNames: ['Nedjalja','Ponedjeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'],
|
||||
dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'],
|
||||
dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
|
||||
dayStatus: 'Odaber DD za prvi dan tjedna', dateStatus: '\'Datum\' D, M d',
|
||||
dateFormat: 'dd.mm.yy.', firstDay: 1,
|
||||
initStatus: 'Odaberi datum', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['hr']);
|
||||
});
|
||||
@@ -1,25 +0,0 @@
|
||||
/* Hungarian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Istvan Karaszi (jquerycalendar@spam.raszi.hu). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['hu'] = {
|
||||
clearText: 'törlés', clearStatus: '',
|
||||
closeText: 'bezárás', closeStatus: '',
|
||||
prevText: '« vissza', prevStatus: '',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'előre »', nextStatus: '',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'ma', currentStatus: '',
|
||||
monthNames: ['Január', 'Február', 'Március', 'Április', 'Május', 'Június',
|
||||
'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December'],
|
||||
monthNamesShort: ['Jan', 'Feb', 'Már', 'Ápr', 'Máj', 'Jún',
|
||||
'Júl', 'Aug', 'Szep', 'Okt', 'Nov', 'Dec'],
|
||||
monthStatus: '', yearStatus: '',
|
||||
weekHeader: 'Hé', weekStatus: '',
|
||||
dayNames: ['Vasámap', 'Hétfö', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'],
|
||||
dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'],
|
||||
dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'yy-mm-dd', firstDay: 1,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['hu']);
|
||||
});
|
||||
@@ -1,25 +0,0 @@
|
||||
/* Indonesian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Deden Fathurahman (dedenf@gmail.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['id'] = {
|
||||
clearText: 'kosongkan', clearStatus: 'bersihkan tanggal yang sekarang',
|
||||
closeText: 'Tutup', closeStatus: 'Tutup tanpa mengubah',
|
||||
prevText: '<mundur', prevStatus: 'Tampilkan bulan sebelumnya',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'maju>', nextStatus: 'Tampilkan bulan berikutnya',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'hari ini', currentStatus: 'Tampilkan bulan sekarang',
|
||||
monthNames: ['Januari','Februari','Maret','April','Mei','Juni',
|
||||
'Juli','Agustus','September','Oktober','Nopember','Desember'],
|
||||
monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun',
|
||||
'Jul','Agus','Sep','Okt','Nop','Des'],
|
||||
monthStatus: 'Tampilkan bulan yang berbeda', yearStatus: 'Tampilkan tahun yang berbeda',
|
||||
weekHeader: 'Mg', weekStatus: 'Minggu dalam tahun',
|
||||
dayNames: ['Minggu','Senin','Selasa','Rabu','Kamis','Jumat','Sabtu'],
|
||||
dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'],
|
||||
dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'],
|
||||
dayStatus: 'gunakan DD sebagai awal hari dalam minggu', dateStatus: 'pilih le DD, MM d',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
initStatus: 'Pilih Tanggal', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['id']);
|
||||
});
|
||||
@@ -1,25 +0,0 @@
|
||||
/* Italian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Apaella (apaella@gmail.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['it'] = {
|
||||
clearText: 'Svuota', clearStatus: 'Annulla',
|
||||
closeText: 'Chiudi', closeStatus: 'Chiudere senza modificare',
|
||||
prevText: '<Prec', prevStatus: 'Mese precedente',
|
||||
prevBigText: '<<', prevBigStatus: 'Mostra l\'anno precedente',
|
||||
nextText: 'Succ>', nextStatus: 'Mese successivo',
|
||||
nextBigText: '>>', nextBigStatus: 'Mostra l\'anno successivo',
|
||||
currentText: 'Oggi', currentStatus: 'Mese corrente',
|
||||
monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno',
|
||||
'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'],
|
||||
monthNamesShort: ['Gen','Feb','Mar','Apr','Mag','Giu',
|
||||
'Lug','Ago','Set','Ott','Nov','Dic'],
|
||||
monthStatus: 'Seleziona un altro mese', yearStatus: 'Seleziona un altro anno',
|
||||
weekHeader: 'Sm', weekStatus: 'Settimana dell\'anno',
|
||||
dayNames: ['Domenica','Lunedì','Martedì','Mercoledì','Giovedì','Venerdì','Sabato'],
|
||||
dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'],
|
||||
dayNamesMin: ['Do','Lu','Ma','Me','Gio','Ve','Sa'],
|
||||
dayStatus: 'Usa DD come primo giorno della settimana', dateStatus: '\'Seleziona\' D, M d',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 1,
|
||||
initStatus: 'Scegliere una data', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['it']);
|
||||
});
|
||||
@@ -1,26 +0,0 @@
|
||||
/* Japanese initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Kentaro SATO (kentaro@ranvis.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['ja'] = {
|
||||
clearText: 'クリア', clearStatus: '日付をクリアします',
|
||||
closeText: '閉じる', closeStatus: '変更せずに閉じます',
|
||||
prevText: '<前', prevStatus: '前月を表示します',
|
||||
prevBigText: '<<', prevBigStatus: '前年を表示します',
|
||||
nextText: '次>', nextStatus: '翌月を表示します',
|
||||
nextBigText: '>>', nextBigStatus: '翌年を表示します',
|
||||
currentText: '今日', currentStatus: '今月を表示します',
|
||||
monthNames: ['1月','2月','3月','4月','5月','6月',
|
||||
'7月','8月','9月','10月','11月','12月'],
|
||||
monthNamesShort: ['1月','2月','3月','4月','5月','6月',
|
||||
'7月','8月','9月','10月','11月','12月'],
|
||||
monthStatus: '表示する月を変更します', yearStatus: '表示する年を変更します',
|
||||
weekHeader: '週', weekStatus: '暦週で第何週目かを表します',
|
||||
dayNames: ['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'],
|
||||
dayNamesShort: ['日','月','火','水','木','金','土'],
|
||||
dayNamesMin: ['日','月','火','水','木','金','土'],
|
||||
dayStatus: '週の始まりをDDにします', dateStatus: 'Md日(D)',
|
||||
dateFormat: 'yy/mm/dd', firstDay: 0,
|
||||
initStatus: '日付を選択します', isRTL: false,
|
||||
showMonthAfterYear: true};
|
||||
$.datepicker.setDefaults($.datepicker.regional['ja']);
|
||||
});
|
||||
@@ -1,25 +0,0 @@
|
||||
/* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Mathias Bynens <http://mathiasbynens.be/> */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional.nl = {
|
||||
clearText: 'Wissen', clearStatus: 'Wis de huidige datum',
|
||||
closeText: 'Sluiten', closeStatus: 'Sluit zonder verandering',
|
||||
prevText: '←', prevStatus: 'Bekijk de vorige maand',
|
||||
prevBigText: '«', nextBigStatus: 'Bekijk het vorige jaar',
|
||||
nextText: '→', nextStatus: 'Bekijk de volgende maand',
|
||||
nextBigText: '»', nextBigStatus: 'Bekijk het volgende jaar',
|
||||
currentText: 'Vandaag', currentStatus: 'Bekijk de huidige maand',
|
||||
monthNames: ['januari', 'februari', 'maart', 'april', 'mei', 'juni',
|
||||
'juli', 'augustus', 'september', 'oktober', 'november', 'december'],
|
||||
monthNamesShort: ['jan', 'feb', 'maa', 'apr', 'mei', 'jun',
|
||||
'jul', 'aug', 'sep', 'okt', 'nov', 'dec'],
|
||||
monthStatus: 'Bekijk een andere maand', yearStatus: 'Bekijk een ander jaar',
|
||||
weekHeader: 'Wk', weekStatus: 'Week van het jaar',
|
||||
dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'],
|
||||
dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'],
|
||||
dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],
|
||||
dayStatus: 'Stel DD in als eerste dag van de week', dateStatus: 'dd/mm/yy',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 1,
|
||||
initStatus: 'Kies een datum', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional.nl);
|
||||
});
|
||||
@@ -1,25 +0,0 @@
|
||||
/* Norwegian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Naimdjon Takhirov (naimdjon@gmail.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['no'] = {
|
||||
clearText: 'Tøm', clearStatus: '',
|
||||
closeText: 'Lukk', closeStatus: '',
|
||||
prevText: '«Forrige', prevStatus: '',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Neste»', nextStatus: '',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'I dag', currentStatus: '',
|
||||
monthNames: ['Januar','Februar','Mars','April','Mai','Juni',
|
||||
'Juli','August','September','Oktober','November','Desember'],
|
||||
monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jun',
|
||||
'Jul','Aug','Sep','Okt','Nov','Des'],
|
||||
monthStatus: '', yearStatus: '',
|
||||
weekHeader: 'Uke', weekStatus: '',
|
||||
dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'],
|
||||
dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],
|
||||
dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'yy-mm-dd', firstDay: 0,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['no']);
|
||||
});
|
||||
@@ -1,25 +0,0 @@
|
||||
/* Polish initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Jacek Wysocki (jacek.wysocki@gmail.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['pl'] = {
|
||||
clearText: 'Wyczyść', clearStatus: 'Wyczyść obecną datę',
|
||||
closeText: 'Zamknij', closeStatus: 'Zamknij bez zapisywania',
|
||||
prevText: '<Poprzedni', prevStatus: 'Pokaż poprzedni miesiąc',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Następny>', nextStatus: 'Pokaż następny miesiąc',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Dziś', currentStatus: 'Pokaż aktualny miesiąc',
|
||||
monthNames: ['Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec',
|
||||
'Lipiec','Sierpień','Wrzesień','Październik','Listopad','Grudzień'],
|
||||
monthNamesShort: ['Sty','Lu','Mar','Kw','Maj','Cze',
|
||||
'Lip','Sie','Wrz','Pa','Lis','Gru'],
|
||||
monthStatus: 'Pokaż inny miesiąc', yearStatus: 'Pokaż inny rok',
|
||||
weekHeader: 'Tydz', weekStatus: 'Tydzień roku',
|
||||
dayNames: ['Niedziela','Poniedzialek','Wtorek','Środa','Czwartek','Piątek','Sobota'],
|
||||
dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'],
|
||||
dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'],
|
||||
dayStatus: 'Ustaw DD jako pierwszy dzień tygodnia', dateStatus: '\'Wybierz\' D, M d',
|
||||
dateFormat: 'yy-mm-dd', firstDay: 1,
|
||||
initStatus: 'Wybierz datę', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['pl']);
|
||||
});
|
||||
@@ -1,25 +0,0 @@
|
||||
/* Brazilian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Leonildo Costa Silva (leocsilva@gmail.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['pt-BR'] = {
|
||||
clearText: 'Limpar', clearStatus: '',
|
||||
closeText: 'Fechar', closeStatus: '',
|
||||
prevText: '<Anterior', prevStatus: '',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Próximo>', nextStatus: '',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Hoje', currentStatus: '',
|
||||
monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho',
|
||||
'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
|
||||
monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun',
|
||||
'Jul','Ago','Set','Out','Nov','Dez'],
|
||||
monthStatus: '', yearStatus: '',
|
||||
weekHeader: 'Sm', weekStatus: '',
|
||||
dayNames: ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sabado'],
|
||||
dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'],
|
||||
dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'dd/mm/yy', firstDay: 0,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['pt-BR']);
|
||||
});
|
||||
@@ -1,25 +0,0 @@
|
||||
/* Romanian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Edmond L. (ll_edmond@walla.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['ro'] = {
|
||||
clearText: 'Curat', clearStatus: 'Sterge data curenta',
|
||||
closeText: 'Inchide', closeStatus: 'Inchide fara schimbare',
|
||||
prevText: '<Anterior', prevStatus: 'Arata luna trecuta',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Urmator>', nextStatus: 'Arata luna urmatoare',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Azi', currentStatus: 'Arata luna curenta',
|
||||
monthNames: ['Ianuarie','Februarie','Martie','Aprilie','Mai','Junie',
|
||||
'Julie','August','Septembrie','Octobrie','Noiembrie','Decembrie'],
|
||||
monthNamesShort: ['Ian', 'Feb', 'Mar', 'Apr', 'Mai', 'Jun',
|
||||
'Jul', 'Aug', 'Sep', 'Oct', 'Noi', 'Dec'],
|
||||
monthStatus: 'Arata o luna diferita', yearStatus: 'Arat un an diferit',
|
||||
weekHeader: 'Sapt', weekStatus: 'Saptamana anului',
|
||||
dayNames: ['Duminica', 'Luni', 'Marti', 'Miercuri', 'Joi', 'Vineri', 'Sambata'],
|
||||
dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sam'],
|
||||
dayNamesMin: ['Du','Lu','Ma','Mi','Jo','Vi','Sa'],
|
||||
dayStatus: 'Seteaza DD ca prima saptamana zi', dateStatus: 'Selecteaza D, M d',
|
||||
dateFormat: 'mm/dd/yy', firstDay: 0,
|
||||
initStatus: 'Selecteaza o data', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['ro']);
|
||||
});
|
||||
@@ -1,25 +0,0 @@
|
||||
/* Slovak initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Vojtech Rinik (vojto@hmm.sk). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['sk'] = {
|
||||
clearText: 'Zmazať', clearStatus: '',
|
||||
closeText: 'Zavrieť', closeStatus: '',
|
||||
prevText: '<Predchádzajúci', prevStatus: '',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Nasledujúci>', nextStatus: '',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Dnes', currentStatus: '',
|
||||
monthNames: ['Január','Február','Marec','Apríl','Máj','Jún',
|
||||
'Júl','August','September','Október','November','December'],
|
||||
monthNamesShort: ['Jan','Feb','Mar','Apr','Máj','Jún',
|
||||
'Júl','Aug','Sep','Okt','Nov','Dec'],
|
||||
monthStatus: '', yearStatus: '',
|
||||
weekHeader: 'Ty', weekStatus: '',
|
||||
dayNames: ['Nedel\'a','Pondelok','Utorok','Streda','Štvrtok','Piatok','Sobota'],
|
||||
dayNamesShort: ['Ned','Pon','Uto','Str','Štv','Pia','Sob'],
|
||||
dayNamesMin: ['Ne','Po','Ut','St','Št','Pia','So'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 0,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['sk']);
|
||||
});
|
||||
@@ -1,26 +0,0 @@
|
||||
/* Slovenian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Jaka Jancar (jaka@kubje.org). */
|
||||
/* c = č, s = š z = ž C = Č S = Š Z = Ž */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['sl'] = {
|
||||
clearText: 'Izbriši', clearStatus: 'Izbriši trenutni datum',
|
||||
closeText: 'Zapri', closeStatus: 'Zapri brez spreminjanja',
|
||||
prevText: '<Prejšnji', prevStatus: 'Prikaži prejšnji mesec',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Naslednji>', nextStatus: 'Prikaži naslednji mesec',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Trenutni', currentStatus: 'Prikaži trenutni mesec',
|
||||
monthNames: ['Januar','Februar','Marec','April','Maj','Junij',
|
||||
'Julij','Avgust','September','Oktober','November','December'],
|
||||
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
|
||||
'Jul','Avg','Sep','Okt','Nov','Dec'],
|
||||
monthStatus: 'Prikaži drug mesec', yearStatus: 'Prikaži drugo leto',
|
||||
weekHeader: 'Teden', weekStatus: 'Teden v letu',
|
||||
dayNames: ['Nedelja','Ponedeljek','Torek','Sreda','Četrtek','Petek','Sobota'],
|
||||
dayNamesShort: ['Ned','Pon','Tor','Sre','Čet','Pet','Sob'],
|
||||
dayNamesMin: ['Ne','Po','To','Sr','Če','Pe','So'],
|
||||
dayStatus: 'Nastavi DD za prvi dan v tednu', dateStatus: 'Izberi DD, d MM yy',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
initStatus: 'Izbira datuma', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['sl']);
|
||||
});
|
||||
@@ -1,25 +0,0 @@
|
||||
/* Albanian initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Flakron Bytyqi (flakron@gmail.com). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['sq'] = {
|
||||
clearText: 'fshije', clearStatus: 'fshije datën aktuale',
|
||||
closeText: 'mbylle', closeStatus: 'mbylle pa ndryshime',
|
||||
prevText: '<mbrapa', prevStatus: 'trego muajin e fundit',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Përpara>', nextStatus: 'trego muajin tjetër',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'sot', currentStatus: '',
|
||||
monthNames: ['Janar','Shkurt','Mars','Pril','Maj','Qershor',
|
||||
'Korrik','Gusht','Shtator','Tetor','Nëntor','Dhjetor'],
|
||||
monthNamesShort: ['Jan','Shk','Mar','Pri','Maj','Qer',
|
||||
'Kor','Gus','Sht','Tet','Nën','Dhj'],
|
||||
monthStatus: 'trego muajin tjetër', yearStatus: 'trego tjetër vit',
|
||||
weekHeader: 'Ja', weekStatus: 'Java e muajit',
|
||||
dayNames: ['E Diel','E Hënë','E Martë','E Mërkurë','E Enjte','E Premte','E Shtune'],
|
||||
dayNamesShort: ['Di','Hë','Ma','Më','En','Pr','Sh'],
|
||||
dayNamesMin: ['Di','Hë','Ma','Më','En','Pr','Sh'],
|
||||
dayStatus: 'Vendose DD si ditë të parë të javës', dateStatus: '\'Zgjedh\' D, M d',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
initStatus: 'Zgjedhe një datë', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['sq']);
|
||||
});
|
||||
@@ -1,25 +0,0 @@
|
||||
/* Swedish initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Anders Ekdahl ( anders@nomadiz.se). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['se'] = {
|
||||
clearText: 'Rensa', clearStatus: '',
|
||||
closeText: 'Stäng', closeStatus: '',
|
||||
prevText: '«Förra', prevStatus: '',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'Nästa»', nextStatus: '',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'Idag', currentStatus: '',
|
||||
monthNames: ['Januari','Februari','Mars','April','Maj','Juni',
|
||||
'Juli','Augusti','September','Oktober','November','December'],
|
||||
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
|
||||
'Jul','Aug','Sep','Okt','Nov','Dec'],
|
||||
monthStatus: '', yearStatus: '',
|
||||
weekHeader: 'Ve', weekStatus: '',
|
||||
dayNamesShort: ['Sön','Mån','Tis','Ons','Tor','Fre','Lör'],
|
||||
dayNames: ['Söndag','Måndag','Tisdag','Onsdag','Torsdag','Fredag','Lördag'],
|
||||
dayNamesMin: ['Sö','Må','Ti','On','To','Fr','Lö'],
|
||||
dayStatus: 'DD', dateStatus: 'D, M d',
|
||||
dateFormat: 'yy-mm-dd', firstDay: 1,
|
||||
initStatus: '', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['se']);
|
||||
});
|
||||
@@ -1,25 +0,0 @@
|
||||
/* Turkish initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Izzet Emre Erkan (kara@karalamalar.net). */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['tr'] = {
|
||||
clearText: 'temizle', clearStatus: 'geçerli tarihi temizler',
|
||||
closeText: 'kapat', closeStatus: 'sadece göstergeyi kapat',
|
||||
prevText: '<geri', prevStatus: 'önceki ayı göster',
|
||||
prevBigText: '<<', prevBigStatus: '',
|
||||
nextText: 'ileri>', nextStatus: 'sonraki ayı göster',
|
||||
nextBigText: '>>', nextBigStatus: '',
|
||||
currentText: 'bugün', currentStatus: '',
|
||||
monthNames: ['Ocak','Şubat','Mart','Nisan','Mayıs','Haziran',
|
||||
'Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık'],
|
||||
monthNamesShort: ['Oca','Şub','Mar','Nis','May','Haz',
|
||||
'Tem','Ağu','Eyl','Eki','Kas','Ara'],
|
||||
monthStatus: 'başka ay', yearStatus: 'başka yıl',
|
||||
weekHeader: 'Hf', weekStatus: 'Ayın haftaları',
|
||||
dayNames: ['Pazar','Pazartesi','Salı','Çarşamba','Perşembe','Cuma','Cumartesi'],
|
||||
dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
|
||||
dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
|
||||
dayStatus: 'Haftanın ilk gününü belirleyin', dateStatus: 'D, M d seçiniz',
|
||||
dateFormat: 'dd.mm.yy', firstDay: 1,
|
||||
initStatus: 'Bir tarih seçiniz', isRTL: false};
|
||||
$.datepicker.setDefaults($.datepicker.regional['tr']);
|
||||
});
|
||||
@@ -1,11 +0,0 @@
|
||||
<?php
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
@@ -1,36 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 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-2011 PrestaShop SA
|
||||
* @version Release: $Revision$
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
|
Before Width: | Height: | Size: 219 B |
|
Before Width: | Height: | Size: 219 B |
|
Before Width: | Height: | Size: 72 B |
|
Before Width: | Height: | Size: 72 B |
@@ -1,41 +0,0 @@
|
||||
/*
|
||||
* imgAreaSelect animated border style
|
||||
*/
|
||||
|
||||
.imgareaselect-border1 {
|
||||
background: url(border-anim-v.gif) repeat-y left top;
|
||||
}
|
||||
|
||||
.imgareaselect-border2 {
|
||||
background: url(border-anim-h.gif) repeat-x left top;
|
||||
}
|
||||
|
||||
.imgareaselect-border3 {
|
||||
background: url(border-anim-v.gif) repeat-y right top;
|
||||
}
|
||||
|
||||
.imgareaselect-border4 {
|
||||
background: url(border-anim-h.gif) repeat-x left bottom;
|
||||
}
|
||||
|
||||
.imgareaselect-border1, .imgareaselect-border2,
|
||||
.imgareaselect-border3, .imgareaselect-border4 {
|
||||
opacity: 0.5;
|
||||
filter: alpha(opacity=50);
|
||||
}
|
||||
|
||||
.imgareaselect-handle {
|
||||
background-color: #fff;
|
||||
border: solid 1px #000;
|
||||
opacity: 0.5;
|
||||
filter: alpha(opacity=50);
|
||||
}
|
||||
|
||||
.imgareaselect-outer {
|
||||
background-color: #000;
|
||||
opacity: 0.5;
|
||||
filter: alpha(opacity=50);
|
||||
}
|
||||
|
||||
.imgareaselect-selection {
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
/*
|
||||
* imgAreaSelect default style
|
||||
*/
|
||||
|
||||
.imgareaselect-border1 {
|
||||
background: url(border-v.gif) repeat-y left top;
|
||||
}
|
||||
|
||||
.imgareaselect-border2 {
|
||||
background: url(border-h.gif) repeat-x left top;
|
||||
}
|
||||
|
||||
.imgareaselect-border3 {
|
||||
background: url(border-v.gif) repeat-y right top;
|
||||
}
|
||||
|
||||
.imgareaselect-border4 {
|
||||
background: url(border-h.gif) repeat-x left bottom;
|
||||
}
|
||||
|
||||
.imgareaselect-border1, .imgareaselect-border2,
|
||||
.imgareaselect-border3, .imgareaselect-border4 {
|
||||
opacity: 0.5;
|
||||
filter: alpha(opacity=50);
|
||||
}
|
||||
|
||||
.imgareaselect-handle {
|
||||
background-color: #fff;
|
||||
border: solid 1px #000;
|
||||
opacity: 0.5;
|
||||
filter: alpha(opacity=50);
|
||||
}
|
||||
|
||||
.imgareaselect-outer {
|
||||
background-color: #000;
|
||||
opacity: 0.5;
|
||||
filter: alpha(opacity=50);
|
||||
}
|
||||
|
||||
.imgareaselect-selection {
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
/*
|
||||
* imgAreaSelect style to be used with deprecated options
|
||||
*/
|
||||
|
||||
.imgareaselect-border1, .imgareaselect-border2,
|
||||
.imgareaselect-border3, .imgareaselect-border4 {
|
||||
opacity: 0.5;
|
||||
filter: alpha(opacity=50);
|
||||
}
|
||||
|
||||
.imgareaselect-border1 {
|
||||
border: solid 1px #000;
|
||||
}
|
||||
|
||||
.imgareaselect-border2 {
|
||||
border: dashed 1px #fff;
|
||||
}
|
||||
|
||||
.imgareaselect-handle {
|
||||
background-color: #fff;
|
||||
border: solid 1px #000;
|
||||
opacity: 0.5;
|
||||
filter: alpha(opacity=50);
|
||||
}
|
||||
|
||||
.imgareaselect-outer {
|
||||
background-color: #000;
|
||||
opacity: 0.4;
|
||||
filter: alpha(opacity=40);
|
||||
}
|
||||
|
||||
.imgareaselect-selection {
|
||||
background-color: #fff;
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
<?php
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
header('content-type: application/x-javascript');
|
||||
if (preg_match('/^([0-9]+\.)+[0-9]$/Ui', $_GET['version']))
|
||||
echo 'var $j'.str_replace('.', '', $_GET['version']).' = jQuery.noConflict(true);';
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* this file come from:
|
||||
* http://www.phpletter.com/Demo/AjaxFileUpload-Demo/
|
||||
* v 1.0
|
||||
*/
|
||||
|
||||
jQuery.extend({createUploadIframe:function(id,uri)
|
||||
{var frameId='jUploadFrame'+id;if(window.ActiveXObject){var io=document.createElement('<iframe id="'+frameId+'" name="'+frameId+'" />');if(typeof uri=='boolean'){io.src='javascript:false';}
|
||||
else if(typeof uri=='string'){io.src=uri;}}
|
||||
else{var io=document.createElement('iframe');io.id=frameId;io.name=frameId;}
|
||||
io.style.position='absolute';io.style.top='-1000px';io.style.left='-1000px';document.body.appendChild(io);return io},createUploadForm:function(id,fileElementId)
|
||||
{var formId='jUploadForm'+id;var fileId='jUploadFile'+id;var form=$('<form action="" method="POST" name="'+formId+'" id="'+formId+'" enctype="multipart/form-data"></form>');var oldElement=$('#'+fileElementId);var newElement=$(oldElement).clone();$(oldElement).attr('id',fileId);$(oldElement).before(newElement);$(oldElement).appendTo(form);$(form).css('position','absolute');$(form).css('top','-1200px');$(form).css('left','-1200px');$(form).appendTo('body');return form;},ajaxFileUpload:function(s){s=jQuery.extend({},jQuery.ajaxSettings,s);var id=new Date().getTime()
|
||||
var form=jQuery.createUploadForm(id,s.fileElementId);var io=jQuery.createUploadIframe(id,s.secureuri);var frameId='jUploadFrame'+id;var formId='jUploadForm'+id;if(s.global&&!jQuery.active++)
|
||||
{jQuery.event.trigger("ajaxStart");}
|
||||
var requestDone=false;var xml={}
|
||||
if(s.global)
|
||||
jQuery.event.trigger("ajaxSend",[xml,s]);var uploadCallback=function(isTimeout)
|
||||
{var io=document.getElementById(frameId);try
|
||||
{if(io.contentWindow)
|
||||
{xml.responseText=io.contentWindow.document.body?io.contentWindow.document.body.innerHTML:null;xml.responseXML=io.contentWindow.document.XMLDocument?io.contentWindow.document.XMLDocument:io.contentWindow.document;}else if(io.contentDocument)
|
||||
{xml.responseText=io.contentDocument.document.body?io.contentDocument.document.body.innerHTML:null;xml.responseXML=io.contentDocument.document.XMLDocument?io.contentDocument.document.XMLDocument:io.contentDocument.document;}}catch(e)
|
||||
{jQuery.handleError(s,xml,null,e);}
|
||||
if(xml||isTimeout=="timeout")
|
||||
{requestDone=true;var status;try{status=isTimeout!="timeout"?"success":"error";if(status!="error")
|
||||
{var data=jQuery.uploadHttpData(xml,s.dataType);if(s.success)
|
||||
s.success(data,status);if(s.global)
|
||||
jQuery.event.trigger("ajaxSuccess",[xml,s]);}else
|
||||
jQuery.handleError(s,xml,status);}catch(e)
|
||||
{status="error";jQuery.handleError(s,xml,status,e);}
|
||||
if(s.global)
|
||||
jQuery.event.trigger("ajaxComplete",[xml,s]);if(s.global&&!--jQuery.active)
|
||||
jQuery.event.trigger("ajaxStop");if(s.complete)
|
||||
s.complete(xml,status);jQuery(io).unbind()
|
||||
setTimeout(function()
|
||||
{try
|
||||
{$(io).remove();$(form).remove();}catch(e)
|
||||
{jQuery.handleError(s,xml,null,e);}},100)
|
||||
xml=null}}
|
||||
if(s.timeout>0)
|
||||
{setTimeout(function(){if(!requestDone)uploadCallback("timeout");},s.timeout);}
|
||||
try
|
||||
{var form=$('#'+formId);$(form).attr('action',s.url);$(form).attr('method','POST');$(form).attr('target',frameId);if(form.encoding)
|
||||
{form.encoding='multipart/form-data';}
|
||||
else
|
||||
{form.enctype='multipart/form-data';}
|
||||
$(form).submit();}catch(e)
|
||||
{jQuery.handleError(s,xml,null,e);}
|
||||
if(window.attachEvent){document.getElementById(frameId).attachEvent('onload',uploadCallback);}
|
||||
else{document.getElementById(frameId).addEventListener('load',uploadCallback,false);}
|
||||
return{abort:function(){}};},uploadHttpData:function(r,type){var data=!type;data=type=="xml"||data?r.responseXML:r.responseText;if(type=="script")
|
||||
jQuery.globalEval(data);if(type=="json")
|
||||
eval("data = "+data);if(type=="html")
|
||||
jQuery("<div>").html(data).evalScripts();return data;}})
|
||||
|
Before Width: | Height: | Size: 43 B After Width: | Height: | Size: 43 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 107 B After Width: | Height: | Size: 107 B |
|
Before Width: | Height: | Size: 106 B After Width: | Height: | Size: 106 B |
|
Before Width: | Height: | Size: 347 B After Width: | Height: | Size: 347 B |
|
Before Width: | Height: | Size: 324 B After Width: | Height: | Size: 324 B |
|
Before Width: | Height: | Size: 111 B After Width: | Height: | Size: 111 B |
|
Before Width: | Height: | Size: 352 B After Width: | Height: | Size: 352 B |
|
Before Width: | Height: | Size: 340 B After Width: | Height: | Size: 340 B |
|
Before Width: | Height: | Size: 103 B After Width: | Height: | Size: 103 B |
|
Before Width: | Height: | Size: 503 B After Width: | Height: | Size: 503 B |
|
Before Width: | Height: | Size: 96 B After Width: | Height: | Size: 96 B |
|
Before Width: | Height: | Size: 70 B After Width: | Height: | Size: 70 B |