--- loncom/homework/lonhomework.pm 2015/04/15 04:11:20 1.350 +++ loncom/homework/lonhomework.pm 2015/04/16 10:13:29 1.351 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.350 2015/04/15 04:11:20 raeburn Exp $ +# $Id: lonhomework.pm,v 1.351 2015/04/16 10:13:29 droeschl Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1021,11 +1021,18 @@ sub editxmlmode { unless ($env{'environment.nocodemirror'}) { # dropdown menues $result .= '
    '. - &Apache::lonmenu::create_submenu("#", "", &mt("Insert Menu"), &Apache::structuretags::insert_menu_datastructure(),"").'
'; + &Apache::lonmenu::create_submenu("#", "", &mt("Templates"), + &Apache::structuretags::insert_menu_datastructure(), + "").''; } - $result .= '
    '. - Apache::lonmenu::create_submenu("#", "", &mt("Help"), &Apache::structuretags::helpmenu_datastructure(),"").'
'; - $result.=""; + $result .= '
    '; + + $result .= Apache::lonmenu::create_submenu("#", "", + &mt("Help") . ' ' . &mt(', + &Apache::structuretags::helpmenu_datastructure(),""); + + $result.="
"; $result.='
'.&Apache::lonxml::message_location(). &Apache::loncommon::xmleditor_js().