version 1.105, 2009/02/25 13:25:52
|
version 1.108, 2009/03/02 22:32:19
|
Line 216 sub handler {
|
Line 216 sub handler {
|
} |
} |
$args->{'bread_crumbs'} = [{href=>"/adm/fhwfdev/$cnum/aboutme",text=>"Personal Information Page"}]; |
$args->{'bread_crumbs'} = [{href=>"/adm/fhwfdev/$cnum/aboutme",text=>"Personal Information Page"}]; |
my $start_page = |
my $start_page = |
&Apache::loncommon::start_page("Personal Information Page",$rss_link,$args); |
&Apache::loncommon::start_page("Personal Data",$rss_link,$args); |
$r->print($start_page); |
$r->print($start_page); |
|
|
} |
} |
|
|
|
#Print Help Text |
|
if ($target ne 'tex') { |
|
if($allowed){ |
|
$r->print(&Apache::loncommon::help_open_topic('Uploaded_Templates_TextBoxes',&mt('Help with filling in text boxes'))); |
|
} |
|
} |
|
|
#----------------Print Functions |
#----------------Print Functions |
if( $target ne 'tex'){ |
if( $target ne 'tex'){ |
&Apache::lontemplate::print_start_page_functions($r); |
&Apache::lontemplate::print_start_page_functions($r); |
if($allowed){ |
if($allowed){ |
my $query_string = &build_query_string({'forcestudent' => '1','popup' => $env{'form.popup'}}); |
my $query_string = &build_query_string({'forcestudent' => '1','popup' => $env{'form.popup'}}); |
&Apache::lontemplate::print_functions_content($r,'<a href="'.$r->uri.$query_string.'">'.&mt('Show Public View').'</a>'.&Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView')); |
&Apache::lontemplate::print_functions_content($r,'<a href="'.$r->uri.$query_string.'">'.&mt('Show Public View').'</a>'.&Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView')); |
&Apache::lontemplate::print_functions_content($r,&Apache::loncommon::help_open_topic('Uploaded_Templates_TextBoxes',&mt('Help with filling in text boxes'))); |
}elsif($privleged){ |
}elsif($privleged){ |
|
my $query_string = &build_query_string({'forceedit' => '1','popup' => $env{'form.popup'}}); |
my $query_string = &build_query_string({'forceedit' => '1','popup' => $env{'form.popup'}}); |
&Apache::lontemplate::print_functions_content($r,'<a href="'.$r->uri.$query_string.'">'. &mt('Edit').'</a>'); |
&Apache::lontemplate::print_functions_content($r,'<a href="'.$r->uri.$query_string.'">'. &mt('Edit').'</a>'); |
} |
} |