public_html/admin/moderation.php
branchHEAD
changeset 7473 e6207655d9cc
parent 7379 d9ce993e1951
child 7596 a411f5d356bb
     1.1 --- a/public_html/admin/moderation.php	Sat Oct 17 13:11:32 2009 +0200
     1.2 +++ b/public_html/admin/moderation.php	Sun Nov 15 10:58:30 2009 +0100
     1.3 @@ -189,7 +189,7 @@
     1.4      if ($_CONF['sort_admin']) {
     1.5          uksort ($items, 'strcasecmp');
     1.6      }
     1.7 -     // logout is always the last entry
     1.8 +    // logout is always the last entry
     1.9      $item = render_cc_item ($admin_templates,
    1.10                      $_CONF['site_url'] . '/users.php?mode=logout',
    1.11                      $_CONF['layout_url'] . '/images/icons/logout.' . $_IMAGE_TYPE,
    1.12 @@ -262,7 +262,7 @@
    1.13  {
    1.14      global $_CONF, $_TABLES, $LANG29, $LANG_ADMIN;
    1.15  
    1.16 -    require_once( $_CONF['path_system'] . 'lib-admin.php' );
    1.17 +    require_once $_CONF['path_system'] . 'lib-admin.php';
    1.18  
    1.19      $retval = '';
    1.20      $isplugin = false;
    1.21 @@ -282,7 +282,7 @@
    1.22                  $isplugin = true;
    1.23              }
    1.24          }
    1.25 -    } elseif ( $type == 'story') { // story submission
    1.26 +    } elseif ($type == 'story') { // story submission
    1.27          $sql = "SELECT sid AS id,title,date,tid FROM {$_TABLES['storysubmission']}" . COM_getTopicSQL ('WHERE') . " ORDER BY date ASC";
    1.28          $H =  array($LANG29[10], $LANG29[14], $LANG29[15]);
    1.29          $section_title = $LANG29[35];
    1.30 @@ -293,7 +293,7 @@
    1.31                . "ORDER BY cid ASC";
    1.32          $H = array($LANG29[10], $LANG29[36], $LANG29[14]);
    1.33          $section_title = $LANG29[41];
    1.34 -        $section_help = 'ccstorysubmission.html'; // FIXME
    1.35 +        $section_help = 'cccommentsubmission.html';
    1.36      }
    1.37  
    1.38      // run SQL but this time ignore any errors
    1.39 @@ -381,7 +381,7 @@
    1.40  {
    1.41      global $_CONF, $_TABLES, $LANG29, $LANG_ADMIN;
    1.42  
    1.43 -    require_once ($_CONF['path_system'] . 'lib-admin.php');
    1.44 +    require_once $_CONF['path_system'] . 'lib-admin.php';
    1.45  
    1.46      $retval = '';
    1.47      $sql = "SELECT uid as id,username,fullname,email FROM {$_TABLES['users']} WHERE status = 2";
    1.48 @@ -407,7 +407,7 @@
    1.49  
    1.50      $text_arr = array('has_menu'  => false,
    1.51                        'title'     => $LANG29[40],
    1.52 -                      'help_url'  => '',
    1.53 +                      'help_url'  => 'ccusersubmission.html',
    1.54                        'no_data'   => $LANG29[39],
    1.55                        'form_url'  => "{$_CONF['site_admin_url']}/moderation.php"
    1.56      );
    1.57 @@ -447,7 +447,7 @@
    1.58  {
    1.59      global $_CONF, $_TABLES, $LANG24, $LANG29, $LANG_ADMIN;
    1.60  
    1.61 -    require_once( $_CONF['path_system'] . 'lib-admin.php' );
    1.62 +    require_once $_CONF['path_system'] . 'lib-admin.php';
    1.63  
    1.64      $retval = '';
    1.65  
    1.66 @@ -475,7 +475,7 @@
    1.67  
    1.68      $text_arr = array('has_menu'  => false,
    1.69                        'title'     => $LANG29[35] . ' (' . $LANG24[34] . ')',
    1.70 -                      'help_url'  => '',
    1.71 +                      'help_url'  => 'ccdraftsubmission.html',
    1.72                        'no_data'   => $LANG29[39],
    1.73                        'form_url'  => "{$_CONF['site_admin_url']}/moderation.php");
    1.74