5 $university = htmlentities_utf8($this->university);
6 $country = htmlentities_utf8($this->country);
7 $province = htmlentities_utf8($this->province);
8 $degree = htmlentities_utf8($this->degree);
9 $field = htmlentities_utf8($this->field);
10 $from = htmlentities_utf8($this->from);
11 $to = htmlentities_utf8($this->to);
12 $description = htmlentities_utf8($this->description, false);
14 <script type='text/javascript' src='jscripts/calendar.js'></script>
15 <div class="headingbox"><h3><?php if($_GET['id']){echo _AT('edit_education');}else{echo _AT('add_new_education');}?></h3></a></div>
16 <div class="contentbox">
17 <form method="POST" action="<?php echo url_rewrite(AT_SOCIAL_BASENAME.'edit_profile.php'); ?>">
18 <dl id="public-profile">
19 <dt><label for="university"><?php echo _AT('university'); ?></label></dt>
20 <dd><input type="text" id="university" name="university" value="<?php echo $university; ?>" /></dd>
22 <dt><label for="province"><?php echo _AT('province'); ?></label></dt>
23 <dd><input type="text" id="province" name="province" value="<?php echo $province; ?>" /></dd>
25 <dt><label for="country"><?php echo _AT('country'); ?></label></dt>
26 <dd><input type="text" id="country" name="country" value="<?php echo $country; ?>" /></dd>
28 <dt><label for="degree"><?php echo _AT('degree'); ?></label></dt>
29 <dd><input type="text" id="degree" name="degree" value="<?php echo $degree; ?>" /></dd>
31 <dt><label for="field"><?php echo _AT('field'); ?></label></dt>
32 <dd><input type="text" id="field" name="field" value="<?php echo $field; ?>" /></dd>
34 <dt><label for="from"><?php echo _AT('from'); ?></label></dt>
35 <dd><input type="text" id="from" name="from" value="<?php echo $from; ?>" />
36 <img src='images/calendar.gif' style="vertical-align: middle; cursor: pointer;" onclick="scwShow(scwID('from'),event);" /></dd>
38 <dt><label for="to"><?php echo _AT('to'); ?></label></dt>
39 <dd><input type="text" id="to" name="to" value="<?php echo $to; ?>" />
40 <img src='images/calendar.gif' style="vertical-align: middle; cursor: pointer;" onclick="scwShow(scwID('to'),event);" /></dd>
42 <dt><label for="description"><?php echo _AT('description'); ?></label></dt>
43 <dd><textarea name="description" id="description" cols="40" rows="5" ><?php echo $description; ?></textarea></dd>
45 <input type="hidden" name="id" value="<?php echo $this->id; ?>" />
46 <?php if($_GET['id']){ ?>
47 <input type="hidden" name="edit" value="education" />
49 <input type="hidden" name="add" value="education" />
52 <input type="submit" name="submit" class="button" value="<?php echo _AT('save'); ?>" />
53 <input type="submit" name="cancel" class="button" value="<?php echo _AT('cancel'); ?>" />