function __construct($steam_object = FALSE)
 {
     self::$PATH = PATH_EXTENSIONS . "units_pyramiddiscussion/";
     self::$DISPLAY_NAME = gettext("Pyramid discussion");
     self::$DISPLAY_DESCRIPTION = gettext("A Pyramid discussion is a presentation form in which the achieved considerations of a discussion process get noted in form of a pyramid. You can use this unit type for carrying out such a discussion as part of your course. The creation dialog lets you choose a topic for the discussion, further description of the unit and the number of participants of the discussion.");
     parent::__construct(PATH_EXTENSIONS . "units_pyramiddiscussion.xml", $steam_object);
     $this->set_action_permissions(PERMISSION_ACTION_EDIT | PERMISSION_ACTION_DELETE);
 }
Ejemplo n.º 2
0
                 $content->setVariable("AP_CHECKED", "checked=\"checked\"");
                 $content->setVariable("AI_CHECKED", "");
                 break;
             case "2":
                 $content->setVariable("AD_CHECKED", "");
                 $content->setVariable("AP_CHECKED", "");
                 $content->setVariable("AI_CHECKED", "checked=\"checked\"");
                 break;
         }
         $content->setVariable("LABEL_CREATE", gettext("Save changes"));
     } else {
         $content->setVariable("LABEL_CREATE", gettext("Create unit"));
     }
 }
 $content->setVariable("AD_CHECKED", "checked=\"checked\"");
 $content->setVariable("UNIT_ICON", units_pyramiddiscussion::get_big_icon());
 $content->setVariable("CONFIRMATION_TEXT", gettext("You are going to add a new unit for this course."));
 $content->setVariable("CONFIRMATION_TEXT_LONG", gettext("You are going to add a new pyramiddiscussion unit to this course. Please note that a pyramiddiscussion unit will be processed using the open-sTeam server of the koaLA system. Therefore the pyramiddiscussion itself will be adressed using a link to an external system requiring username and password. The required username and password are the same as for koaLA."));
 $content->setVariable("LABEL_NAME", gettext("Name"));
 $content->setVariable("LABEL_DSC", gettext("Description of the unit"));
 $content->setVariable("LABEL_SHORT_DSC", gettext("Description"));
 $content->setVariable("LABEL_DSC", gettext("Long description"));
 $content->setVariable("LABEL_DSC_SHOW_UP", gettext("This description will show up on the units page."));
 $content->setVariable("LABEL_LONG_DSC", gettext("Long description") . ":");
 $content->setVariable("LONG_DSC_SHOW_UP", gettext("This description will show up on the units page."));
 $content->setVariable("INFO_DSC_SUBJECT", gettext("The unit description will also be the subject of the pyramid discussion."));
 $content->setVariable("LABEL_NUM_PARTICIPANTS", gettext("Number of participants"));
 $content->setVariable("LABEL_APPEARANCE", gettext("Please choose how to access the content of the pyramiddiscussion"));
 $content->setVariable("LABEL_APPEARANCE_DIRECT", gettext("The link to the pyramiddiscussion content will be displayed in the list of units directly"));
 $content->setVariable("LABEL_APPEARANCE_PROXY", gettext("The long Description will be displayed along with a link to the pyramiddiscussion content"));
 $content->setVariable("LABEL_APPEARANCE_INLINE", gettext("Inline using an IFrame"));