From: Alain Peyrat Date: Wed, 26 Oct 2011 07:59:24 +0000 (+0000) Subject: Clean HTML code with css classes X-Git-Tag: v5_2_rc1~551 X-Git-Url: https://scm.fusionforge.org/anonscm/gitweb?p=fusionforge%2Ffusionforge.git;a=commitdiff_plain;h=51aaec53da4c2e64570fdc049ec996dce8bf359b Clean HTML code with css classes --- diff --git a/src/www/export/tracker.php b/src/www/export/tracker.php index 7222bbb582..b851c21c7b 100644 --- a/src/www/export/tracker.php +++ b/src/www/export/tracker.php @@ -64,7 +64,6 @@ if ($group_id && $atid) { // // Add checks to see if they have perms to view this // - ; if (!session_check_perm ('tracker', $atid)) { endOnError('Permission Denied'); $errors = true; diff --git a/src/www/forum/attachment.php b/src/www/forum/attachment.php index b16393ef8f..c3cdc8adca 100644 --- a/src/www/forum/attachment.php +++ b/src/www/forum/attachment.php @@ -31,7 +31,6 @@ require_once('../env.inc.php'); require_once $gfcommon.'include/pre.php'; require_once $gfcommon.'forum/ForumHTML.class.php'; - /** * goodbye - Just prints a message and a close button. * diff --git a/src/www/forum/myforums.php b/src/www/forum/myforums.php index 3f6ad9ed64..73064c93f3 100644 --- a/src/www/forum/myforums.php +++ b/src/www/forum/myforums.php @@ -50,12 +50,12 @@ if ($group_id) { $result = db_query_params ('SELECT mon.forum_id, fg.group_id FROM forum_monitored_forums mon,forum_group_list fg where mon.user_id=$1 and fg.group_forum_id=mon.forum_id', array ($user_id)); if (!$result) { - echo '
Database error :'.db_error().'
'; + echo '

Database error :'.db_error().'

'; forum_footer(array()); exit; } if ( db_numrows($result) < 1) { - echo '
'._('You have no monitored forums').'
'; + echo '

'._('You have no monitored forums').'

'; forum_footer(array()); exit; } diff --git a/src/www/top/toplist.php b/src/www/top/toplist.php index 85bacae6ce..c1df974c48 100644 --- a/src/www/top/toplist.php +++ b/src/www/top/toplist.php @@ -71,7 +71,7 @@ while ($row_top = db_fetch_array($res_top)) { $display_rank++; print 'boxGetAltRowStyle($i) .'>  '.$display_rank .''.util_make_link_g (strtolower($row_top['unix_group_name']),@$row_top['group_id'],stripslashes($row_top['group_name'])) - .''.$row_top['items'] + .''.$row_top['items'] .'   ' .' '; diff --git a/src/www/top/topusers.php b/src/www/top/topusers.php index 630b60a924..3f1b668741 100644 --- a/src/www/top/topusers.php +++ b/src/www/top/topusers.php @@ -75,10 +75,10 @@ while ($row_top = db_fetch_array($res_top)) { print 'boxGetAltRowStyle($i) .'>  '.$row_top['ranking'] .''.util_make_link_u ($row_top['user_name'],$row_top['user_id'],$row_top['user_name']).'' .''.$row_top['realname'].'' - .''.sprintf('%.2f', $row_top['metric']) - .'   '.$row_top['old_ranking'] + .''.sprintf('%.2f', $row_top['metric']) + .'   '.$row_top['old_ranking'] .'   ' - .''; + .''; // calculate change $diff = $row_top["old_ranking"] - $row_top["ranking"]; diff --git a/src/www/trove/admin/trove_cat_edit.php b/src/www/trove/admin/trove_cat_edit.php index 50d1a22c99..817836650c 100644 --- a/src/www/trove/admin/trove_cat_edit.php +++ b/src/www/trove/admin/trove_cat_edit.php @@ -74,7 +74,7 @@ switch($do) { site_admin_header(array('title'=>_('Site Admin: Trove - Category List'))) ; ?> - +

diff --git a/src/www/trove/index.php b/src/www/trove/index.php index 45eba7c5b2..8f014e1e77 100644 --- a/src/www/trove/index.php +++ b/src/www/trove/index.php @@ -86,9 +86,9 @@ if($filter) { // We display the trove ?> - - -
+ + + -
+ getParents(); @@ -199,10 +199,10 @@ $html_limit .= ''; print $html_limit."
\n"; -?>
- + - + -
 
+ Activity Percentile:
Activity Ranking:
Register Date: