class PageNavi_Options_Page extends scbAdminPage {
function setup() {
$this->textdomain = 'wp-pagenavi';
$this->args = array(
'page_title' => __('PageNavi Settings', $this->textdomain),
'menu_title' => __('PageNavi', $this->textdomain),
'page_slug' => 'pagenavi',
);
}
// Update the validate method to match the parent class
function validate($new_data, $old_data) {
foreach ( array('style', 'num_pages', 'num_larger_page_numbers', 'larger_page_numbers_multiple') as $key )
$new_data[$key] = absint(@$new_data[$key]);
foreach ( array('use_pagenavi_css', 'always_show') as $key )
$new_data[$key] = (bool) @$new_data[$key];
return $new_data;
}
function page_content() {
$rows = array(
array(
'title' => __('Text For Number Of Pages', $this->textdomain),
'type' => 'text',
'name' => 'pages_text',
'extra' => 'size="50"',
'desc' => '
%CURRENT_PAGE% - ' . __('The current page number.', $this->textdomain) . '
%TOTAL_PAGES% - ' . __('The total number of pages.', $this->textdomain)
),
array(
'title' => __('Text For Current Page', $this->textdomain),
'type' => 'text',
'name' => 'current_text',
'desc' => '
%PAGE_NUMBER% - ' . __('The page number.', $this->textdomain)
),
array(
'title' => __('Text For Page', $this->textdomain),
'type' => 'text',
'name' => 'page_text',
'desc' => '
%PAGE_NUMBER% - ' . __('The page number.', $this->textdomain)
),
array(
'title' => __('Text For First Page', $this->textdomain),
'type' => 'text',
'name' => 'first_text',
'desc' => '
%TOTAL_PAGES% - ' . __('The total number of pages.', $this->textdomain)
),
array(
'title' => __('Text For Last Page', $this->textdomain),
'type' => 'text',
'name' => 'last_text',
'desc' => '
%TOTAL_PAGES% - ' . __('The total number of pages.', $this->textdomain)
),
array(
'title' => __('Text For Previous Page', $this->textdomain),
'type' => 'text',
'name' => 'prev_text',
),
array(
'title' => __('Text For Next Page', $this->textdomain),
'type' => 'text',
'name' => 'next_text',
),
array(
'title' => __('Text For Previous ...', $this->textdomain),
'type' => 'text',
'name' => 'dotleft_text',
),
array(
'title' => __('Text For Next ...', $this->textdomain),
'type' => 'text',
'name' => 'dotright_text',
),
);
$out =
html('h3', __('Page Navigation Text', $this->textdomain))
.html('p', __('Leaving a field blank will hide that part of the navigation.', $this->textdomain))
.$this->table($rows);
$rows = array(
array(
'title' => __('Use pagenavi-css.css', $this->textdomain),
'type' => 'checkbox',
'name' => 'use_pagenavi_css',
),
array(
'title' => __('Page Navigation Style', $this->textdomain),
'type' => 'select',
'name' => 'style',
'values' => array(1 => __('Normal', $this->textdomain), 2 => __('Drop-down List', $this->textdomain)),
'text' => false
),
array(
'title' => __('Always Show Page Navigation', $this->textdomain),
'type' => 'checkbox',
'name' => 'always_show',
'desc' => __("Show navigation even if there's only one page.", $this->textdomain)
),
array(
'title' => __('Number Of Pages To Show', $this->textdomain),
'type' => 'text',
'name' => 'num_pages',
'extra' => 'class="small-text"'
),
array(
'title' => __('Number Of Larger Page Numbers To Show', $this->textdomain),
'type' => 'text',
'name' => 'num_larger_page_numbers',
'extra' => 'class="small-text"',
'desc' =>
'
' . __('Larger page numbers are in addition to the normal page numbers. They are useful when there are many pages of posts.', $this->textdomain) .
'
' . __('For example, WP-PageNavi will display: Pages 1, 2, 3, 4, 5, 10, 20, 30, 40, 50.', $this->textdomain) .
'
' . __('Enter 0 to disable.', $this->textdomain)
),
array(
'title' => __('Show Larger Page Numbers In Multiples Of', $this->textdomain),
'type' => 'text',
'name' => 'larger_page_numbers_multiple',
'extra' => 'class="small-text"',
'desc' =>
'
' . __('For example, if mutiple is 5, it will show: 5, 10, 15, 20, 25', $this->textdomain)
),
);
$out .=
html('h3', __('Page Navigation Options', $this->textdomain))
.$this->table($rows);
echo $this->form_wrap($out);
}
}
Templos do Kama Sutra: Os templos foram classificadas pela UNESCO como Patrimônio Mundial da Humanidade Templos do Kama Sutra: Um imenso jardim em toda extenção do parque Templos do Kama Sutra: Jardins exuberantes em volta de todos os templos Templos do Kama Sutra: Um dos 25 templos de Khajuraho na India Templos do Kama Sutra: Esculturas eróticas em todas as paredes externas dos templos Templos do Kama Sutra: Detalhes das esculturas Templos do Kama Sutra: Detalhes das esculturas Templos do Kama Sutra: O amor e o sexo presente em todas as esculturas Templos do Kama Sutra: Templo de Shiva Deus da Renovação Templos do Kama Sutra: Animais figuram em vários lugares dos templos em cenas de sexo e orgia Templos do Kama Sutra: Muitas imagens representam as posições sexuais do Kama Sutra Templos do Kama Sutra: É uma das principais atrações turísticas da Índia
Um conjunto de 25 templos com suas fachadas recobertas de esculturas eróticas representadas por Deuses, guerreiros, músicos e bailarinas é conhecido como o Kama Sutra em pedra. Fica dentro de um imenso parque com jardins exuberantes na cidade de Khajuraho no norte da Índia.
A maioria das esculturas talhadas nas paredes representam cenas da vida daquela época e também a comunhão do homem com o divino em fantasias audaciosas que estão muito além do Kama Sutra. Evocam a união sexual dos Deuses geradora da energia vital, onde o amor é representado, numa dimensao cósmica, pela dança de Shiva, Deus da destruição e da renovação: imagem de continuidade de todas as vidas.