plugins/SpecialUserFuncs.php
changeset 377 bb3e6c3bd4f4
parent 372 5bd429428101
child 387 92664d2efab8
equal deleted inserted replaced
376:66732bd4532c 377:bb3e6c3bd4f4
  1069              ';
  1069              ';
  1070       }
  1070       }
  1071       echo '    <th>' . $lang->get('history_col_actions') . '</th>
  1071       echo '    <th>' . $lang->get('history_col_actions') . '</th>
  1072               </tr>';
  1072               </tr>';
  1073     }
  1073     }
  1074     ++$$current;
  1074     $$current++;
  1075     $cls = ( $cls == 'row1' ) ? 'row2' : 'row1';
  1075     $cls = ( $cls == 'row1' ) ? 'row2' : 'row1';
  1076     
  1076     
  1077     echo '<tr>';
  1077     echo '<tr>';
  1078     
  1078     
  1079     // date & time
  1079     // date & time
  1160   }
  1160   }
  1161   
  1161   
  1162   if ( $current == 'cnt_edits' )
  1162   if ( $current == 'cnt_edits' )
  1163   {
  1163   {
  1164     // no "other" edits, close the table
  1164     // no "other" edits, close the table
  1165     echo '</table></div>';
  1165     if ( $cnt_edits > 0 )
       
  1166       echo '</table></div>';
       
  1167     else
       
  1168       echo '<p>' . $lang->get('userfuncs_contribs_msg_no_edits') . '</p>';
  1166     echo '<h3>' . $lang->get('userfuncs_contribs_heading_other') . '</h3>';
  1169     echo '<h3>' . $lang->get('userfuncs_contribs_heading_other') . '</h3>';
  1167     echo '<p>' . $lang->get('userfuncs_contribs_msg_no_other') . '</p>';
  1170     echo '<p>' . $lang->get('userfuncs_contribs_msg_no_other') . '</p>';
  1168   }
  1171   }
  1169   
  1172   
  1170   $db->free_result();
  1173   $db->free_result();