Commit d2bce64e authored by François Jacquet's avatar François Jacquet
Browse files

HTML tags to lowercase

parent 8e3d2e66
......@@ -39,6 +39,7 @@ Changes in 2.9
- Add space after control structures keywords: if, for, foreach, while, switch
- Add spaces before and after arrow: => (foreach & associative arrays)
- Always use require_once in place of include & require, program wide
- HTML tags to lowercase, program wide
Changes in 2.8.11
-----------------
......
......@@ -47,17 +47,17 @@ switch( User( 'PROFILE' ) )
$handle = PDFStart();
?>
<TABLE>
<TR>
<TD>
<IMG SRC="assets/themes/<?php echo Preferences( 'THEME' ); ?>/logo.png" />
</TD>
<TD>
<table>
<tr>
<td>
<img src="assets/themes/<?php echo Preferences( 'THEME' ); ?>/logo.png" />
</td>
<td>
<h1>&nbsp;<?php echo sprintf( _( '%s Handbook' ), $title ); ?></h1>
</TD>
</TR>
</TABLE>
<HR />
</td>
</tr>
</table>
<hr />
<?php
foreach ( (array)$help as $program => $value )
......@@ -85,7 +85,7 @@ foreach ( (array)$help as $program => $value )
echo DrawHeader( _( $modcat_echo ) );
?>
<HR />
<hr />
<?php
endif;
......@@ -101,7 +101,7 @@ foreach ( (array)$help as $program => $value )
<?php
if ( $program == 'default' )
echo ParseMLField( Config( 'TITLE' ) )
. ' - ' . sprintf( _( '%s Handbook' ), $title ) . '<BR />'
. ' - ' . sprintf( _( '%s Handbook' ), $title ) . '<br />'
. sprintf( _( 'version %s' ), '1.1' );
else
......@@ -109,9 +109,9 @@ foreach ( (array)$help as $program => $value )
?>
</h3>
<TABLE class="width-100p">
<TR>
<TD class="header2">
<table class="width-100p">
<tr>
<td class="header2">
<?php
if ( User( 'PROFILE' ) == 'student' )
......@@ -125,11 +125,11 @@ foreach ( (array)$help as $program => $value )
echo $value;
?>
</TD>
</TR>
</TABLE>
</td>
</tr>
</table>
</div>
<BR />
<br />
<?php
} //end foreach
......
......@@ -19,10 +19,10 @@ function MailingLabel($address_id)
$people_total = count($people);
for ( $i=1;$i<$people_total;$i++)
$return .= $people[$i]['FIRST_NAME'].' &amp; ';
$return .= $people[$i]['FIRST_NAME'].' '.$people[$i]['LAST_NAME'].'<BR />';
$return .= $people[$i]['FIRST_NAME'].' '.$people[$i]['LAST_NAME'].'<br />';
}
// mab - this is a bit of a kludge but insert an html comment so people and address can be split later
$return .= '<!-- -->'.$people[$i]['ADDRESS'].'<BR />'.$people[$i]['CITY'].($people[$i]['STATE'] ? ', '.$people[$i]['STATE'] : '').($people[$i]['ZIPCODE'] ? ' '.$people[$i]['ZIPCODE'] : '');
$return .= '<!-- -->'.$people[$i]['ADDRESS'].'<br />'.$people[$i]['CITY'].($people[$i]['STATE'] ? ', '.$people[$i]['STATE'] : '').($people[$i]['ZIPCODE'] ? ' '.$people[$i]['ZIPCODE'] : '');
}
$_ROSARIO['MailingLabel'][$address_id][$student_id] = $return;
......
......@@ -160,12 +160,12 @@ function PortalPollForm($poll_id, $profile_id, $user_id, $poll_questions_RET)
<input type="hidden" name="user_id" value="'.$user_id.'" />
<input type="hidden" name="total_votes_string" value="'._('Total Participants').'" />
<input type="hidden" name="poll_completed_string" value="'._('Poll completed').'" />
<TABLE class="width-100p cellspacing-0 widefat">';
<table class="width-100p cellspacing-0 widefat">';
foreach ($poll_questions_RET as $question)
{
$PollForm .= '<TR><TD style="vertical-align:top;"><b>'.$question['QUESTION'].'</b></TD>
<TD><TABLE class="width-100p cellspacing-0">';
$PollForm .= '<tr><td style="vertical-align:top;"><b>'.$question['QUESTION'].'</b></td>
<td><table class="width-100p cellspacing-0">';
$options_array = explode('<br />', nl2br($question['OPTIONS']));
......@@ -174,29 +174,29 @@ function PortalPollForm($poll_id, $profile_id, $user_id, $poll_questions_RET)
{
if ( $question['TYPE'] == 'multiple_radio')
{
$PollForm .= '<TR><TD>
$PollForm .= '<tr><td>
<label>
<input type="radio" name="votes['.$poll_id.']['.$question['ID'].']" value="'.$option_nb.'" '.($checked?'checked':'').' /> '.$option_label.'
</label>
</TD></TR>'."\n";
</td></tr>'."\n";
}
else //multiple
{
$PollForm .= '<TR><TD>
$PollForm .= '<tr><td>
<label>
<input type="checkbox" name="votes['.$poll_id.']['.$question['ID'].'][]" value="'.$option_nb.'" /> '.$option_label.'
</label>
</TD></TR>'."\n";
</td></tr>'."\n";
}
$checked = false;
}
$PollForm .= '</TABLE></TD></TR>';
$PollForm .= '</table></td></tr>';
}
$PollForm .= '</TD></TR></TABLE>
<P><input type="submit" value="'._('Submit').'" id="pollSubmit'.$poll_id.'" /></P></form>';
$PollForm .= '</td></tr></table>
<p><input type="submit" value="'._('Submit').'" id="pollSubmit'.$poll_id.'" /></p></form>';
if ( !isset($_REQUEST['_ROSARIO_PDF']))
$PollForm .= '</div>';
......@@ -218,15 +218,15 @@ function PortalPollsVotesDisplay($poll_id, $display_votes, $poll_questions_RET,
//FJ responsive rt td too large
if ( !$js_included_is_voting)
{
$votes_display .= '<DIV id="divPortalPoll'.$poll_id.'" class="divPortalPoll rt2colorBox">'."\n";
$votes_display .= '<div id="divPortalPoll'.$poll_id.'" class="divPortalPoll rt2colorBox">'."\n";
}
foreach ($poll_questions_RET as $question)
{
$total_votes = 0;
//question
$votes_display .= '<P><B>'.$question['QUESTION'].'</B></P>
<TABLE class="cellspacing-0 widefat col1-align-right">'."\n";
$votes_display .= '<p><b>'.$question['QUESTION'].'</b></p>
<table class="cellspacing-0 widefat col1-align-right">'."\n";
//votes
$votes_array = explode('||', $question['VOTES']);
......@@ -241,13 +241,13 @@ function PortalPollsVotesDisplay($poll_id, $display_votes, $poll_questions_RET,
{
$percent = round(($votes_array[$i]/$total_votes)*100);
$votes_display .= '<TR>
<TD>'.$options_array[$i].'</TD>
<TD><div class="bar" style="width:'.$percent.'px;">&nbsp;</div></TD>
<TD><b> '.$percent.'%</b></TD>
</TR>'."\n";
$votes_display .= '<tr>
<td>'.$options_array[$i].'</td>
<td><div class="bar" style="width:'.$percent.'px;">&nbsp;</div></td>
<td><b> '.$percent.'%</b></td>
</tr>'."\n";
}
$votes_display .= '</TABLE>'."\n";
$votes_display .= '</table>'."\n";
}
$total_votes_str = isset($_POST['total_votes_string']) ? $_POST['total_votes_string'] : _('Total Participants');
......@@ -255,7 +255,7 @@ function PortalPollsVotesDisplay($poll_id, $display_votes, $poll_questions_RET,
$votes_display .= '<p>'.$total_votes_str.': '.$votes_number.'</p>';
if ( !$js_included_is_voting)
$votes_display .= '</DIV>';
$votes_display .= '</div>';
return $votes_display;
}
......@@ -301,14 +301,14 @@ function makePublishing($value,$name)
$id = 'new';
//FJ responsive rt td too large
$return = '<DIV id="divPublishing'.$id.'" class="rt2colorBox">'."\n";
$return = '<div id="divPublishing'.$id.'" class="rt2colorBox">'."\n";
//FJ remove LO_field
$return .= '<TABLE class="cellspacing-0 widefat"><TR><TD><b>'._('Visible Between').':</b><BR />';
$return .= '<table class="cellspacing-0 widefat"><tr><td><b>'._('Visible Between').':</b><br />';
$return .= DateInput($value,'values['.$id.']['.$name.']').' '._('to').' ';
$return .= DateInput($THIS_RET['END_DATE'],'values['.$id.'][END_DATE]').'</TD></TR>';
$return .= DateInput($THIS_RET['END_DATE'],'values['.$id.'][END_DATE]').'</td></tr>';
$return .= '<TR><TD style="padding:0;">';
$return .= '<tr><td style="padding:0;">';
if (is_null($profiles))
{
......@@ -324,10 +324,10 @@ function makePublishing($value,$name)
$return .= makePublishingVisibleTo($profiles, $THIS_RET, $id);
$return .= '</TD></TR></TABLE>';
$return .= '</td></tr></table>';
if ( !isset($_REQUEST['_ROSARIO_PDF']))
$return .= '</DIV>';
$return .= '</div>';
return $return;
}
......@@ -341,11 +341,11 @@ function makePublishing($value,$name)
*/
function makePublishingVisibleTo($profiles, $THIS_RET, $id)
{
$visibleTo = '<TABLE class="width-100p cellspacing-0">
<TR>
<TD colspan="2"><b>'._('Visible To').':</b></TD>
</TR>
<TR class="st">';
$visibleTo = '<table class="width-100p cellspacing-0">
<tr>
<td colspan="2"><b>'._('Visible To').':</b></td>
</tr>
<tr class="st">';
//FJ Portal Polls add students teacher
$teachers_RET = DBGet(DBQuery("SELECT STAFF_ID,LAST_NAME,FIRST_NAME,MIDDLE_NAME
......@@ -369,7 +369,7 @@ function makePublishingVisibleTo($profiles, $THIS_RET, $id)
$i++;
$checked = mb_strpos($THIS_RET['PUBLISHED_PROFILES'],','.$profile['ID'].',')!==false;
$visibleTo .= '<TD>'.CheckboxInput($checked, 'profiles['.$id.']['.$profile['ID'].']', _($profile['TITLE']), '', true);
$visibleTo .= '<td>'.CheckboxInput($checked, 'profiles['.$id.']['.$profile['ID'].']', _($profile['TITLE']), '', true);
//FJ Portal Polls add students teacher
if ( $profile['ID'] === '0' && $_REQUEST['modname']=='School_Setup/PortalPolls.php') //student & verify this is not a Portal Note!
......@@ -384,16 +384,16 @@ function makePublishingVisibleTo($profiles, $THIS_RET, $id)
);
}
$visibleTo .= '</TD>';
$visibleTo .= '</td>';
if ( $i%2==0 && $i!=count($profiles))
$visibleTo .= '</TR><TR class="st">';
$visibleTo .= '</tr><tr class="st">';
}
for (;$i%2!=0;$i++)
$visibleTo .= '<TD>&nbsp;</TD>';
$visibleTo .= '<td>&nbsp;</td>';
$visibleTo .= '</TR>';
$visibleTo .= '</tr>';
if ( $_REQUEST['modname']=='School_Setup/PortalNotes.php')
{
......@@ -402,7 +402,7 @@ function makePublishingVisibleTo($profiles, $THIS_RET, $id)
do_action('School_Setup/PortalNotes.php|portal_note_field',$args);
}
$visibleTo .= '</TABLE>';
$visibleTo .= '</table>';
return $visibleTo;
}
......@@ -444,7 +444,7 @@ function makeFileAttached($value,$name)
{
$id = 'new';
$return .= '<DIV id="divFileAttached'.$id.'" class="rt2colorBox">';
$return .= '<div id="divFileAttached'.$id.'" class="rt2colorBox">';
$return .= '<div>
<label>
<input type="radio" name="values[new][FILE_OR_EMBED]" value="FILE">&nbsp;
......@@ -457,7 +457,7 @@ function makeFileAttached($value,$name)
<input type="radio" name="values[new][FILE_OR_EMBED]" value="EMBED" onclick="javascript:document.getElementById(\'values[new]['.$name.'_EMBED]\').focus();" />&nbsp;'.
_('Embed Link').': <input type="text" id="values[new]['.$name.'_EMBED]" name="values[new]['.$name.'_EMBED]" size="14" placeholder="http://" />
</label>
</div></DIV>';
</div></div>';
}
return $return;
......
......@@ -451,59 +451,59 @@ function _makeMultipleInput( $column, $name, $request )
if ( $value[$column] != '' )
{
$return = '<DIV id="div' . $request . '[' . $column . ']">
$return = '<div id="div' . $request . '[' . $column . ']">
<div class="onclick" onclick=\'javascript:addHTML(html' . $request . $column;
}
$table = '<TABLE class="cellpadding-5">';
$table = '<table class="cellpadding-5">';
if ( count( $options ) > 12 )
{
$table .= '<TR><TD colspan="2">';
$table .= '<tr><td colspan="2">';
$table .= '<span class="legend-gray">' . $name . '</span>';
$table .= '<TABLE class="width-100p" style="height: 7px; border:1;border-style: solid solid none solid;"><TR><TD></TD></TR></TABLE>';
$table .= '</TD></TR>';
$table .= '<table class="width-100p" style="height: 7px; border:1;border-style: solid solid none solid;"><tr><td></td></tr></table>';
$table .= '</td></tr>';
}
$table .= '<TR>';
$table .= '<tr>';
$i = 0;
foreach ( (array)$options as $option )
{
if ( $i%2 === 0 )
$table .= '</TR><TR>';
$table .= '</tr><tr>';
//FJ add <label> on checkbox
$table .= '<TD><label>
<INPUT type="checkbox" name="' . $request . '[' . $column . '][]" value="' . htmlspecialchars( $option, ENT_QUOTES ) . '"' . ( mb_strpos( $value[$column], '||' . $option . '||' ) !== false ? ' checked' : '' ) . ' /> ' .
$table .= '<td><label>
<input type="checkbox" name="' . $request . '[' . $column . '][]" value="' . htmlspecialchars( $option, ENT_QUOTES ) . '"' . ( mb_strpos( $value[$column], '||' . $option . '||' ) !== false ? ' checked' : '' ) . ' /> ' .
$option .
'</label></TD>';
'</label></td>';
$i++;
}
$table .= '</TR><TR><TD colspan="2">';
$table .= '</tr><tr><td colspan="2">';
//FJ fix bug none selected not saved
$table .= '<INPUT type="hidden" name="' . $request . '[' . $column . '][none]" value="" />';
$table .= '<input type="hidden" name="' . $request . '[' . $column . '][none]" value="" />';
$table .= '<TABLE class="width-100p" style="height:7px; border:1; border-style:none solid solid solid;"><TR><TD></TD></TR></TABLE>';
$table .= '<table class="width-100p" style="height:7px; border:1; border-style:none solid solid solid;"><tr><td></td></tr></table>';
$table .= '</TD></TR></TABLE>';
$table .= '</td></tr></table>';
if ( $value[$column] != '' )
{
echo '<script>var html' . $request . $column . '=' . json_encode( $table ) . ';</script>' . $return;
echo ',"div' . $request . '[' . $column . ']",true);\' >';
echo '<span class="underline-dots">' . ($value[$column] != '' ? str_replace( '||', ', ', mb_substr( $value[$column], 2, -2 ) ) : '-' ) . '</span>';
echo '</div></DIV>';
echo '</div></div>';
}
else
echo $table;
}
else
echo ( $value[$column] != '' ? str_replace( '||', ', ', mb_substr( $value[$column], 2, -2 ) ) : '-' ) . '<BR />';
echo ( $value[$column] != '' ? str_replace( '||', ', ', mb_substr( $value[$column], 2, -2 ) ) : '-' ) . '<br />';
echo '<span class="legend-gray">' . $name . '</span>';
}
......
......@@ -30,6 +30,6 @@ function _makeCalendar($value,$column)
function _makeTeachers($value,$column)
{
foreach ( explode('","',mb_substr($value,2,-2)) as $row)
$return .= $row.'<BR />';
$return .= $row.'<br />';
return mb_substr($return,0,-4);
}
......@@ -284,7 +284,7 @@ $addJavascripts .= 'var menuStudentID = "' . UserStudentID() . '",
<a href="index.php" target="_top" class="center">
<img src="assets/themes/<?php echo Preferences( 'THEME' ); ?>/logo.png" class="logo" />
</a>
<FORM action="Side.php?sidefunc=update" method="POST" target="menu">
<form action="Side.php?sidefunc=update" method="POST" target="menu">
<span class="br-after">&nbsp;<b><?php echo User('NAME'); ?></b></span>
<?php
// localized today's date
......@@ -294,7 +294,7 @@ $addJavascripts .= 'var menuStudentID = "' . UserStudentID() . '",
"UTF-8"
);
?>
<BR />
<br />
<?php // School SELECT (Admins & Teachers only)
if ( User('PROFILE') === 'admin'
|| User( 'PROFILE' ) === 'teacher' ) :
......@@ -317,13 +317,13 @@ $addJavascripts .= 'var menuStudentID = "' . UserStudentID() . '",
} ?>
<span class="br-after">
<SELECT name="school" onChange="ajaxPostForm(this.form,true);">
<select name="school" onChange="ajaxPostForm(this.form,true);">
<?php foreach ( (array)$RET as $school ) : ?>
<OPTION value="<?php echo $school['ID']; ?>"<?php echo ( ( UserSchool() == $school['ID'] ) ? ' SELECTED' : '' ); ?>><?php
<option value="<?php echo $school['ID']; ?>"<?php echo ( ( UserSchool() == $school['ID'] ) ? ' SELECTED' : '' ); ?>><?php
echo ( $school['SHORT_NAME'] ? $school['SHORT_NAME'] : $school['TITLE'] );
?></OPTION>
?></option>
<?php endforeach; ?>
</SELECT>
</select>
</span>
<?php endif;
......@@ -348,17 +348,17 @@ $addJavascripts .= 'var menuStudentID = "' . UserStudentID() . '",
?>
<span class="br-after">
<SELECT name="student_id" onChange="ajaxPostForm(this.form,true);">
<select name="student_id" onChange="ajaxPostForm(this.form,true);">
<?php foreach ( (array)$RET as $student ) : ?>
<OPTION value="<?php echo $student['STUDENT_ID']; ?>"<?php echo ( ( UserStudentID() == $student['STUDENT_ID'] ) ? ' SELECTED' : '' ); ?>><?php
<option value="<?php echo $student['STUDENT_ID']; ?>"<?php echo ( ( UserStudentID() == $student['STUDENT_ID'] ) ? ' SELECTED' : '' ); ?>><?php
echo $student['FULL_NAME'];
?></OPTION>
?></option>
<?php // set current School
if ( UserStudentID() == $student['STUDENT_ID'] )
$_SESSION['UserSchool'] = $student['SCHOOL_ID'];
endforeach; ?>
</SELECT>
</select>
</span>
<?php
......@@ -402,13 +402,13 @@ $addJavascripts .= 'var menuStudentID = "' . UserStudentID() . '",
$years_RET = DBGet( DBQuery( $sql ) ); ?>
<span class="br-after">
<SELECT name="syear" onChange="ajaxPostForm(this.form,true);">
<select name="syear" onChange="ajaxPostForm(this.form,true);">
<?php foreach ( (array)$years_RET as $year ) : ?>
<OPTION value="<?php echo $year['SYEAR']; ?>"<?php echo ( ( UserSyear() == $year['SYEAR'] ) ? ' SELECTED' : '' ); ?>><?php
<option value="<?php echo $year['SYEAR']; ?>"<?php echo ( ( UserSyear() == $year['SYEAR'] ) ? ' SELECTED' : '' ); ?>><?php
echo FormatSyear( $year['SYEAR'], Config( 'SCHOOL_SYEAR_OVER_2_YEARS' ) );
?></OPTION>
?></option>
<?php endforeach; ?>
</SELECT>
</select>
</span>
<?php // MarkingPeriod SELECT
......@@ -421,15 +421,15 @@ $addJavascripts .= 'var menuStudentID = "' . UserStudentID() . '",
?>
<span class="br-after">
<SELECT name="mp" onChange="ajaxPostForm(this.form,true);">
<select name="mp" onChange="ajaxPostForm(this.form,true);">
<?php if ( count( $RET ) ) :
$mp_array = array();
foreach ( $RET as $quarter ) : ?>
<OPTION value="<?php echo $quarter['MARKING_PERIOD_ID']; ?>"<?php echo ( UserMP() == $quarter['MARKING_PERIOD_ID'] ? ' SELECTED' : '' ); ?>><?php
<option value="<?php echo $quarter['MARKING_PERIOD_ID']; ?>"<?php echo ( UserMP() == $quarter['MARKING_PERIOD_ID'] ? ' SELECTED' : '' ); ?>><?php
echo $quarter['TITLE'];
?></OPTION>
?></option>
<?php $mp_array[] = $quarter['MARKING_PERIOD_ID'];
endforeach;
......@@ -444,13 +444,13 @@ $addJavascripts .= 'var menuStudentID = "' . UserStudentID() . '",
// error if no quarters
else : ?>
<OPTION value=""><?php
<option value=""><?php
echo _( 'Error' ) . ': ' . _( 'No quarters found' );
?></OPTION>
?></option>
<?php endif; ?>
</SELECT>
</select>
</span>
<?php // CoursePeriod SELECT (Teachers only)
......@@ -496,7 +496,7 @@ $addJavascripts .= 'var menuStudentID = "' . UserStudentID() . '",
$_SESSION['UserCoursePeriodSchoolPeriod'] = $RET[1]['COURSE_PERIOD_SCHOOL_PERIODS_ID'];
} ?>
<SELECT name="period" onChange="ajaxPostForm(this.form,true);">
<select name="period" onChange="ajaxPostForm(this.form,true);">
<?php $optgroup = FALSE;
foreach ( $RET as $period )
......@@ -575,12 +575,12 @@ $addJavascripts .= 'var menuStudentID = "' . UserStudentID() . '",
$mp_text = GetMP( $period['MARKING_PERIOD_ID'], 'SHORT_NAME' ) . ' - ';
}
?>
<OPTION value="<?php echo $period['COURSE_PERIOD_ID']; ?>.<?php echo $period['COURSE_PERIOD_SCHOOL_PERIODS_ID']; ?>"<?php echo $selected; ?>><?php
<option value="<?php echo $period['COURSE_PERIOD_ID']; ?>.<?php echo $period['COURSE_PERIOD_SCHOOL_PERIODS_ID']; ?>"<?php echo $selected; ?>><?php
echo $period['TITLE'] . ' - ' .
$period_days_text .
$mp_text .
$period['CP_SHORT_NAME'];
?></OPTION>
?></option>
<?php
}
......@@ -597,11 +597,11 @@ $addJavascripts .= 'var menuStudentID = "' . UserStudentID() . '",
unset( $_SESSION['student_id'] );
} ?>
</SELECT>
</select>
<?php endif; ?>
</FORM>
</form>
<?php // display current Student (Admins & Teachers only)
if ( UserStudentID()
......@@ -613,13 +613,13 @@ $addJavascripts .= 'var menuStudentID = "' . UserStudentID() . '",
WHERE STUDENT_ID='" . UserStudentID() . "'" ) ); ?>
<div class="current-person student">
<A HREF="Side.php?side_student_id=new" target="menu">
<a href="Side.php?side_student_id=new" target="menu">
<?php echo button( 'x', '', '', 'bigger' ); ?>
</A>
</a>
<?php if ( AllowUse( 'Students/Student.php' ) ) : ?>
<A HREF="Modules.php?modname=Students/Student.php&amp;student_id=<?php echo UserStudentID(); ?>">
<a href="Modules.php?modname=Students/Student.php&amp;student_id=<?php echo UserStudentID(); ?>">
<?php echo $RET[1]['FULL_NAME']; ?>
</A>
</a>
<?php else : ?>
<?php echo $RET[1]['FULL_NAME']; ?>
<?php endif; ?>
......@@ -637,13 +637,13 @@ $addJavascripts .= 'var menuStudentID = "' . UserStudentID() . '",
WHERE STAFF_ID='" . UserStaffID() . "'" ) ); ?>
<div class="current-person <?php echo ( UserStaffID() == User( 'STAFF_ID' ) ? 'self' : 'staff' ); ?>">
<A HREF="Side.php?side_staff_id=new" target="menu">
<a href="Side.php?side_staff_id=new" target="menu">
<?php echo button( 'x', '', '', 'bigger' ); ?>
</A>
</a>
<?php if ( AllowUse( 'Users/User.php' ) ) : ?>
<A HREF="Modules.php?modname=Users/User.php&amp;staff_id=<?php echo UserStaffID(); ?>">
<a href="Modules.php?modname=Users/User.php&amp;staff_id=<?php echo UserStaffID(); ?>">
<?php echo $RET[1]['FULL_NAME']; ?>
</A>
</a>
<?php else : ?>
<?php echo $RET[1]['FULL_NAME']; ?>
<?php endif; ?>
......@@ -667,9 +667,9 @@ $addJavascripts .= 'var menuStudentID = "' . UserStudentID() . '",
if ( count( $modcat_menu = $_ROSARIO['Menu'][$key[$i]] ) ) :