' . $text . ' ' . __( 'updated', 'pagebar') . '
';
} //if
} //PagebarOptions()
/* -------------------------------------------------------------------------- */
function textinput($text, $var, $pbOptions, $prefix) {
echo ' | ';
echo ' |
';
}
/* -------------------------------------------------------------------------- */
function checkbox($text,$var,$pbOptions, $prefix, $onClick = '') {
return '
\n";
}
/* -------------------------------------------------------------------------- */
function radiobutton($name, $value, $text, $pbOptions, $prefix, $onClick = '') {
return '\n";
}
/* -------------------------------------------------------------------------- */
function pb_basicOptions($pbOptions, $prefix) {
?>
textinput ( 'Left', 'left', $pbOptions, $prefix);
$this->textinput ( 'Center', 'center', $pbOptions, $prefix );
$this->textinput ( 'Right', 'right', $pbOptions, $prefix );
$this->textinput ( 'Leading text', 'pbText', $pbOptions, $prefix );
$this->textinput ( 'Standard page', 'standard', $pbOptions, $prefix );
$this->textinput ( 'Current Page', 'current', $pbOptions, $prefix );
$this->textinput ( 'First page', 'first', $pbOptions, $prefix );
$this->textinput ( 'Last page', 'last', $pbOptions, $prefix );
$this->textinput ( 'Connector', 'connect', $pbOptions, $prefix );
?>
|
">
radiobutton('pdisplay', 'auto', 'auto', $pbOptions, $prefix); ?>
radiobutton('pdisplay', 'always', 'always', $pbOptions, $prefix); ?>
radiobutton('pdisplay', 'never', 'never', $pbOptions, $prefix); ?>
|
|
:
|
">
radiobutton('ndisplay', 'auto', 'auto', $pbOptions, $prefix); ?>
radiobutton('ndisplay', 'always', 'always', $pbOptions, $prefix); ?>
radiobutton('ndisplay', 'never', 'never', $pbOptions, $prefix); ?>
|
| : |
">
checkbox('Display', 'tooltips', $pbOptions, $prefix) ?>
|
| : |
>
">
|
Manual'
); }
}
/* -------------------------------------------------------------------------- */
function pb_load_jquery() {
wp_enqueue_script('jquery-ui-tabs');
}
/* -------------------------------------------------------------------------- */
function pboptions() {
global $pbOptions;
?>