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
Notice: require_once(): read of 5904 bytes failed with errno=12 Cannot allocate memory in /var/www/html/ticnews.com.br/web/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/nggallery.php on line 232
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/formatting.php on line 4768
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/formatting.php on line 4768
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/formatting.php on line 4768
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/formatting.php on line 4768
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/formatting.php on line 4768
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/formatting.php on line 4768
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/load.php on line 926
Notice: Trying to access array offset on value of type bool in /var/www/html/ticnews.com.br/web/wp-includes/theme.php on line 2360
Notice: Trying to access array offset on value of type bool in /var/www/html/ticnews.com.br/web/wp-content/plugins/download-monitor/src/DLM.php on line 236
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/formatting.php on line 4768
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/formatting.php on line 4768
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/formatting.php on line 4768
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/formatting.php on line 4768
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/formatting.php on line 4768
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/ticnews.com.br/web/wp-includes/formatting.php on line 4768
'name' => Ai1ec_I18n::__( 'Agenda view' ),
),
);
$tabs = apply_filters( 'ai1ec_less_variables_tabs', $tabs );
$less_variables = $this->_registry
->get( 'less.lessphp' )->get_saved_variables();
$tabs = $this->_get_tabs_to_show( $less_variables, $tabs );
$loader = $this->_registry->get( 'theme.loader' );
$args = array(
'stacked' => true,
'content_class' => 'ai1ec-form-horizontal',
'tabs' => $tabs,
'submit' => array(
'id' => self::SUBMIT_ID,
'value' => ' ' .
Ai1ec_I18n::__( 'Save Options' ),
'args' => array(
'class' => 'ai1ec-btn ai1ec-btn-primary ai1ec-btn-lg',
),
),
'reset' => array(
'id' => self::RESET_ID,
'value' => ' ' .
Ai1ec_I18n::__( 'Reset to Defaults' ),
'args' => array(
'class' => 'ai1ec-btn ai1ec-btn-danger ai1ec-btn-lg',
),
),
);
$file = $loader->get_file( 'theme-options/bootstrap_tabs.twig', $args, true );
$file->render();
}
/**
* Return the theme options tabs
*
* @param array $less_variables
* @param array $tabs list of tabs
*
* @return array the array of tabs to display
*/
protected function _get_tabs_to_show( array $less_variables, array $tabs) {
// Inizialize the array of tabs that will be added to the layout
$bootstrap_tabs_to_add = array();
foreach( $tabs as $id => $tab ){
$tab['elements'] = array();
$bootstrap_tabs_to_add[$id] = $tab;
}
foreach ( $less_variables as $variable_id => $variable_attributes ) {
$variable_attributes['id'] = $variable_id;
$renderable = $this->_registry->get(
'less.variable.' . $variable_attributes['type'],
$variable_attributes
);
$bootstrap_tabs_to_add[$variable_attributes['tab']]['elements'][] = array(
'html' => $renderable->render()
);
}
return $bootstrap_tabs_to_add;
}
/**
* Handle post, likely to be deprecated to use commands.
*/
public function handle_post() {
}
}