4 $company = htmlentities_utf8($this->company);
5 $title = htmlentities_utf8($this->profile_title);
6 $description = htmlentities_utf8($this->description, false);
7 $from = htmlentities_utf8($this->from);
8 $to = htmlentities_utf8($this->to);
10 <script type='text/javascript' src='jscripts/calendar.js'></script>
11 <div class="headingbox"><h3><?php if($_GET['id']){echo _AT('edit_position');}else{echo _AT('add_new_position');}?></h3></div>
12 <div class="contentbox">
13 <form method="POST" action="<?php echo url_rewrite(AT_SOCIAL_BASENAME.'edit_profile.php'); ?>">
14 <dl id="public-profile">
16 <dt><label for="company"><?php echo _AT('company'); ?></label></dt>
17 <dd><input type="text" id="company" name="company" value="<?php echo $company; ?>" /></dd>
19 <dt><label for="title"><?php echo _AT('title'); ?></label></dt>
20 <dd><input type="text" id="title" name="title" value="<?php echo $title; ?>" /></dd>
22 <dt><label for="from"><?php echo _AT('from'); ?></label></dt>
23 <dd><input type="text" id="from" name="from" value="<?php echo $from; ?>" />
24 <img src='images/calendar.gif' style="vertical-align: middle; cursor: pointer;" onclick="scwShow(scwID('from'),event);" /></dd>
26 <dt><label for="to"><?php echo _AT('to'); ?></label></dt>
27 <dd><input type="text" id="to" name="to" value="<?php echo $to; ?>" />
28 <img src='images/calendar.gif' style="vertical-align: middle; cursor: pointer;" onclick="scwShow(scwID('to'),event);" /></dd>
30 <dt><label for="description"><?php echo _AT('description'); ?></label> </dt>
31 <dd><textarea name="description" id="description" cols="40" rows="5"><?php echo $description; ?></textarea></dd>
33 <input type="hidden" name="id" value="<?php echo $this->id; ?>" />
35 <input type="hidden" name="id" value="<?php echo $this->id; ?>" />
36 <?php if($_GET['id']){ ?>
37 <input type="hidden" name="edit" value="position" />
39 <input type="hidden" name="add" value="position" />
41 <input type="submit" class="button" name="submit" value="<?php echo _AT('save'); ?>" />
42 <input type="submit" class="button" name="cancel" value="<?php echo _AT('cancel'); ?>" />