0byt3m1n1 - D7net
0byt3m1n1 - D7net
Path:
/
home
/
s13cf5ef
/
www
/
ropadefutbolbarata.com
/
web
/
libraries
/
joomla
/
html
/
html
/
[
Home
]
Name File: behavior.php
< back
<?php /** * @package Joomla.Platform * @subpackage HTML * * @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('JPATH_PLATFORM') or die; /** * Utility class for javascript behaviors * * @package Joomla.Platform * @subpackage HTML * @since 11.1 */ abstract class JHtmlBehavior { /** * @var array array containing information for loaded files */ protected static $loaded = array(); /** * Method to load the MooTools framework into the document head * * If debugging mode is on an uncompressed version of MooTools is included for easier debugging. * * @param string $extras MooTools file to load * @param boolean $debug Is debugging mode on? [optional] * * @return void * * @since 11.1 */ public static function framework($extras = false, $debug = null) { $type = $extras ? 'more' : 'core'; // Only load once if (!empty(self::$loaded[__METHOD__][$type])) { return; } // If no debugging value is set, use the configuration setting if ($debug === null) { $config = JFactory::getConfig(); $debug = $config->get('debug'); } if ($type != 'core' && empty(self::$loaded[__METHOD__]['core'])) { self::framework(false, $debug); } JHtml::_('script', 'system/mootools-' . $type . '.js', false, true, false, false, $debug); JHtml::_('script', 'system/core.js', false, true); self::$loaded[__METHOD__][$type] = true; return; } /** * Deprecated. Use JHtmlBehavior::framework() instead. * * @param boolean $debug Is debugging mode on? [optional] * * @return void * * @since 11.1 * * @deprecated 12.1 */ public static function mootools($debug = null) { // Deprecation warning. JLog::add('JBehavior::mootools is deprecated.', JLog::WARNING, 'deprecated'); self::framework(true, $debug); } /** * Add unobtrusive javascript support for image captions. * * @param string $selector The selector for which a caption behaviour is to be applied. * * @return void * * @since 11.1 */ public static function caption($selector = 'img.caption') { // Only load once if (isset(self::$loaded[__METHOD__][$selector])) { return; } // Include MooTools framework self::framework(); JHtml::_('script', 'system/caption.js', true, true); // Attach caption to document JFactory::getDocument()->addScriptDeclaration( "window.addEvent('load', function() { new JCaption('" . $selector . "'); });" ); // Set static array self::$loaded[__METHOD__][$selector] = true; } /** * Add unobtrusive javascript support for form validation. * * To enable form validation the form tag must have class="form-validate". * Each field that needs to be validated needs to have class="validate". * Additional handlers can be added to the handler for username, password, * numeric and email. To use these add class="validate-email" and so on. * * @return void * * @since 11.1 */ public static function formvalidation() { // Only load once if (isset(self::$loaded[__METHOD__])) { return; } // Include MooTools framework self::framework(); JHtml::_('script', 'system/validate.js', true, true); self::$loaded[__METHOD__] = true; } /** * Add unobtrusive javascript support for submenu switcher support in * Global Configuration and System Information. * * @return void * * @since 11.1 */ public static function switcher() { // Only load once if (isset(self::$loaded[__METHOD__])) { return; } // Include MooTools framework self::framework(); JHtml::_('script', 'system/switcher.js', true, true); $script = " document.switcher = null; window.addEvent('domready', function(){ toggler = document.id('submenu'); element = document.id('config-document'); if (element) { document.switcher = new JSwitcher(toggler, element, {cookieName: toggler.getProperty('class')}); } });"; JFactory::getDocument()->addScriptDeclaration($script); self::$loaded[__METHOD__] = true; } /** * Add unobtrusive javascript support for a combobox effect. * * Note that this control is only reliable in absolutely positioned elements. * Avoid using a combobox in a slider or dynamic pane. * * @return void * * @since 11.1 */ public static function combobox() { if (isset(self::$loaded[__METHOD__])) { return; } // Include MooTools framework self::framework(); JHtml::_('script', 'system/combobox.js', true, true); self::$loaded[__METHOD__] = true; } /** * Add unobtrusive javascript support for a hover tooltips. * * Add a title attribute to any element in the form * title="title::text" * * * Uses the core Tips class in MooTools. * * @param string $selector The class selector for the tooltip. * @param array $params An array of options for the tooltip. * Options for the tooltip can be: * - maxTitleChars integer The maximum number of characters in the tooltip title (defaults to 50). * - offsets object The distance of your tooltip from the mouse (defaults to {'x': 16, 'y': 16}). * - showDelay integer The millisecond delay the show event is fired (defaults to 100). * - hideDelay integer The millisecond delay the hide hide is fired (defaults to 100). * - className string The className your tooltip container will get. * - fixed boolean If set to true, the toolTip will not follow the mouse. * - onShow function The default function for the show event, passes the tip element * and the currently hovered element. * - onHide function The default function for the hide event, passes the currently * hovered element. * * @return void * * @since 11.1 */ public static function tooltip($selector = '.hasTip', $params = array()) { $sig = md5(serialize(array($selector, $params))); if (isset(self::$loaded[__METHOD__][$sig])) { return; } // Include MooTools framework self::framework(true); // Setup options object $opt['maxTitleChars'] = (isset($params['maxTitleChars']) && ($params['maxTitleChars'])) ? (int) $params['maxTitleChars'] : 50; // offsets needs an array in the format: array('x'=>20, 'y'=>30) $opt['offset'] = (isset($params['offset']) && (is_array($params['offset']))) ? $params['offset'] : null; if (!isset($opt['offset'])) { // Supporting offsets parameter which was working in mootools 1.2 (Joomla!1.5) $opt['offset'] = (isset($params['offsets']) && (is_array($params['offsets']))) ? $params['offsets'] : null; } $opt['showDelay'] = (isset($params['showDelay'])) ? (int) $params['showDelay'] : null; $opt['hideDelay'] = (isset($params['hideDelay'])) ? (int) $params['hideDelay'] : null; $opt['className'] = (isset($params['className'])) ? $params['className'] : null; $opt['fixed'] = (isset($params['fixed']) && ($params['fixed'])) ? true : false; $opt['onShow'] = (isset($params['onShow'])) ? '\\' . $params['onShow'] : null; $opt['onHide'] = (isset($params['onHide'])) ? '\\' . $params['onHide'] : null; $options = JHtmlBehavior::_getJSObject($opt); // Attach tooltips to document JFactory::getDocument()->addScriptDeclaration( "window.addEvent('domready', function() { $$('$selector').each(function(el) { var title = el.get('title'); if (title) { var parts = title.split('::', 2); el.store('tip:title', parts[0]); el.store('tip:text', parts[1]); } }); var JTooltips = new Tips($$('$selector'), $options); });" ); // Set static array self::$loaded[__METHOD__][$sig] = true; return; } /** * Add unobtrusive javascript support for modal links. * * @param string $selector The selector for which a modal behaviour is to be applied. * @param array $params An array of parameters for the modal behaviour. * Options for the modal behaviour can be: * - ajaxOptions * - size * - shadow * - overlay * - onOpen * - onClose * - onUpdate * - onResize * - onShow * - onHide * * @return void * * @since 11.1 */ public static function modal($selector = 'a.modal', $params = array()) { $document = JFactory::getDocument(); // Load the necessary files if they haven't yet been loaded if (!isset(self::$loaded[__METHOD__])) { // Include MooTools framework self::framework(); // Load the javascript and css JHtml::_('script', 'system/modal.js', true, true); JHtml::_('stylesheet', 'system/modal.css', array(), true); } $sig = md5(serialize(array($selector, $params))); if (isset(self::$loaded[__METHOD__][$sig])) { return; } // Setup options object $opt['ajaxOptions'] = (isset($params['ajaxOptions']) && (is_array($params['ajaxOptions']))) ? $params['ajaxOptions'] : null; $opt['handler'] = (isset($params['handler'])) ? $params['handler'] : null; $opt['fullScreen'] = (isset($params['fullScreen'])) ? (bool) $params['fullScreen'] : null; $opt['parseSecure'] = (isset($params['parseSecure'])) ? (bool) $params['parseSecure'] : null; $opt['closable'] = (isset($params['closable'])) ? (bool) $params['closable'] : null; $opt['closeBtn'] = (isset($params['closeBtn'])) ? (bool) $params['closeBtn'] : null; $opt['iframePreload'] = (isset($params['iframePreload'])) ? (bool) $params['iframePreload'] : null; $opt['iframeOptions'] = (isset($params['iframeOptions']) && (is_array($params['iframeOptions']))) ? $params['iframeOptions'] : null; $opt['size'] = (isset($params['size']) && (is_array($params['size']))) ? $params['size'] : null; $opt['shadow'] = (isset($params['shadow'])) ? $params['shadow'] : null; $opt['overlay'] = (isset($params['overlay'])) ? $params['overlay'] : null; $opt['onOpen'] = (isset($params['onOpen'])) ? $params['onOpen'] : null; $opt['onClose'] = (isset($params['onClose'])) ? $params['onClose'] : null; $opt['onUpdate'] = (isset($params['onUpdate'])) ? $params['onUpdate'] : null; $opt['onResize'] = (isset($params['onResize'])) ? $params['onResize'] : null; $opt['onMove'] = (isset($params['onMove'])) ? $params['onMove'] : null; $opt['onShow'] = (isset($params['onShow'])) ? $params['onShow'] : null; $opt['onHide'] = (isset($params['onHide'])) ? $params['onHide'] : null; $options = JHtmlBehavior::_getJSObject($opt); // Attach modal behavior to document $document ->addScriptDeclaration( " window.addEvent('domready', function() { SqueezeBox.initialize(" . $options . "); SqueezeBox.assign($$('" . $selector . "'), { parse: 'rel' }); });" ); // Set static array self::$loaded[__METHOD__][$sig] = true; return; } /** * JavaScript behavior to allow shift select in grids * * @param string $id The id of the form for which a multiselect behaviour is to be applied. * * @return void * * @since 11.1 */ public static function multiselect($id = 'adminForm') { // Only load once if (isset(self::$loaded[__METHOD__][$id])) { return; } // Include MooTools framework self::framework(); JHtml::_('script', 'system/multiselect.js', true, true); // Attach multiselect to document JFactory::getDocument()->addScriptDeclaration( "window.addEvent('domready', function() { new Joomla.JMultiSelect('" . $id . "'); });" ); // Set static array self::$loaded[__METHOD__][$id] = true; return; } /** * This method does nothing. * * @return void * * @since 11.1 */ public static function uploader() { return; } /** * Add unobtrusive javascript support for a collapsible tree. * * @param string $id An index * @param array $params An array of options. * @param array $root The root node * * @return void * * @since 11.1 */ public static function tree($id, $params = array(), $root = array()) { // Include MooTools framework self::framework(); JHtml::_('script', 'system/mootree.js', true, true, false, false); JHtml::_('stylesheet', 'system/mootree.css', array(), true); if (isset(self::$loaded[__METHOD__][$id])) { return; } // Setup options object $opt['div'] = (array_key_exists('div', $params)) ? $params['div'] : $id . '_tree'; $opt['mode'] = (array_key_exists('mode', $params)) ? $params['mode'] : 'folders'; $opt['grid'] = (array_key_exists('grid', $params)) ? '\\' . $params['grid'] : true; $opt['theme'] = (array_key_exists('theme', $params)) ? $params['theme'] : JHtml::_('image', 'system/mootree.gif', '', array(), true, true); // Event handlers $opt['onExpand'] = (array_key_exists('onExpand', $params)) ? '\\' . $params['onExpand'] : null; $opt['onSelect'] = (array_key_exists('onSelect', $params)) ? '\\' . $params['onSelect'] : null; $opt['onClick'] = (array_key_exists('onClick', $params)) ? '\\' . $params['onClick'] : '\\function(node){ window.open(node.data.url, node.data.target != null ? node.data.target : \'_self\'); }'; $options = JHtmlBehavior::_getJSObject($opt); // Setup root node $rt['text'] = (array_key_exists('text', $root)) ? $root['text'] : 'Root'; $rt['id'] = (array_key_exists('id', $root)) ? $root['id'] : null; $rt['color'] = (array_key_exists('color', $root)) ? $root['color'] : null; $rt['open'] = (array_key_exists('open', $root)) ? '\\' . $root['open'] : true; $rt['icon'] = (array_key_exists('icon', $root)) ? $root['icon'] : null; $rt['openicon'] = (array_key_exists('openicon', $root)) ? $root['openicon'] : null; $rt['data'] = (array_key_exists('data', $root)) ? $root['data'] : null; $rootNode = JHtmlBehavior::_getJSObject($rt); $treeName = (array_key_exists('treeName', $params)) ? $params['treeName'] : ''; $js = ' window.addEvent(\'domready\', function(){ tree' . $treeName . ' = new MooTreeControl(' . $options . ',' . $rootNode . '); tree' . $treeName . '.adopt(\'' . $id . '\');})'; // Attach tooltips to document $document = JFactory::getDocument(); $document->addScriptDeclaration($js); // Set static array self::$loaded[__METHOD__][$id] = true; return; } /** * Add unobtrusive javascript support for a calendar control. * * @return void * * @since 11.1 */ public static function calendar() { // Only load once if (isset(self::$loaded[__METHOD__])) { return; } $document = JFactory::getDocument(); $tag = JFactory::getLanguage()->getTag(); JHtml::_('stylesheet', 'system/calendar-jos.css', array(' title' => JText::_('JLIB_HTML_BEHAVIOR_GREEN'), ' media' => 'all'), true); JHtml::_('script', $tag . '/calendar.js', false, true); JHtml::_('script', $tag . '/calendar-setup.js', false, true); $translation = JHtmlBehavior::_calendartranslation(); if ($translation) { $document->addScriptDeclaration($translation); } self::$loaded[__METHOD__] = true; } /** * Add unobtrusive javascript support for a color picker. * * @return void * * @since 11.2 */ public static function colorpicker() { // Only load once if (isset(self::$loaded[__METHOD__])) { return; } // Include MooTools framework self::framework(true); JHtml::_('stylesheet', 'system/mooRainbow.css', array('media' => 'all'), true); JHtml::_('script', 'system/mooRainbow.js', false, true); JFactory::getDocument() ->addScriptDeclaration( "window.addEvent('domready', function(){ var nativeColorUi = false; if (Browser.opera && (Browser.version >= 11.5)) { nativeColorUi = true; } $$('.input-colorpicker').each(function(item){ if (nativeColorUi) { item.type = 'color'; } else { new MooRainbow(item, { id: item.id, imgPath: '" . JURI::root(true) . "/media/system/images/mooRainbow/', onComplete: function(color) { this.element.value = color.hex; }, startColor: item.value.hexToRgb(true) ? item.value.hexToRgb(true) : [0, 0, 0] }); } }); }); "); self::$loaded[__METHOD__] = true; } /** * Keep session alive, for example, while editing or creating an article. * * @return void * * @since 11.1 */ public static function keepalive() { // Only load once if (isset(self::$loaded[__METHOD__])) { return; } // Include MooTools framework self::framework(); $config = JFactory::getConfig(); $lifetime = ($config->get('lifetime') * 60000); $refreshTime = ($lifetime <= 60000) ? 30000 : $lifetime - 60000; // Refresh time is 1 minute less than the liftime assined in the configuration.php file. // the longest refresh period is one hour to prevent integer overflow. if ($refreshTime > 3600000 || $refreshTime <= 0) { $refreshTime = 3600000; } $document = JFactory::getDocument(); $script = ''; $script .= 'function keepAlive() {'; $script .= ' var myAjax = new Request({method: "get", url: "index.php"}).send();'; $script .= '}'; $script .= ' window.addEvent("domready", function()'; $script .= '{ keepAlive.periodical(' . $refreshTime . '); }'; $script .= ');'; $document->addScriptDeclaration($script); self::$loaded[__METHOD__] = true; return; } /** * Highlight some words via Javascript. * * @param array $terms Array of words that should be highlighted. * @param string $start ID of the element that marks the begin of the section in which words * should be highlighted. Note this element will be removed from the DOM. * @param string $end ID of the element that end this section. * Note this element will be removed from the DOM. * @param string $className Class name of the element highlights are wrapped in. * @param string $tag Tag that will be used to wrap the highlighted words. * * @return void * * @since 11.4 */ public static function highlighter(array $terms, $start = 'highlighter-start', $end = 'highlighter-end', $className = 'highlight', $tag = 'span') { $sig = md5(serialize(array($terms, $start, $end))); if (isset(self::$loaded[__METHOD__][$sig])) { return; } JHtml::_('script', 'system/highlighter.js', true, true); $terms = str_replace('"', '\"', $terms); $document = JFactory::getDocument(); $document->addScriptDeclaration(" window.addEvent('domready', function () { var start = document.id('" . $start . "'); var end = document.id('" . $end . "'); if (!start || !end || !Joomla.Highlighter) { return true; } highlighter = new Joomla.Highlighter({ startElement: start, endElement: end, className: '" . $className . "', onlyWords: false, tag: '" . $tag . "' }).highlight([\"" . implode('","', $terms) . "\"]); start.dispose(); end.dispose(); }); "); self::$loaded[__METHOD__][$sig] = true; return; } /** * Break us out of any containing iframes * * @param string $location Location to display in * * @return void * * @since 11.1 */ public static function noframes($location = 'top.location.href') { // Only load once if (isset(self::$loaded[__METHOD__])) { return; } // Include MooTools framework self::framework(); $js = "window.addEvent('domready', function () {if (top == self) {document.documentElement.style.display = 'block'; }" . " else {top.location = self.location; }});"; $document = JFactory::getDocument(); $document->addStyleDeclaration('html { display:none }'); $document->addScriptDeclaration($js); JResponse::setHeader('X-Frames-Options', 'SAME-ORIGIN'); self::$loaded[__METHOD__] = true; } /** * Internal method to get a JavaScript object notation string from an array * * @param array $array The array to convert to JavaScript object notation * * @return string JavaScript object notation representation of the array * * @since 11.1 */ protected static function _getJSObject($array = array()) { // Initialise variables. $object = '{'; // Iterate over array to build objects foreach ((array) $array as $k => $v) { if (is_null($v)) { continue; } if (is_bool($v)) { if ($k === 'fullScreen') { $object .= 'size: { '; $object .= 'x: '; $object .= 'window.getSize().x-80'; $object .= ','; $object .= 'y: '; $object .= 'window.getSize().y-80'; $object .= ' }'; $object .= ','; } else { $object .= ' ' . $k . ': '; $object .= ($v) ? 'true' : 'false'; $object .= ','; } } elseif (!is_array($v) && !is_object($v)) { $object .= ' ' . $k . ': '; $object .= (is_numeric($v) || strpos($v, '\\') === 0) ? (is_numeric($v)) ? $v : substr($v, 1) : "'" . $v . "'"; $object .= ','; } else { $object .= ' ' . $k . ': ' . JHtmlBehavior::_getJSObject($v) . ','; } } if (substr($object, -1) == ',') { $object = substr($object, 0, -1); } $object .= '}'; return $object; } /** * Internal method to translate the JavaScript Calendar * * @return string JavaScript that translates the object * * @since 11.1 */ protected static function _calendartranslation() { static $jsscript = 0; if ($jsscript == 0) { $return = 'Calendar._DN = new Array ("' . JText::_('SUNDAY', true) . '", "' . JText::_('MONDAY', true) . '", "' . JText::_('TUESDAY', true) . '", "' . JText::_('WEDNESDAY', true) . '", "' . JText::_('THURSDAY', true) . '", "' . JText::_('FRIDAY', true) . '", "' . JText::_('SATURDAY', true) . '", "' . JText::_('SUNDAY', true) . '");' . ' Calendar._SDN = new Array ("' . JText::_('SUN', true) . '", "' . JText::_('MON', true) . '", "' . JText::_('TUE', true) . '", "' . JText::_('WED', true) . '", "' . JText::_('THU', true) . '", "' . JText::_('FRI', true) . '", "' . JText::_('SAT', true) . '", "' . JText::_('SUN', true) . '");' . ' Calendar._FD = 0;' . ' Calendar._MN = new Array ("' . JText::_('JANUARY', true) . '", "' . JText::_('FEBRUARY', true) . '", "' . JText::_('MARCH', true) . '", "' . JText::_('APRIL', true) . '", "' . JText::_('MAY', true) . '", "' . JText::_('JUNE', true) . '", "' . JText::_('JULY', true) . '", "' . JText::_('AUGUST', true) . '", "' . JText::_('SEPTEMBER', true) . '", "' . JText::_('OCTOBER', true) . '", "' . JText::_('NOVEMBER', true) . '", "' . JText::_('DECEMBER', true) . '");' . ' Calendar._SMN = new Array ("' . JText::_('JANUARY_SHORT', true) . '", "' . JText::_('FEBRUARY_SHORT', true) . '", "' . JText::_('MARCH_SHORT', true) . '", "' . JText::_('APRIL_SHORT', true) . '", "' . JText::_('MAY_SHORT', true) . '", "' . JText::_('JUNE_SHORT', true) . '", "' . JText::_('JULY_SHORT', true) . '", "' . JText::_('AUGUST_SHORT', true) . '", "' . JText::_('SEPTEMBER_SHORT', true) . '", "' . JText::_('OCTOBER_SHORT', true) . '", "' . JText::_('NOVEMBER_SHORT', true) . '", "' . JText::_('DECEMBER_SHORT', true) . '");' . ' Calendar._TT = {};Calendar._TT["INFO"] = "' . JText::_('JLIB_HTML_BEHAVIOR_ABOUT_THE_CALENDAR', true) . '";' . ' Calendar._TT["ABOUT"] = "DHTML Date/Time Selector\n" + "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + "For latest version visit: http://www.dynarch.com/projects/calendar/\n" + "Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + "\n\n" + "' . JText::_('JLIB_HTML_BEHAVIOR_DATE_SELECTION', false, false) . '" + "' . JText::_('JLIB_HTML_BEHAVIOR_YEAR_SELECT', false, false) . '" + "' . JText::_('JLIB_HTML_BEHAVIOR_MONTH_SELECT', false, false) . '" + "' . JText::_('JLIB_HTML_BEHAVIOR_HOLD_MOUSE', false, false) . '"; Calendar._TT["ABOUT_TIME"] = "\n\n" + "Time selection:\n" + "- Click on any of the time parts to increase it\n" + "- or Shift-click to decrease it\n" + "- or click and drag for faster selection."; Calendar._TT["PREV_YEAR"] = "' . JText::_('JLIB_HTML_BEHAVIOR_PREV_YEAR_HOLD_FOR_MENU', true) . '";' . ' Calendar._TT["PREV_MONTH"] = "' . JText::_('JLIB_HTML_BEHAVIOR_PREV_MONTH_HOLD_FOR_MENU', true) . '";' . ' Calendar._TT["GO_TODAY"] = "' . JText::_('JLIB_HTML_BEHAVIOR_GO_TODAY', true) . '";' . ' Calendar._TT["NEXT_MONTH"] = "' . JText::_('JLIB_HTML_BEHAVIOR_NEXT_MONTH_HOLD_FOR_MENU', true) . '";' . ' Calendar._TT["NEXT_YEAR"] = "' . JText::_('JLIB_HTML_BEHAVIOR_NEXT_YEAR_HOLD_FOR_MENU', true) . '";' . ' Calendar._TT["SEL_DATE"] = "' . JText::_('JLIB_HTML_BEHAVIOR_SELECT_DATE', true) . '";' . ' Calendar._TT["DRAG_TO_MOVE"] = "' . JText::_('JLIB_HTML_BEHAVIOR_DRAG_TO_MOVE', true) . '";' . ' Calendar._TT["PART_TODAY"] = "' . JText::_('JLIB_HTML_BEHAVIOR_TODAY', true) . '";' . ' Calendar._TT["DAY_FIRST"] = "' . JText::_('JLIB_HTML_BEHAVIOR_DISPLAY_S_FIRST', true) . '";' . ' Calendar._TT["WEEKEND"] = "0,6";' . ' Calendar._TT["CLOSE"] = "' . JText::_('JLIB_HTML_BEHAVIOR_CLOSE', true) . '";' . ' Calendar._TT["TODAY"] = "' . JText::_('JLIB_HTML_BEHAVIOR_TODAY', true) . '";' . ' Calendar._TT["TIME_PART"] = "' . JText::_('JLIB_HTML_BEHAVIOR_SHIFT_CLICK_OR_DRAG_TO_CHANGE_VALUE', true) . '";' . ' Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d";' . ' Calendar._TT["TT_DATE_FORMAT"] = "' . JText::_('JLIB_HTML_BEHAVIOR_TT_DATE_FORMAT', true) . '";' . ' Calendar._TT["WK"] = "' . JText::_('JLIB_HTML_BEHAVIOR_WK', true) . '";' . ' Calendar._TT["TIME"] = "' . JText::_('JLIB_HTML_BEHAVIOR_TIME', true) . '";'; $jsscript = 1; return $return; } else { return false; } } }
©
2018. | Recode by D7net