[system] / trunk / webwork / system / courseScripts / PGbasicmacros.pl Repository:
ViewVC logotype

Diff of /trunk/webwork/system/courseScripts/PGbasicmacros.pl

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

Revision 27 Revision 28
1320sub htmlLink { 1320sub htmlLink {
1321 my $url = shift; 1321 my $url = shift;
1322 my $text = shift; 1322 my $text = shift;
1323 my $options = shift; 1323 my $options = shift;
1324 $options = "" unless defined($options); 1324 $options = "" unless defined($options);
1325 return "${main::BBOLD}[ broken link: $text ] ${main::EBOLD}" unless defined($url);
1325 M3( "{\\bf \\underline{$text} }", 1326 M3( "{\\bf \\underline{$text} }",
1326 "\\begin{rawhtml} <A HREF=\"$url\" $options> $text </A>\\end{rawhtml}", 1327 "\\begin{rawhtml} <A HREF=\"$url\" $options> $text </A>\\end{rawhtml}",
1327 "<A HREF=\"$url\" $options> $text </A>" 1328 "<A HREF=\"$url\" $options> $text </A>"
1328 ); 1329 );
1329} 1330}

Legend:
Removed from v.27  
changed lines
  Added in v.28

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9