7 * The following variables are available in this template:
9 * @copyright © 1999-2006 The SquirrelMail Project Team
10 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
12 * @package squirrelmail
13 * @subpackage templates
16 /** add required includes **/
18 /** extract template variables **/
21 /** Begin template **/
24 <table cellspacing="0" class="table1">
27 <?php echo _("Viewing a Business Card") ; ?> - <a href="<?php echo $view_message_link; ?>"><?php echo _("View message"); ?></a>
32 <table cellspacing="0">
34 foreach ($vcard as $field=>$value) {
37 <td class="fieldName">
38 <?php echo $field; ?>:
40 <td class="fieldValue">
52 <a href="<?php echo $download_link; ?>"><?php echo _("Download this as a file"); ?></a>
56 <form action="../src/addressbook.php" method="post" name="f_add">
57 <input type="hidden" name="addaddr[firstname]" value="<?php echo $firstname; ?>" />
58 <input type="hidden" name="addaddr[lastname]" value="<?php echo $lastname; ?>" />
59 <table cellspacing="0" class="table1">
62 <?php echo _("Add to address book"); ?>
67 <table cellspacing="0">
69 <td class="fieldName">
70 <?php echo _("Nickname"); ?>
72 <td class="fieldValue">
73 <input type="text" name="addaddr[nickname]" value="<?php echo $nickname; ?>" size="20" />
77 <td class="fieldName">
78 <?php echo _("Email"); ?>
80 <td class="fieldValue">
81 <input type="text" name="addaddr[email]" value="<?php echo $email; ?>" size="20" />
85 <td class="fieldName">
86 <?php echo _("Additional Info"); ?>
88 <td class="fieldValue">
90 if (count($info) == 0) {
92 <input type="text" name="addaddr[label]" value="" size="20" />
96 <select name="addaddr[label]">
98 foreach ($info as $value=>$field) {
100 <option value="<?php echo $value; ?>"><?php echo $field; ?></option>
115 <input type="submit" value="<?php echo _("Add to address book"); ?>" name="addaddr[SUBMIT]" id="addaddr_SUBMIT_" />