diff --git a/addons/template/cis/index.html b/addons/template/cis/index.html deleted file mode 100755 index e69de29bb..000000000 diff --git a/addons/template/cis/init.js.php b/addons/template/cis/init.js.php deleted file mode 100755 index 174f620ed..000000000 --- a/addons/template/cis/init.js.php +++ /dev/null @@ -1,44 +0,0 @@ - - */ -/** - * Initialisierung des Addons - */ -?> -if(typeof addon =='undefined') - var addon=Array(); - -addon.push( -{ - init: function(page, params) - { - // Diese Funktion wird nach dem Laden der Seite im CIS aufgerufen - - /* - switch(page) - { - case 'cis/private/tools/zeitaufzeichnung.php': - break; - - default: - break; - } - */ - } -}); diff --git a/addons/template/cis/vorlage_profil_array.php b/addons/template/cis/vorlage_profil_array.php deleted file mode 100755 index 3b4a04a65..000000000 --- a/addons/template/cis/vorlage_profil_array.php +++ /dev/null @@ -1,55 +0,0 @@ - - */ -/** - * Diese Datei fügt zusätzliche Links im CIS Profil ein - * Dazu muss die Datei umbenannt werden in profil_array.php - * - * Dazu wird ein Array aufgebaut welches die Links enthaelt. - * - * $menu = array('MeinLink'=>array('name'=>'Name des Links','link'=>'../path/to/file.php','target'='content')); - */ - - -// Unterschiedliche Links für Studierende und Mitarbeiter -if($type=='student') -{ - if(!$ansicht) - $menu['Notenliste']=array('name'=>$p->t('profil/leistungsbeurteilung'), 'link'=>'../lehre/notenliste.php', 'target'=>'content'); - $menu['LVPlan']=array('name'=>$p->t('profil/lvplanVon').' '.$user->nachname, 'link'=>'../lvplan/stpl_week.php?pers_uid='.$user->uid.'&type=student', 'target'=>'content'); -} -else -{ - if(!$ansicht) - { - $menu['Zeitwunsch']=array('name'=>$p->t('profil/zeitwuensche'), 'link'=>'zeitwunsch.php?uid='.$user->uid, 'target'=>'content'); - $menu['Lehrveranstaltungen']=array('name'=>$p->t('lvaliste/lehrveranstaltungen'), 'link'=>'lva_liste.php?uid='.$user->uid, 'target'=>'content'); - } - - if(check_lektor(get_uid())) - { - $menu['Zeitsperren']=array('name'=>$p->t('profil/zeitsperrenVon').' '.$user->nachname, 'link'=>'zeitsperre_days.php?days=30&lektor='.$user->uid, 'target'=>'content'); - } - - if($uid!=get_uid()) - { - $menu['LVPlan']=array('name'=>$p->t('profil/lvplanVon').' '.$user->nachname, 'link'=>'../lvplan/stpl_week.php?pers_uid='.$user->uid.'&type=lektor', 'target'=>'content'); - } -} -?> diff --git a/addons/template/content/index.html b/addons/template/content/index.html deleted file mode 100755 index e69de29bb..000000000 diff --git a/addons/template/content/init.js.php b/addons/template/content/init.js.php deleted file mode 100755 index 4209c2f12..000000000 --- a/addons/template/content/init.js.php +++ /dev/null @@ -1,90 +0,0 @@ - - */ -/** - * Initialisierung des Addons - */ -?> -addon.push( -{ - init: function() - { - // Diese Funktion wird nach dem Laden des FAS aufgerufen - - /* - - // Hinzufuegen eines zusaetzlichen Tabs bei Mitarbeitern mit einem Label darin - var tabitem = document.createElement("tab"); - tabitem.setAttribute("id","addon-template-tab"); - tabitem.setAttribute("label","Template"); - - var mitarbeitertabs = document.getElementById("mitarbeiter-tabs"); - mitarbeitertabs.appendChild(tabitem); - - var tabpanelitem = document.createElement("vbox"); - tabpanelitem.setAttribute("id","addon-template-tabpannel-vbox"); - var label = document.createElement("label"); - label.setAttribute("value","Template"); - tabpanelitem.appendChild(label); - - var mitarbeitertabpanels=document.getElementById("mitarbeiter-tabpanels-main"); - mitarbeitertabpanels.appendChild(tabpanelitem); - - // zusaetzliche Funktion beim klicken des Suchen Button bei Mitarbeitern hinzufuegen - searchbutton = document.getElementById("mitarbeiter-toolbar-button-search"); - searchbutton.addEventListener("command",AddonTemplateMitarbeiterSearch, true); - - // Menuepunkt hinzufuegen - statistikmenue = document.getElementById("menu-statistic-popup"); - - var menuentry = document.createElement("menuitem"); - menuentry.setAttribute("id","addons-template-mymenuentry"); - menuentry.setAttribute("label","Addon Template Menu Entry"); - menuentry.addEventListener("command",AddonTemplateMenuEntry, true); - - statistikmenue.appendChild(menuentry); - - */ - }, - selectMitarbeiter: function(person_id, mitarbeiter_uid) - { - }, - selectStudent: function(person_id, prestudent_id, student_uid) - { - }, - selectVerband: function(item) - { - }, - selectInstitut: function(institut) - { - }, - selectLektor: function(lektor) - { - } -}); - -function AddonTemplateMitarbeiterSearch() -{ - alert("AddonTemplateSearchButtonClicked"); -} - -function AddonTemplateMenuEntry() -{ - alert("AddonTemplateMenuEntry clicked"); -} diff --git a/addons/template/dbcheck.php b/addons/template/dbcheck.php deleted file mode 100755 index a5f9e8b30..000000000 --- a/addons/template/dbcheck.php +++ /dev/null @@ -1,101 +0,0 @@ - - -
- - - -