[system] / branches / ghe3_dev / webwork2 / lib / WeBWorK / ContentGenerator / Problem.pm Repository:
ViewVC logotype

Diff of /branches/ghe3_dev/webwork2/lib/WeBWorK/ContentGenerator/Problem.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 3794 Revision 3795
1################################################################################ 1################################################################################
2# WeBWorK Online Homework Delivery System 2# WeBWorK Online Homework Delivery System
3# Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ 3# Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/
4# $CVSHeader: webwork2/lib/WeBWorK/ContentGenerator/Problem.pm,v 1.186 2005/09/24 00:51:58 dpvc Exp $ 4# $CVSHeader: webwork2/lib/WeBWorK/ContentGenerator/Problem.pm,v 1.187 2005/11/18 18:30:12 sh002i Exp $
5# 5#
6# This program is free software; you can redistribute it and/or modify it under 6# This program is free software; you can redistribute it and/or modify it under
7# the terms of either: (a) the GNU General Public License as published by the 7# the terms of either: (a) the GNU General Public License as published by the
8# Free Software Foundation; either version 2, or (at your option) any later 8# Free Software Foundation; either version 2, or (at your option) any later
9# version, or (b) the "Artistic License" which comes with this package. 9# version, or (b) the "Artistic License" which comes with this package.
831 } 831 }
832 832
833 ##### translation errors? ##### 833 ##### translation errors? #####
834 834
835 if ($pg->{flags}->{error_flag}) { 835 if ($pg->{flags}->{error_flag}) {
836 if ($authz->hasPermissions($user, "view_problem_debugging_info")) {
836 print $self->errorOutput($pg->{errors}, $pg->{body_text}); 837 print $self->errorOutput($pg->{errors}, $pg->{body_text});
838 } else {
839 print $self->errorOutput($pg->{errors}, "You do not have permission to view the details of this error.");
840 }
837 print $editorLink; 841 print $editorLink;
838 return ""; 842 return "";
839 } 843 }
840 844
841 ##### answer processing ##### 845 ##### answer processing #####

Legend:
Removed from v.3794  
changed lines
  Added in v.3795

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9