5 $rep_name = AT_print($this->rep_name, 'input.text');
6 $rep_title = AT_print($this->rep_title, 'input.text');
7 $rep_phone = AT_print($this->rep_phone, 'input.text');
8 $rep_email = AT_print($this->rep_email, 'input.text');
9 $rep_address = AT_print($this->rep_address, 'input.text');
12 <div class="headingbox"><h3><?php if($_GET['id']){echo _AT('edit_representation');}else{echo _AT('add_new_representation');}?></h3></div>
13 <div class="contentbox">
14 <form method="post" action="<?php echo url_rewrite(AT_SOCIAL_BASENAME.'edit_profile.php'); ?>">
15 <dl id="public-profile">
16 <dt><label for="rep_name"><?php echo _AT('name'); ?></label></dt>
17 <dd><input type="text" id="rep_name" name="rep_name" value="<?php echo $rep_name; ?>" /></dd>
19 <dt><label for="rep_title"><?php echo _AT('title'); ?></label></dt>
20 <dd><input type="text" id="rep_title" name="rep_title" value="<?php echo $rep_title; ?>" /></dd>
22 <dt><label for="rep_phone"><?php echo _AT('phone'); ?></label></dt>
23 <dd><input type="text" id="rep_phone" name="rep_phone" value="<?php echo $rep_phone; ?>" /></dd>
25 <dt><label for="rep_email"><?php echo _AT('email'); ?></label></dt>
26 <dd><input type="text" id="rep_email" name="rep_email" value="<?php echo $rep_email; ?>" /></dd>
28 <dt><label for="rep_address"><?php echo _AT('street_address'); ?></label></dt>
29 <dd><textarea name="rep_address" id="rep_address" cols="40" rows="5"><?php echo $rep_address; ?></textarea></dd>
31 <input type="hidden" name="id" value="<?php echo $this->id; ?>" />
32 <?php if($_GET['id']){ ?>
33 <input type="hidden" name="edit" value="representation" />
35 <input type="hidden" name="add" value="representation" />
38 <input type="submit" name="submit" class="button" value="<?php echo _AT('save'); ?>" />
39 <input type="submit" name="cancel" class="button" value="<?php echo _AT('cancel'); ?>" />