aboutsummaryrefslogtreecommitdiff
path: root/config/config.inc.php.dist
diff options
context:
space:
mode:
Diffstat (limited to 'config/config.inc.php.dist')
-rw-r--r--config/config.inc.php.dist318
1 files changed, 318 insertions, 0 deletions
diff --git a/config/config.inc.php.dist b/config/config.inc.php.dist
new file mode 100644
index 0000000..0c05328
--- /dev/null
+++ b/config/config.inc.php.dist
@@ -0,0 +1,318 @@
+<?php
+/**
+* config.inc.php
+*
+* Configuration file for studip. In this file you can change the options of many
+* Stud.IP Settings.
+* Please note: To setup the system, you have to set the basic settings in the
+* config_local.inc.php in the same directory first.
+*
+* @access public
+* @package studip_core
+* @modulegroup library
+* @module config.inc.php
+*/
+
+// +---------------------------------------------------------------------------+
+// This file is part of Stud.IP
+// functions.php
+// Stud.IP Kernfunktionen
+// Copyright (C) 2002 Cornelis Kater <ckater@gwdg.de>, Suchi & Berg GmbH <info@data-quest.de>,
+// Ralf Stockmann <rstockm@gwdg.de>, André Noack André Noack <andre.noack@gmx.net>
+// +---------------------------------------------------------------------------+
+// 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.
+// +---------------------------------------------------------------------------+
+
+global
+ $FLASHPLAYER_DEFAULT_CONFIG_MIN,
+ $FLASHPLAYER_DEFAULT_CONFIG_MAX,
+ $INST_ADMIN_DATAFIELDS_VIEW,
+ $INST_MODULES,
+ $INST_TYPE,
+ $LIT_LIST_FORMAT_TEMPLATE,
+ $NAME_FORMAT_DESC,
+ $PERS_TERMIN_KAT,
+ $SCM_PRESET,
+ $SMILE_SHORT,
+ $SYMBOL_SHORT,
+ $TERMIN_TYP,
+ $TITLE_FRONT_TEMPLATE,
+ $TITLE_REAR_TEMPLATE,
+ $UNI_CONTACT,
+ $UNI_INFO,
+ $UNI_LOGIN_ADD,
+ $UNI_LOGOUT_ADD,
+ $UNI_URL,
+ $UPLOAD_TYPES,
+ $SEM_TREE_TYPES,
+ $NOT_HIDEABLE_FIELDS,
+ $TEILNEHMER_IMPORT_DATAFIELDS,
+ $DEFAULT_TITLE_FOR_STATUS;
+
+/*basic settings for Stud.IP
+----------------------------------------------------------------
+you find here the indivdual settings for your installation.
+ ! for the basic system settings, please edit the file config_local.inc.php in the same folder !*/
+
+
+//Some more basic data
+//Note: The the clean-name of your institution ($UNI_NAME_CLEAN) is stored in the config_local.inc.php
+$UNI_URL = "http://www.studip.de";
+$UNI_LOGIN_ADD='';
+$UNI_LOGOUT_ADD=sprintf(_("Und hier geht's zur %sStud.IP Portalseite%s&nbsp;"), "<a href=\"http://www.studip.de\"><b>", "</b></a>");
+$UNI_CONTACT = "<please insert your general contact mail-adress here>";
+$UNI_INFO = "Stud.IP 4.3 - Studienbegleitender Internetsupport von Präsenzlehre";
+
+
+/* $SEM_CLASS and $SEM_TYPE configuration moved to database
+=> Admin/Global settings/Course categories
+----------------------------------------------------------------*/
+
+// define default names for status groups
+$DEFAULT_TITLE_FOR_STATUS = array(
+ 'dozent' => array(_('Lehrende'), _('Lehrende')),
+ 'deputy' => array(_('Vertretung'), _('Vertretungen')),
+ 'tutor' => array(_('Tutor/-in'), _('Tutor/-innen')),
+ 'autor' => array(_('Studierende'), _('Studierende')),
+ 'user' => array(_('Leser/-in'), _('Leser/-innen')),
+ 'accepted' => array(_('Vorläufig akzeptierte Person'),
+ _('Vorläufig akzeptierte Personen')));
+
+
+/*
+possible types of sem_tree ("Veranstaltungshierarchie") types
+the "editable" flag could be used to prevent modifications, e.g. imported data
+the "hidden" flag could be used to hide entries that are no longer in use
+*/
+$SEM_TREE_TYPES[0] = array("name" => "", "editable" => true); //default type, must be present
+//$SEM_TREE_TYPES[1] = array("name" => _("Studienmodul") , "editable" => true);
+
+
+/* Set the allowed and prohibited file types for the types given above.
+* If nothing is configured for a specific type, the values of the "default" setting are taken.
+*
+* "type"=>"deny" means: only the listed "file_types" are allowed
+* "type"=>"allow" means: all, but the listed "file_types" are allowed
+*
+* "file_sizes" determines how much each user class can upload per file (multiple of 1 MB = 1048576 Bytes)
+*/
+
+$UPLOAD_TYPES=array( "default" =>
+ array( "type"=>"allow",
+ "file_types" => array ("exe"),
+ "file_sizes" => array ( "root" => 7 * 1048576,
+ "admin" => 7 * 1048576,
+ "dozent" => 7 * 1048576,
+ "tutor" => 7 * 1048576,
+ "autor" => 7 * 1048576,
+ "nobody" => 1.38 * 1048576
+ )
+ ),
+// rules for futher course-types can be added below (please adhere exactly to the structure given above)
+ );
+
+/* Set the allowed and prohibited file types for mail attachments (if activated by ENABLE_MAIL_ATTACHMENTS).
+*
+* "type"=>"deny" means: only the listed "file_types" are allowed
+* "type"=>"allow" means: all, but the listed "file_types" are allowed
+*
+* "file_sizes" determines how much each user class can upload per file (multiple of 1 MB = 1048576 Bytes)
+*/
+
+$UPLOAD_TYPES["attachments"] =
+ array( "type" => "allow",
+ "file_types" => array ("exe"),
+ "file_sizes" => array ( "root" => 7 * 1048576,
+ "admin" => 7 * 1048576,
+ "dozent" => 7 * 1048576,
+ "tutor" => 7 * 1048576,
+ "autor" => 7 * 1048576,
+ "nobody" => 1.38 * 1048576
+ )
+ );
+
+/* Set the allowed and prohibited file types for personal files (like in blubber-upload).
+*
+* "type"=>"deny" means: only the listed "file_types" are allowed
+* "type"=>"allow" means: all, but the listed "file_types" are allowed
+*
+* "file_sizes" determines how much each user class can upload per file (multiple of 1 MB = 1048576 Bytes)
+*/
+
+$UPLOAD_TYPES["personalfiles"] =
+ array( "type" => "allow",
+ "file_types" => array ("exe"),
+ "file_sizes" => array ( "root" => 7 * 1048576,
+ "admin" => 7 * 1048576,
+ "tutor" => 7 * 1048576,
+ "dozent" => 7 * 1048576,
+ "autor" => 7 * 1048576,
+ "nobody" => 0
+ )
+ );
+
+/*
+* set allowed designations of institutes / divisions / administrative units
+*/
+$INST_TYPE[1]=array("name"=>_("Einrichtung"));
+$INST_TYPE[2]=array("name"=>_("Zentrum"));
+$INST_TYPE[3]=array("name"=>_("Lehrstuhl"));
+$INST_TYPE[4]=array("name"=>_("Abteilung"));
+$INST_TYPE[5]=array("name"=>_("Fachbereich"));
+$INST_TYPE[6]=array("name"=>_("Seminar"));
+$INST_TYPE[7]=array("name"=>_("Fakultät"));
+$INST_TYPE[8]=array("name"=>_("Arbeitsgruppe"));
+// ...can be continued accordingly
+
+
+//define the used modules for instiutes
+$INST_MODULES["default"] = array(
+ "forum"=>TRUE, //forum, this module is stud_ip core; always available
+ "documents"=>TRUE, //documents, this module is stud_ip core; always available
+ "personal"=>TRUE, //personal, this module is stud_ip core; always available
+ "literature"=>FALSE, //literature, this module is stud_ip core; always available
+ "scm"=>FALSE, //simple content module, this modul is stud_ip core; always available
+ "wiki"=>FALSE, //wikiwiki-web, this module is stud_ip core; always available
+ );
+//you can add more specific presets for the different types
+
+
+// Set presets for course appointment types
+/*
+* The first array element is used for the designation of regular meetings and will be labeled
+* accordingly in the schedule.
+* The second array element is always used to denominate preliminary discussions.
+* Both names can be chosen freely.
+* The appointment types marked as "sitzung"=>1 are shown in the course creation assistent and
+* while editing dates as templates for the description of regular turnus meetings.
+*/
+
+$TERMIN_TYP[1]=array("name"=>_("Sitzung"), "sitzung"=>1);
+$TERMIN_TYP[2]=array("name"=>_("Vorbesprechung"), "sitzung"=>0);
+$TERMIN_TYP[3]=array("name"=>_("Klausur"), "sitzung"=>0);
+$TERMIN_TYP[4]=array("name"=>_("Exkursion"), "sitzung"=>0);
+$TERMIN_TYP[5]=array("name"=>_("anderer Termin"), "sitzung"=>0);
+$TERMIN_TYP[6]=array("name"=>_("Sondersitzung"), "sitzung"=>0);
+$TERMIN_TYP[7]=array("name"=>_("Vorlesung"), "sitzung"=>1);
+// more types can be added here
+
+
+// Configure the categories for the personal calendar
+$PERS_TERMIN_KAT[1]=array("name"=>_("Sonstiges"));
+$PERS_TERMIN_KAT[2]=array("name"=>_("Sitzung"));
+$PERS_TERMIN_KAT[3]=array("name"=>_("Vorbesprechung"));
+$PERS_TERMIN_KAT[4]=array("name"=>_("Klausur"));
+$PERS_TERMIN_KAT[5]=array("name"=>_("Exkursion"));
+$PERS_TERMIN_KAT[6]=array("name"=>_("Sondersitzung"));
+$PERS_TERMIN_KAT[7]=array("name"=>_("Prüfung"));
+$PERS_TERMIN_KAT[8]=array("name"=>_("Telefonat"));
+$PERS_TERMIN_KAT[9]=array("name"=>_("Besprechung"));
+$PERS_TERMIN_KAT[10]=array("name"=>_("Verabredung"));
+$PERS_TERMIN_KAT[11]=array("name"=>_("Geburtstag"));
+$PERS_TERMIN_KAT[12]=array("name"=>_("Familie"));
+$PERS_TERMIN_KAT[13]=array("name"=>_("Urlaub"));
+$PERS_TERMIN_KAT[14]=array("name"=>_("Reise"));
+$PERS_TERMIN_KAT[15]=array("name"=>_("Vorlesung"));
+// more categories can be added here
+
+//preset for academic titles - add further titles to the array, if necessary
+$TITLE_FRONT_TEMPLATE = array("","Prof.","Prof. Dr.","Dr.","PD Dr.","Dr. des.","Dr. med.","Dr. rer. nat.","Dr. forest.",
+ "Dr. sc. agr.","Dipl.-Biol.","Dipl.-Chem.","Dipl.-Ing.","Dipl.-Sozw.","Dipl.-Geogr.",
+ "Dipl.-Geol.","Dipl.-Geophys.","Dipl.-Ing. agr.","Dipl.-Kfm.","Dipl.-Math.","Dipl.-Phys.",
+ "Dipl.-Psych.","M. Sc","B. Sc");
+$TITLE_REAR_TEMPLATE = array("","M.A.","B.A.","M.S.","MBA","Ph.D.","Dipl.-Biol.","Dipl.-Chem.","Dipl.-Ing.","Dipl.-Sozw.","Dipl.-Geogr.",
+ "Dipl.-Geol.","Dipl.-Geophys.","Dipl.-Ing. agr.","Dipl.-Kfm.","Dipl.-Math.","Dipl.-Phys.",
+ "Dipl.-Psych.","M. Sc","B. Sc");
+
+// name templates for the list of currently active users ("who is online")
+
+$NAME_FORMAT_DESC['full'] = _("Titel1 Vorname Nachname Titel2");
+$NAME_FORMAT_DESC['full_rev'] = _("Nachname, Vorname, Titel1, Titel2");
+$NAME_FORMAT_DESC['no_title'] = _("Vorname Nachname");
+$NAME_FORMAT_DESC['no_title_rev'] = _("Nachname, Vorname");
+$NAME_FORMAT_DESC['no_title_short'] = _("Nachname, V.");
+$NAME_FORMAT_DESC['no_title_motto'] = _("Vorname Nachname, Motto");
+
+
+//preset names for scm (simple content module)
+$SCM_PRESET[1] = array("name"=>_("Informationen")); //the first entry is the default label for scms, it'll be used if the user give no information for another label
+$SCM_PRESET[2] = array("name"=>_("Literatur"));
+$SCM_PRESET[3] = array("name"=>_("Links"));
+$SCM_PRESET[4] = array("name"=>_("Verschiedenes"));
+//you can add more presets here
+
+//preset template for formatting of literature list entries
+$LIT_LIST_FORMAT_TEMPLATE = "**{dc_creator}** |({dc_contributor})||\n"
+ . "{dc_title}||\n"
+ . "{dc_identifier}||\n"
+ . "%%{published}%%||\n"
+ . "{note}||\n"
+ . "[{lit_plugin_display_name}]{external_link}|\n";
+
+//Shortcuts for smileys
+$SMILE_SHORT = array( //diese Kuerzel fuegen das angegebene Smiley ein (Dateiname + ".gif")
+ ":)"=>"smile" ,
+ ":-)"=>"asmile" ,
+ ":#:"=>"zwinker" ,
+ ":("=>"frown" ,
+ ":o"=>"redface" ,
+ ":D"=>"biggrin",
+ ";-)"=>"wink");
+
+//Shortcuts for symbols
+$SYMBOL_SHORT = array(
+ "=)" => "&rArr;" ,
+ "(=" => "&lArr;" ,
+ "(c)" => "&copy;" ,
+ "(r)" => "&reg;" ,
+ " tm " => "&trade;"
+);
+
+
+/*configuration for additional modules
+----------------------------------------------------------------
+this options are only needed, if you are using the addional Stud.IP modules (please see in config_local.inc.php
+which modules are activated). It's a good idea to leave this settings untouched...*/
+
+
+// cofiguration for flash player
+$FLASHPLAYER_DEFAULT_CONFIG_MIN = "&amp;showstop=1&amp;showvolume=1&amp;bgcolor=A6B6C6&amp;bgcolor1=A6B6C6&amp;bgcolor2=7387AC&amp;playercolor=7387AC&amp;buttoncolor=254580&amp;buttonovercolor=E9EFFD&amp;slidercolor1=CAD7E1&amp;slidercolor2=A6B6C6&amp;sliderovercolor=E9EFFD&amp;loadingcolor=E9B21A&amp;buffer=5&amp;buffercolor=white&amp;buffershowbg=0&amp;playeralpha=90&amp;playertimeout=500&amp;shortcut=1&amp;phpstream=0&amp;onclick=playpause&amp;showloading=always";
+$FLASHPLAYER_DEFAULT_CONFIG_MAX = "&amp;showstop=1&amp;showvolume=1&amp;bgcolor=A6B6C6&amp;bgcolor1=A6B6C6&amp;bgcolor2=7387AC&amp;playercolor=7387AC&amp;buttoncolor=254580&amp;buttonovercolor=E9EFFD&amp;slidercolor1=CAD7E1&amp;slidercolor2=A6B6C6&amp;sliderovercolor=E9EFFD&amp;loadingcolor=E9B21A&amp;buffer=5&amp;buffercolor=white&amp;buffershowbg=0&amp;playeralpha=90&amp;playertimeout=500&amp;shortcut=1&amp;showtime=1&amp;showfullscreen=1&amp;showplayer=always&amp;phpstream=0&amp;onclick=playpause&amp;showloading=always";
+
+/*
+ * use this to customize the fields shown in the standard/extended view on the instiute member page
+ * valid values are 'raum', 'sprechzeiten', 'telefon', 'email', 'homepage' and userinstrole datafield ids
+ * default for 'default' is to show all builtin fields except 'homepage', 'extended' shows all builtin fields
+ */
+$INST_ADMIN_DATAFIELDS_VIEW = array(
+ 'default' => array(),
+ 'extended' => array()
+);
+/*
+ * Fields that may not be hidden by users in their privacy settings.
+ * Can be configured per permission level.
+ * @see lib/edit_about.inc.php in function get_homepage_elements for
+ * available fields.
+ * Entries look like "'field_name' => true".
+ */
+$NOT_HIDEABLE_FIELDS = array(
+ 'user' => array(),
+ 'autor' => array(),
+ 'tutor' => array(),
+ 'dozent' => array(),
+ 'admin' => array(),
+ 'root' => array()
+);
+//Add ids of datafields to use for import on teilnehmer.php
+$TEILNEHMER_IMPORT_DATAFIELDS = array();