Skip to content
Snippets Groups Projects
Select Git revision
  • 520df873fef29c1faf89a2cba513bb62fde6cd81
  • main default protected
  • 5.5 protected
  • atlantis
  • 5.3 protected
  • 5.0 protected
  • issue-23
  • issue8-seat-logging-and-export
  • ticket-216
  • tickets-215-216-241-242
10 results

ThreadsCreate.php

Blame
  • Forked from Stud.IP / Stud.IP
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    ExternModuleTemplatePersondetails.class.php 41.91 KiB
    <?
    # Lifter002: TODO
    # Lifter007: TODO
    # Lifter010: TODO
    /**
    * ExternModuleTemplatePersondetails.class.php
    *
    *
    *
    *
    * @author       Peter Thienel <thienel@data-quest.de>, Suchi & Berg GmbH <info@data-quest.de>
    * @access       public
    * @modulegroup  extern
    * @module       ExternModuleTemplatePersondetails
    * @package  studip_extern
    */
    
    // +---------------------------------------------------------------------------+
    // This file is part of Stud.IP
    // ExternModuleTemplatePersondetails.class.php
    //
    // Copyright (C) 2007 Peter Thienel <pthienel@web.de>,
    // Suchi & Berg GmbH <info@data-quest.de>
    // +---------------------------------------------------------------------------+
    // This program is free software; you can redistribute it and/or
    // modify it under the terms of the GNU General Public License
    // as published by the Free Software Foundation; either version 2
    // of the License, or any later version.
    // +---------------------------------------------------------------------------+
    // This program is distributed in the hope that it will be useful,
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU General Public License for more details.
    // You should have received a copy of the GNU General Public License
    // along with this program; if not, write to the Free Software
    // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
    // +---------------------------------------------------------------------------+
    
    
    require_once 'lib/user_visible.inc.php';
    require_once 'lib/statusgruppe.inc.php';
    require_once 'lib/dates.inc.php';
    require_once 'lib/extern/views/extern_html_templates.inc.php';
    
    class ExternModuleTemplatePersondetails extends ExternModule {
    
        public $markers = [];
        private $user_id;
        private $user_perm;
        private $visibilities;
    
        /**
        *
        */
        public function __construct ($range_id, $module_name, $config_id = NULL, $set_config = NULL, $global_id = NULL) {
            $this->data_fields = [];
            if (Config::get()->CALENDAR_ENABLE) {
                $this->registered_elements = [
                    'PersondetailsLectures' => 'PersondetailsLecturesTemplate',
                    'LinkInternLecturedetails' => 'LinkInternTemplate',
                    'TemplateMain' => 'TemplateGeneric',
                    'TemplateLectures' => 'TemplateGeneric',
                    'TemplateNews' => 'TemplateGeneric',
                    'TemplateAppointments' => 'TemplateGeneric',
                    'TemplateOwnCategories' => 'TemplateGeneric'
                ];
            } else {
                $this->registered_elements = [
                    'PersondetailsLectures' => 'PersondetailsLecturesTemplate',
                    'LinkInternLecturedetails' => 'LinkInternTemplate',