Diff for /loncom/interface/lonsimplepage.pm between versions 1.96 and 1.98

version 1.96, 2010/08/07 19:23:51 version 1.98, 2011/05/03 21:38:40
Line 113  sub handler { Line 113  sub handler {
 # --------------------------------------------------------- The syllabus fields  # --------------------------------------------------------- The syllabus fields
     my %syllabusfields=&Apache::lonlocal::texthash(      my %syllabusfields=&Apache::lonlocal::texthash(
        'aaa_title'         => 'Page Title',         'aaa_title'         => 'Page Title',
        'bbb_content'       => 'Content',         'bbb_content'       => ($target eq 'tex'?'':'Content'),
        'ccc_webreferences' => 'Web References');         'ccc_webreferences' => 'Web References');
     if ($group ne '') {      if ($group ne '') {
         $syllabusfields{'abb_links'} = &mt('Available Group Tools');          $syllabusfields{'abb_links'} = &mt('Available Group Tools');
Line 225  sub handler { Line 225  sub handler {
             }              }
             if ($group ne '') {              if ($group ne '') {
                 $syllabus{'uploaded.photourl'}=&Apache::lonnet::userfileupload(                  $syllabus{'uploaded.photourl'}=&Apache::lonnet::userfileupload(
                                               'uploaddoc',1,"grouppage/$group");                                                'uploaddoc','coursedoc',"grouppage/$group");
             } else {              } else {
                 $syllabus{'uploaded.photourl'}=                  $syllabus{'uploaded.photourl'}=
                 &Apache::lonnet::userfileupload('uploaddoc',1,'simplepage');                  &Apache::lonnet::userfileupload('uploaddoc','coursedoc','simplepage');
             }              }
         }          }
         $syllabus{'uploaded.lastmodified'}=time;          $syllabus{'uploaded.lastmodified'}=time;

Removed from v.1.96  
changed lines
  Added in v.1.98


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>