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">
13 <dt><label for="url"><?php echo _AT('url'); ?></label></dt>
14 <dd><input type="text" id="url" name="url" value="<?php echo $url; ?>" /></dd>
17 <dt><label for="site_name"><?php echo _AT('site_name'); ?></label></dt>
18 <dd><input type="text" id="site_name" name="site_name" value="<?php echo $site_name; ?>" /></dd>
21 <input type="hidden" name="id" value="<?php echo $this->id; ?>" />
22 <input type="hidden" name="id" value="<?php echo $this->id; ?>" />
23 <?php if($_GET['id']){ ?>
24 <input type="hidden" name="edit" value="websites" />
26 <input type="hidden" name="add" value="websites" />
28 <input type="submit" name="submit" class="button" value="<?php echo _AT('save'); ?>" />
29 <input type="submit" name="cancel" class="button" value="<?php echo _AT('cancel'); ?>" />