- $num = 1;
- while (LoadInfo($full_name, $email_address, $reply_to, $num))
- {
-?>
- <tr bgcolor="<?PHP echo $color[9] ?>">
- <th colspan=2 align=center><?PHP printf (_("Alternate Identity %d"),
- $num) ?></th>
- </tr>
-<?PHP
- ShowTableInfo($full_name, $email_address, $reply_to, $num);
- $num ++;
- }
-
-?>
- <tr bgcolor="<?php echo $color[9] ?>">
- <th colspan=2 align=center><?PHP echo _("Add a New Identity") ?></th>
- </tr>
-<?php
- ShowTableInfo('', '', '', $num);
-?>
-</table>
-</form>
-
- </td></tr>
- </table>
-
-</td></tr>
-</table>
-</body></html>
-
-<?PHP
+ $num = 1;
+ while (LoadInfo($full_name, $email_address, $reply_to, $signature, $num)) {
+ $td_str .= html_tag( 'tr',
+ html_tag( 'th', sprintf (_("Alternate Identity %d"), $num), 'center', '', 'colspan="2"' ) ,
+ '', $color[9]);
+ $td_str .= ShowTableInfo($full_name, $email_address, $reply_to, $signature, $num);
+ $num ++;
+ }
+
+ echo '<br>' .
+ html_tag( 'table', "\n" .
+ html_tag( 'tr', "\n" .
+ html_tag( 'td', "\n" .
+ '<b>'. _("Options") . ' - ' . _("Advanced Identities") .'</b><br>' .
+ html_tag( 'table', "\n" .
+ html_tag( 'tr', "\n" .
+ html_tag( 'td', "\n" .
+ html_tag( 'table', "\n" .
+ html_tag( 'tr', "\n" .
+ html_tag( 'th', _("Default Identity"), 'center', '', 'colspan="2"' ) ,
+ '', $color[9]) . "\n" .
+ $td_str . "\n" .
+ html_tag( 'tr',
+ html_tag( 'th', _("Add a New Identity") . ShowTableInfo('', '', '', '', $num), 'center', '', 'colspan="2"' ) ,
+ '', $color[9]) ,
+ '', '', 'width="80%" cellpadding="2" cellspacing="0" border="0"' ) ,
+ 'center', $color[4] )
+ ) ,
+ '', '', 'width="100%" border="0" cellpadding="1" cellspacing="1"' ) ,
+ 'center', $color[0] )
+ ) ,
+ 'center', '', 'width="95%" border="0" cellpadding="2" cellspacing="0"' ) .
+
+ '</body></html>';