<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>" name="form">
<div class="input-form">
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="sitename"><?php echo _AT('site_name'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="sitename"><?php echo _AT('site_name'); ?></label><br />
<input type="text" name="site_name" size="40" maxlength="60" id="sitename" value="<?php if (!empty($_POST['site_name'])) { echo $stripslashes(htmlspecialchars($_POST['site_name'])); } else { echo $_config['site_name']; } ?>" />
</div>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="cemail"><?php echo _AT('contact_email'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="cemail"><?php echo _AT('contact_email'); ?></label><br />
<input type="text" name="contact_email" id="cemail" size="40" value="<?php if (!empty($_POST['email'])) { echo $stripslashes(htmlspecialchars($_POST['email'])); } else { echo $_config['contact_email']; } ?>" />
</div>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="email"><?php echo _AT('email'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="email"><?php echo _AT('email'); ?></label><br />
<input type="text" name="email" id="email" size="50" />
<input type="hidden" name="en_id" id="en_id" value="<?php echo $_REQUEST['en_id']; ?>" size="50" />
</div>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="subject"><?php echo _AT('subject'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="subject"><?php echo _AT('subject'); ?></label><br />
<input type="text" class="formfield" name="subject" id="subject" size="40" value="<?php echo $_POST['subject']; ?>" />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="body"><?php echo _AT('body'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="body"><?php echo _AT('body'); ?></label><br />
<textarea class="formfield" cols="55" rows="15" id="body" name="body" wrap="wrap"><?php echo $_POST['body']; ?></textarea>
</div>
<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>" name="form">
<div class="input-form">
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="from"><?php echo _AT('from_name'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="from"><?php echo _AT('from_name'); ?></label><br />
<input type="text" name="from" id="from" size="40" value="<?php echo htmlspecialchars($stripslashes($_POST['from'])); ?>" />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="from_email"><?php echo _AT('from_email'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="from_email"><?php echo _AT('from_email'); ?></label><br />
<input type="text" name="from_email" id="from_email" size="40" value="<?php echo htmlspecialchars($stripslashes($_POST['from_email'])); ?>" />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="subject"><?php echo _AT('subject'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="subject"><?php echo _AT('subject'); ?></label><br />
<input type="text" name="subject" id="subject" size="40" value="<?php echo htmlspecialchars($stripslashes($_POST['subject'])); ?>" />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="body_text"><?php echo _AT('body'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="body_text"><?php echo _AT('body'); ?></label><br />
<textarea cols="55" rows="15" id="body_text" name="body"><?php echo htmlspecialchars($stripslashes($_POST['body'])); ?></textarea>
</div>
<div class="input-form">
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="to"><?php echo _AT('to'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="to"><?php echo _AT('to'); ?></label><br />
<?php
if (!$reply_to) {
$sql = "SELECT DISTINCT M.first_name, M.second_name, M.last_name, M.login, M.member_id FROM ".TABLE_PREFIX."members M, ".TABLE_PREFIX."course_enrollment E1, ".TABLE_PREFIX."course_enrollment E2 WHERE E2.member_id=$_SESSION[member_id] AND E2.course_id=E1.course_id AND M.member_id=E1.member_id AND (E1.approved='y' OR E1.approved='a') AND (E2.approved='y' OR E2.approved='a') ORDER BY M.first_name, M.second_name, M.last_name, M.login";
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="subject"><?php echo _AT('subject'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="subject"><?php echo _AT('subject'); ?></label><br />
<input type="text" name="subject" id="subject" value="<?php
if (($subject != '') && ($_POST['subject'] == '')) {
if ($_GET['reply'] && !($substr($subject, 0, 2) == _AT('re'))) {
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="body"><?php echo _AT('message'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="body"><?php echo _AT('message'); ?></label><br />
<textarea name="message" id="body" rows="15" cols="55"><?php
if ($body != '') {
if ($strlen($body) > 400){
<input type="hidden" name="search" value="1" />\r
<div class="input-form">\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="keywords"><?php echo _AT('search_words'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="keywords"><?php echo _AT('search_words'); ?></label><br />\r
<input type="text" name="words" size="30" id="keywords" value="<?php echo $_GET['words']; ?>" />\r
</div>\r
\r
<table width="65%" class="tableborder" cellspacing="0" cellpadding="1" border="0" align="center">
<tr>
- <td class="row1"><div class="required" title="Required Field">*</div><b><label for="db">Database Hostname:</label></b><br />
+ <td class="row1"><span class="required" title="Required Field">*</span><b><label for="db">Database Hostname:</label></b><br />
Hostname of the database server. Default: <kbd>localhost</kbd></td>
<td class="row1" valign="middle"><input type="text" name="db_host" id="db" value="<?php if (!empty($_POST['db_host'])) { echo stripslashes(htmlspecialchars($_POST['db_host'])); } else { echo 'localhost'; } ?>" class="formfield" /></td>
</tr>
<tr>
- <td class="row1"><div class="required" title="Required Field">*</div><b><label for="port">Database Port:</label></b><br />
+ <td class="row1"><span class="required" title="Required Field">*</span><b><label for="port">Database Port:</label></b><br />
The port to the database server. Default: <kbd>3306</kbd></td>
<td class="row1"><input type="text" name="db_port" id="port" value="<?php if (!empty($_POST['db_port'])) { echo stripslashes(htmlspecialchars($_POST['db_port'])); } else { echo '3306'; } ?>" class="formfield" /></td>
</tr>
<tr>
- <td class="row1"><div class="required" title="Required Field">*</div><b><label for="username">Database Username:</label></b><br />
+ <td class="row1"><span class="required" title="Required Field">*</span><b><label for="username">Database Username:</label></b><br />
The username to the database server.</td>
<td class="row1"><input type="text" name="db_login" id="username" value="<?php echo stripslashes(htmlspecialchars($_POST['db_login'])); ?>" class="formfield" /></td>
</tr>
<tr>
- <td class="row1"><div class="required" title="Required Field">*</div><b><label for="pass">Database Password:</label></b><br />
+ <td class="row1"><span class="required" title="Required Field">*</span><b><label for="pass">Database Password:</label></b><br />
The password to the database server.</td>
<td class="row1"><input type="text" name="db_password" id="pass" value="<?php echo stripslashes(htmlspecialchars($_POST['db_password'])); ?>" class="formfield" /></td>
</tr>
<tr>
- <td class="row1"><div class="required" title="Required Field">*</div><b><label for="name">Database Name:</label></b><br />
+ <td class="row1"><span class="required" title="Required Field">*</span><b><label for="name">Database Name:</label></b><br />
The name of the database to use. It will be created if it does not exist.<br />Default: <kbd>atutor</kbd></td>
<td class="row1"><input type="text" name="db_name" id="name" value="<?php if (!empty($_POST['db_name'])) { echo stripslashes(htmlspecialchars($_POST['db_name'])); } else { echo 'atutor'; } ?>" class="formfield" /></td>
</tr>
<td colspan="2" class="row1">The Super Administrator account is used for managing ATutor. The Super Administrator can also create additional Administrators each with their own privileges and roles. Administrator accounts cannot enroll in courses.</td>
</tr>
<tr>
- <td class="row1"><div class="required" title="Required Field">*</div><b><label for="username">Administrator Username:</label></b><br />
+ <td class="row1"><span class="required" title="Required Field">*</span><b><label for="username">Administrator Username:</label></b><br />
May contain only letters, numbers, or underscores.</td>
<td class="row1"><input type="text" name="admin_username" id="username" maxlength="20" size="20" value="<?php if (!empty($_POST['admin_username'])) { echo stripslashes(htmlspecialchars($_POST['admin_username'])); } else { echo $defaults['admin_username']; } ?>" class="formfield" /></td>
</tr>
<tr>
- <td class="row1"><div class="required" title="Required Field">*</div><b><label for="password">Administrator Password:</label></b></td>
+ <td class="row1"><span class="required" title="Required Field">*</span><b><label for="password">Administrator Password:</label></b></td>
<td class="row1"><input type="text" name="admin_password" id="password" maxlength="15" size="15" class="formfield" /></td>
</tr>
<tr>
- <td class="row1"><div class="required" title="Required Field">*</div><b><label for="email">Administrator Email:</label></b></td>
+ <td class="row1"><span class="required" title="Required Field">*</span><b><label for="email">Administrator Email:</label></b></td>
<td class="row1"><input type="text" name="admin_email" id="email" size="40" value="<?php if (!empty($_POST['admin_email'])) { echo stripslashes(htmlspecialchars($_POST['admin_email'])); } else { echo $defaults['admin_email']; } ?>" class="formfield" /></td>
</tr>
</table>
<th colspan="2">System Preferences</th>
</tr>
<tr>
- <td class="row1"><div class="required" title="Required Field">*</div><b><label for="sitename">Site Name:</label></b><br />
+ <td class="row1"><span class="required" title="Required Field">*</span><b><label for="sitename">Site Name:</label></b><br />
The name of your course server website.<br />Default: <kbd><?php echo $defaults['site_name']; ?></kbd></td>
<td class="row1"><input type="text" name="site_name" size="28" maxlength="60" id="sitename" value="<?php if (!empty($_POST['site_name'])) { echo stripslashes(htmlspecialchars($_POST['site_name'])); } else { echo $defaults['site_name']; } ?>" class="formfield" /></td>
</tr>
<tr>
- <td class="row1"><div class="required" title="Required Field">*</div><b><label for="cemail">Contact Email:</label></b><br />
+ <td class="row1"><span class="required" title="Required Field">*</span><b><label for="cemail">Contact Email:</label></b><br />
The email that will be used as the return email when needed.</td>
<td class="row1"><input type="text" name="email" id="cemail" size="40" value="<?php if (!empty($_POST['email'])) { echo stripslashes(htmlspecialchars($_POST['email'])); } else { echo $defaults['email']; } ?>" class="formfield" /></td>
</tr>
<tr>
- <td class="row1"><div class="required" title="Required Field">*</div><b><label for="just_social">Just Social:</label></b><br />
+ <td class="row1"><span class="required" title="Required Field">*</span><b><label for="just_social">Just Social:</label></b><br />
Deploy ATutor as just a Social Networking platform? (without LMS)</td>
<td class="row1">
<label for="social_y">Just Social</label><input type="radio" name="just_social" id="social_y" value="1" class="formfield" <?php echo ($_POST['just_social']==1)?' checked="checked"':''; ?>/>
<td colspan="2" class="row1">You will need a personal account to view and create courses.</td>
</tr>
<tr>
- <td class="row1"><div class="required" title="Required Field">*</div><b><label for="account_username">Username:</label></b><br />
+ <td class="row1"><span class="required" title="Required Field">*</span><b><label for="account_username">Username:</label></b><br />
May contain only letters, numbers, and underscores.</td>
<td class="row1"><input type="text" name="account_username" id="account_username" maxlength="20" size="20" value="<?php if (!empty($_POST['account_username'])) { echo stripslashes(htmlspecialchars($_POST['account_username'])); } ?>" class="formfield" /></td>
</tr>
<tr>
- <td class="row1"><div class="required" title="Required Field">*</div><b><label for="account_password">Password:</label></b></td>
+ <td class="row1"><span class="required" title="Required Field">*</span><b><label for="account_password">Password:</label></b></td>
<td class="row1"><input type="text" name="account_password" id="account_password" maxlength="15" size="15" class="formfield" /></td>
</tr>
<tr>
- <td class="row1"><div class="required" title="Required Field">*</div><b><label for="account_email">Email:</label></b></td>
+ <td class="row1"><span class="required" title="Required Field">*</span><b><label for="account_email">Email:</label></b></td>
<td class="row1"><input type="text" name="account_email" id="account_email" size="40" maxlength="60" value="<?php if (!empty($_POST['account_email'])) { echo stripslashes(htmlspecialchars($_POST['account_email'])); } ?>" class="formfield" /></td>
</tr>
<tr>
- <td class="row1"><div class="required" title="Required Field">*</div><b><label for="account_fname">First Name:</label></b></td>
+ <td class="row1"><span class="required" title="Required Field">*</span><b><label for="account_fname">First Name:</label></b></td>
<td class="row1"><input type="text" name="account_fname" id="account_fname" size="40" maxlength="60" value="<?php if (!empty($_POST['account_fname'])) { echo stripslashes(htmlspecialchars($_POST['account_fname'])); } ?>" class="formfield" /></td>
</tr>
<tr>
- <td class="row1"><div class="required" title="Required Field">*</div><b><label for="account_lname">Last Name:</label></b></td>
+ <td class="row1"><span class="required" title="Required Field">*</span><b><label for="account_lname">Last Name:</label></b></td>
<td class="row1"><input type="text" name="account_lname" id="account_lname" size="40" maxlength="60" value="<?php if (!empty($_POST['account_lname'])) { echo stripslashes(htmlspecialchars($_POST['account_lname'])); } ?>" class="formfield" /></td>
</tr>
</table>
<table width="80%" class="tableborder" cellspacing="0" cellpadding="1" align="center">
<tr>
- <td class="row1"><div class="required" title="Required Field">*</div><strong><label for="contentdir">Content Directory</label></strong>
+ <td class="row1"><span class="required" title="Required Field">*</span><strong><label for="contentdir">Content Directory</label></strong>
<p>It has been detected that your webserver does not support the protected content directory feature. The content directory stores all of the courses' files.</p>
<p>Due to that restriction your content directory must exist within your ATutor installation directory and cannot be moved. Its path is specified below. Please create it if it does not already exist.</p>
<br /><br />
<?php else: ?>
<table width="80%" class="tableborder" cellspacing="0" cellpadding="1" align="center">
<tr>
- <td class="row1"><div class="required" title="Required Field">*</div><strong><label for="contentdir">Content Directory</label></strong>
+ <td class="row1"><span class="required" title="Required Field">*</span><strong><label for="contentdir">Content Directory</label></strong>
<p>Please specify where the content directory should be. The content directory stores all of the courses' files. As a security measure, the content directory should be placed <em>outside</em> of your ATutor installation (for example, to a non-web-accessible location that is not publically available).</p>
<p>On a Windows machine, the path should look like <kbd>C:\content</kbd>, while on Unix it should look like <kbd>/var/content</kbd>.</p>
<table width="70%" class="tableborder" cellspacing="0" cellpadding="1" border="0" align="center">
<tr>
- <td class="row1"><div class="required" title="Required Field">*</div><b><label for="dir">Old Directory Name:</label></b><br />
+ <td class="row1"><span class="required" title="Required Field">*</span><b><label for="dir">Old Directory Name:</label></b><br />
The old directory must be at the same level as the current directory.</td>
<td class="row1" valign="middle">
<?php if ($dirs): ?>
<td class="row1" colspan="2">The Super Administrator account is used for managing ATutor. Since ATutor version 1.5 the Super Administrator can also create additional Administrators each with their own privileges and roles.</td>
</tr>
<tr>
- <td class="row1"><div class="required" title="Required Field">*</div><b><label for="username">Administrator Username:</label></b><br />
+ <td class="row1"><span class="required" title="Required Field">*</span><b><label for="username">Administrator Username:</label></b><br />
May contain only letters, numbers, or underscores.</td>
<td class="row1"><input type="text" name="admin_username" id="username" maxlength="20" size="20" value="<?php if (!empty($_POST['admin_username'])) { echo $stripslashes(htmlspecialchars($_POST['admin_username'])); } else { echo urldecode($_POST['step1']['admin_username']); } ?>" class="formfield" /></td>
</tr>
<tr>
- <td class="row1"><div class="required" title="Required Field">*</div><b><label for="password">Administrator Password:</label></b></td>
+ <td class="row1"><span class="required" title="Required Field">*</span><b><label for="password">Administrator Password:</label></b></td>
<td class="row1"><input type="text" name="admin_password" id="password" maxlength="15" size="15" value="<?php if (!empty($_POST['admin_password'])) { echo $stripslashes(htmlspecialchars($_POST['admin_password'])); } else { echo urldecode($_POST['step1']['admin_password']); } ?>" class="formfield" /></td>
</tr>
<tr>
- <td class="row1"><div class="required" title="Required Field">*</div><b><label for="email">Administrator Email:</label></b></td>
+ <td class="row1"><span class="required" title="Required Field">*</span><b><label for="email">Administrator Email:</label></b></td>
<td class="row1"><input type="text" name="admin_email" id="email" size="30" value="<?php if (!empty($_POST['admin_email'])) { echo $stripslashes(htmlspecialchars($_POST['admin_email'])); } else { echo urldecode($_POST['step1']['admin_email']); } ?>" class="formfield" /></td>
</tr>
</table>
<th colspan="2">System Preferences</th>
</tr>
<tr>
- <td class="row1"><div class="required" title="Required Field">*</div><b><label for="cemail">Contact Email:</label></b><br />
+ <td class="row1"><span class="required" title="Required Field">*</span><b><label for="cemail">Contact Email:</label></b><br />
The email that will be used as the return email when needed and when instructor account requests are made.</td>
<td class="row1"><input type="text" name="email" id="cemail" size="30" value="<?php if (!empty($_POST['email'])) { echo $stripslashes(htmlspecialchars($_POST['admin_email'])); } else { echo urldecode($_POST['step1']['admin_email']); } ?>" class="formfield" /></td>
</tr>
padding: 3px;
}
-div.required {
+.required {
font-weight: bold;
color: red;
- font-size: x-large;
- float: left;
- position: relative;
- margin-top: -3px;
- height: 15px;
padding-right: 0px;
}
div.optional {
</div>\r
<?php else: ?>\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="courses"><?php echo _AT('course'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="courses"><?php echo _AT('course'); ?></label><br />\r
<select name="course" id="courses"><?php\r
foreach ($system_courses as $id => $course) {\r
echo '<option value="'.$id.'">'.$course['title'].'</option>';\r
<p><?php echo _AT('restore_backup_about'); ?></p>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><?php echo _AT('material'); ?><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><?php echo _AT('material'); ?><br />
<input type="checkbox" value="1" name="all" id="all" onclick="javascript:selectAll();" /><label for="all"><?php echo _AT('material_select_all'); ?></label><br /><br />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="course"><?php echo _AT('course'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="course"><?php echo _AT('course'); ?></label><br />
<select name="in_course" id="course"><?php
foreach ($system_courses as $id => $course) {
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('restore'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><?php echo _AT('material'); ?><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><?php echo _AT('material'); ?><br />
<input type="checkbox" value="1" name="all" id="all" onclick="javascript:selectAll();" /><label for="all"><?php echo _AT('material_select_all'); ?></label><br /><br />
</div>
<div class="row">
- <label for="file"><div class="required" title="<?php echo _AT('required_field'); ?>">*</div><?php echo _AT('file'); ?></label><br />
+ <label for="file"><span class="required" title="<?php echo _AT('required_field'); ?>">*</span><?php echo _AT('file'); ?></label><br />
<input type="file" name="file" id="file" />
</div>
\r
<div class="input-form">\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="category_name"><?php echo _AT('title'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="category_name"><?php echo _AT('title'); ?></label><br />\r
<input type="text" id="category_name" name="cat_name" size="30" value="<?php echo htmlspecialchars($categories[$cat_id]['cat_name']); ?>" />\r
</div>\r
\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="category_parent"><?php echo _AT('cats_parent_category'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="category_parent"><?php echo _AT('cats_parent_category'); ?></label><br />\r
<select name="cat_parent_id" id="category_parent"><?php\r
\r
if ($pcat_id) {\r
\r
<div class="input-form">\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="category_name"><?php echo _AT('title'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="category_name"><?php echo _AT('title'); ?></label><br />\r
<input type="text" id="category_name" name="cat_name" size="30" value="<?php echo htmlspecialchars($categories[$cat_id]['cat_name']); ?>" />\r
</div>\r
\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="category_parent"><?php echo _AT('cats_parent_category'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="category_parent"><?php echo _AT('cats_parent_category'); ?></label><br />\r
<select name="cat_parent_id" id="category_parent"><?php\r
\r
$current_cat_id = $cat_id;\r
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('properties'); ?></legend>
<?php if ($isadmin): ?>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="inst"><?php echo _AT('instructor'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="inst"><?php echo _AT('instructor'); ?></label><br />
<?php
$sql = "SELECT member_id, login FROM ".TABLE_PREFIX."members WHERE status=".AT_STATUS_INSTRUCTOR;
$result = mysql_query($sql, $db);
<?php endif; ?>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br />
<input type="text" id="title" name="title" size="40" value="<?php echo htmlspecialchars($row['title']); ?>" />
</div>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="desc"><?php echo _AT('give_description'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="desc"><?php echo _AT('give_description'); ?></label><br />
<textarea cols="40" rows="2" id="desc" name="description"></textarea>
</div>
-.required {
- color: red;
- font-size: large;
- font-weight: bold;
-}
-
-.bordered {
- border:solid 1px black;
- padding: 0.3em;
-}
-
-.hidden {
- display: none;
-}
-
+/*
.bottom-margin {
margin-bottom: 1em;
}
-.nowrap {
- white-space: nowrap;
-}
-img {
- border: none;
-}
-.clickable {
- cursor: pointer;
-}
+*/
\ No newline at end of file
$_custom_head = '
<link rel="stylesheet" type="text/css" href="'.AT_BASE_HREF.'jscripts/infusion/framework/fss/css/fss-layout.css" />
<link rel="stylesheet" type="text/css" href="'.AT_BASE_HREF.'jscripts/infusion/framework/fss/css/fss-text.css" />
- <link rel="stylesheet" type="text/css" href="'.AT_BASE_HREF.'mods/_core/editor/css/editor.css" />
<script type="text/javascript" src="'.$_base_path.'mods/_core/editor/js/edit.js"></script>
';
}
</span>\r
<span class="nowrap">\r
<label for="formatting_radios"><span class="required" title="<?php echo _AT('required_field'); ?>">*</span><strong><?php echo _AT('formatting'); ?></strong></label>\r
- <span class="bordered" id="formatting_radios">\r
+ <span id="formatting_radios">\r
<input type="radio" name="formatting" value="0" id="text" <?php if ($_POST['formatting'] == 0) { echo 'checked="checked"'; } ?> />\r
<label for="text"><?php echo _AT('plain_text'); ?></label>\r
\r
//-->\r
</script>\r
\r
- <div class="row fl-container fl-fix">\r
- <img id="previewtool" class="fl-col clickable" src="<?php echo AT_BASE_HREF.'images/preview.png'?>" title="<?php echo _AT('preview').' - '._AT('new_window'); ?>" alt="<?php echo _AT('preview').' - '._AT('new_window'); ?>" height="30" width="30" />\r
- <img id="accessibilitytool" class="fl-col" src="" title="" alt="" height="30" width="30" />\r
- <img id="headtool" class="fl-col" src="" title="" alt="" height="30" width="30" />\r
- <img id="pastetool" class="fl-col" title="" src="" alt="" height="30" width="30"/> \r
- <img id="filemantool" class="fl-col" title="" src="" alt="" height="30" width="30" />\r
+ <div class="fl-container fl-fix">\r
+ <ul id="content-tool-links">\r
+ <li><img id="previewtool" class="fl-col clickable" src="<?php echo AT_BASE_HREF.'images/preview.png'?>" title="<?php echo _AT('preview').' - '._AT('new_window'); ?>" alt="<?php echo _AT('preview').' - '._AT('new_window'); ?>" height="30" width="30" /><?php echo _AT('preview'); ?></li>\r
+ <li><img id="accessibilitytool" class="fl-col" src="" title="" alt="" height="30" width="30" /><?php echo _AT('accessibility'); ?></li>\r
+ <li><img id="headtool" class="fl-col" src="" title="" alt="" height="30" width="30" /><?php echo _AT('customized_head'); ?></li>\r
+ <li><img id="pastetool" class="fl-col" title="" src="" alt="" height="30" width="30"/><?php echo _AT('paste'); ?></li> \r
+ <li><img id="filemantool" class="fl-col" title="" src="" alt="" height="30" width="30" /><?php echo _AT('files'); ?></li>\r
\r
<!-- ******** Tool Manager ******* -->\r
<?php\r
ATutor.mods.editor.tool_file = "<?php if(isset($tool['tool_file'])) echo $tool['tool_file'] ?>";\r
//-->\r
</script>\r
- <img class="fl-col clickable tool" src="<?php echo $tool['img']; ?>" alt="<?php echo $tool['alt']; ?>" title="<?php echo $tool['title']; ?>" height="30" width="30" />\r
+ <li><img class="fl-col clickable tool" src="<?php echo $tool['img']; ?>" alt="<?php echo $tool['alt']; ?>" title="<?php echo $tool['title']; ?>" height="30" width="30" /><?php echo $tool['title']?></li>\r
<?php \r
}\r
}\r
?>\r
+ </ul>\r
+\r
<!-- ****** end Tool Manager ***** -->\r
</div> <!-- end toolbar -->\r
\r
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="course_list"><?php echo _AT('list_import_course_list'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="course_list"><?php echo _AT('list_import_course_list'); ?></label><br />
<input type="file" name="file" id="course_list" />
</div>
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('create_new_file'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="ctitle"><?php echo _AT('file_name'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="ctitle"><?php echo _AT('file_name'); ?></label><br />
<input type="text" name="filename" id="ctitle" size="40" <?php if (isset($_POST['filename'])) echo 'value="'.$_POST['filename'].'"'?> />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><?php echo _AT('type'); ?><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><?php echo _AT('type'); ?><br />
<input type="radio" name="extension" value="txt" id="text" <?php if ($_POST['formatting'] == 0) { echo 'checked="checked"'; } ?> onclick="javascript: document.form.setvisualbutton.disabled=true;" <?php if ($_POST['setvisual'] && !$_POST['settext']) { echo 'disabled="disabled"'; } ?> />
<label for="text"><?php echo _AT('plain_text'); ?></label>
<div class="input-form">
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
<label for="new"><?php echo _AT('new_name'); ?></label><br />
<?php echo $_GET['pathext']; ?><input type="text" name="new_name" id="new" value="<?php echo $_REQUEST['oldname']; ?>" size="30" />
</div>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><?php echo _AT('directory_name'); ?><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><?php echo _AT('directory_name'); ?><br />
<input type="text" name="custom_path" value="<?php echo $temp_name; ?>" />
</div>
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('add_glossary'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title<?php echo $i; ?>"><?php echo _AT('glossary_term'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title<?php echo $i; ?>"><?php echo _AT('glossary_term'); ?></label><br />
<input type="text" name="word[<?php echo $i; ?>]" size="30" value="<?php echo trim($word[$i]); ?>" id="title<?php echo $i; ?>" /><?php
if ($_GET['pcid'] != '') {
echo '<input type="checkbox" name="ignore['.$i.']" value="1" id="ig'.$i.'" /><label for="ig'.$i.'">Ignore this term</label>.';
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="body<?php echo $i; ?>"><?php echo _AT('glossary_definition'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="body<?php echo $i; ?>"><?php echo _AT('glossary_definition'); ?></label><br />
<textarea name="definition[<?php echo $i; ?>]" class="formfield" cols="55" rows="7" id="body<?php echo $i; ?>" style="width:90%;"><?php echo ContentManager::cleanOutput($_POST['definition'][$i]); ?></textarea>
</div>
<div class="input-form">\r
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('edit_glossary'); ?></legend>\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('glossary_term'); ?></label><br/ >\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('glossary_term'); ?></label><br/ >\r
<input type="text" name="word" size="40" id="title" value="<?php echo htmlentities_utf8($stripslashes($row['word'])); ?>" />\r
</div>\r
\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="body"><?php echo _AT('glossary_definition'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="body"><?php echo _AT('glossary_definition'); ?></label><br />\r
<textarea name="definition" cols="55" rows="7" id="body"><?php echo htmlentities_utf8($row['definition']); ?></textarea>\r
</div>\r
\r
<div class="input-form">\r
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('groups_create_automatic'); ?></legend>\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="type"><?php echo _AT('groups_type'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="type"><?php echo _AT('groups_type'); ?></label><br />\r
<input type="text" name="type_title" id="type" value="<?php echo htmlentities_utf8($_POST['type_title']); ?>" size="30" maxlength="60" />\r
</div>\r
\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="prefix"><?php echo _AT('group_prefix'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="prefix"><?php echo _AT('group_prefix'); ?></label><br />\r
<input type="text" name="prefix" id="prefix" value="<?php echo htmlentities_utf8($_POST['prefix']); ?>" size="20" maxlength="40" />\r
</div>\r
\r
</div>\r
\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><?php echo _AT('number_of_groups'); ?><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><?php echo _AT('number_of_groups'); ?><br />\r
<?php\r
$sql = "SELECT COUNT(*) AS cnt FROM ".TABLE_PREFIX."course_enrollment WHERE course_id=$_SESSION[course_id] AND approved='y' AND `privileges`&".AT_PRIV_GROUPS."=0";\r
$result = mysql_query($sql, $db);\r
<div class="input-form">\r
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('groups_create_manual'); ?></legend>\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="type"><?php echo _AT('groups_type'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="type"><?php echo _AT('groups_type'); ?></label><br />\r
<?php if ($types): ?>\r
<?php echo _AT('existing_type'); ?>\r
<select name="type" id="type">\r
</div>\r
\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="prefix"><?php echo _AT('title'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="prefix"><?php echo _AT('title'); ?></label><br />\r
<input type="text" name="prefix" id="prefix" value="<?php echo htmlentities_utf8($_POST['prefix']); ?>" size="20" maxlength="40" />\r
</div>\r
\r
</div>\r
\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br />\r
<input type="text" name="title" id="title" value="<?php echo htmlspecialchars($row['title']); ?>" size="20" maxlength="40" />\r
</div>\r
\r
<div class="input-form">\r
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('edit'); ?></legend>\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br />\r
<input type="text" name="title" id="title" value="<?php echo $row['title']; ?>" size="30" maxlength="40" />\r
</div>\r
\r
<input type="hidden" name="import" value="1" />
<div class="input-form" style="width:95%">
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="code"><?php echo _AT('lang_code'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="code"><?php echo _AT('lang_code'); ?></label><br />
<input id="code" name="code" type="text" size="2" maxlength="2" class="formfield" value="<?php echo $_POST['code']; ?>" />
</div>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="charset"><?php echo _AT('charset'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="charset"><?php echo _AT('charset'); ?></label><br />
<input id="charset" name="charset" type="text" size="31" maxlength="20" class="formfield" value="<?php echo $_POST['charset']; ?>" />
</div>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="reg_exp"><?php echo _AT('reg_exp'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="reg_exp"><?php echo _AT('reg_exp'); ?></label><br />
<input id="reg_exp" name="reg_exp" type="text" size="31" class="formfield" value="<?php echo $_POST['reg_exp']; ?>" />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="nname"><?php echo _AT('name_in_language'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="nname"><?php echo _AT('name_in_language'); ?></label><br />
<input id="nname" name="native_name" type="text" size="31" maxlength="20" class="formfield" value="<?php echo $_POST['native_name']; ?>" />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="ename"><?php echo _AT('name_in_english'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="ename"><?php echo _AT('name_in_english'); ?></label><br />
<input id="ename" name="english_name" type="text" size="31" maxlength="20" class="formfield" value="<?php echo $_POST['english_name'];?>" />
</div>
<div class="input-form" style="width:95%">
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="code"><?php echo _AT('lang_code'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="code"><?php echo _AT('lang_code'); ?></label><br />
<input id="code" name="code" type="text" size="2" maxlength="2" class="formfield" value="<?php echo $_POST['code']; ?>" />
</div>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="charset"><?php echo _AT('charset'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="charset"><?php echo _AT('charset'); ?></label><br />
<input id="charset" name="charset" type="text" size="31" maxlength="20" class="formfield" value="<?php echo $_POST['charset']; ?>" />
</div>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="reg_exp"><?php echo _AT('reg_exp'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="reg_exp"><?php echo _AT('reg_exp'); ?></label><br />
<input id="reg_exp" name="reg_exp" type="text" size="31" class="formfield" value="<?php echo $_POST['reg_exp']; ?>" />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="nname"><?php echo _AT('name_in_language'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="nname"><?php echo _AT('name_in_language'); ?></label><br />
<input id="nname" name="native_name" type="text" size="31" maxlength="20" class="formfield" value="<?php echo $_POST['native_name']; ?>" />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="ename"><?php echo _AT('name_in_english'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="ename"><?php echo _AT('name_in_english'); ?></label><br />
<input id="ename" name="english_name" type="text" size="31" maxlength="20" class="formfield" value="<?php echo $_POST['english_name'];?>" />
</div>
<h3><?php echo _AT('module_details'); ?></h3>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="name"><?php echo _AT('module_name'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="name"><?php echo _AT('module_name'); ?></label><br />
<input type="text" name="name" id="name" size="40" value="" />
</div>
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('properties'); ?></legend>
<?php if ($isadmin): ?>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="inst"><?php echo _AT('instructor'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="inst"><?php echo _AT('instructor'); ?></label><br />
<?php
$sql = "SELECT member_id, login FROM ".TABLE_PREFIX."members WHERE status=".AT_STATUS_INSTRUCTOR;
$result = mysql_query($sql, $db);
<?php endif; ?>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br />
<input type="text" id="title" name="title" size="40" value="<?php echo htmlspecialchars($row['title']); ?>" />
</div>
<div class="input-form">
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><?php echo _AT('to'); ?><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><?php echo _AT('to'); ?><br />
<input type="radio" name="to" value="3" checked="checked" id="all" /><label for="all"><?php echo _AT('all_users'); ?></label>
<input type="radio" name="to" value="1" id="inst" <?php if ($_POST['to'] == AT_STATUS_INSTRUCTOR) { echo 'checked="checked"'; } ?> /><label for="inst"><?php echo _AT('instructors'); ?></label>
<input type="radio" name="to" value="2" id="stud" <?php if ($_POST['to'] == AT_STATUS_STUDENT) { echo 'checked="checked"'; } ?> /><label for="stud"><?php echo _AT('students'); ?></label>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="subject"><?php echo _AT('subject'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="subject"><?php echo _AT('subject'); ?></label><br />
<input type="text" name="subject" size="40" id="subject" value="<?php echo $_POST['subject']; ?>" />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="body"><?php echo _AT('body'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="body"><?php echo _AT('body'); ?></label><br />
<textarea cols="55" rows="18" name="body" id="body"><?php echo $_POST['body']; ?></textarea>
</div>
\r
<div class="input-form">\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="login"><?php echo _AT('login_name'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="login"><?php echo _AT('login_name'); ?></label><br />\r
<input type="text" name="login" id="login" size="25" value="<?php echo htmlspecialchars($_POST['login']); ?>" />\r
</div>\r
\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="password"><?php echo _AT('password'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="password"><?php echo _AT('password'); ?></label><br />\r
<input type="password" name="password" id="password" size="25" />\r
</div>\r
\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="password2"><?php echo _AT('confirm_password'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="password2"><?php echo _AT('confirm_password'); ?></label><br />\r
<input type="password" name="confirm_password" id="password2" size="25" />\r
</div>\r
\r
</div>\r
\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="email"><?php echo _AT('email'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="email"><?php echo _AT('email'); ?></label><br />\r
<input type="text" name="email" id="email" size="30" value="<?php echo htmlspecialchars($_POST['email']); ?>" />\r
</div>\r
\r
</div>\r
\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="email"><?php echo _AT('email'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="email"><?php echo _AT('email'); ?></label><br />\r
<input type="text" name="email" id="email" size="30" value="<?php echo htmlspecialchars($_POST['email']); ?>" />\r
</div>\r
\r
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="email"><?php echo _AT('email'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="email"><?php echo _AT('email'); ?></label><br />
<input type="text" name="email" id="email" size="30" value="<?php echo htmlspecialchars($_POST['email']); ?>" />
</div>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="form_password1"><?php echo _AT('password'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="form_password1"><?php echo _AT('password'); ?></label><br />
<input type="password" name="password1" id="password1" size="15" />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="form_password2"><?php echo _AT('confirm_password'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="form_password2"><?php echo _AT('confirm_password'); ?></label><br />
<input type="password" name="confirm_password" id="confirm_password" size="15" />
</div>
<input type="hidden" name="id" value="<?php echo $_REQUEST['id']; ?>" />\r
<div class="input-form">\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="student_id"><?php echo _AT('student_id'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="student_id"><?php echo _AT('student_id'); ?></label><br />\r
<input type="text" name="public_field" id="student_id" size="25" value="<?php echo $_POST['public_field']; ?>" />\r
</div>\r
\r
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="password"><?php echo _AT('password'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="password"><?php echo _AT('password'); ?></label><br />
<input type="password" name="password" id="password" value="" size="30" />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="password2"><?php echo _AT('confirm_password'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="password2"><?php echo _AT('confirm_password'); ?></label><br />
<input type="password" name="password2" id="password2" value="" size="30" />
</div>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="body_text"><?php echo _AT('body'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="body_text"><?php echo _AT('body'); ?></label><br />
<textarea name="body_text" cols="55" rows="15" id="body_text"><?php echo $_POST['body_text']; ?></textarea>
</div>
<input type="submit" name="submit" style="display:none;"/>
<div class="input-form">
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br />
<input type="text" name="title" id="title" value="<?php echo htmlentities_utf8(stripslashes($row['title'])); ?>" size="40">
</div>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="body_text"><?php echo _AT('body'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="body_text"><?php echo _AT('body'); ?></label><br />
<textarea name="body_text" cols="55" rows="15" id="body_text" wrap="wrap"><?php echo htmlentities_utf8($row['body']); ?></textarea>
</div>
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('add_assignment'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br/>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br/>
<input type="text" name="title" size="50" id="title" value="<?php echo htmlentities_utf8($title); ?>" />
</div>
<input type="text" name="title" id="title" value="<?php echo htmlspecialchars(stripslashes($_POST['title'])); ?>" size="50" />\r
</div>\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="body"><?php echo _AT('body'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="body"><?php echo _AT('body'); ?></label><br />\r
<textarea name="body" id="body" cols="40" rows="10"></textarea>\r
</div>\r
\r
<input type="text" name="title" id="title" value="<?php echo $post_row['title']; ?>" size="50" />\r
</div>\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="body"><?php echo _AT('body'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="body"><?php echo _AT('body'); ?></label><br />\r
<textarea name="body" id="body" cols="40" rows="10"><?php echo $post_row['body']; ?></textarea>\r
</div>\r
\r
<input type="hidden" name="id" value="<?php echo $id; ?>" />\r
<div class="input-form">\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="commentsarea"><?php echo _AT('comments'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="commentsarea"><?php echo _AT('comments'); ?></label><br />\r
<textarea name="body" id="commentsarea" cols="40" rows="3"></textarea>\r
</div>\r
\r
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('course_email'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
<?php echo _AT('to'); ?><br />
<input type="checkbox" name="to_assistants" value="1" id="assistants" <?php if ($_POST['to_assistants']=='1') { echo 'checked="checked"'; } ?> /><label for="assistants"><?php echo _AT('assistants'); ?></label>
<input type="checkbox" name="to_enrolled" value="1" id="enrolled" <?php if ($_POST['to_enrolled']=='1') { echo 'checked="checked"'; } else { echo 'checked="checked"'; } ?> /><label for="enrolled"><?php echo _AT('enrolled'); ?></label>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="subject"><?php echo _AT('subject'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="subject"><?php echo _AT('subject'); ?></label><br />
<input type="text" name="subject" size="60" id="subject" value="<?php echo $_POST['subject']; ?>" />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="body"><?php echo _AT('body'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="body"><?php echo _AT('body'); ?></label><br />
<textarea cols="55" rows="18" name="body" id="body"><?php echo $_POST['body']; ?></textarea>
</div>
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('add_question'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="topic"><?php echo _AT('topic'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="topic"><?php echo _AT('topic'); ?></label><br />
<select name="topic_id" id="topic">
<?php while ($row = mysql_fetch_assoc($result)): ?>
<option value="<?php echo $row['topic_id']; ?>"<?php if (isset($_POST['topic_id']) && ($row['topic_id'] == $_POST['topic_id'])) { echo ' selected="selected"'; } ?>><?php echo htmlspecialchars($row['name']); ?></option>
</select>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="question"><?php echo _AT('question'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="question"><?php echo _AT('question'); ?></label><br />
<input type="text" name="question" size="50" id="question" value="<?php if (isset($_POST['question'])) echo htmlentities_utf8($stripslashes($_POST['question'])); ?>" />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="answer"><?php echo _AT('answer'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="answer"><?php echo _AT('answer'); ?></label><br />
<textarea name="answer" cols="45" rows="3" id="answer" style="width:90%;"><?php if (isset ($_POST['answer'])) echo htmlentities_utf8($stripslashes($_POST['answer'])); ?></textarea>
</div>
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('add_topic'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="name"><?php echo _AT('name'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="name"><?php echo _AT('name'); ?></label><br />
<input type="text" name="name" size="50" id="name" value="<?php if (isset($_POST['name'])) echo $stripslashes($_POST['name']); ?>" />
</div>
$result = mysql_query($sql, $db);
?>
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="topic"><?php echo _AT('topic'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="topic"><?php echo _AT('topic'); ?></label><br />
<select name="topic_id" id="topic">
<?php while ($topic_row = mysql_fetch_assoc($result)): ?>
<option value="<?php echo $topic_row['topic_id']; ?>"<?php if ($topic_row['topic_id'] == $row['topic_id']) { echo ' selected="selected"'; } ?>><?php echo htmlspecialchars($topic_row['name']); ?></option>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="question"><?php echo _AT('question'); ?>:</label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="question"><?php echo _AT('question'); ?>:</label><br />
<input type="text" name="question" size="50" id="question" value="<?php if (isset ($_POST['question'])) { echo htmlentities_utf8($stripslashes($_POST['question'])); } else { echo htmlentities_utf8($row['question']); } ?>" />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="answer"><?php echo _AT('answer'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="answer"><?php echo _AT('answer'); ?></label><br />
<textarea name="answer" cols="45" rows="3" id="answer" style="width:90%;"><?php if (isset ($_POST['answer'])) { echo htmlentities_utf8($stripslashes($_POST['answer'])); } else { echo htmlentities_utf8($row['answer']); } ?></textarea>
</div>
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('edit'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="name"><?php echo _AT('name'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="name"><?php echo _AT('name'); ?></label><br />
<input type="text" name="name" size="50" id="name" value="<?php if (isset($_POST['name'])) echo htmlentities_utf8($stripslashes($_POST['name'])); ?>" />
</div>
<div class="input-form">\r
\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="name"><?php echo _AT('assignment'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="name"><?php echo _AT('assignment'); ?></label><br />\r
<select name="assignment" size="<?php echo min(5, count($assignments)); ?>">\r
<?php foreach ($assignments as $assignment): ?>\r
<?php if ($assignment['date_due'] != '0000-00-00 00:00:00'): ?>\r
<input type="hidden" name="folder" value="<?php echo $current_file['folder_id']; ?>" />\r
<div class="input-form">\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="comment"><?php echo _AT('comment'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="comment"><?php echo _AT('comment'); ?></label><br />\r
<textarea cols="40" rows="4" id="comment" name="comment"></textarea>\r
</div>\r
\r
<input type="submit" name="submit" style="display:none;"/>\r
<div class="input-form">\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="name"><?php echo _AT('file_name'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="name"><?php echo _AT('file_name'); ?></label><br />\r
<input type="text" name="name" id="name" value="<?php echo htmlspecialchars($row['file_name']); ?>" size="40" maxlength="70" />\r
</div>\r
\r
<input type="hidden" name="parent_folder" value="<?php echo $row['parent_folder_id']; ?>" />\r
<div class="input-form">\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="name"><?php echo _AT('name'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="name"><?php echo _AT('name'); ?></label><br />\r
<input type="text" name="name" id="name" value="<?php echo htmlspecialchars($row['title']); ?>" size="40" maxlength="70" />\r
</div>\r
\r
</div>
<div id="c_folder">
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="fname"><?php echo _AT('name'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="fname"><?php echo _AT('name'); ?></label><br />
<input type="text" id="fname" name="new_folder_name" size="20" />
</div>
<div class="row buttons">
</div>
<div id="upload">
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="file"><?php echo _AT('upload_file'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="file"><?php echo _AT('upload_file'); ?></label><br />
<input type="file" name="file" id="file" />
<br /><?php echo _AT('or'); ?> <a href="mods/_standard/file_storage/new.php<?php echo $owner_arg_prefix; ?>folder=<?php echo $folder_id; ?>"><?php echo _AT('file_manager_new'); ?></a>
</div>
<input type="submit" name="submit" style="display:none;"/>
<div class="input-form">
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="name"><?php echo _AT('file_name'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="name"><?php echo _AT('file_name'); ?></label><br />
<input type="text" name="name" id="name" value="<?php echo htmlspecialchars($_POST['name']); ?>" size="40" maxlength="70" />
</div>
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('create_forum'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br />
<input type="text" name="title" size="40" id="title" />
</div>
<div class="row">
<div class="input-form">
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br />
<input type="text" name="title" size="40" id="title" value="<?php echo $_POST['title']; ?>" />
</div>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="courses"><?php echo _AT('courses'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="courses"><?php echo _AT('courses'); ?></label><br />
<?php if ($system_courses): ?>
<select name="courses[]" id="courses" multiple="multiple" size="5"><?php
<div class="input-form">
<div class="row">
- <label for="title"><div class="required" title="<?php echo _AT('required_field'); ?>">*</div><?php echo _AT('title'); ?></label><br />
+ <label for="title"><span class="required" title="<?php echo _AT('required_field'); ?>">*</span><?php echo _AT('title'); ?></label><br />
<input type="text" name="title" size="40" id="title" value="<?php echo htmlentities_utf8($forum['title']); ?>" />
</div>
</div>
<div class="row">
- <label for="courses"><div class="required" title="<?php echo _AT('required_field'); ?>">*</div><?php echo _AT('courses'); ?></label><br />
+ <label for="courses"><span class="required" title="<?php echo _AT('required_field'); ?>">*</span><?php echo _AT('courses'); ?></label><br />
<select name="courses[]" id="courses" multiple="multiple" size="5"><?php
/*
echo '<option value="0"';
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('edit_forum'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br />
<input type="text" name="title" size="50" id="title" value="<?php echo htmlspecialchars(stripslashes($row['title'])); ?>" />
</div>
<div class="input-form">
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="subject"><?php echo _AT('subject'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="subject"><?php echo _AT('subject'); ?></label><br />
<input type="text" maxlength="80" name="subject" size="36" value="<?php echo stripslashes(htmlspecialchars($post_row['subject'])); ?>" id="subject" />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="body"><?php echo _AT('body'); ?></label>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="body"><?php echo _AT('body'); ?></label>
<textarea cols="65" name="body" rows="10" id="body"><?php echo htmlentities_utf8($post_row['body']); ?></textarea>
</div>
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('post_message'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="subject"><?php echo _AT('subject'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="subject"><?php echo _AT('subject'); ?></label><br />
<input type="text" maxlength="80" name="subject" size="36" value="<?php echo stripslashes(htmlspecialchars($subject)); ?>" id="subject" />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="body"><?php echo _AT('body'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="body"><?php echo _AT('body'); ?></label><br />
<textarea cols="45" name="body" rows="10" id="body"><?php echo $body; ?></textarea>
<small class="spacer"><br />· <?php echo _AT('forum_links'); ?><br />
</div>\r
\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="keywords"><?php echo _AT('search_words'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="keywords"><?php echo _AT('search_words'); ?></label><br />\r
<input type="text" name="q" size="30" id="keywords" value="<?php echo htmlspecialchars($stripslashes($_GET['q'])); ?>" />\r
</div>\r
\r
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('add_external_test'); ?></legend>\r
\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br />\r
<input type="text" name="title" id="title" size="30" value="<?php echo $_POST['title']; ?>" />\r
</div>\r
\r
{\r
?>\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br />\r
<input type="text" id="title" size="40" name="title" value="<?php echo $row_this["title"]; ?>" />\r
</div>\r
\r
</td>\r
<td>\r
<?php if ($i==0) { ?>\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div>\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>\r
<?php } ?>\r
<?php echo _AT('scale_value'); ?>\r
</td>\r
\r
<td>\r
<?php if ($i==0) { ?>\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div>\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>\r
<?php } ?>\r
<?php echo _AT('percentage_from'); ?>\r
</td>\r
\r
<td>\r
<?php if ($i==0) { ?>\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div>\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>\r
<?php } ?>\r
<?php echo _AT('percentage_to'); ?>\r
</td>\r
\r
<div class="input-form">\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br />\r
<input type="text" name="title" size="40" id="title" value="<?php echo htmlentities_utf8($_POST['title']); ?>"/>\r
</div>\r
\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="cat"><?php echo _AT('category'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="cat"><?php echo _AT('category'); ?></label><br />\r
<select name="cat" id="cat"><?php\r
if ($pcat_id) {\r
$current_cat_id = $pcat_id;\r
</div>\r
\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="url"><?php echo _AT('url'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="url"><?php echo _AT('url'); ?></label><br />\r
<input type="text" name="url" size="40" id="url" value="<?php echo htmlentities_utf8($_POST['url']); ?>" />\r
</div>\r
\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="description"><?php echo _AT('description'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="description"><?php echo _AT('description'); ?></label><br />\r
<textarea name="description" cols="55" rows="2" id="description" ><?php echo htmlentities_utf8($_POST['description']); ?></textarea>\r
</div>\r
\r
<div class="input-form">
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br />
<input type="text" name="title" size="40" id="title" value="<?php echo $_POST['title']; ?>"/>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="cat"><?php echo _AT('category'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="cat"><?php echo _AT('category'); ?></label><br />
<select name="cat" id="cat"><?php
if ($pcat_id) {
$current_cat_id = $pcat_id;
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="url"><?php echo _AT('url'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="url"><?php echo _AT('url'); ?></label><br />
<input type="text" name="url" size="40" id="url" value="<?php echo htmlentities_utf8($_POST['url']); ?>" />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="description"><?php echo _AT('description'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="description"><?php echo _AT('description'); ?></label><br />
<textarea name="description" cols="55" rows="5" id="description" style="width:90%;"><?php echo htmlentities_utf8($_POST['description']); ?></textarea>
</div>
\r
<div class="input-form">\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="category_name"><?php echo _AT('title'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="category_name"><?php echo _AT('title'); ?></label><br />\r
<input type="text" id="category_name" name="cat_name" value="<?php echo stripslashes(htmlspecialchars($categories[$cat_id]['cat_name'])); ?>" />\r
</div>\r
\r
\r
<div class="input-form">\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="category_name"><?php echo _AT('title'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="category_name"><?php echo _AT('title'); ?></label><br />\r
<input type="text" id="category_name" name="cat_name" value="<?php echo stripslashes(htmlspecialchars($categories[$cat_id]['cat_name'])); ?>" />\r
</div>\r
\r
\r
<div class="input-form">\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br />\r
<input type="text" name="title" size="40" id="title" value="<?php echo $_POST['title']; ?>"/>\r
</div>\r
\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="cat"><?php echo _AT('category'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="cat"><?php echo _AT('category'); ?></label><br />\r
<select name="cat" id="cat">\r
<?php select_link_categories($categories, 0, $_POST['cat'], FALSE); ?>\r
</select>\r
</div>\r
\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="url"><?php echo _AT('url'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="url"><?php echo _AT('url'); ?></label><br />\r
<input type="text" name="url" size="40" id="url" value="<?php echo $_POST['url']; ?>" />\r
</div>\r
\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="description"><?php echo _AT('description'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="description"><?php echo _AT('description'); ?></label><br />\r
<textarea name="description" cols="55" rows="5" id="description" ><?php echo $_POST['description']; ?></textarea>\r
</div>\r
\r
<div id="messageDIV"></div>\r
\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="atutor_patch_id"><?php echo _AT('atutor_patch_id'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="atutor_patch_id"><?php echo _AT('atutor_patch_id'); ?></label><br />\r
<small>· <?php echo _AT('contain_only'); ?></small><br />\r
<input id="atutor_patch_id" name="atutor_patch_id" type="text" maxlength="100" size="30" value="<?php echo $row_patches['atutor_patch_id']; ?>" /><br />\r
</div>\r
\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="atutor_version_to_apply"><?php echo _AT('atutor_version_to_apply'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="atutor_version_to_apply"><?php echo _AT('atutor_version_to_apply'); ?></label><br />\r
<input id="atutor_version_to_apply" name="atutor_version_to_apply" type="text" maxlength="100" size="30" value="<?php echo $row_patches['applied_version']; ?>" /><br />\r
</div>\r
\r
<div class="input-form">
<form action="<?php echo $_SERVER['PHP_SELF'];?>" name="create_album" method="post">
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><div class="left_row"><label for="album_name"><?php echo _AT('pa_album_name'); ?></label></div>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><div class="left_row"><label for="album_name"><?php echo _AT('pa_album_name'); ?></label></div>
<input id="album_name" name="album_name" type="text" />
</div>
<?php
<div class="input-form">
<form action="" name="create_album" method="post">
<div class="row">
- <div class="left_row"><div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="album_name"><?php echo _AT('pa_album_name'); ?></label></div>
+ <div class="left_row"><span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="album_name"><?php echo _AT('pa_album_name'); ?></label></div>
<input id="album_name" name="album_name" type="text" value="<?php echo htmlentities($this->album_info['name']);?>" />
</div>
<?php
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('add_poll'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="question"><?php echo _AT('question'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="question"><?php echo _AT('question'); ?></label><br />
<textarea name="question" cols="45" rows="3" id="question" style="width:90%;"><?php if (isset ($_POST['question'])) echo htmlspecialchars($_POST['question']); ?></textarea>
</div>
<?php for ($i=1; $i<= AT_NUM_POLL_CHOICES; $i++): ?>
<div class="row">
<?php if (($i==1) || ($i==2)) { ?>
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
<?php } ?>
<label for="c<?php echo $i; ?>"><?php echo _AT('choice'); ?> <?php echo $i; ?></label><br />
<input type="text" name="c<?php echo $i; ?>" value="<?php if (isset($_POST['c' . $i])) echo htmlspecialchars($_POST['c' . $i]); ?>" size="50" id="c<?php echo $i; ?>" />
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('edit_poll'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="question"><?php echo _AT('question'); ?>:</label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="question"><?php echo _AT('question'); ?>:</label><br />
<textarea name="question" cols="55" rows="3" id="question"><?php if (isset ($_POST['question'])) { echo htmlentities_utf8($_POST['question']); } else { echo htmlentities_utf8($row['question']); } ?></textarea>
</div>
for ($i=1; $i<= AT_NUM_POLL_CHOICES; $i++): ?>
<div class="row">
<?php if (($i==1) || ($i==2)) { ?>
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
<?php } ?>
<label for="c<?php echo $i; ?>"><?php echo _AT('choice'); ?> <?php echo $i; ?>:</label><br />
<input type="text" name="c<?php echo $i; ?>" id="c<?php echo $i; ?>" value="<?php if (isset ($_POST['c' . $i])) { echo htmlentities_utf8($_POST['c' . $i]); } else { echo htmlentities_utf8($row['choice' . $i]); }?>" size="40" />
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('rl_add_resource_av'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br />
<input type="text" name="title" size="35" id="title" value="<?php echo $title; ?>" />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="author"><?php echo _AT('author'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="author"><?php echo _AT('author'); ?></label><br />
<input type="text" name="author" size="25" id="author" value="<?php echo $author; ?>" />
</div>
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('rl_add_resource_book'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br />
<input type="text" name="title" size="35" id="title" value="<?php echo $title; ?>" />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="author"><?php echo _AT('author'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="author"><?php echo _AT('author'); ?></label><br />
<input type="text" name="author" size="25" id="author" value="<?php echo $author; ?>" />
</div>
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('rl_add_resource_file'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br />
<input type="text" name="title" size="35" id="title" value="<?php echo $title; ?>" />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="author"><?php echo _AT('author'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="author"><?php echo _AT('author'); ?></label><br />
<input type="text" name="author" size="25" id="author" value="<?php echo $author; ?>" />
</div>
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('rl_add_resource_handout'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br />
<input type="text" name="title" size="35" id="title" value="<?php echo $title; ?>" />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="author"><?php echo _AT('author'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="author"><?php echo _AT('author'); ?></label><br />
<input type="text" name="author" size="25" id="author" value="<?php echo $author; ?>" />
</div>
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('rl_add_resource_url'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br />
<input type="text" name="title" size="35" id="title" value="<?php echo $title; ?>" />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="url"><?php echo _AT('url'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="url"><?php echo _AT('url'); ?></label><br />
<input type="text" name="url" size="50" id="url" value="<?php echo $url; ?>" />
</div>
\r
<div class="input-form" style="width: 95%x">\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br />\r
<input id="title" name="title" type="text" size="60" maxlength="255" value="<?php echo $stripslashes(htmlspecialchars($_POST['title'])); ?>" /><br />\r
</div>\r
\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="url"><?php echo _AT('url'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="url"><?php echo _AT('url'); ?></label><br />\r
<input id="url" name="url" type="text" size="60" maxlength="255" value="<?php echo $stripslashes(htmlspecialchars($_POST['url'])); ?>" /><br />\r
</div>\r
\r
<input type="hidden" name="fid" value="<?php echo $feed_id; ?>" />\r
<div class="input-form" style="width:95%">\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br />\r
<input id="title" name="title" type="text" size="60" maxlength="255" value="<?php echo $stripslashes(htmlspecialchars($_GET['title'])); ?>" /><br />\r
</div>\r
\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="url"><?php echo _AT('url'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="url"><?php echo _AT('url'); ?></label><br />\r
<input id="url" name="url" type="text" size="60" maxlength="255" value="<?php echo $stripslashes(htmlspecialchars($_GET['url'])); ?>" /><br />\r
</div>\r
\r
<input type="checkbox" id="priv" name="private_email" value="1" <?php if ($_POST['private_email']) { echo 'checked="checked"'; } ?> /><label for="priv"><?php echo _AT('keep_email_private');?></label>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="first_name"><?php echo _AT('first_name'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="first_name"><?php echo _AT('first_name'); ?></label><br />
<input id="first_name" name="first_name" type="text" value="<?php echo stripslashes(htmlspecialchars($_POST['first_name'])); ?>" />
</div>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="last_name"><?php echo _AT('last_name'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="last_name"><?php echo _AT('last_name'); ?></label><br />
<input id="last_name" name="last_name" type="text" value="<?php echo stripslashes(htmlspecialchars($_POST['last_name'])); ?>" />
</div>
}?>
<input type="hidden" name="id" value="<?php echo $_POST['member_id']; ?>" >
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><?php echo _AT('account_status'); ?><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><?php echo _AT('account_status'); ?><br />
<input type="radio" name="status" value="0" id="disa" <?php echo $disa; ?> /><label for="disa"><?php echo _AT('disabled'); ?></label>
<?php if (defined('AT_EMAIL_CONFIRMATION') && AT_EMAIL_CONFIRMATION): ?>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="question"><?php echo _AT('question'); ?></label>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="question"><?php echo _AT('question'); ?></label>
<?php print_VE('question'); ?>
<textarea id="question" cols="50" rows="6" name="question" style="width:90%;"><?php
echo htmlspecialchars(stripslashes($_POST['question'])); ?></textarea>
<?php for ($i=0; $i<10; $i++) { ?>
<div class="row">
<?php if ($i==0 || $i==1) { ?>
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
<?php } ?>
<label for="choice_<?php echo $i; ?>">
<?php echo _AT('choice'); ?> <?php echo ($i+1); ?></label><br />
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('test_open'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="cats"><?php echo _AT('category'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="cats"><?php echo _AT('category'); ?></label><br />
<select name="category_id" id="cats">
<?php print_question_cats($_POST['category_id']); ?>
</select>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="question"><?php echo _AT('question'); ?></label>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="question"><?php echo _AT('question'); ?></label>
<?php print_VE('question'); ?>
<textarea id="question" cols="50" rows="6" name="question" style="width:90%;"><?php
echo htmlspecialchars(stripslashes($_POST['question'])); ?></textarea>
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('test_matching'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="cats"><?php echo _AT('category'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="cats"><?php echo _AT('category'); ?></label><br />
<select name="category_id" id="cats">
<?php print_question_cats($_POST['category_id']); ?>
</select>
<?php for ($i=0; $i<10; $i++): ?>
<div class="row">
<?php if ($i < 2) :?>
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
<?php endif; ?>
<?php echo _AT('question'); ?> <?php echo ($i+1); ?>
<?php for ($i=0; $i<10; $i++): ?>
<div class="row">
<?php if ($i < 2) :?>
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
<?php endif; ?>
<?php echo _AT('answer'); ?> <?php echo $_letters[$i]; ?>
<?php print_VE('answer_' . $i); ?>
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('test_matchingdd'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="cats"><?php echo _AT('category'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="cats"><?php echo _AT('category'); ?></label><br />
<select name="category_id" id="cats">
<?php print_question_cats($_POST['category_id']); ?>
</select>
<?php for ($i=0; $i<10; $i++): ?>
<div class="row">
<?php if ($i < 2) :?>
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
<?php endif; ?>
<?php echo _AT('question'); ?> <?php echo ($i+1); ?>
<?php for ($i=0; $i<10; $i++): ?>
<div class="row">
<?php if ($i < 2) :?>
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
<?php endif; ?>
<?php echo _AT('answer'); ?> <?php echo $_letters[$i]; ?>
<?php print_VE('answer_' . $i); ?>
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('test_mc'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="cats"><?php echo _AT('category'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="cats"><?php echo _AT('category'); ?></label><br />
<select name="category_id" id="cats">
<?php print_question_cats($_POST['category_id']); ?>
</select>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="question"><?php echo _AT('question'); ?></label>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="question"><?php echo _AT('question'); ?></label>
<?php print_VE('question'); ?>
<textarea id="question" cols="50" rows="4" name="question" style="width:90%;"><?php
echo htmlspecialchars(stripslashes($_POST['question'])); ?></textarea>
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('test_ma'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="cats"><?php echo _AT('category'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="cats"><?php echo _AT('category'); ?></label><br />
<select name="category_id" id="cats">
<?php print_question_cats($_POST['category_id']); ?>
</select>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="question"><?php echo _AT('question'); ?></label>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="question"><?php echo _AT('question'); ?></label>
<?php print_VE('question'); ?>
<textarea id="question" cols="50" rows="4" name="question" style="width:90%;"><?php echo htmlspecialchars(stripslashes($_POST['question'])); ?></textarea>
</div>
<input type="hidden" name="required" value="1" />
<div class="input-form">
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="cats"><?php echo _AT('category'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="cats"><?php echo _AT('category'); ?></label><br />
<select name="category_id" id="cats">
<?php print_question_cats($_POST['category_id']); ?>
</select>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="question"><?php echo _AT('question'); ?></label>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="question"><?php echo _AT('question'); ?></label>
<?php print_VE('question'); ?>
<textarea id="question" cols="50" rows="6" name="question" style="width:90%;"><?php
echo htmlspecialchars(stripslashes($_POST['question'])); ?></textarea>
<?php for ($i=0; $i<10; $i++): ?>
<div class="row">
<?php if ($i < 2): ?>
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
<?php endif; ?> <?php echo _AT('item'); ?> <?php echo ($i+1); ?>
<?php print_VE('choice_' . $i); ?>
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('test_tf'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="cats"><?php echo _AT('category'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="cats"><?php echo _AT('category'); ?></label><br />
<select name="category_id" id="cats">
<?php print_question_cats($_POST['category_id']); ?>
</select>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="question"><?php echo _AT('statement'); ?></label>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="question"><?php echo _AT('statement'); ?></label>
<?php print_VE('question'); ?>
<br />
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('create_test'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br />
<input type="text" name="title" id="title" size="30" value="<?php echo $_POST['title']; ?>" />
</div>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="question"><?php echo _AT('question'); ?></label>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="question"><?php echo _AT('question'); ?></label>
<?php print_VE('question'); ?>
for ($i=0; $i<10; $i++) { ?>
<div class="row">
<?php if ($i==0 || $i==1) { ?>
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
<?php } ?>
<label for="choice_<?php echo $i; ?>">
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="question"><?php echo _AT('question'); ?></label>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="question"><?php echo _AT('question'); ?></label>
<?php print_VE('question'); ?>
<textarea id="question" cols="50" rows="6" name="question"><?php
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('test_matching'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="cats"><?php echo _AT('category'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="cats"><?php echo _AT('category'); ?></label><br />
<select name="category_id" id="cats">
<?php print_question_cats($_POST['category_id']); ?>
</select>
<?php for ($i=0; $i<10; $i++): ?>
<div class="row">
<?php if ($i < 2) :?>
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
<?php endif; ?>
<?php echo _AT('question'); ?> <?php echo ($i+1); ?>
<?php for ($i=0; $i<10; $i++): ?>
<div class="row">
<?php if ($i < 2) :?>
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
<?php endif; ?>
<?php echo _AT('answer'); ?> <?php echo $_letters[$i]; ?>
<?php print_VE('answer' . $i); ?>
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('test_matchingdd'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="cats"><?php echo _AT('category'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="cats"><?php echo _AT('category'); ?></label><br />
<select name="category_id" id="cats">
<?php print_question_cats($_POST['category_id']); ?>
</select>
<?php for ($i=0; $i<10; $i++): ?>
<div class="row">
<?php if ($i < 2) :?>
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
<?php endif; ?>
<?php echo _AT('question'); ?> <?php echo ($i+1); ?>
<?php for ($i=0; $i<10; $i++): ?>
<div class="row">
<?php if ($i < 2) :?>
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
<?php endif; ?>
<?php echo _AT('answer'); ?> <?php echo $_letters[$i]; ?>
<?php print_VE('answer_' . $i); ?>
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('test_mc'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="cats"><?php echo _AT('category'); ?></label>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="cats"><?php echo _AT('category'); ?></label>
<select name="category_id" id="cats">
<?php print_question_cats($_POST['category_id']); ?>
</select>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="question"><?php echo _AT('question'); ?></label>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="question"><?php echo _AT('question'); ?></label>
<?php print_VE('question'); ?>
<textarea id="question" cols="50" rows="4" name="question"><?php
echo htmlspecialchars(stripslashes($_POST['question'])); ?></textarea>
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('test_ma'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="cats"><?php echo _AT('category'); ?></label>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="cats"><?php echo _AT('category'); ?></label>
<select name="category_id" id="cats">
<?php print_question_cats($_POST['category_id']); ?>
</select>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="question"><?php echo _AT('question'); ?></label>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="question"><?php echo _AT('question'); ?></label>
<?php print_VE('question'); ?>
<textarea id="question" cols="50" rows="4" name="question"><?php
echo htmlspecialchars(stripslashes($_POST['question'])); ?></textarea>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="question"><?php echo _AT('question'); ?></label>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="question"><?php echo _AT('question'); ?></label>
<?php print_VE('question'); ?>
<?php for ($i=0; $i<10; $i++): ?>
<div class="row">
<?php if ($i < 2): ?>
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
<?php endif; ?> <?php echo _AT('item'); ?> <?php echo ($i+1); ?>
<?php print_VE('choice_' . $i); ?>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="question"><?php echo _AT('statement'); ?></label>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="question"><?php echo _AT('statement'); ?></label>
<?php print_VE('question'); ?>
<textarea id="question" cols="50" rows="6" name="question"><?php
echo htmlspecialchars(stripslashes($_POST['question'])); ?></textarea>
<div class="input-form">
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('edit_test'); ?></legend>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br />
<input type="text" name="title" id="title" size="40" value="<?php echo stripslashes(htmlspecialchars($_POST['title'])); ?>" />
</div>
<div class="input-form">\r
<fieldset class="group_form"><legend class="group_form"><?php echo _AT('create_category'); ?></legend>\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="cat"><?php echo _AT('title'); ?></label><br />\r
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="cat"><?php echo _AT('title'); ?></label><br />\r
<input type="text" name="title" id="cat" value="<?php echo htmlspecialchars($_POST['title']); ?>" />\r
</div>\r
\r
</fieldset>\r
<?php endif; ?>\r
<div class="row">\r
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><div style="font-weight:bold;"><label for="ftitle"><?php echo _AT('content_folder_title'); ?></label></div>\r
+ <div style="font-weight:bold;"><span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="ftitle"><?php echo _AT('content_folder_title'); ?></label></div>\r
<input type="text" name="title" id="ftitle" size="70" class="formfield" value="<?php echo ContentManager::cleanOutput($this->ftitle); ?>" />\r
</div>\r
\r
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="password"><?php echo _AT('password'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="password"><?php echo _AT('password'); ?></label><br />
<input id="password" name="password" type="password" size="15" maxlength="15" value="<?php echo stripslashes(htmlspecialchars($_POST['password'])); ?>" /><br />
<small>· <?php echo _AT('combination'); ?><br />
· <?php echo _AT('15_max_chars'); ?></small>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="password2"><?php echo _AT('password_again'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="password2"><?php echo _AT('password_again'); ?></label><br />
<input id="password2" name="password2" type="password" size="15" maxlength="15" value="<?php echo stripslashes(htmlspecialchars($_POST['password2'])); ?>" />
</div>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="email"><?php echo _AT('email_address'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="email"><?php echo _AT('email_address'); ?></label><br />
<input type="text" name="form_email" id="email" size="50" />
</div>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="student_id"><?php echo _AT('student_id'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="student_id"><?php echo _AT('student_id'); ?></label><br />
<input id="student_id" name="student_id" type="text" size="15" maxlength="15" value="<?php echo stripslashes(htmlspecialchars($_POST['student_id'])); ?>" /><br />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="student_pin"><?php echo _AT('student_pin'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="student_pin"><?php echo _AT('student_pin'); ?></label><br />
<input id="student_pin" name="student_pin" type="password" size="15" maxlength="15" value="<?php echo stripslashes(htmlspecialchars($_POST['student_pin'])); ?>" /><br />
</div>
<?php endif; ?>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="login"><?php echo _AT('login_name'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="login"><?php echo _AT('login_name'); ?></label><br />
<?php if ($_POST['member_id']) : ?>
<span id="login"><?php echo stripslashes(htmlspecialchars($_POST['login'])); ?></span>
<input name="member_id" type="hidden" value="<?php echo intval($_POST['member_id']); ?>" />
<?php if (!admin_authenticate(AT_ADMIN_PRIV_USERS, TRUE) || !$_POST['member_id']): ?>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="form_password1"><?php echo _AT('password'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="form_password1"><?php echo _AT('password'); ?></label><br />
<input id="form_password1" name="form_password1" type="password" size="15" maxlength="15" /><br />
<small>· <?php echo _AT('combination'); ?><br />
· <?php echo _AT('15_max_chars'); ?></small>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="form_password2"><?php echo _AT('password_again'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="form_password2"><?php echo _AT('password_again'); ?></label><br />
<input id="form_password2" name="form_password2" type="password" size="15" maxlength="15" />
</div>
<?php endif; ?>
<?php if (isset($_config['use_captcha']) && $_config['use_captcha']==1): ?>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div>
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span>
<label for="secret"><img src="<?php echo AT_INCLUDE_PATH; ?>securimage/securimage_show.php?sid=<?php echo md5(uniqid(time())); ?>" id="simage" align="left" /></label>
<a href="<?php echo AT_INCLUDE_PATH; ?>securimage/securimage_play.php" title="<?php echo _AT('audible_captcha'); ?>"><img src="<?php echo AT_INCLUDE_PATH; ?>securimage/images/audio_icon.gif" alt="<?php echo _AT('audible_captcha'); ?>" onclick="this.blur()" align="top" border="0"></a><br>
<a href="#" title="<?php echo _AT('refresh_image'); ?>" onclick="document.getElementById('simage').src = '<?php echo AT_INCLUDE_PATH; ?>securimage/securimage_show.php?sid=' + Math.random(); return false"><img src="<?php echo AT_INCLUDE_PATH; ?>securimage/images/refresh.gif" alt="<?php echo _AT('refresh_image'); ?>" onclick="this.blur()" align="bottom" border="0"></a>
<?php endif; ?>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="email"><?php echo _AT('email_address'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="email"><?php echo _AT('email_address'); ?></label><br />
<input id="email" name="email" type="text" size="50" maxlength="50" value="<?php echo stripslashes(htmlspecialchars($_POST['email'])); ?>" />
<input type="checkbox" id="priv" name="private_email" value="1" <?php if ($_POST['private_email'] || !isset($_POST['submit'])) { echo 'checked="checked"'; } ?> /><label for="priv"><?php echo _AT('keep_email_private');?></label>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="email2"><?php echo _AT('email_again'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="email2"><?php echo _AT('email_again'); ?></label><br />
<input id="email2" name="email2" type="text" size="50" maxlength="60" value="<?php echo stripslashes(htmlspecialchars($_POST['email2'])); ?>" />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="first_name"><?php echo _AT('first_name'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="first_name"><?php echo _AT('first_name'); ?></label><br />
<input id="first_name" name="first_name" type="text" value="<?php echo stripslashes(htmlspecialchars($_POST['first_name'])); ?>" />
</div>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="last_name"><?php echo _AT('last_name'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="last_name"><?php echo _AT('last_name'); ?></label><br />
<input id="last_name" name="last_name" type="text" value="<?php echo stripslashes(htmlspecialchars($_POST['last_name'])); ?>" />
</div>
}?>
<input type="hidden" name="id" value="<?php echo $_POST['member_id']; ?>" >
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><?php echo _AT('account_status'); ?><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><?php echo _AT('account_status'); ?><br />
<input type="radio" name="status" value="0" id="disa" <?php echo $disa; ?> /><label for="disa"><?php echo _AT('disabled'); ?></label>
<?php if (defined('AT_EMAIL_CONFIRMATION') && AT_EMAIL_CONFIRMATION): ?>
padding: 2px;
}
-div.required {
+.required {
font-weight: bold;
color: red;
- font-size: large;
- float: left;
- position: relative;
- margin-top: -5px;
- height: 15px;
padding-right: 2px;
}
.shortcut_icon{
border:0;
vertical-align:middle;
-
-}
\ No newline at end of file
+}
+ul#content-tool-links {
+ list-style: none outside none;
+}
+ul#content-tool-links li{
+ display: inline;
+ float: left;
+ width: 5em;
+ padding: 0 3em 0 0;
+ text-align: center;
+ font-size: 0.7em;
+ font-weight:bold;
+ color: #1A4A72;
+ line-height:120%;
+}
+ul#content-tool-links img{
+ border: 0 none;
+ display: block;
+ padding-left: 10px;
+}
+.hidden {
+ display: none;
+}
+.clickable {
+ cursor: pointer;
+}
+.nowrap {
+ white-space: nowrap;
+}
<div class="input-form" style="width:90%;">
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="form_password"><?php echo _AT('password'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="form_password"><?php echo _AT('password'); ?></label><br />
<input id="form_password" name="form_password" type="password" size="15" maxlength="15" value="" /><br />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="email"><?php echo _AT('email_address'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="email"><?php echo _AT('email_address'); ?></label><br />
<input id="email" name="email" type="text" size="50" maxlength="50" value="<?php echo stripslashes(htmlspecialchars($_POST['email'])); ?>" />
</div>
<div class="input-form" style="width:90%;">
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="old_password"><?php echo _AT('password_old'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="old_password"><?php echo _AT('password_old'); ?></label><br />
<input id="old_password" name="old_password" type="password" size="15" maxlength="15" /><br />
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="password"><?php echo _AT('password'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="password"><?php echo _AT('password'); ?></label><br />
<input id="password" name="password" type="password" size="15" maxlength="15" /><br />
<small>· <?php echo _AT('combination'); ?><br />
· <?php echo _AT('15_max_chars'); ?></small>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="password2"><?php echo _AT('password_again'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="password2"><?php echo _AT('password_again'); ?></label><br />
<input id="password2" name="password2" type="password" size="15" maxlength="15" />
</div>
<input type="checkbox" id="priv" name="private_email" value="1" <?php if ($_POST['private_email']) { echo 'checked="checked"'; } ?> /><label for="priv"><?php echo _AT('keep_email_private');?></label>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="first_name"><?php echo _AT('first_name'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="first_name"><?php echo _AT('first_name'); ?></label><br />
<input id="first_name" name="first_name" type="text" value="<?php echo stripslashes(htmlspecialchars($_POST['first_name'])); ?>" />
</div>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="last_name"><?php echo _AT('last_name'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="last_name"><?php echo _AT('last_name'); ?></label><br />
<input id="last_name" name="last_name" type="text" value="<?php echo stripslashes(htmlspecialchars($_POST['last_name'])); ?>" />
</div>
}?>
<input type="hidden" name="id" value="<?php echo $_POST['member_id']; ?>" >
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><?php echo _AT('account_status'); ?><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><?php echo _AT('account_status'); ?><br />
<input type="radio" name="status" value="0" id="disa" <?php echo $disa; ?> /><label for="disa"><?php echo _AT('disabled'); ?></label>
<?php if (defined('AT_EMAIL_CONFIRMATION') && AT_EMAIL_CONFIRMATION): ?>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="password"><?php echo _AT('password'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="password"><?php echo _AT('password'); ?></label><br />
<input id="password" name="password" type="password" size="15" maxlength="15" value="<?php echo stripslashes(htmlspecialchars($_POST['password'])); ?>" /><br />
<small>· <?php echo _AT('combination'); ?><br />
· <?php echo _AT('15_max_chars'); ?></small>
</div>
<div class="row">
- <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="password2"><?php echo _AT('password_again'); ?></label><br />
+ <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="password2"><?php echo _AT('password_again'); ?></label><br />
<input id="password2" name="password2" type="password" size="15" maxlength="15" value="<?php echo stripslashes(htmlspecialchars($_POST['password2'])); ?>" />
</div>