5 $url = htmlentities_utf8($this->url);
6 $site_name = htmlentities_utf8($this->site_name);
8 <div class="headingbox"><h3><?php if($_GET['id']){echo _AT('edit_websites');}else{echo _AT('add_new_website');}?></h3></div>
9 <div class="contentbox">
10 <form method="POST" action="<?php echo url_rewrite(AT_SOCIAL_BASENAME.'edit_profile.php'); ?>">
11 <dl id="public-profile">
12 <dt><label for="url"><?php echo _AT('url'); ?></label></dt>
13 <dd><input type="text" id="url" name="url" value="<?php echo $url; ?>" /></dd>
15 <dt><label for="site_name"><?php echo _AT('site_name'); ?></label></dt>
16 <dd><input type="text" id="site_name" name="site_name" value="<?php echo $site_name; ?>" /></dd>
18 <input type="hidden" name="id" value="<?php echo $this->id; ?>" />
19 <input type="hidden" name="id" value="<?php echo $this->id; ?>" />
20 <?php if($_GET['id']){ ?>
21 <input type="hidden" name="edit" value="websites" />
23 <input type="hidden" name="add" value="websites" />
25 <input type="submit" name="submit" class="button" value="<?php echo _AT('save'); ?>" />
26 <input type="submit" name="cancel" class="button" value="<?php echo _AT('cancel'); ?>" />