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