Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/script-loader.php on line 757

Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/script-loader.php on line 757

Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/script-loader.php on line 758

Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/script-loader.php on line 758
rong>Google Maps until clicked' ) ), 'default' => false, ), 'affix_filter_menu' => array( 'type' => 'bool', 'renderer' => array( 'class' => 'checkbox', 'tab' => 'viewing-events', 'item' => 'viewing-events', 'label' => Ai1ec_I18n::__( ' Affix filter menu to top of window when it scrolls out of view' ), 'help' => Ai1ec_I18n::__( 'Only applies to first visible calendar found on the page.' ), ), 'default' => false, ), 'affix_vertical_offset_md' => array( 'type' => 'int', 'renderer' => array( 'class' => 'input', 'tab' => 'viewing-events', 'item' => 'viewing-events', 'label' => Ai1ec_I18n::__( 'Offset affixed filter bar vertically by' ), 'type' => 'append', 'append' => 'pixels', 'validator' => 'numeric', ), 'default' => 0, ), 'affix_vertical_offset_lg' => array( 'type' => 'int', 'renderer' => array( 'class' => 'input', 'tab' => 'viewing-events', 'item' => 'viewing-events', 'label' => ' ' . Ai1ec_I18n::__( 'Wide screens only (≥ 1200px)' ), 'type' => 'append', 'append' => 'pixels', 'validator' => 'numeric', ), 'default' => 0, ), 'affix_vertical_offset_sm' => array( 'type' => 'int', 'renderer' => array( 'class' => 'input', 'tab' => 'viewing-events', 'item' => 'viewing-events', 'label' => ' ' . Ai1ec_I18n::__( 'Tablets only (< 980px)' ), 'type' => 'append', 'append' => 'pixels', 'validator' => 'numeric', ), 'default' => 0, ), 'affix_vertical_offset_xs' => array( 'type' => 'int', 'renderer' => array( 'class' => 'input', 'tab' => 'viewing-events', 'item' => 'viewing-events', 'label' => ' ' . Ai1ec_I18n::__( 'Phones only (< 768px)' ), 'type' => 'append', 'append' => 'pixels', 'validator' => 'numeric', ), 'default' => 0, ), 'strict_compatibility_content_filtering' => array( 'type' => 'bool', 'renderer' => array( 'class' => 'checkbox', 'tab' => 'viewing-events', 'item' => 'viewing-events', 'label' => Ai1ec_I18n::__( 'Strict compatibility content filtering' ), ), 'default' => false, ), 'hide_featured_image' => array( 'type' => 'bool', 'renderer' => array( 'class' => 'checkbox', 'tab' => 'viewing-events', 'item' => 'viewing-events', 'label' => Ai1ec_I18n::__( ' Hide featured image from event details page' ), 'help' => Ai1ec_I18n::__( "Select this option if your theme already displays each post's featured image." ), ), 'default' => false, ), 'input_date_format' => array( 'type' => 'string', 'renderer' => array( 'class' => 'select', 'tab' => 'editing-events', 'label' => Ai1ec_I18n::__( 'Input dates in this format' ), 'options' => array( array( 'text' => Ai1ec_I18n::__( 'Default (d/m/yyyy)' ), 'value' => 'def' ), array( 'text' => Ai1ec_I18n::__( 'US (m/d/yyyy)' ), 'value' => 'us' ), array( 'text' => Ai1ec_I18n::__( 'ISO 8601 (yyyy-m-d)' ), 'value' => 'iso' ), array( 'text' => Ai1ec_I18n::__( 'Dotted (m.d.yyyy)' ), 'value' => 'dot' ), ), ), 'default' => 'def', ), 'input_24h_time' => array( 'type' => 'bool', 'renderer' => array( 'class' => 'checkbox', 'tab' => 'editing-events', 'label' => Ai1ec_I18n::__( ' Use 24h time in time pickers' ) ), 'default' => false, ), 'disable_autocompletion' => array( 'type' => 'bool', 'renderer' => array( 'class' => 'checkbox', 'tab' => 'editing-events', 'label' => Ai1ec_I18n::__( 'Disable address autocomplete function' ) ), 'default' => false, ), 'geo_region_biasing' => array( 'type' => 'bool', 'renderer' => array( 'class' => 'checkbox', 'tab' => 'editing-events', 'label' => Ai1ec_I18n::__( 'Use the configured region (WordPress locale) to bias the address autocomplete function ' ) ), 'default' => false, ), 'show_publish_button' => array( 'type' => 'deprecated', 'renderer' => null, 'default' => false, ), 'show_create_event_button' => array( 'type' => 'bool', 'renderer' => array( 'class' => 'checkbox', 'tab' => 'extensions', 'label' => Ai1ec_I18n::__( ' Show the old Post Your Event button above the calendar to privileged users' ), 'help' => Ai1ec_I18n::__( 'Install the Interactive Frontend Extension for the frontend Post Your Event form.' ), ), 'default' => true, ), 'embedding' => array( 'type' => 'html', 'renderer' => array( 'class' => 'html', 'tab' => 'advanced', 'item' => 'embedded-views', ), 'default' => null, ), 'calendar_css_selector' => array( 'type' => 'deprecated', 'renderer' => array( 'class' => 'input', 'tab' => 'advanced', 'item' => 'advanced', 'label' => Ai1ec_I18n::__( 'Move calendar into this DOM element' ), 'type' => 'normal', 'help' => Ai1ec_I18n::__( 'Optional. Use this JavaScript-based shortcut to place the calendar a DOM element other than the usual page content container if you are unable to create an appropriate page template for the calendar page. To use, enter a jQuery selector that evaluates to a single DOM element. Any existing markup found within the target will be replaced by the calendar.' ), ), 'default' => '', ), 'skip_in_the_loop_check' => array( 'type' => 'bool', 'renderer' => array( 'class' => 'checkbox', 'tab' => 'advanced', 'item' => 'advanced', 'label' => Ai1ec_I18n::__( 'Skip in_the_loop() check that protects against multiple calendar output' ), 'help' => Ai1ec_I18n::__( 'Try enabling this option if your calendar does not appear on the calendar page. It is needed for compatibility with a small number of themes that call the_content() from outside of The Loop. Leave disabled otherwise.' ), ), 'default' => false, ), 'disable_gzip_compression' => array( 'type' => 'bool', 'renderer' => array( 'class' => 'checkbox', 'tab' => 'advanced', 'item' => 'advanced', 'label' => Ai1ec_I18n::__( 'Disable gzip compression.' ), 'help' => Ai1ec_I18n::__( 'Use this option if calendar is unresponsive. Read more about the issue. (From version 2.1 onwards, gzip is disabled by default for maximum compatibility.)' ), ), 'default' => true, ), 'ai1ec_use_frontend_rendering' => array( 'type' => 'bool', 'renderer' => array( 'class' => 'checkbox', 'tab' => 'advanced', 'item' => 'advanced', 'label' => Ai1ec_I18n::__( 'Use frontend rendering.' ), 'help' => Ai1ec_I18n::__( 'Renders calendar views on the client rather than the server; can improve performance.' ), ), 'default' => true, ), 'cache_dynamic_js' => array( 'type' => 'bool', 'renderer' => array( 'class' => 'checkbox', 'tab' => 'advanced', 'item' => 'advanced', 'label' => Ai1ec_I18n::__( 'Use advanced JS cache.' ), 'help' => Ai1ec_I18n::__( 'Cache dynamically generated JS files. Improves performance.' ), ), 'default' => true, ), 'render_css_as_link' => array( 'type' => 'bool', 'renderer' => array( 'class' => 'checkbox', 'tab' => 'advanced', 'item' => 'advanced', 'label' => Ai1ec_I18n::__( 'Link CSS in <head> section when file cache is unavailable.' ), 'help' => Ai1ec_I18n::__( 'Use this option if file cache is unavailable and you would prefer to serve CSS as a link rather than have it output inline.' ), ), 'default' => false, ), 'edit_robots_txt' => array( 'type' => 'string', 'renderer' => array( 'class' => 'textarea', 'tab' => 'advanced', 'item' => 'advanced', 'label' => Ai1ec_I18n::__( 'Current robots.txt on this site' ), 'type' => 'normal', 'rows' => 6, 'readonly' => 'readonly', 'help' => Ai1ec_I18n::__( 'The Robot Exclusion Standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention for cooperating web crawlers and other web robots about accessing all or part of a website that is otherwise publicly viewable. You can change it manually by editing robots.txt in your root WordPress directory.' ), ), 'default' => '', ), 'allow_statistics' => array( 'type' => 'bool', 'renderer' => array( 'class' => 'checkbox', 'tab' => 'advanced', 'item' => 'advanced', 'label' => sprintf( Ai1ec_I18n::__( 'Publicize, promote, and share my events marked as public on the Timely network. (Learn more »)' ), 'https://time.ly/event-search-calendar' ), ), 'default' => false, ), 'legacy_options' => array( 'type' => 'legacy_options', 'default' => null, ), 'ics_cron_freq' => array( 'type' => 'string', 'default' => 'hourly', ), 'twig_cache' => array( 'type' => 'string', 'renderer' => array( 'class' => 'cache', 'tab' => 'advanced', 'item' => 'cache', 'label' => sprintf( Ai1ec_I18n::__( 'Templates cache improves site performance' ) ), ), 'default' => '', ), 'always_use_calendar_timezone' => array( 'type' => 'bool', 'renderer' => array( 'class' => 'checkbox', 'tab' => 'viewing-events', 'item' => 'viewing-events', 'label' => Ai1ec_I18n::__( 'Display events in calendar time zone' ), 'help' => Ai1ec_I18n::__( 'If this box is checked events will appear in the calendar time zone with time zone information displayed on the event details page.' ), ), 'default' => false, ), ); } /** * Register the standard setting values. * * @return void Method doesn't return. */ protected function _register_standard_values() { foreach ( $this->_standard_options as $key => $option ) { $renderer = null; $value = $option['default']; if ( isset( $option['renderer'] ) ) { $renderer = $option['renderer']; } $this->register( $key, $value, $option['type'], $renderer, AI1EC_VERSION ); } } /** * Update translated strings, after introduction of `_noop` functions. * * @return void */ protected function _update_name_translations() { $translations = $this->_standard_options['enabled_views']['default']; $current = $this->get( 'enabled_views' ); foreach ( $current as $key => $view ) { if ( isset( $translations[$key] ) ) { $current[$key]['longname'] = $translations[$key]['longname']; } } $this->set( 'enabled_views', $current ); } /** * Change `updated` flag value. * * @param bool $new_status Status to change to. * * @return bool Previous status flag value. */ protected function _change_update_status( $new_status ) { $previous = $this->_updated; $this->_updated = (bool)$new_status; return $previous; } }