Update of /cvsroot/easymod/easymod/install/em_files/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25972/admin
Modified Files:
em_manage.php
Log Message:
Bug fixes
Index: em_manage.php
===================================================================
RCS file: /cvsroot/easymod/easymod/install/em_files/admin/em_manage.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** em_manage.php 24 Dec 2005 01:43:42 -0000 1.6
--- em_manage.php 24 Dec 2005 05:28:21 -0000 1.7
***************
*** 926,930 ****
$mod_info = array(
! 'mod_name' => htmlspecialchars($mod_row['mod_name']),
'mod_author' => array(
'username' => $mod_row['mod_author_username'],
--- 926,930 ----
$mod_info = array(
! 'mod_name' => $mod_row['mod_name'],
'mod_author' => array(
'username' => $mod_row['mod_author_username'],
***************
*** 932,936 ****
'realname' => $mod_row['mod_author_realname'],
'website' => $mod_row['mod_author_website']),
! 'mod_description' => htmlspecialchars($mod_row['mod_desc']),
'mod_version' => $mod_row['mod_version'],
'mod_file' => $mod_row['mod_file'],
--- 932,936 ----
'realname' => $mod_row['mod_author_realname'],
'website' => $mod_row['mod_author_website']),
! 'mod_description' => $mod_row['mod_desc'],
'mod_version' => $mod_row['mod_version'],
'mod_file' => $mod_row['mod_file'],
***************
*** 942,946 ****
{
$mod_header = $mod_parser->parse_header();
! $mod_info['author_notes'] = str_replace("\n", '<br />', htmlspecialchars($mod_header['author-notes']));
}
}
--- 942,946 ----
{
$mod_header = $mod_parser->parse_header();
! $mod_info['author_notes'] = str_replace("\n", '<br />', $mod_header['author-notes']);
}
}
***************
*** 966,970 ****
{
$mod_info = array(
! 'mod_name' => htmlspecialchars($mod_header['name']),
'mod_author' => array(
'username' => $mod_header['author'][0]['username'],
--- 966,970 ----
{
$mod_info = array(
! 'mod_name' => $mod_header['name'],
'mod_author' => array(
'username' => $mod_header['author'][0]['username'],
***************
*** 972,979 ****
'realname' => $mod_header['author'][0]['realname'],
'website' => $mod_header['author'][0]['website']),
! 'mod_description' => htmlspecialchars($mod_header['desc']),
'mod_version' => $mod_header['version'],
'mod_file' => basename($mod_file),
! 'author_notes' => str_replace("\n", '<br />', htmlspecialchars($mod_header['author-notes'])),
);
}
--- 972,979 ----
'realname' => $mod_header['author'][0]['realname'],
'website' => $mod_header['author'][0]['website']),
! 'mod_description' => $mod_header['desc'],
'mod_version' => $mod_header['version'],
'mod_file' => basename($mod_file),
! 'author_notes' => str_replace("\n", '<br />', $mod_header['author-notes']),
);
}
|