| version 1.8, 2002/08/23 01:00:01 |
version 1.9, 2002/09/22 18:36:06 |
|
|
| { |
{ |
| // note that <input disabled isn\'t valid HTML but most browsers support it |
// note that <input disabled isn\'t valid HTML but most browsers support it |
| // TODO: classify this table and cells |
// TODO: classify this table and cells |
| echo '<table border=0 cellpadding=0 cellspacing=0 width="100%" summary=nav_buttons>'; |
echo '<table border=0 cellpadding=0 cellspacing=0 width="100%" style="border:0;padding:0;">'; |
| echo '<tr><td align=left nowrap>' . "\n"; |
echo '<tr><td align=left style="text-align:left;border:0;padding:0;" nowrap>' . "\n"; |
| if ($this->fm > 0) { |
if ($this->fm > 0) { |
| echo '<input type="submit" name="prev" value="'.$this->labels['Prev'].'"> '; |
echo '<input type="submit" name="prev" value="'.$this->labels['Prev'].'"> '; |
| } else { |
} else { |
|
|
| } |
} |
| |
|
| // Message is now written here |
// Message is now written here |
| echo '</td><td align=center nowrap><b>'.$this->message.'</b></td>'; |
echo '</td><td align=center style="text-align:center;border:0;padding:0;" nowrap><b>'.$this->message.'</b></td>'; |
| |
|
| // display page and records statistics |
// display page and records statistics |
| echo '<td align=right nowrap>'."\n"; |
echo '<td align=right style="text-align:right;border:0;padding:0;" nowrap>' . "\n"; |
| if ($listall) { |
if ($listall) { |
| echo $this->labels['Page'].': 1 of 1'; |
echo $this->labels['Page'].': 1 of 1'; |
| } else { |
} else { |
|
|
| function display_record_buttons() /* {{{ */ |
function display_record_buttons() /* {{{ */ |
| { |
{ |
| // TODO: classify this table and cells |
// TODO: classify this table and cells |
| echo '<table border=0 cellpadding=0 cellspacing=0 width="100%" summary=nav_buttons>'; |
echo '<table border=0 cellpadding=0 cellspacing=0 width="100%" style="border:0;padding:0;">'; |
| echo '<tr><td align=left nowrap>'."\n"; |
echo '<tr><td align=left style="text-align:left;border:0;padding:0;" nowrap>' . "\n"; |
| if ($this->change_operation()) { |
if ($this->change_operation()) { |
| echo '<input type="submit" name="savechange" value="'.$this->labels['Save'].'" />'."\n"; |
echo '<input type="submit" name="savechange" value="'.$this->labels['Save'].'" />'."\n"; |
| echo '<input type="button" name="cancel" value="'.$this->labels['Cancel'].'" onClick="form.submit();" />'."\n"; |
echo '<input type="button" name="cancel" value="'.$this->labels['Cancel'].'" onClick="form.submit();" />'."\n"; |