10 |
* |
* |
11 |
* $Id$ |
* $Id$ |
12 |
* |
* |
13 |
* @author Walter A. Boring IV <waboring@buildabetterweb.com> |
* @author Walter A. Boring IV <waboring@newsblob.com> |
14 |
* @package phpHtmlLib |
* @package phpHtmlLib |
15 |
* @subpackage FormProcessing |
* @subpackage FormProcessing |
16 |
*/ |
*/ |
110 |
*/ |
*/ |
111 |
function form_confirm( $title = "Form Confirmation", $show_buttons=TRUE ) { |
function form_confirm( $title = "Form Confirmation", $show_buttons=TRUE ) { |
112 |
$title = $title._HTML_SPACE; |
$title = $title._HTML_SPACE; |
113 |
$title .="( ".$this->_required_field_marker." ".$this->_required_field_text." )"; |
|
114 |
|
//only show this if we aren't readonly |
115 |
|
//if we are in read only mode...required doesn't make sense |
116 |
|
if (!$this->is_readonly()) { |
117 |
|
$title .="( ".$this->_required_field_marker." ".$this->_required_field_text." )"; |
118 |
|
} |
119 |
|
|
120 |
$table = new InfoTable($title, $this->_width); |
$table = new InfoTable($title, $this->_width); |
121 |
|
|
122 |
$this->build_confirm_table( $table ); |
$this->build_confirm_table( $table ); |