Initial commit
This commit is contained in:
BIN
typo3conf/ext/if_oberstufenplaner/.DS_Store
vendored
Normal file
BIN
typo3conf/ext/if_oberstufenplaner/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
typo3conf/ext/if_oberstufenplaner/._.DS_Store
Normal file
BIN
typo3conf/ext/if_oberstufenplaner/._.DS_Store
Normal file
Binary file not shown.
@@ -0,0 +1,627 @@
|
||||
<?php
|
||||
|
||||
namespace Internetfabrik\IfOberstufenplaner\Controller;
|
||||
|
||||
|
||||
use Internetfabrik\IfOberstufenplaner\Domain\Model\Fach;
|
||||
use Internetfabrik\IfOberstufenplaner\Domain\Model\Schule;
|
||||
use Internetfabrik\IfOberstufenplaner\Service\SessionHandler;
|
||||
use Internetfabrik\IfOberstufenplaner\PDF\Pdf;
|
||||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
|
||||
class FaecherplanerController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController
|
||||
{
|
||||
/**
|
||||
*
|
||||
* @var SessionHandler
|
||||
*/
|
||||
protected $sessionHandler;
|
||||
|
||||
protected $sessionKey = 'planer';
|
||||
|
||||
/**
|
||||
* entryRepository
|
||||
*
|
||||
* @var \Internetfabrik\IfOberstufenplaner\Domain\Repository\SchuleRepository
|
||||
* @inject
|
||||
*/
|
||||
protected $schuleRepository = NULL;
|
||||
// /**
|
||||
// * entryRepository
|
||||
// *
|
||||
// * @var \Internetfabrik\IfOberstufenplaner\Domain\Repository\SchuleRefRepository
|
||||
// * @inject
|
||||
// */
|
||||
// protected $schuleRefRepository = NULL;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*
|
||||
* Typen: nw: Naturwissenschaft, gw: Geisteswissenschaft, ae: Ästetische Fächer, sp: Sprache
|
||||
*/
|
||||
protected $faecher = [
|
||||
"amt" => ["name" =>"angew. Mathematik", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"blau", "typ" =>"nw", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"ain" => ["name" =>"angew. Informatik", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"blau", "typ" =>"nw", "isProfilfach" =>true, 'isSeminar' => false, "nurEinJahr"=>true],
|
||||
"arl" => ["name" =>"Archäologie", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"gelb", "typ" =>"gw", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"arc" => ["name" =>"Architektur", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"aph" => ["name" =>"Astrophysik", "wochenstunden" =>4, "profilfachWochenstunden" =>3, "farbe" =>"blau", "typ" =>"nw", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"ast" => ["name" =>"Allg. Sporttheorie", "wochenstunden" =>2, "profilfachWochenstunden" =>0, "farbe" =>"gruen", "typ" =>"ae", "isProfilfach" =>false],
|
||||
"b" => ["name" =>"Biologie", "wochenstunden" =>3, "profilfachWochenstunden" =>3, "farbe" =>"blau", "typ" =>"nw", "isProfilfach" =>true, 'isSeminar' => true],
|
||||
"bpr" => ["name" =>"Bildnerische Praxis", "wochenstunden" =>2, "profilfachWochenstunden" =>0, "farbe" =>"gruen", "typ" =>"ae", "isProfilfach" =>false],
|
||||
"bcp" => ["name" =>"biol.-chem. Prakt.", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"blau", "typ" =>"nw", "isProfilfach" =>true, 'isSeminar' => false, 'nurEinJahr'=>true],
|
||||
"bph" => ["name" =>"Biophysik", "wochenstunden" =>4, "profilfachWochenstunden" =>3, "farbe" =>"blau", "typ" =>"nw", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"c" => ["name" =>"Chemie", "wochenstunden" =>3, "profilfachWochenstunden" =>3, "farbe" =>"blau", "typ" =>"nw", "isProfilfach" =>true, 'isSeminar' => true],
|
||||
"cha" => ["name" =>"chem. Analyse", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"blau", "typ" =>"nw", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"chi" => ["name" =>"Chinesisch", "wochenstunden" =>4, "profilfachWochenstunden" =>3, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => true],
|
||||
"d" => ["name" =>"Deutsch", "wochenstunden" =>4, "profilfachWochenstunden" =>0, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>false, 'isSeminar' => true],
|
||||
"e" => ["name" =>"Englisch", "wochenstunden" =>4, "profilfachWochenstunden" =>3, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => true],
|
||||
"eth" => ["name" =>"Ethik", "wochenstunden" =>2, "profilfachWochenstunden" =>0, "farbe" =>"gelb", "typ" =>"gw", "isProfilfach" =>false, 'isSeminar' => true],
|
||||
"ev" => ["name" =>"Religionslehre ev.", "wochenstunden" =>2, "profilfachWochenstunden" =>0, "farbe" =>"gelb", "typ" =>"gw", "isProfilfach" =>false, 'isSeminar' => true],
|
||||
"fmd" => ["name" =>"Film-/Mediendesign", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"gruen", "typ" =>"ae", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"fot" => ["name" =>"Fotographie", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"gruen", "typ" =>"ae", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"f" => ["name" =>"Französisch", "wochenstunden" =>4, "profilfachWochenstunden" =>3, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => true],
|
||||
"fko" => ["name" =>"fremdspr. Konversation", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"g" => ["name" =>"Geschichte", "wochenstunden" =>2, "profilfachWochenstunden" =>0, "farbe" =>"gelb", "typ" =>"gw", "isProfilfach" =>false, 'isSeminar' => true],
|
||||
"g_sk" => ["name" =>"Geschichte mit Sozialkunde", "wochenstunden" =>3, "profilfachWochenstunden" =>0, "farbe" =>"gelb", "typ" =>"gw", "isProfilfach" =>false],
|
||||
"geo" => ["name" =>"Geographie", "wochenstunden" =>2, "profilfachWochenstunden" =>2, "farbe" =>"gelb", "typ" =>"gw", "isProfilfach" =>true, 'isSeminar' => true],
|
||||
"gel" => ["name" =>"Geologie", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"gelb", "typ" =>"gw", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"gr" => ["name" =>"Griechisch", "wochenstunden" =>4, "profilfachWochenstunden" =>3, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => true],
|
||||
"hbr" => ["name" =>"Hebräisch", "wochenstunden" =>4, "profilfachWochenstunden" =>3, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"i_g" => ["name" =>"Instrument/Gesang", "wochenstunden" =>1, "profilfachWochenstunden" =>0, "farbe" =>"gruen", "typ" =>"ae", "isProfilfach" =>false],
|
||||
"inf" => ["name" =>"Informatik", "wochenstunden" =>3, "profilfachWochenstunden" =>3, "farbe" =>"blau", "typ" =>"nw", "isProfilfach" =>true, 'isSeminar' => true],
|
||||
"itl" => ["name" =>"Informationstechnol.", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"blau", "typ" =>"nw", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"ien" => ["name" =>"Instrumentalensemble", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"it" => ["name" =>"Italienisch", "wochenstunden" =>4, "profilfachWochenstunden" =>3, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => true],
|
||||
"jap" => ["name" =>"Japanisch", "wochenstunden" =>4, "profilfachWochenstunden" =>3, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => true],
|
||||
"ku" => ["name" =>"Kunst", "wochenstunden" =>2, "profilfachWochenstunden" =>2, "farbe" =>"gruen", "typ" =>"ae", "isProfilfach" =>true, 'isSeminar' => true],
|
||||
"kug" => ["name" =>"Kunstgeschichte", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"gruen", "typ" =>"ae", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"l" => ["name" =>"Latein", "wochenstunden" =>4, "profilfachWochenstunden" =>3, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => true],
|
||||
"lin" => ["name" =>"Linguistik", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"lit" => ["name" =>"Literatur", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"mt" => ["name" =>"Mathematik", "wochenstunden" =>4, "profilfachWochenstunden" =>0, "farbe" =>"blau", "typ" =>"nw", "isProfilfach" =>false, 'isSeminar' => true],
|
||||
"mil" => ["name" =>"Mineralogie", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"blau", "typ" =>"nw", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"mu" => ["name" =>"Musik", "wochenstunden" =>2, "profilfachWochenstunden" =>2, "farbe" =>"gruen", "typ" =>"ae", "isProfilfach" =>true, 'isSeminar' => true],
|
||||
"ngr" => ["name" =>"Neugriechisch", "wochenstunden" =>4, "profilfachWochenstunden" =>3, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => true],
|
||||
"ndl" => ["name" =>"Niederländisch", "wochenstunden" =>4, "profilfachWochenstunden" =>3, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"pad" => ["name" =>"Pädagogik", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"gelb", "typ" =>"gw", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"phi" => ["name" =>"Philosophie", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"gelb", "typ" =>"gw", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"ph" => ["name" =>"Physik", "wochenstunden" =>3, "profilfachWochenstunden" =>3, "farbe" =>"blau", "typ" =>"nw", "isProfilfach" =>true, 'isSeminar' => true],
|
||||
"pln" => ["name" =>"Polnisch", "wochenstunden" =>4, "profilfachWochenstunden" =>3, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => true],
|
||||
"po" => ["name" =>"Portugiesisch", "wochenstunden" =>4, "profilfachWochenstunden" =>3, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => true],
|
||||
"psy" => ["name" =>"Psychologie", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"gelb", "typ" =>"gw", "isProfilfach" =>true, 'isSeminar' => true],
|
||||
"prd" => ["name" =>"Produktdesign", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"rmt" => ["name" =>"reine Mathem.", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"blau", "typ" =>"nw", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"reli_eth" => ["name" =>"Religion/Ethik", "wochenstunden" =>2, "profilfachWochenstunden" =>0, "farbe" =>"gelb", "typ" =>"gw", "isProfilfach" =>false],
|
||||
"rk" => ["name" =>"Religionslehre kath.", "wochenstunden" =>2, "profilfachWochenstunden" =>0, "farbe" =>"gelb", "typ" =>"gw", "isProfilfach" =>false, 'isSeminar' => true],
|
||||
"rht" => ["name" =>"Rhetorik", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"ru" => ["name" =>"Russisch", "wochenstunden" =>4, "profilfachWochenstunden" =>3, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => true],
|
||||
"sk" => ["name" =>"Sozialkunde", "wochenstunden" =>2, "profilfachWochenstunden" =>0, "farbe" =>"gelb", "typ" =>"gw", "isProfilfach" =>false, 'isSeminar' => true],
|
||||
"sp" => ["name" =>"Spanisch", "wochenstunden" =>4, "profilfachWochenstunden" =>3, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => true],
|
||||
"spo" => ["name" =>"Sport", "wochenstunden" =>4, "profilfachWochenstunden" =>0, "farbe" =>"gruen", "typ" =>"ae", "isProfilfach" =>false, 'isSeminar' => true],
|
||||
"swa" => ["name" =>"Sozialwissenschaftliche Arbeitsfelder", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"gelb", "typ" =>"gw", "isProfilfach" =>false, 'isSeminar' => false, 'isWsgsSeminar' => true],
|
||||
"ts" => ["name" =>"Tschechisch", "wochenstunden" =>4, "profilfachWochenstunden" =>3, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => true],
|
||||
"tue" => ["name" =>"Türkisch", "wochenstunden" =>4, "profilfachWochenstunden" =>3, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => true],
|
||||
"tuf" => ["name" =>"Theater und Film", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"ven" => ["name" =>"Vokalensemble", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"wr" => ["name" =>"Wi. & Recht", "wochenstunden" =>2, "profilfachWochenstunden" =>2, "farbe" =>"gelb", "typ" =>"gw", "isProfilfach" =>true, 'isSeminar' => true],
|
||||
"wen" => ["name" =>"Wirschaftsengl.", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"orange", "typ" =>"sp", "isProfilfach" =>true, 'isSeminar' => false],
|
||||
"win" => ["name" =>"Wirtschaftsinformatik", "wochenstunden" =>4, "profilfachWochenstunden" =>2, "farbe" =>"gelb", "typ" =>"gw", "isProfilfach" =>false, 'isSeminar' => false, 'isWsgwSeminar' => true]
|
||||
];
|
||||
|
||||
function step1Action() {
|
||||
$planerSess = $this->sessionHandler->restoreFromSession($this->sessionKey);
|
||||
// \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($this->request);exit;
|
||||
if ($planerSess == null) {
|
||||
$planerSess = array('step1'=>array());
|
||||
}
|
||||
if ($this->request->getMethod() == 'POST') {
|
||||
$errors = array();
|
||||
|
||||
if ($this->request->hasArgument('gym_art')) {
|
||||
$planerSess['step1']['gym_art'] = $this->request->getArgument('gym_art');
|
||||
} else {
|
||||
$errors[] = 'Sie haben keine Ausbildungsrichtung gewählt';
|
||||
}
|
||||
if ($this->request->hasArgument('fs1') && isset($this->faecher[$this->request->getArgument('fs1')])) {
|
||||
$planerSess['step1']['fs1'] = $this->request->getArgument('fs1');
|
||||
} else {
|
||||
$errors[] = 'Sie haben keine 1. Fremdsprache ausgewählt';
|
||||
}
|
||||
if ($this->request->hasArgument('fs2') && isset($this->faecher[$this->request->getArgument('fs2')])) {
|
||||
$planerSess['step1']['fs2'] = $this->request->getArgument('fs2');
|
||||
} else {
|
||||
$errors[] = 'Sie haben keine 2. Fremdsprache ausgewählt';
|
||||
}
|
||||
if ($planerSess['step1']['gym_art'] == 'sg' && $this->request->hasArgument('fs3') && isset($this->faecher[$this->request->getArgument('fs3')])) {
|
||||
$planerSess['step1']['fs3'] = $this->request->getArgument('fs3');
|
||||
} elseif ($planerSess['step1']['gym_art'] == 'sg') {
|
||||
$errors[] = 'Sie haben keine 3. Fremdsprache ausgewählt';
|
||||
} elseif (isset($planerSess['step1']['fs3'])) {
|
||||
|
||||
}
|
||||
|
||||
if ($this->request->hasArgument('fs_spt') && isset($this->faecher[$this->request->getArgument('fs_spt')])) {
|
||||
$planerSess['step1']['fs_spt'] = $this->request->getArgument('fs_spt');
|
||||
} elseif (isset($planerSess['step1']['fs_spt'])) {
|
||||
unset($planerSess['step1']['fs_spt']);
|
||||
}
|
||||
if (/*$planerSess['step1']['gym_art'] == 'sg' && */$this->request->hasArgument('fs_ne_spt') && isset($this->faecher[$this->request->getArgument('fs_ne_spt')])) {
|
||||
$planerSess['step1']['fs_ne_spt'] = $this->request->getArgument('fs_ne_spt');
|
||||
} elseif (isset($planerSess['step1']['fs_ne_spt'])) {
|
||||
unset($planerSess['step1']['fs_ne_spt']);
|
||||
}
|
||||
|
||||
if ($this->request->hasArgument('fs1_bis_klasse')) {
|
||||
$planerSess['step1']['fs1_bis_klasse'] = $this->request->getArgument('fs1_bis_klasse');
|
||||
}
|
||||
if ($this->request->hasArgument('fs2_bis_klasse')) {
|
||||
$planerSess['step1']['fs2_bis_klasse'] = $this->request->getArgument('fs2_bis_klasse');
|
||||
}
|
||||
|
||||
if ($planerSess['step1']['fs1_bis_klasse'] != 9 && $planerSess['step1']['fs2_bis_klasse'] != 9) {
|
||||
unset($planerSess['step1']['fs_ne_spt']);
|
||||
}
|
||||
|
||||
if ($this->request->hasArgument('gym_autocomplete')) {
|
||||
$planerSess['step1']['gym_autocomplete'] = $this->request->getArgument('gym_autocomplete');
|
||||
if ($this->request->hasArgument('gym_autocomplete_selected_uid')) {
|
||||
$planerSess['step1']['gym_autocomplete_selected_uid'] = $this->request->getArgument('gym_autocomplete_selected_uid');
|
||||
}
|
||||
} elseif (!empty($planerSess['step1']['gym_autocomplete'])) {
|
||||
unset($planerSess['step1']['gym_autocomplete']);
|
||||
unset($planerSess['step1']['gym_autocomplete_selected_uid']);
|
||||
}
|
||||
|
||||
$this->sessionHandler->writeToSession($planerSess, $this->sessionKey);
|
||||
|
||||
if (count($errors) > 0) {
|
||||
$this->addFlashMessage(
|
||||
implode("<br>", $errors),
|
||||
$messageTitle = null,
|
||||
$severity = \TYPO3\CMS\Core\Messaging\AbstractMessage::ERROR,
|
||||
$storeInSession = TRUE
|
||||
);
|
||||
$this->redirect('step1');exit;
|
||||
}
|
||||
if ($planerSess['step1']['gym_art'] == 'wsgw' || $planerSess['step1']['gym_art'] == 'wsgs') {
|
||||
$this->redirect('step2');
|
||||
} else {
|
||||
$this->redirect('step3');
|
||||
}
|
||||
}
|
||||
$this->view->assign('data', $planerSess);
|
||||
}
|
||||
|
||||
function step2Action() {
|
||||
$data = $this->sessionHandler->restoreFromSession($this->sessionKey);
|
||||
if ($data == null || $data['step1']['gym_art'] == null) {
|
||||
$this->redirect('step1'); exit;
|
||||
}
|
||||
if ($this->request->getMethod() == 'POST') {
|
||||
if ($this->request->hasArgument('g_sk_trennung')) {
|
||||
// \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump(boolval($this->request->getArgument('g_sk_trennung')));exit;
|
||||
// $data['step2']['g_sk_trennung'] = boolval($this->request->getArgument('g_sk_trennung')); // doesnt work @stage
|
||||
if (strtoupper($this->request->getArgument('g_sk_trennung')) == 'TRUE') {
|
||||
$data['step2']['g_sk_trennung'] = true;
|
||||
} else {
|
||||
$data['step2']['g_sk_trennung'] = false;
|
||||
}
|
||||
$this->sessionHandler->writeToSession($data, $this->sessionKey);
|
||||
$this->redirect('step3');exit;
|
||||
} else {
|
||||
$this->addFlashMessage(
|
||||
'Bitte geben Sie an, ob Sie dieses Pflichtfach als ein gemeinsames Fach (2+1 Wochenstunden) oder als zwei separate Fächer (je 2 Wochenstunden) belegen möchten',
|
||||
$messageTitle = null,
|
||||
$severity = \TYPO3\CMS\Core\Messaging\AbstractMessage::ERROR,
|
||||
$storeInSession = TRUE
|
||||
);
|
||||
$this->redirect('step2');
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
$this->view->assign('data', $data);
|
||||
}
|
||||
|
||||
function step3Action() {
|
||||
$data = $this->sessionHandler->restoreFromSession($this->sessionKey);
|
||||
if ($data == null || $data['step1']['gym_art'] == null) {
|
||||
$this->redirect('step1'); exit;
|
||||
}
|
||||
// \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($data);
|
||||
// Fremdsprachenauswahl
|
||||
$fsAuswahl = array(
|
||||
$data['step1']['fs1'] => $this->faecher[$data['step1']['fs1']]['name']
|
||||
);
|
||||
if (isset($data['step1']['fs2'])) {
|
||||
$fsAuswahl[$data['step1']['fs2']] = $this->faecher[$data['step1']['fs2']]['name'];
|
||||
}
|
||||
if ($data['step1']['gym_art'] == 'sg' && isset($data['step1']['fs3'])) {
|
||||
$fsAuswahl[$data['step1']['fs3']] = $this->faecher[$data['step1']['fs3']]['name'];
|
||||
}
|
||||
|
||||
if ($this->request->getMethod() == 'POST') {
|
||||
$isError = false;
|
||||
// \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($this->request->getArguments());
|
||||
if ($this->request->hasArgument('vorbelegung_fs1') && isset($this->faecher[$this->request->getArgument('vorbelegung_fs1')])) {
|
||||
$data['step3']['vorbelegung_fs1'] = $this->request->getArgument('vorbelegung_fs1');
|
||||
} else {
|
||||
$this->addFlashMessage(
|
||||
'Sie haben keine Fremdsprache ausgewählt',
|
||||
$messageTitle = null,
|
||||
$severity = \TYPO3\CMS\Core\Messaging\AbstractMessage::ERROR,
|
||||
$storeInSession = TRUE
|
||||
);
|
||||
$isError = true;
|
||||
}
|
||||
if ($this->request->hasArgument('vorbelegung_nw1') && isset($this->faecher[$this->request->getArgument('vorbelegung_nw1')])) {
|
||||
$data['step3']['vorbelegung_nw1'] = $this->request->getArgument('vorbelegung_nw1');
|
||||
} else {
|
||||
$this->addFlashMessage(
|
||||
'Sie haben keine Naturwissenschaft ausgewählt',
|
||||
$messageTitle = null,
|
||||
$severity = \TYPO3\CMS\Core\Messaging\AbstractMessage::ERROR,
|
||||
$storeInSession = TRUE
|
||||
);
|
||||
$isError = true;
|
||||
}
|
||||
if (!isset($data['step1']['fs_ne_spt'])) { // Nur bei nicht ausgewaehlten fs_ne_spt moeglich
|
||||
if ($this->request->hasArgument('vorbelegung_fs_nw') && isset($this->faecher[$this->request->getArgument('vorbelegung_fs_nw')])) {
|
||||
$data['step3']['vorbelegung_fs_nw'] = $this->request->getArgument('vorbelegung_fs_nw');
|
||||
} else {
|
||||
$this->addFlashMessage(
|
||||
'Sie haben keine zweite Sprache oder Naturwissenschaft ausgewählt',
|
||||
$messageTitle = null,
|
||||
$severity = \TYPO3\CMS\Core\Messaging\AbstractMessage::ERROR,
|
||||
$storeInSession = TRUE
|
||||
);
|
||||
$isError = true;
|
||||
}
|
||||
}
|
||||
if ($this->request->hasArgument('vorbelegung_geo_wr') && isset($this->faecher[$this->request->getArgument('vorbelegung_geo_wr')])) {
|
||||
$data['step3']['vorbelegung_geo_wr'] = $this->request->getArgument('vorbelegung_geo_wr');
|
||||
} else {
|
||||
$this->addFlashMessage(
|
||||
'Sie müssen Geographie oder Wirtschaft und Recht auswählen',
|
||||
$messageTitle = null,
|
||||
$severity = \TYPO3\CMS\Core\Messaging\AbstractMessage::ERROR,
|
||||
$storeInSession = TRUE
|
||||
);
|
||||
$isError = true;
|
||||
}
|
||||
if ($this->request->hasArgument('vorbelegung_ku_mu') && isset($this->faecher[$this->request->getArgument('vorbelegung_ku_mu')])) {
|
||||
$data['step3']['vorbelegung_ku_mu'] = $this->request->getArgument('vorbelegung_ku_mu');
|
||||
} else {
|
||||
$this->addFlashMessage(
|
||||
'Sie müssen Musik oder Kunst auswählen',
|
||||
$messageTitle = null,
|
||||
$severity = \TYPO3\CMS\Core\Messaging\AbstractMessage::ERROR,
|
||||
$storeInSession = TRUE
|
||||
);
|
||||
$isError = true;
|
||||
}
|
||||
if ($isError) {
|
||||
$this->view->assign('request', $this->request->getArguments());
|
||||
} else {
|
||||
$this->sessionHandler->writeToSession($data, $this->sessionKey);
|
||||
$this->redirect('step4'); exit;
|
||||
}
|
||||
} else {
|
||||
$this->view->assign('request', $data['step3']);
|
||||
}
|
||||
// \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($data);
|
||||
|
||||
if (!isset($data['step1']['fs_ne_spt'])) { // Auswahl nw2_fs2_inf bilden
|
||||
// Auswahl der Faecher
|
||||
$auswahl2 = $fsAuswahl;
|
||||
if (isset($data['step1']['fs_spt'])) {
|
||||
$auswahl2[$data['step1']['fs_spt']] = $this->faecher[$data['step1']['fs_spt']]['name'];
|
||||
}
|
||||
$auswahl2 = array_merge($auswahl2, array('b' => $this->faecher['b']['name'], 'c' => $this->faecher['c']['name'], 'ph' => $this->faecher['ph']['name']));
|
||||
if ($data['step1']['gym_art'] == 'ntg') {
|
||||
$auswahl2['inf'] = $this->faecher['inf']['name'];
|
||||
}
|
||||
|
||||
$nw2Faecher = []; // Daten fuer die nw2_fs2_inf-Faecher (fuer die Faerbung der SelectBox z.B.)
|
||||
foreach ($auswahl2 as $kuerzel => $fach) {
|
||||
$nw2Faecher[$kuerzel] = $this->faecher[$kuerzel];
|
||||
}
|
||||
$this->view->assign('auswahl2', $auswahl2);
|
||||
$this->view->assign('nw2Faecher', $nw2Faecher);
|
||||
$this->view->assign('nw2FaecherJson', json_encode($nw2Faecher));
|
||||
}
|
||||
|
||||
$this->view->assign('data', $data);
|
||||
$this->view->assign('fsAuswahl', $fsAuswahl);
|
||||
}
|
||||
|
||||
function step4Action() {
|
||||
$data = $this->sessionHandler->restoreFromSession($this->sessionKey);
|
||||
if ($data == null || $data['step1']['gym_art'] == null) {
|
||||
$this->redirect('step1'); exit;
|
||||
}
|
||||
|
||||
$wSeminarFaecher = $this->getWSeminarFaecher();
|
||||
$pSeminarFaecher = $this->getPSeminarFaecher($data['step1']['gym_art']);
|
||||
if ($this->request->getMethod() == 'POST') {
|
||||
// \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($this->request->getArguments());exit;
|
||||
if ($this->request->hasArgument('vorbelegung_seminar_w') && isset($wSeminarFaecher[$this->request->getArgument('vorbelegung_seminar_w')])) {
|
||||
$data['step4']['vorbelegung_seminar_w'] = $this->request->getArgument('vorbelegung_seminar_w');
|
||||
} else {
|
||||
$this->addFlashMessage(
|
||||
'Sie müssen ein W-Seminarfach auswählen',
|
||||
$messageTitle = null,
|
||||
$severity = \TYPO3\CMS\Core\Messaging\AbstractMessage::ERROR,
|
||||
$storeInSession = TRUE
|
||||
);
|
||||
$isError = true;
|
||||
}
|
||||
|
||||
if ($this->request->hasArgument('vorbelegung_seminar_p') && isset($pSeminarFaecher[$this->request->getArgument('vorbelegung_seminar_p')])) {
|
||||
$data['step4']['vorbelegung_seminar_p'] = $this->request->getArgument('vorbelegung_seminar_p');
|
||||
} else {
|
||||
$this->addFlashMessage(
|
||||
'Sie müssen ein P-Seminarfach auswählen',
|
||||
$messageTitle = null,
|
||||
$severity = \TYPO3\CMS\Core\Messaging\AbstractMessage::ERROR,
|
||||
$storeInSession = TRUE
|
||||
);
|
||||
$isError = true;
|
||||
}
|
||||
if ($isError) {
|
||||
$this->view->assign('request', $this->request->getArguments());
|
||||
} else {
|
||||
$this->sessionHandler->writeToSession($data, $this->sessionKey);
|
||||
$this->redirect('step5'); exit;
|
||||
}
|
||||
}
|
||||
|
||||
$wOptions = array();
|
||||
foreach ($wSeminarFaecher as $kuerzel => $fach) {
|
||||
$wOptions[$kuerzel] = $fach['name'];
|
||||
}
|
||||
$this->view->assign('wSeminarOptions', $wOptions);
|
||||
$this->view->assign('wSeminarFaecherJson', json_encode($wSeminarFaecher));
|
||||
$pOptions = array();
|
||||
foreach ($pSeminarFaecher as $kuerzel => $fach) {
|
||||
$pOptions[$kuerzel] = $fach['name'];
|
||||
}
|
||||
$this->view->assign('pSeminarOptions', $pOptions);
|
||||
$this->view->assign('pSeminarFaecherJson', json_encode($pSeminarFaecher));
|
||||
$this->view->assign('data', $data);
|
||||
}
|
||||
|
||||
function step5Action() {
|
||||
$data = $this->sessionHandler->restoreFromSession($this->sessionKey);
|
||||
if ($data == null || $data['step1']['gym_art'] == null) {
|
||||
$this->redirect('step1'); exit;
|
||||
}
|
||||
|
||||
// Fremdsprachenauswahl
|
||||
$fsAuswahl = array(
|
||||
$data['step1']['fs1'] => $this->faecher[$data['step1']['fs1']]['name']
|
||||
);
|
||||
if (isset($data['step1']['fs2'])) {
|
||||
$fsAuswahl[$data['step1']['fs2']] = $this->faecher[$data['step1']['fs2']]['name'];
|
||||
}
|
||||
if (isset($data['step1']['fs3'])) {
|
||||
$fsAuswahl[$data['step1']['fs3']] = $this->faecher[$data['step1']['fs3']]['name'];
|
||||
}
|
||||
|
||||
if (!isset($data['step1']['fs_ne_spt'])) {
|
||||
// Auswahl der Faecher
|
||||
$auswahl2 = $fsAuswahl;
|
||||
if (isset($data['step1']['fs_spt'])) {
|
||||
$auswahl2[$data['step1']['fs_spt']] = $this->faecher[$data['step1']['fs_spt']]['name'];
|
||||
}
|
||||
$auswahl2 = array_merge($auswahl2, array('b' => $this->faecher['b']['name'], 'c' => $this->faecher['c']['name'], 'ph' => $this->faecher['ph']['name']));
|
||||
if ($data['step1']['gym_art'] == 'ntg') {
|
||||
$auswahl2['inf'] = $this->faecher['inf']['name'];
|
||||
}
|
||||
$this->view->assign('auswahl2', $auswahl2);
|
||||
}
|
||||
|
||||
$wSeminarFaecher = $this->getWSeminarFaecher();
|
||||
$wSeminarOptions = array();
|
||||
foreach ($wSeminarFaecher as $kuerzel => $fach) {
|
||||
$wSeminarOptions[$kuerzel] = $fach['name'];
|
||||
}
|
||||
$pSeminarFaecher = $this->getPSeminarFaecher($data['step1']['gym_art']);
|
||||
$pSeminarOptions = array();
|
||||
foreach ($pSeminarFaecher as $kuerzel => $fach) {
|
||||
$pSeminarOptions[$kuerzel] = $fach['name'];
|
||||
}
|
||||
|
||||
// \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($data['step1']['gym_art']);
|
||||
if ($data['step1']['gym_art'] == 'wsgs') {
|
||||
$this->faecher['swa']['isProfilfach'] = true;
|
||||
}
|
||||
if ($data['step1']['gym_art'] == 'wsgw') {
|
||||
$this->faecher['win']['isProfilfach'] = true;
|
||||
}
|
||||
|
||||
// \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($this->faecher);exit;
|
||||
|
||||
$this->view->assign('data', $data);
|
||||
$this->view->assign('fsAuswahl', $fsAuswahl);
|
||||
$this->view->assign('faecher', $this->faecher);
|
||||
$this->view->assign('wSeminarOptions', $wSeminarOptions);
|
||||
$this->view->assign('pSeminarOptions', $pSeminarOptions);
|
||||
$this->view->assign('faecherJson', json_encode($this->faecher));
|
||||
}
|
||||
|
||||
public function pdfAction()
|
||||
{
|
||||
$data = $this->sessionHandler->restoreFromSession($this->sessionKey);
|
||||
if ($data == null || $data['step1']['gym_art'] == null) {
|
||||
$this->redirect('step1'); exit;
|
||||
}
|
||||
|
||||
// \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($this->request->getArguments());exit;
|
||||
|
||||
$extKey = $this->request->getControllerExtensionKey();
|
||||
|
||||
$pdf = new Pdf('P', 'cm', 'A4', true, 'UTF-8', false);
|
||||
// $pdf = new Pdf(\TYPO3\CMS\Core\Utility\GeneralUtility::getFileAbsFileName('EXT:if_oberstufenplaner/Resources/Public/pdf/maxim.pdf'));
|
||||
$pdf->configureFonts('typo3conf/ext/' . $extKey . '/Classes/PDF/Fonts/');
|
||||
$pdf->SetPrintHeader(true);
|
||||
$pdf->SetPrintFooter(true);
|
||||
$pdf->SetMargins(0, 0, 5);
|
||||
// \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($this->request->getArgument('faecher'));exit;
|
||||
// add a page
|
||||
$pdf->AddPage();
|
||||
|
||||
// $pdf->Image($GLOBALS['TSFE']->baseUrl . 'fileadmin/templates/img/wappen_weiss.jpg', 5, 5 , 4, 4, 'JPG', '', '', false, 72); // Angaben in cm
|
||||
//
|
||||
$pdf->pdfDrawFaecherTitel('Pflichtfächer:');
|
||||
//
|
||||
if ($this->request->hasArgument('faecher') && is_array($this->request->getArgument('faecher'))) {
|
||||
$faecherPost = (array)$this->request->getArgument('faecher');
|
||||
if ($this->request->hasArgument('profilfaecher') && is_array($this->request->getArgument('profilfaecher'))) {
|
||||
$profilfaecherPost = (array)$this->request->getArgument('profilfaecher');
|
||||
} else {
|
||||
$profilfaecherPost = [];
|
||||
}
|
||||
if ($this->request->hasArgument('xfaecher') && is_array($this->request->getArgument('xfaecher'))) {
|
||||
$xfaecherPost = (array)$this->request->getArgument('xfaecher');
|
||||
} else {
|
||||
$xfaecherPost = [];
|
||||
}
|
||||
// \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($xfaecherPost);exit;
|
||||
|
||||
foreach ($faecherPost as $fieldName => $fachKuerzel) {
|
||||
if (isset($this->faecher[$fachKuerzel])) {
|
||||
if (
|
||||
$fachKuerzel == 'g_sk' && $data['step2']['g_sk_trennung'] == true ||
|
||||
($fachKuerzel == 'g' || $fachKuerzel == 'sk') && $data['step2']['g_sk_trennung'] == false
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$fach = $this->fachFromStep5Post($fieldName, $fachKuerzel);
|
||||
$pdf->pdfDrawFachLine($fach);
|
||||
}
|
||||
}
|
||||
|
||||
$pdf->pdfDrawFaecherTitel('Seminare:');
|
||||
|
||||
// Seminare
|
||||
foreach (['seminar_w', 'seminar_p'] as $fieldName) {
|
||||
$fachKuerzel = $this->request->getArgument($fieldName);
|
||||
if (isset($this->faecher[$fachKuerzel])) {
|
||||
$fach = $this->fachFromStep5Post($fieldName, $fachKuerzel);
|
||||
$pdf->pdfDrawFachLine($fach);
|
||||
}
|
||||
}
|
||||
|
||||
if (count($profilfaecherPost) > 0 || count($xfaecherPost) > 0) {
|
||||
$pdf->pdfDrawFaecherTitel('Profilfächer:');
|
||||
|
||||
foreach ($profilfaecherPost as $fieldName => $fachKuerzel) {
|
||||
if (isset($this->faecher[$fachKuerzel])) {
|
||||
$fach = $this->fachFromStep5Post($fieldName, $fachKuerzel);
|
||||
$pdf->pdfDrawFachLine($fach);
|
||||
}
|
||||
}
|
||||
foreach ($xfaecherPost as $fieldName => $fachKuerzel) {
|
||||
if (isset($this->faecher[$fachKuerzel])) {
|
||||
$fach = $this->fachFromStep5Post($fieldName, $fachKuerzel);
|
||||
$pdf->pdfDrawFachLine($fach);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$pdf->Output('Planer_test.pdf', 'I');exit;
|
||||
}
|
||||
|
||||
public function schuleAutosuggestionAction() {
|
||||
if (!$this->request->hasArgument('query') || empty($this->request->getArgument('query'))) {
|
||||
echo '[]';exit;
|
||||
}
|
||||
$list = $this->schuleRepository->searchBy($this->request->getArgument('query'), 10);
|
||||
$out = [];
|
||||
/** @var Schule $row */
|
||||
foreach ($list as $row) {
|
||||
$out[] = ['uid' => $row->getUid(), 'name' => $row->getName()];
|
||||
}
|
||||
// \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($list);exit;
|
||||
echo json_encode($out);exit;
|
||||
}
|
||||
|
||||
public function schuleAutosuggestionSelectedAction() {
|
||||
if (!$this->request->hasArgument('schule') || empty($this->request->getArgument('schule'))) {
|
||||
echo '[]';exit;
|
||||
}
|
||||
$list = $this->schuleRepository->findTypenBySchulnummer($this->request->getArgument('schule'));
|
||||
// \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($list);exit;
|
||||
echo json_encode($list);exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $fieldName
|
||||
* @param $fachKuerzel
|
||||
* @return Fach
|
||||
*/
|
||||
protected function fachFromStep5Post($fieldName, $fachKuerzel) {
|
||||
|
||||
// \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($this->request);exit;
|
||||
|
||||
$pruefungenPost = (array)$this->request->getArgument('pruefung');
|
||||
$halbjlstPost = (array)$this->request->getArgument('halbjahre');
|
||||
$wst11Post = (array)$this->request->getArgument('wochenstunden_11');
|
||||
$wst12Post = (array)$this->request->getArgument('wochenstunden_12');
|
||||
$jwstPost = (array)$this->request->getArgument('jahreswochenstunden');
|
||||
|
||||
$fach = new Fach();
|
||||
$fach->setName($this->faecher[$fachKuerzel]['name'])
|
||||
->setTyp($this->faecher[$fachKuerzel]['typ'])
|
||||
->setRgbColor($this->faecher[$fachKuerzel]['farbe']);
|
||||
if (isset($pruefungenPost[$fieldName])) {
|
||||
$fach->setPruefung($pruefungenPost[$fieldName]);
|
||||
}
|
||||
if (isset($halbjlstPost[$fieldName])) {
|
||||
$fach->setHalbjahresleistungen($halbjlstPost[$fieldName]);
|
||||
}
|
||||
if (isset($wst11Post[$fieldName])) {
|
||||
$fach->setWochenStunden11($wst11Post[$fieldName]);
|
||||
}
|
||||
if (isset($wst12Post[$fieldName])) {
|
||||
$fach->setWochenStunden12($wst12Post[$fieldName]);
|
||||
}
|
||||
if (isset($jwstPost[$fieldName])) {
|
||||
$fach->setJahreswochenstunden($jwstPost[$fieldName]);
|
||||
}
|
||||
return $fach;
|
||||
}
|
||||
|
||||
public function getWSeminarFaecher() {
|
||||
$seminarFaecher = array();
|
||||
foreach($this->faecher as $kuerzel => $fach) {
|
||||
if (isset($fach['isSeminar']) && $fach['isSeminar'] == true) {
|
||||
$seminarFaecher[$kuerzel] = $fach;
|
||||
}
|
||||
}
|
||||
return $seminarFaecher;
|
||||
}
|
||||
|
||||
public function getPSeminarFaecher($gymArt) {
|
||||
$seminarFaecher = array();
|
||||
foreach($this->faecher as $kuerzel => $fach) {
|
||||
if (isset($fach['isSeminar']) && $fach['isSeminar'] == true ||
|
||||
($gymArt == 'wsgw' && isset($fach['isWsgwSeminar']) && $fach['isWsgwSeminar'] == true) ||
|
||||
($gymArt == 'wsgs' && isset($fach['isWsgsSeminar']) && $fach['isWsgsSeminar'] == true)) {
|
||||
$seminarFaecher[$kuerzel] = $fach;
|
||||
}
|
||||
}
|
||||
return $seminarFaecher;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param SessionHandler $sessionHandler
|
||||
*/
|
||||
public function injectSessionHandler(SessionHandler $sessionHandler) {
|
||||
$this->sessionHandler = $sessionHandler;
|
||||
}
|
||||
}
|
||||
199
typo3conf/ext/if_oberstufenplaner/Classes/Domain/Model/Fach.php
Normal file
199
typo3conf/ext/if_oberstufenplaner/Classes/Domain/Model/Fach.php
Normal file
@@ -0,0 +1,199 @@
|
||||
<?php
|
||||
|
||||
namespace Internetfabrik\IfOberstufenplaner\Domain\Model;
|
||||
|
||||
class Fach
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $name;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $typ;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
protected $wochenStunden11;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
protected $wochenStunden12;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
protected $jahreswochenstunden;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
protected $halbjahresleistungen;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $pruefung = null;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $rgbColor;
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $name
|
||||
* @return Fach
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getTyp()
|
||||
{
|
||||
return $this->typ;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $typ
|
||||
* @return Fach
|
||||
*/
|
||||
public function setTyp($typ)
|
||||
{
|
||||
$this->typ = $typ;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getWochenStunden11()
|
||||
{
|
||||
return $this->wochenStunden11;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $wochenStunden11
|
||||
* @return Fach
|
||||
*/
|
||||
public function setWochenStunden11($wochenStunden11)
|
||||
{
|
||||
$this->wochenStunden11 = $wochenStunden11;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getWochenStunden12()
|
||||
{
|
||||
return $this->wochenStunden12;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $wochenStunden12
|
||||
* @return Fach
|
||||
*/
|
||||
public function setWochenStunden12($wochenStunden12)
|
||||
{
|
||||
$this->wochenStunden12 = $wochenStunden12;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getJahreswochenstunden()
|
||||
{
|
||||
return $this->jahreswochenstunden;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $jahreswochenstunden
|
||||
* @return Fach
|
||||
*/
|
||||
public function setJahreswochenstunden($jahreswochenstunden)
|
||||
{
|
||||
$this->jahreswochenstunden = $jahreswochenstunden;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getHalbjahresleistungen()
|
||||
{
|
||||
return $this->halbjahresleistungen;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $halbjahresleistungen
|
||||
* @return Fach
|
||||
*/
|
||||
public function setHalbjahresleistungen($halbjahresleistungen)
|
||||
{
|
||||
$this->halbjahresleistungen = $halbjahresleistungen;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPruefung()
|
||||
{
|
||||
return $this->pruefung;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pruefung
|
||||
* @return Fach
|
||||
*/
|
||||
public function setPruefung($pruefung)
|
||||
{
|
||||
$this->pruefung = $pruefung;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getRgbColor()
|
||||
{
|
||||
return $this->rgbColor;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $rgbColor
|
||||
* @return Fach
|
||||
*/
|
||||
public function setRgbColor($rgbColor)
|
||||
{
|
||||
if ($rgbColor == 'gelb') {
|
||||
$rgbColor = array(255, 193, 7);
|
||||
} elseif ($rgbColor == 'gruen') {
|
||||
$rgbColor = array(75, 175, 79);
|
||||
} elseif ($rgbColor == 'blau') {
|
||||
$rgbColor = array(0, 142, 205);
|
||||
} elseif ($rgbColor == 'orange') {
|
||||
$rgbColor = array(255, 87, 34);
|
||||
}
|
||||
$this->rgbColor = $rgbColor;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
<?php
|
||||
|
||||
namespace Internetfabrik\IfOberstufenplaner\Domain\Model;
|
||||
|
||||
class Schule extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
|
||||
{
|
||||
/**
|
||||
* name
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $name;
|
||||
|
||||
/**
|
||||
* name2
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $name2;
|
||||
|
||||
/**
|
||||
* comments
|
||||
*
|
||||
* @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\Internetfabrik\IfOberstufenplaner\Domain\Model\SchuleRef>
|
||||
* @cascade remove
|
||||
* @lazy
|
||||
*/
|
||||
protected $refs = NULL;
|
||||
|
||||
/**
|
||||
* __construct
|
||||
*/
|
||||
public function __construct() {
|
||||
//Do not remove the next line: It would break the functionality
|
||||
$this->initStorageObjects();
|
||||
}
|
||||
|
||||
/**
|
||||
* Initializes all ObjectStorage properties
|
||||
* Do not modify this method!
|
||||
* It will be rewritten on each save in the extension builder
|
||||
* You may modify the constructor of this class instead
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function initStorageObjects() {
|
||||
$this->refs = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $name
|
||||
* @return Schule
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName2()
|
||||
{
|
||||
return $this->name2;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $name2
|
||||
* @return Schule
|
||||
*/
|
||||
public function setName2($name2)
|
||||
{
|
||||
$this->name2 = $name2;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the refs
|
||||
*
|
||||
* @return \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\Internetfabrik\IfOberstufenplaner\Domain\Model\SchuleRef> $refs
|
||||
*/
|
||||
public function getRefs() {
|
||||
return $this->refs;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the refs
|
||||
*
|
||||
* @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\Internetfabrik\IfOberstufenplaner\Domain\Model\SchuleRef> $refs
|
||||
* @return void
|
||||
*/
|
||||
public function setComments(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $refs) {
|
||||
$this->refs = $refs;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
namespace Internetfabrik\IfOberstufenplaner\Domain\Repository;
|
||||
|
||||
|
||||
/***************************************************************
|
||||
*
|
||||
* Copyright notice
|
||||
*
|
||||
* (c) 2015 Johann Gammel <support@jcmedia.de>, JC Media Internetagentur GmbH
|
||||
*
|
||||
* All rights reserved
|
||||
*
|
||||
* This script is part of the TYPO3 project. The TYPO3 project 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 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* The GNU General Public License can be found at
|
||||
* http://www.gnu.org/copyleft/gpl.html.
|
||||
*
|
||||
* This script 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.
|
||||
*
|
||||
* This copyright notice MUST APPEAR in all copies of the script!
|
||||
***************************************************************/
|
||||
|
||||
/**
|
||||
* The repository for Entries
|
||||
*/
|
||||
class SchuleRepository extends \TYPO3\CMS\Extbase\Persistence\Repository {
|
||||
|
||||
/**
|
||||
* @param string $searchText
|
||||
* @param int $limit
|
||||
* @return \TYPO3\CMS\Extbase\Persistence\QueryResultInterface
|
||||
*/
|
||||
public function searchBy($searchText, $limit = -1) {
|
||||
$query = $this->createQuery();
|
||||
$query->matching(
|
||||
$query->logicalOr(
|
||||
$query->like('uid', '%'.$searchText.'%'),
|
||||
$query->like('name', '%'.$searchText.'%')
|
||||
)
|
||||
);
|
||||
if ($limit != -1) {
|
||||
$query->setLimit($limit);
|
||||
}
|
||||
return $query->execute();
|
||||
}
|
||||
|
||||
|
||||
public function findTypenBySchulnummer($nummer) {
|
||||
$query = $this->createQuery();
|
||||
$query->statement("SELECT typ.* FROM tx_ifoberstufenplaner_domain_model_schuletyp typ
|
||||
LEFT JOIN tx_ifoberstufenplaner_domain_model_schuleref ref
|
||||
ON typ.Schulgliederung=ref.SchulGl
|
||||
WHERE ref.GLSchnr = ".intval($nummer)/*,
|
||||
[$nummer]*/
|
||||
);
|
||||
// $query->setLimit(99);
|
||||
// $query->getQuerySettings()->setReturnRawQueryResult(TRUE);
|
||||
// \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($query);exit;
|
||||
return $query->execute(true);
|
||||
}
|
||||
}
|
||||
Binary file not shown.
146
typo3conf/ext/if_oberstufenplaner/Classes/PDF/Pdf.php
Normal file
146
typo3conf/ext/if_oberstufenplaner/Classes/PDF/Pdf.php
Normal file
@@ -0,0 +1,146 @@
|
||||
<?php
|
||||
|
||||
namespace Internetfabrik\IfOberstufenplaner\PDF;
|
||||
|
||||
|
||||
use HeikoHardt\HhdevFpdi\Fpdi;
|
||||
use Internetfabrik\IfOberstufenplaner\Domain\Model\Fach;
|
||||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
|
||||
include_once(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('t3_tcpdf').'/tcpdf/tcpdf.php');
|
||||
include_once(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('t3_tcpdf').'/tcpdf/tcpdf_import.php');
|
||||
//include_once(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('hhdev_fpdi').'/Classes/fpdi.php');
|
||||
|
||||
/**
|
||||
* Class Pdf
|
||||
* @package Internetfabrik\IfOberstufenplaner\PDF
|
||||
* @{@inheritdoc}
|
||||
*/
|
||||
class Pdf extends \TCPDF {
|
||||
|
||||
protected $customFonts = array();
|
||||
|
||||
protected $extFontPath;
|
||||
|
||||
protected $cellmarginLeft = 2;
|
||||
protected $currentX = 0;
|
||||
protected $currentY = 5;
|
||||
protected $lineHeight = 0.6;
|
||||
protected $marginX = 0.075;
|
||||
protected $marginY = 0.075;
|
||||
protected $nameCellWidth = 6;
|
||||
protected $dataCellWidth = 2;
|
||||
|
||||
protected $tableTitleFontSize = 8;
|
||||
protected $tableCellFontSize = 10;
|
||||
|
||||
protected $footerText = 'Der Fächerplaner versucht, Ihre Auswahl durch Hinweise und automatische Eingrenzung der Auwahlmöglichkeiten bestmöglich zu unterstützen. Trotzdem kann keine Garantie übernommen werden, dass die von Ihnen getroffene Wahl zulässig oder an Ihrer Schule möglich ist. Er ersetzt nicht die schulspezifische Information bzw. die Regelungen in der Schulordnung für die Gymnasien in Bayern (GSO).
|
||||
|
||||
Bitte beachten Sie, dass keine Schule in der Lage ist, alle Fächer des Wahlpflicht- bzw. des Profilbereichs anzubieten. Auch das Seminarangebot orientiert sich an den Möglichkeiten bzw. den Schwerpunktsetzungen des einzelnen Gymnasiums. Die Schulen treffen daher eine Auswahl, stellen diese zur Wahl und richten die durch ausreichendes Wahlinteresse gesicherten Kurse und Seminare ein.
|
||||
|
||||
Bei Fragen hilft Ihnen der Oberstufenkoordinator Ihrer Schule gerne weiter.';
|
||||
|
||||
//// public function __construct($orientation='P', $unit='mm', $format='A4', $unicode=true, $encoding='UTF-8', $diskcache=false, $pdfa=false)
|
||||
// public function __construct($file)
|
||||
// {
|
||||
// parent::__construct();
|
||||
////// $pageCount = $this->setSourceFile(\TYPO3\CMS\Core\Utility\GeneralUtility::getFileAbsFileName('EXT:if_oberstufenplaner/Resources/Public/pdf/maxim.pdf'));
|
||||
////// $tplIdx = $this->importPage(1);
|
||||
////// $this->addPage();
|
||||
////// $this->useTemplate($tplIdx, 10, 10, 90);
|
||||
//// parent::__construct(\TYPO3\CMS\Core\Utility\GeneralUtility::getFileAbsFileName('EXT:if_oberstufenplaner/Resources/Public/pdf/maxim.pdf'));
|
||||
//// $this->importPDF($file);
|
||||
// }
|
||||
|
||||
public function configureFonts($extFontPath) {
|
||||
$this->customFonts['openSansRegularFont'] = \TCPDF_FONTS::addTTFfont(GeneralUtility::getFileAbsFileName($extFontPath.'OpenSans-Regular.ttf'));
|
||||
}
|
||||
|
||||
public function getCustomFont($name) {
|
||||
if (isset($this->customFonts[$name])) {
|
||||
return $this->customFonts[$name];
|
||||
}
|
||||
throw new \Exception('Font '.$name.' not found');
|
||||
}
|
||||
|
||||
public function pdfDrawFaecherTitel($title) {
|
||||
$this->SetFont($this->getCustomFont('openSansRegularFont'), '', $this->tableTitleFontSize);
|
||||
$this->currentX = 0;
|
||||
|
||||
$this->SetTextColor(0, 0, 0);
|
||||
$this->SetFillColor(255, 255, 255);
|
||||
|
||||
$this->setCellMargins($this->cellmarginLeft);
|
||||
|
||||
$this->MultiCell($this->nameCellWidth, $this->lineHeight*2, $title, 0, 'L', false, 0, $this->currentX, $this->currentY);
|
||||
$this->currentX += ($this->nameCellWidth + $this->marginX);
|
||||
$this->MultiCell($this->dataCellWidth*2+$this->marginX, $this->lineHeight, 'Wochenstunden', 0, 'C', false, 0, $this->currentX, $this->currentY);
|
||||
$this->MultiCell($this->dataCellWidth+$this->marginX, $this->lineHeight, '11', 0, 'C', false, 0, $this->currentX, $this->currentY+($this->lineHeight+$this->marginY));
|
||||
$this->MultiCell($this->dataCellWidth+$this->marginX, $this->lineHeight, '12', 0, 'C', false, 0, ($this->currentX+$this->dataCellWidth+$this->marginX), ($this->currentY+($this->lineHeight+$this->marginY)));
|
||||
$this->currentX += ($this->dataCellWidth + $this->marginX)*2;
|
||||
$this->MultiCell($this->dataCellWidth, $this->lineHeight*2, "Jahres-\nWochenstd.", 0, 'C', false, 0, $this->currentX, $this->currentY);
|
||||
$this->currentX += ($this->dataCellWidth + $this->marginX);
|
||||
$this->MultiCell($this->dataCellWidth, $this->lineHeight*2, "Einbringung\nHalbjahre", 0, 'C', false, 0, $this->currentX, $this->currentY);
|
||||
$this->currentX += ($this->dataCellWidth + $this->marginX);
|
||||
$this->MultiCell($this->dataCellWidth, $this->lineHeight*2, "Abitur-\nPrüfungsfach", 0, 'C', false, 0, $this->currentX, $this->currentY);
|
||||
|
||||
$this->currentY += ($this->lineHeight+$this->marginY)*2;
|
||||
$this->SetY($this->currentY);
|
||||
|
||||
|
||||
}
|
||||
|
||||
public function pdfDrawFachLine(Fach $fach) {
|
||||
$this->SetFont($this->getCustomFont('openSansRegularFont'), '', $this->tableCellFontSize);
|
||||
$this->currentX = 0;
|
||||
|
||||
$this->SetTextColor(0, 0, 0);
|
||||
// list($col1, $col2, $col3) = $fach->getRgbColor();
|
||||
// $this->SetFillColor($col1, $col2, $col3);
|
||||
|
||||
$fillColor1 = array(217, 217, 217);
|
||||
$fillColor2 = array(238, 238, 238);
|
||||
|
||||
$this->setCellMargins($this->cellmarginLeft);
|
||||
$this->SetX($this->currentX);
|
||||
$this->SetY($this->currentY);
|
||||
|
||||
$this->SetFillColor($fillColor1[0], $fillColor1[1], $fillColor1[2]);
|
||||
$this->Cell($this->nameCellWidth, $this->lineHeight, $fach->getName(), 0, 0, 'L', true);
|
||||
$this->currentX += ($this->nameCellWidth + $this->marginX); $this->setX($this->currentX);
|
||||
$this->SetFillColor($fillColor2[0], $fillColor2[1], $fillColor2[2]);
|
||||
$this->Cell($this->dataCellWidth, $this->lineHeight, $fach->getWochenStunden11(), 0, 0, 'C', true);
|
||||
$this->currentX += ($this->dataCellWidth + $this->marginX); $this->setX($this->currentX);
|
||||
$this->Cell($this->dataCellWidth, $this->lineHeight, $fach->getWochenStunden12(), 0, 0, 'C', true);
|
||||
$this->currentX += ($this->dataCellWidth + $this->marginX); $this->setX($this->currentX);
|
||||
$this->Cell($this->dataCellWidth, $this->lineHeight, $fach->getJahreswochenstunden(), 0, 0, 'C', true);
|
||||
$this->currentX += ($this->dataCellWidth + $this->marginX); $this->setX($this->currentX);
|
||||
$this->Cell($this->dataCellWidth, $this->lineHeight, $fach->getHalbjahresleistungen(), 0, 0, 'C', true);
|
||||
$this->currentX += ($this->dataCellWidth + $this->marginX); $this->setX($this->currentX);
|
||||
$this->Cell($this->dataCellWidth, $this->lineHeight, strtoupper($fach->getPruefung()), 0, 0, 'C', true);
|
||||
|
||||
$this->currentY += ($this->lineHeight+$this->marginY);
|
||||
$this->SetY($this->currentY);
|
||||
}
|
||||
|
||||
function Header() {
|
||||
if ($_SERVER['REMOTE_ADDR'] == '127.0.0.1') {
|
||||
$this->Image(PATH_site . 'fileadmin/templates/faecherplaner/img/wappen-ministerium.png', 3, 1, 16, 2.11, 'PNG', '', '', true); // Angaben in cm
|
||||
// $this->Image($GLOBALS['TSFE']->baseUrl . 'fileadmin/templates/faecherplaner/img/wappen-ministerium.png', 3, 0, 16, 2.11, 'PNG', '', '', true); // Angaben in cm
|
||||
} else {
|
||||
// $this->Image($GLOBALS['TSFE']->baseUrl . 'fileadmin/templates/img/wappen-ministerium.png', 3, 1, 16, 2.11, 'PNG', '', '', true); // Angaben in cm
|
||||
$this->Image(PATH_site . 'fileadmin/templates/img/wappen-ministerium.png', 3, 1, 16, 2.11, 'PNG', '', '', true); // Angaben in cm
|
||||
}
|
||||
}
|
||||
|
||||
function Footer() {
|
||||
$lineHeight = 0.4;
|
||||
$footerHeight = 3.8;
|
||||
//left
|
||||
$this->SetXY(1.25, -$footerHeight);
|
||||
$this->SetTextColor(0, 0, 0);
|
||||
$this->SetFont($this->getCustomFont('openSansRegularFont'),'',8);
|
||||
$this->MultiCell(21-(1.25*2), $lineHeight, $this->footerText, 0, 'L', false, 0); $this->SetX(1.25);
|
||||
// $this->MultiCell(20, $lineHeight, $this->footerText, 0, 1, 'L', false); $this->SetX(1.25);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
|
||||
namespace Internetfabrik\IfOberstufenplaner\Service;
|
||||
|
||||
|
||||
class SessionHandler implements \TYPO3\CMS\Core\SingletonInterface {
|
||||
|
||||
private $prefixKey = 'if_oberstufenplaner_';
|
||||
|
||||
/**
|
||||
* Returns the object stored in the user´s PHP session
|
||||
* @return Object the stored object
|
||||
*/
|
||||
public function restoreFromSession($key) {
|
||||
$sessionData = $GLOBALS['TSFE']->fe_user->getKey('ses', $this->prefixKey . $key);
|
||||
return unserialize($sessionData);
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes an object into the PHP session
|
||||
* @param $object
|
||||
* @param string
|
||||
* @return SessionHandler this
|
||||
*/
|
||||
public function writeToSession($object, $key) {
|
||||
$sessionData = serialize($object);
|
||||
$GLOBALS['TSFE']->fe_user->setKey('ses', $this->prefixKey . $key, $sessionData);
|
||||
$GLOBALS['TSFE']->fe_user->storeSessionData();
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Cleans up the session: removes the stored object from the PHP session
|
||||
* @return SessionHandler this
|
||||
*/
|
||||
public function cleanUpSession($key) {
|
||||
$GLOBALS['TSFE']->fe_user->setKey('ses', $this->prefixKey . $key, NULL);
|
||||
$GLOBALS['TSFE']->fe_user->storeSessionData();
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function setPrefixKey($prefixKey) {
|
||||
$this->prefixKey = $prefixKey;
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Internetfabrik\IfOberstufenplaner\ViewHelpers;
|
||||
|
||||
|
||||
class DispViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper {
|
||||
/**
|
||||
* @param $obj object Object
|
||||
* @param $prop string Property
|
||||
* @return mixed
|
||||
*/
|
||||
public function render($obj,$prop) {
|
||||
if (is_object($obj)) {
|
||||
return $obj->$prop;
|
||||
} elseif (is_array($obj)) {
|
||||
if (array_key_exists($prop, $obj)) {
|
||||
return $obj[$prop];
|
||||
}
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,96 @@
|
||||
#
|
||||
# Extension Builder settings for extension if_oberstufenplaner
|
||||
# generated 2015-09-29T16:33:00Z
|
||||
#
|
||||
# See http://www.yaml.org/spec/1.2/spec.html
|
||||
#
|
||||
|
||||
---
|
||||
|
||||
########### Overwrite settings ###########
|
||||
#
|
||||
# These settings only apply, if the roundtrip feature of the extension builder
|
||||
# is enabled in the extension manager
|
||||
#
|
||||
# Usage:
|
||||
# nesting reflects the file structure
|
||||
# a setting applies to a file or recursive to all files and subfolders
|
||||
#
|
||||
# merge:
|
||||
# means for classes: All properties ,methods and method bodies
|
||||
# of the existing class will be modified according to the new settings
|
||||
# but not overwritten
|
||||
#
|
||||
# for locallang xlf files: Existing keys and labels are always
|
||||
# preserved (renaming a property or DomainObject will result in new keys and new labels)
|
||||
#
|
||||
# for other files: You will find a Split token at the end of the file
|
||||
# After this token you can write whatever you want and it will be appended
|
||||
# everytime the code is generated
|
||||
#
|
||||
# keep:
|
||||
# files are never overwritten
|
||||
# These settings may break the functionality of the extension builder!
|
||||
# Handle with care!
|
||||
#
|
||||
#
|
||||
|
||||
############ extension settings ##############
|
||||
|
||||
overwriteSettings:
|
||||
Classes:
|
||||
Controller: merge
|
||||
Domain:
|
||||
Model: merge
|
||||
Repository: merge
|
||||
|
||||
Configuration:
|
||||
#TCA: merge
|
||||
#TypoScript: keep
|
||||
|
||||
Resources:
|
||||
Private:
|
||||
#Language: merge
|
||||
#Templates: keep
|
||||
|
||||
ext_icon.gif: keep
|
||||
|
||||
# ext_localconf.php: merge
|
||||
|
||||
# ext_tables.php: merge
|
||||
|
||||
# ext_tables.sql: merge
|
||||
|
||||
## use static date attribute in xliff files ##
|
||||
#staticDateInXliffFiles: 2015-09-29T16:33:00Z
|
||||
|
||||
## list of error codes for warnings that should be ignored ##
|
||||
#ignoreWarnings:
|
||||
#503
|
||||
|
||||
######### settings for classBuilder #############################
|
||||
#
|
||||
# here you may define default parent classes for your classes
|
||||
# these settings only apply for new generated classes
|
||||
# you may also just change the parent class in the generated class file.
|
||||
# It will be kept on next code generation, if the overwrite settings
|
||||
# are configured to merge it
|
||||
#
|
||||
#################################################################
|
||||
|
||||
classBuilder:
|
||||
|
||||
Controller:
|
||||
parentClass: \TYPO3\CMS\Extbase\Mvc\Controller\ActionController
|
||||
|
||||
Model:
|
||||
AbstractEntity:
|
||||
parentClass: \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
|
||||
|
||||
AbstractValueObject:
|
||||
parentClass: \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject
|
||||
|
||||
Repository:
|
||||
parentClass: \TYPO3\CMS\Extbase\Persistence\Repository
|
||||
|
||||
setDefaultValuesForClassProperties: true
|
||||
130
typo3conf/ext/if_oberstufenplaner/Configuration/TCA/Schule.php
Normal file
130
typo3conf/ext/if_oberstufenplaner/Configuration/TCA/Schule.php
Normal file
@@ -0,0 +1,130 @@
|
||||
<?php
|
||||
if (!defined ('TYPO3_MODE')) {
|
||||
die ('Access denied.');
|
||||
}
|
||||
|
||||
$GLOBALS['TCA']['tx_ifoberstufenplaner_domain_model_schule'] = array(
|
||||
'ctrl' => $GLOBALS['TCA']['tx_ifoberstufenplaner_domain_model_schule']['ctrl'],
|
||||
'interface' => array(
|
||||
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, name2',
|
||||
),
|
||||
'types' => array(
|
||||
'1' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, name, name2, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'),
|
||||
),
|
||||
'palettes' => array(
|
||||
'1' => array('showitem' => ''),
|
||||
),
|
||||
'columns' => array(
|
||||
|
||||
'sys_language_uid' => array(
|
||||
'exclude' => 1,
|
||||
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
|
||||
'config' => array(
|
||||
'type' => 'select',
|
||||
'foreign_table' => 'sys_language',
|
||||
'foreign_table_where' => 'ORDER BY sys_language.title',
|
||||
'items' => array(
|
||||
array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
|
||||
array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0)
|
||||
),
|
||||
),
|
||||
),
|
||||
'l10n_parent' => array(
|
||||
'displayCond' => 'FIELD:sys_language_uid:>:0',
|
||||
'exclude' => 1,
|
||||
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
|
||||
'config' => array(
|
||||
'type' => 'select',
|
||||
'items' => array(
|
||||
array('', 0),
|
||||
),
|
||||
'foreign_table' => 'tx_ifoberstufenplaner_domain_model_schule',
|
||||
'foreign_table_where' => 'AND tx_ifoberstufenplaner_domain_model_schule.pid=###CURRENT_PID### AND tx_ifoberstufenplaner_domain_model_schule.sys_language_uid IN (-1,0)',
|
||||
),
|
||||
),
|
||||
'l10n_diffsource' => array(
|
||||
'config' => array(
|
||||
'type' => 'passthrough',
|
||||
),
|
||||
),
|
||||
|
||||
't3ver_label' => array(
|
||||
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
|
||||
'config' => array(
|
||||
'type' => 'input',
|
||||
'size' => 30,
|
||||
'max' => 255,
|
||||
)
|
||||
),
|
||||
|
||||
// 'hidden' => array(
|
||||
// 'exclude' => 1,
|
||||
// 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
|
||||
// 'config' => array(
|
||||
// 'type' => 'check',
|
||||
// ),
|
||||
// ),
|
||||
// 'starttime' => array(
|
||||
// 'exclude' => 1,
|
||||
// 'l10n_mode' => 'mergeIfNotBlank',
|
||||
// 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
|
||||
// 'config' => array(
|
||||
// 'type' => 'input',
|
||||
// 'size' => 13,
|
||||
// 'max' => 20,
|
||||
// 'eval' => 'datetime',
|
||||
// 'checkbox' => 0,
|
||||
// 'default' => 0,
|
||||
// 'range' => array(
|
||||
// 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
// 'endtime' => array(
|
||||
// 'exclude' => 1,
|
||||
// 'l10n_mode' => 'mergeIfNotBlank',
|
||||
// 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
|
||||
// 'config' => array(
|
||||
// 'type' => 'input',
|
||||
// 'size' => 13,
|
||||
// 'max' => 20,
|
||||
// 'eval' => 'datetime',
|
||||
// 'checkbox' => 0,
|
||||
// 'default' => 0,
|
||||
// 'range' => array(
|
||||
// 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
|
||||
'name' => array(
|
||||
'exclude' => 1,
|
||||
'label' => 'Name',
|
||||
'config' => array(
|
||||
'type' => 'input',
|
||||
'size' => 100,
|
||||
'eval' => 'trim'
|
||||
),
|
||||
),
|
||||
|
||||
'refs' => array(
|
||||
'exclude' => 1,
|
||||
'label' => 'Refs',
|
||||
'config' => array(
|
||||
'type' => 'inline',
|
||||
'foreign_table' => 'tx_ifoberstufenplaner_domain_model_schule_ref',
|
||||
'foreign_field' => 'GLSchnr',
|
||||
'maxitems' => 9999,
|
||||
'appearance' => array(
|
||||
'collapseAll' => 0,
|
||||
'levelLinksPosition' => 'top',
|
||||
'showSynchronizationLink' => 1,
|
||||
'showPossibleLocalizationRecords' => 1,
|
||||
'useSortable' => 1,
|
||||
'showAllLocalizationLink' => 1
|
||||
),
|
||||
),
|
||||
|
||||
),
|
||||
),
|
||||
);
|
||||
@@ -0,0 +1,15 @@
|
||||
|
||||
plugin.tx_ifoberstufenplaner {
|
||||
view {
|
||||
# cat=plugin.tx_ifoberstufenplaner/file; type=string; label=Path to template root (FE)
|
||||
templateRootPath = EXT:if_oberstufenplaner/Resources/Private/Templates/
|
||||
# cat=plugin.tx_ifoberstufenplaner/file; type=string; label=Path to template partials (FE)
|
||||
partialRootPath = EXT:if_oberstufenplaner/Resources/Private/Partials/
|
||||
# cat=plugin.tx_ifoberstufenplaner/file; type=string; label=Path to template layouts (FE)
|
||||
layoutRootPath = EXT:if_oberstufenplaner/Resources/Private/Layouts/
|
||||
}
|
||||
persistence {
|
||||
# cat=plugin.tx_ifoberstufenplaner//a; type=string; label=Default storage PID
|
||||
storagePid =
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
|
||||
plugin.tx_ifoberstufenplaner {
|
||||
view {
|
||||
templateRootPath = {$plugin.tx_ifoberstufenplaner.view.templateRootPath}
|
||||
partialRootPath = {$plugin.tx_ifoberstufenplaner.view.partialRootPath}
|
||||
layoutRootPath = {$plugin.tx_ifoberstufenplaner.view.layoutRootPath}
|
||||
}
|
||||
persistence {
|
||||
storagePid = {$plugin.tx_ifoberstufenplaner.persistence.storagePid}
|
||||
}
|
||||
features {
|
||||
# uncomment the following line to enable the new Property Mapper.
|
||||
# rewrittenPropertyMapper = 1
|
||||
}
|
||||
}
|
||||
|
||||
plugin.tx_ifoberstufenplaner._CSS_DEFAULT_STYLE (
|
||||
textarea.f3-form-error {
|
||||
background-color:#FF9F9F;
|
||||
border: 1px #FF0000 solid;
|
||||
}
|
||||
|
||||
input.f3-form-error {
|
||||
background-color:#FF9F9F;
|
||||
border: 1px #FF0000 solid;
|
||||
}
|
||||
|
||||
.tx-if-oberstufenplaner table {
|
||||
border-collapse:separate;
|
||||
border-spacing:10px;
|
||||
}
|
||||
|
||||
.tx-if-oberstufenplaner table th {
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
.tx-if-oberstufenplaner table td {
|
||||
vertical-align:top;
|
||||
}
|
||||
|
||||
.typo3-messages .message-error {
|
||||
color:red;
|
||||
}
|
||||
|
||||
.typo3-messages .message-ok {
|
||||
color:green;
|
||||
}
|
||||
|
||||
)
|
||||
|
||||
#page.includeCSS {
|
||||
# if_oberstufenplaner = EXT:if_oberstufenplaner/Resources/Public/css/style.css
|
||||
# if_oberstufenplaner.excludeFromConcatenation = 1
|
||||
#
|
||||
# if_oberstufenplanerFont1 = http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800
|
||||
# if_oberstufenplanerFont1.external = 1
|
||||
# if_oberstufenplanerFont1.disableCompression = 1
|
||||
# if_oberstufenplanerFont1.media = all
|
||||
# if_oberstufenplanerFont1.excludeFromConcatenation = 1
|
||||
# if_oberstufenplanerFont2 = http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300
|
||||
# if_oberstufenplanerFont2.external = 1
|
||||
# if_oberstufenplanerFont2.disableCompression = 1
|
||||
# if_oberstufenplanerFont2.media = all
|
||||
# if_oberstufenplanerFont2.excludeFromConcatenation = 1
|
||||
# if_oberstufenplanerFont3 = //maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css
|
||||
# if_oberstufenplanerFont3.external = 1
|
||||
# if_oberstufenplanerFont3.disableCompression = 1
|
||||
# if_oberstufenplanerFont3.media = all
|
||||
# if_oberstufenplanerFont3.excludeFromConcatenation = 1
|
||||
#}
|
||||
|
||||
page.includeJS {
|
||||
if_oberstufenplanerFaecherplaner = EXT:if_oberstufenplaner/Resources/Public/js/faecherplaner.js
|
||||
if_oberstufenplanerFaecherplaner.forceOnTop = 1
|
||||
if_oberstufenplanerFaecherplaner.excludeFromConcatenation = 1
|
||||
if_oberstufenplanerKonfigurator = EXT:if_oberstufenplaner/Resources/Public/js/konfigurator.js
|
||||
if_oberstufenplanerKonfigurator.forceOnTop = 1
|
||||
if_oberstufenplanerKonfigurator.excludeFromConcatenation = 1
|
||||
if_oberstufenplanerJqueryUI = EXT:if_oberstufenplaner/Resources/Public/js/jquery-ui.min.js
|
||||
if_oberstufenplanerJqueryUI.forceOnTop = 1
|
||||
if_oberstufenplanerJquery = https://code.jquery.com/jquery-1.9.1.min.js
|
||||
if_oberstufenplanerJquery.external = 1
|
||||
if_oberstufenplanerJquery.forceOnTop = 1
|
||||
}
|
||||
BIN
typo3conf/ext/if_oberstufenplaner/Documentation.tmpl/.DS_Store
vendored
Normal file
BIN
typo3conf/ext/if_oberstufenplaner/Documentation.tmpl/.DS_Store
vendored
Normal file
Binary file not shown.
@@ -0,0 +1,82 @@
|
||||
.. ==================================================
|
||||
.. FOR YOUR INFORMATION
|
||||
.. --------------------------------------------------
|
||||
.. -*- coding: utf-8 -*- with BOM.
|
||||
|
||||
.. include:: ../Includes.txt
|
||||
|
||||
|
||||
.. _admin-manual:
|
||||
|
||||
Administrator Manual
|
||||
====================
|
||||
|
||||
Target group: **Administrators**
|
||||
|
||||
Describes how to manage the extension from an administrator point of view.
|
||||
That relates to Page/User TSconfig, permissions, configuration etc.,
|
||||
which administrator level users have access to.
|
||||
|
||||
Language should be non / semi-technical, explaining, using small examples.
|
||||
|
||||
|
||||
.. _admin-installation:
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
- How should the extension be installed?
|
||||
- Are they dependencies to resolve?
|
||||
- Is it a static template file to be included?
|
||||
|
||||
To install the extension, perform the following steps:
|
||||
|
||||
#. Go to the Extension Manager
|
||||
#. Install the extension
|
||||
#. Load the static template
|
||||
#. ...
|
||||
|
||||
For a list of configuration options, using a definition list is recommended:
|
||||
|
||||
Some Configuration
|
||||
This option enables...
|
||||
|
||||
Other configuration
|
||||
This other option is for all the rest...
|
||||
|
||||
|
||||
.. figure:: ../Images/AdministratorManual/ExtensionManager.png
|
||||
:alt: Extension Manager
|
||||
|
||||
Extension Manager (caption of the image)
|
||||
|
||||
List of extensions within the Extension Manager also shorten with "EM" (legend of the image)
|
||||
|
||||
|
||||
.. _admin-configuration:
|
||||
|
||||
Configuration
|
||||
-------------
|
||||
|
||||
* Where and how the extension should be configured? TypoScript? PHP?
|
||||
|
||||
* Are there other prerequisite to full fill beforehand?
|
||||
For example, configure a setting in a special way somewhere.
|
||||
|
||||
|
||||
.. _admin-faq:
|
||||
|
||||
FAQ
|
||||
---
|
||||
|
||||
Possible subsection: FAQ
|
||||
|
||||
Subsection
|
||||
^^^^^^^^^^
|
||||
|
||||
Some subsection
|
||||
|
||||
Sub-subsection
|
||||
""""""""""""""
|
||||
|
||||
Deeper into the structure...
|
||||
@@ -0,0 +1,16 @@
|
||||
.. ==================================================
|
||||
.. FOR YOUR INFORMATION
|
||||
.. --------------------------------------------------
|
||||
.. -*- coding: utf-8 -*- with BOM.
|
||||
|
||||
.. include:: ../Includes.txt
|
||||
|
||||
|
||||
.. _changelog:
|
||||
|
||||
ChangeLog
|
||||
=========
|
||||
|
||||
Providing a change log chapter is optional. You can also refer
|
||||
users to the ChangeLog file inside the extension or to some repository's
|
||||
commit listing.
|
||||
@@ -0,0 +1,104 @@
|
||||
.. ==================================================
|
||||
.. FOR YOUR INFORMATION
|
||||
.. --------------------------------------------------
|
||||
.. -*- coding: utf-8 -*- with BOM.
|
||||
|
||||
.. include:: ../Includes.txt
|
||||
|
||||
|
||||
.. _configuration:
|
||||
|
||||
Configuration Reference
|
||||
=======================
|
||||
|
||||
Technical information: Installation, Reference of TypoScript options,
|
||||
configuration options on system level, how to extend it, the technical
|
||||
details, how to debug it and so on.
|
||||
|
||||
Language should be technical, assuming developer knowledge of TYPO3.
|
||||
Small examples/visuals are always encouraged.
|
||||
|
||||
Target group: **Developers**
|
||||
|
||||
|
||||
.. _configuration-typoscript:
|
||||
|
||||
TypoScript Reference
|
||||
--------------------
|
||||
|
||||
Possible subsections: Reference of TypoScript options.
|
||||
The construct below show the recommended structure for
|
||||
TypoScript properties listing and description.
|
||||
|
||||
Properties should be listed in the order in which they
|
||||
are executed by your extension, but the first should be
|
||||
alphabetical for easier access.
|
||||
|
||||
When detailing data types or standard TypoScript
|
||||
features, don't hesitate to cross-link to the TypoScript
|
||||
Reference as shown below. See the :file:`Settings.yml`
|
||||
file for the declaration of cross-linking keys.
|
||||
|
||||
|
||||
Properties
|
||||
^^^^^^^^^^
|
||||
|
||||
.. container:: ts-properties
|
||||
|
||||
=========================== ===================================== ======================= ====================
|
||||
Property Data type :ref:`t3tsref:stdwrap` Default
|
||||
=========================== ===================================== ======================= ====================
|
||||
allWrap_ :ref:`t3tsref:data-type-wrap` yes :code:`<div>|</div>`
|
||||
`subst\_elementUid`_ :ref:`t3tsref:data-type-boolean` no 0
|
||||
wrapItemAndSub_ :ref:`t3tsref:data-type-wrap`
|
||||
=========================== ===================================== ======================= ====================
|
||||
|
||||
|
||||
Property details
|
||||
^^^^^^^^^^^^^^^^
|
||||
|
||||
.. only:: html
|
||||
|
||||
.. contents::
|
||||
:local:
|
||||
:depth: 1
|
||||
|
||||
|
||||
.. _ts-plugin-tx-extensionkey-stdwrap:
|
||||
|
||||
allWrap
|
||||
"""""""
|
||||
|
||||
:typoscript:`plugin.tx_extensionkey.allWrap =` :ref:`t3tsref:data-type-wrap`
|
||||
|
||||
Wraps the whole item.
|
||||
|
||||
|
||||
.. _ts-plugin-tx-extensionkey-wrapitemandsub:
|
||||
|
||||
wrapItemAndSub
|
||||
""""""""""""""
|
||||
|
||||
:typoscript:`plugin.tx_extensionkey.wrapItemAndSub =` :ref:`t3tsref:data-type-wrap`
|
||||
|
||||
Wraps the whole item and any submenu concatenated to it.
|
||||
|
||||
|
||||
.. _ts-plugin-tx-extensionkey-substelementUid:
|
||||
|
||||
subst_elementUid
|
||||
""""""""""""""""
|
||||
|
||||
:typoscript:`plugin.tx_extensionkey.subst_elementUid =` :ref:`t3tsref:data-type-boolean`
|
||||
|
||||
If set, all appearances of the string ``{elementUid}`` in the total element html-code (after wrapped in allWrap_)
|
||||
is substituted with the uid number of the menu item. This is useful if you want to insert an identification code
|
||||
in the HTML in order to manipulate properties with JavaScript.
|
||||
|
||||
|
||||
.. _configuration-faq:
|
||||
|
||||
FAQ
|
||||
---
|
||||
|
||||
Possible subsection: FAQ
|
||||
@@ -0,0 +1,58 @@
|
||||
.. ==================================================
|
||||
.. FOR YOUR INFORMATION
|
||||
.. --------------------------------------------------
|
||||
.. -*- coding: utf-8 -*- with BOM.
|
||||
|
||||
.. include:: ../Includes.txt
|
||||
|
||||
|
||||
.. _developer:
|
||||
|
||||
Developer Corner
|
||||
================
|
||||
|
||||
Target group: **Developers**
|
||||
|
||||
Use this section for *providing code examples* or any **useful** information code wise.
|
||||
|
||||
|
||||
.. _developer-hooks:
|
||||
|
||||
Hooks
|
||||
-----
|
||||
|
||||
Possible hook examples. Input parameters are:
|
||||
|
||||
+----------------+---------------+---------------------------------+
|
||||
| Parameter | Data type | Description |
|
||||
+================+===============+=================================+
|
||||
| $table | string | Name of the table |
|
||||
+----------------+---------------+---------------------------------+
|
||||
| $field | string | Name of the field |
|
||||
+----------------+---------------+---------------------------------+
|
||||
|
||||
Use parameter :code:`$table` to retrieve the table name...
|
||||
|
||||
.. _developer-api:
|
||||
|
||||
API
|
||||
---
|
||||
|
||||
How to use the API...
|
||||
|
||||
.. code-block:: php
|
||||
|
||||
$stuff = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('\\Foo\\Bar\\Utility\\Stuff');
|
||||
$stuff->do();
|
||||
|
||||
or some other language:
|
||||
|
||||
.. code-block:: javascript
|
||||
:linenos:
|
||||
:emphasize-lines: 2-4
|
||||
|
||||
$(document).ready(
|
||||
function () {
|
||||
doStuff();
|
||||
}
|
||||
);
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 153 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 120 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 226 KiB |
@@ -0,0 +1,21 @@
|
||||
.. ==================================================
|
||||
.. FOR YOUR INFORMATION
|
||||
.. --------------------------------------------------
|
||||
.. -*- coding: utf-8 -*- with BOM.
|
||||
|
||||
.. This is 'Includes.txt'. It is included at the very top of each and
|
||||
every ReST source file in this documentation project (= manual).
|
||||
|
||||
|
||||
.. ==================================================
|
||||
.. DEFINE SOME TEXT ROLES
|
||||
.. --------------------------------------------------
|
||||
|
||||
.. role:: typoscript(code)
|
||||
|
||||
.. role:: ts(typoscript)
|
||||
:class: typoscript
|
||||
|
||||
.. role:: php(code)
|
||||
|
||||
.. highlight:: php
|
||||
@@ -0,0 +1,63 @@
|
||||
.. ==================================================
|
||||
.. FOR YOUR INFORMATION
|
||||
.. --------------------------------------------------
|
||||
.. -*- coding: utf-8 -*- with BOM.
|
||||
|
||||
.. include:: Includes.txt
|
||||
|
||||
.. _start:
|
||||
|
||||
=============================================================
|
||||
Oberstufenplaner
|
||||
=============================================================
|
||||
|
||||
.. only:: html
|
||||
|
||||
:Classification:
|
||||
if_oberstufenplaner
|
||||
|
||||
:Version:
|
||||
|release|
|
||||
|
||||
:Language:
|
||||
en
|
||||
|
||||
:Description:
|
||||
Oberstufenplaner - Kultusministerium
|
||||
|
||||
:Keywords:
|
||||
comma,separated,list,of,keywords
|
||||
|
||||
:Copyright:
|
||||
2015
|
||||
|
||||
:Author:
|
||||
|
||||
:Email:
|
||||
|
||||
:License:
|
||||
This document is published under the Open Content License
|
||||
available from http://www.opencontent.org/opl.shtml
|
||||
|
||||
:Rendered:
|
||||
|today|
|
||||
|
||||
The content of this document is related to TYPO3,
|
||||
a GNU/GPL CMS/Framework available from `www.typo3.org <http://www.typo3.org/>`_.
|
||||
|
||||
**Table of Contents**
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 5
|
||||
:titlesonly:
|
||||
:glob:
|
||||
|
||||
Introduction/Index
|
||||
User/Index
|
||||
Administrator/Index
|
||||
Configuration/Index
|
||||
Developer/Index
|
||||
KnownProblems/Index
|
||||
ToDoList/Index
|
||||
ChangeLog/Index
|
||||
Targets
|
||||
@@ -0,0 +1,39 @@
|
||||
.. ==================================================
|
||||
.. FOR YOUR INFORMATION
|
||||
.. --------------------------------------------------
|
||||
.. -*- coding: utf-8 -*- with BOM.
|
||||
|
||||
.. include:: ../Includes.txt
|
||||
|
||||
|
||||
.. _introduction:
|
||||
|
||||
Introduction
|
||||
============
|
||||
|
||||
|
||||
.. _what-it-does:
|
||||
|
||||
What does it do?
|
||||
----------------
|
||||
|
||||
This chapter should give a brief overview of the extension. What does it do? What problems does it solve?
|
||||
Who is interested in this? Basically, this section includes everything people need to know to decide whether they
|
||||
should go on with this extension or not.
|
||||
|
||||
|
||||
.. _screenshots:
|
||||
|
||||
Screenshots
|
||||
-----------
|
||||
|
||||
This chapter should help people figure how the extension works. Remove it
|
||||
if not relevant.
|
||||
|
||||
.. figure:: ../Images/IntroductionPackage.png
|
||||
:width: 500px
|
||||
:alt: Introduction Package
|
||||
|
||||
Introduction Package just after installation (caption of the image)
|
||||
|
||||
How the Frontend of the Introduction Package looks like just after installation (legend of the image)
|
||||
@@ -0,0 +1,17 @@
|
||||
.. ==================================================
|
||||
.. FOR YOUR INFORMATION
|
||||
.. --------------------------------------------------
|
||||
.. -*- coding: utf-8 -*- with BOM.
|
||||
|
||||
.. include:: ../Includes.txt
|
||||
|
||||
|
||||
.. _known-problems:
|
||||
|
||||
Known Problems
|
||||
==============
|
||||
|
||||
Say where bugs can be reported / followed up. Is it a
|
||||
`bug tracker <http://forge.typo3.org/projects/typo3cms-doc-official-extension-template/issues>`_?
|
||||
Use this section for informing about any type of of problem
|
||||
that are not necessarily named in the bug tracker such as performance issues, ...
|
||||
@@ -0,0 +1,66 @@
|
||||
.. ==================================================
|
||||
.. FOR YOUR INFORMATION
|
||||
.. --------------------------------------------------
|
||||
.. -*- coding: utf-8 -*- with BOM.
|
||||
|
||||
.. include:: ../Includes.txt
|
||||
|
||||
|
||||
.. _start:
|
||||
|
||||
=============================================================
|
||||
###PROJECT_NAME### (Deutsch)
|
||||
=============================================================
|
||||
|
||||
.. only:: html
|
||||
|
||||
:Klassifikation:
|
||||
extension_key
|
||||
|
||||
:Version:
|
||||
|release|
|
||||
|
||||
:Sprache:
|
||||
de
|
||||
|
||||
:Beschreibung:
|
||||
Geben Sie eine Beschreibung ein.
|
||||
|
||||
:Schlüsselwörter:
|
||||
komma-getrennte,Liste,von,Schlüsselwörtern
|
||||
|
||||
:Copyright:
|
||||
###YEAR###
|
||||
|
||||
:Autor:
|
||||
###AUTHOR###
|
||||
|
||||
:E-Mail:
|
||||
author@example.com
|
||||
|
||||
:Lizenz:
|
||||
Dieses Dokument wird unter der Open Content License, siehe
|
||||
http://www.opencontent.org/opl.shtml veröffentlicht.
|
||||
|
||||
:Gerendert:
|
||||
|today|
|
||||
|
||||
Der Inhalt dieses Dokuments bezieht sich auf TYPO3,
|
||||
ein GNU/GPL CMS-Framework auf `www.typo3.org <http://www.typo3.org/>`_.
|
||||
|
||||
|
||||
**Inhaltsverzeichnis**
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 5
|
||||
:titlesonly:
|
||||
:glob:
|
||||
|
||||
.. Introduction/Index
|
||||
.. UserManual/Index
|
||||
.. AdministratorManual/Index
|
||||
.. Configuration/Index
|
||||
.. DeveloperCorner/Index
|
||||
.. KnownProblems/Index
|
||||
.. ToDoList/Index
|
||||
.. ChangeLog/Index
|
||||
@@ -0,0 +1,24 @@
|
||||
How to translate
|
||||
================
|
||||
|
||||
This directory contains the German translation of your documentation.
|
||||
This is a complete Sphinx project but you may reuse assets from the
|
||||
main documentation under Documentation/.
|
||||
|
||||
If you plan to translate your documentation to German, you should
|
||||
rename this directory and remove the suffix ".tmpl":
|
||||
|
||||
Localization.de_DE.tmpl -> Localization.de_DE
|
||||
|
||||
As this file is not needed either, feel free to delete it as well.
|
||||
|
||||
|
||||
Supported languages
|
||||
===================
|
||||
|
||||
Please visit http://sphinx-doc.org/latest/config.html#intl-options for a
|
||||
list of languages supported by Sphinx.
|
||||
|
||||
Please note however that TYPO3 is using locales so you may need to
|
||||
extend the language code from Sphinx into a proper locale to be used
|
||||
by TYPO3.
|
||||
@@ -0,0 +1,29 @@
|
||||
# This is the project specific Settings.yml file.
|
||||
# Place Sphinx specific build information here.
|
||||
# Settings given here will replace the settings of 'conf.py'.
|
||||
|
||||
# Below is an example of intersphinx mapping declaration
|
||||
# Add more mappings depending on what manual you want to link to
|
||||
# Remove entirely if you don't need cross-linking
|
||||
|
||||
---
|
||||
conf.py:
|
||||
copyright: 2012-2013
|
||||
project: Extension Name (Deutsch)
|
||||
version: x.y
|
||||
release: x.y.z
|
||||
intersphinx_mapping:
|
||||
t3tsref:
|
||||
- http://docs.typo3.org/typo3cms/TyposcriptReference/
|
||||
- null
|
||||
latex_documents:
|
||||
- - Index
|
||||
- <extension_key>.tex
|
||||
- Extension Name (Français)
|
||||
- Your Name
|
||||
- manual
|
||||
latex_elements:
|
||||
papersize: a4paper
|
||||
pointsize: 10pt
|
||||
preamble: \usepackage{typo3}
|
||||
...
|
||||
@@ -0,0 +1,66 @@
|
||||
.. ==================================================
|
||||
.. FOR YOUR INFORMATION
|
||||
.. --------------------------------------------------
|
||||
.. -*- coding: utf-8 -*- with BOM.
|
||||
|
||||
.. include:: ../Includes.txt
|
||||
|
||||
|
||||
.. _start:
|
||||
|
||||
=============================================================
|
||||
###PROJECT_NAME### (Français)
|
||||
=============================================================
|
||||
|
||||
.. only:: html
|
||||
|
||||
:Classification:
|
||||
extension_key
|
||||
|
||||
:Version:
|
||||
|release|
|
||||
|
||||
:Langue:
|
||||
fr
|
||||
|
||||
:Description:
|
||||
entrez une description.
|
||||
|
||||
:Mots-clés:
|
||||
list,mots-clés,séparés,par,virgules
|
||||
|
||||
:Copyright:
|
||||
###YEAR###
|
||||
|
||||
:Auteur:
|
||||
###AUTHOR###
|
||||
|
||||
:E-mail:
|
||||
author@example.com
|
||||
|
||||
:Licence:
|
||||
Ce document est publié sous la licence de contenu libre
|
||||
disponible sur http://www.opencontent.org/opl.shtml
|
||||
|
||||
:Généré:
|
||||
|today|
|
||||
|
||||
Le contenu de ce document est en relation avec TYPO3,
|
||||
un CMS/Framework GNU/GPL disponible sur `www.typo3.org <http://www.typo3.org/>`_.
|
||||
|
||||
|
||||
**Sommaire**
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 5
|
||||
:titlesonly:
|
||||
:glob:
|
||||
|
||||
.. Introduction/Index
|
||||
.. UserManual/Index
|
||||
.. AdministratorManual/Index
|
||||
.. Configuration/Index
|
||||
.. DeveloperCorner/Index
|
||||
.. KnownProblems/Index
|
||||
.. ToDoList/Index
|
||||
.. ChangeLog/Index
|
||||
@@ -0,0 +1,24 @@
|
||||
How to translate
|
||||
================
|
||||
|
||||
This directory contains the French translation of your documentation.
|
||||
This is a complete Sphinx project but you may reuse assets from the
|
||||
main documentation under Documentation/.
|
||||
|
||||
If you plan to translate your documentation to French, you should
|
||||
rename this directory and remove the suffix ".tmpl":
|
||||
|
||||
Localization.fr_FR.tmpl -> Localization.fr_FR
|
||||
|
||||
As this file is not needed either, feel free to delete it as well.
|
||||
|
||||
|
||||
Supported languages
|
||||
===================
|
||||
|
||||
Please visit http://sphinx-doc.org/latest/config.html#intl-options for a
|
||||
list of languages supported by Sphinx.
|
||||
|
||||
Please note however that TYPO3 is using locales so you may need to
|
||||
extend the language code from Sphinx into a proper locale to be used
|
||||
by TYPO3.
|
||||
@@ -0,0 +1,29 @@
|
||||
# This is the project specific Settings.yml file.
|
||||
# Place Sphinx specific build information here.
|
||||
# Settings given here will replace the settings of 'conf.py'.
|
||||
|
||||
# Below is an example of intersphinx mapping declaration
|
||||
# Add more mappings depending on what manual you want to link to
|
||||
# Remove entirely if you don't need cross-linking
|
||||
|
||||
---
|
||||
conf.py:
|
||||
copyright: 2012-2013
|
||||
project: Extension Name (Français)
|
||||
version: x.y
|
||||
release: x.y.z
|
||||
intersphinx_mapping:
|
||||
t3tsref:
|
||||
- http://docs.typo3.org/typo3cms/TyposcriptReference/
|
||||
- null
|
||||
latex_documents:
|
||||
- - Index
|
||||
- <extension_key>.tex
|
||||
- Extension Name (Français)
|
||||
- Your Name
|
||||
- manual
|
||||
latex_elements:
|
||||
papersize: a4paper
|
||||
pointsize: 10pt
|
||||
preamble: \usepackage{typo3}
|
||||
...
|
||||
@@ -0,0 +1,24 @@
|
||||
Extension Manual
|
||||
================
|
||||
|
||||
This is a template manual aiming to help developers when it comes to documentation.
|
||||
The template provides a structure that a developer can take over and, in addition,
|
||||
many useful snippets and examples. Documentation is written in reST format.
|
||||
|
||||
You manual may be comprised of the whole `Documentation` folder
|
||||
or just of this README file. More information can be found in
|
||||
`Core APIs`_.
|
||||
|
||||
This example manual will show you - in particular - how to make links
|
||||
across manuals or how to present a TypoScript reference.
|
||||
|
||||
Any idea or suggestion for improving this template `can be dropped`_ to
|
||||
the `Documentation Team`_.
|
||||
|
||||
Remember: documentation is like gift wrapping, it may look superfluous,
|
||||
but your friends tend to be rather disappointed when their presents
|
||||
arrive in supermarket carrier bags. (Documentation-Driven Design quote)
|
||||
|
||||
.. _Core APIs: http://docs.typo3.org/typo3cms/CoreApiReference/ExtensionArchitecture/Documentation/Index.html
|
||||
.. _can be dropped: http://forge.typo3.org/projects/typo3cms-doc-official-extension-template/issues
|
||||
.. _Documentation Team: http://forge.typo3.org/projects/typo3cms-doc-official-extension-template
|
||||
@@ -0,0 +1,29 @@
|
||||
# This is the project specific Settings.yml file.
|
||||
# Place Sphinx specific build information here.
|
||||
# Settings given here will replace the settings of 'conf.py'.
|
||||
|
||||
# Below is an example of intersphinx mapping declaration
|
||||
# Add more mappings depending on what manual you want to link to
|
||||
# Remove entirely if you don't need cross-linking
|
||||
|
||||
---
|
||||
conf.py:
|
||||
copyright: 2015
|
||||
project: Oberstufenplaner
|
||||
version: 0.0.1
|
||||
release: 0.0.1
|
||||
intersphinx_mapping:
|
||||
t3tsref:
|
||||
- http://docs.typo3.org/typo3cms/TyposcriptReference/
|
||||
- null
|
||||
latex_documents:
|
||||
- - Index
|
||||
- if_oberstufenplaner.tex
|
||||
- Oberstufenplaner
|
||||
-
|
||||
- manual
|
||||
latex_elements:
|
||||
papersize: a4paper
|
||||
pointsize: 10pt
|
||||
preamble: \usepackage
|
||||
...
|
||||
@@ -0,0 +1,14 @@
|
||||
.. ==================================================
|
||||
.. FOR YOUR INFORMATION
|
||||
.. --------------------------------------------------
|
||||
.. -*- coding: utf-8 -*- with BOM.
|
||||
|
||||
.. include:: Includes.txt
|
||||
|
||||
|
||||
.. _labels-for-crossreferencing:
|
||||
|
||||
Index: Labels for Cross-referencing
|
||||
===================================
|
||||
|
||||
.. ref-targets-list::
|
||||
@@ -0,0 +1,16 @@
|
||||
.. ==================================================
|
||||
.. FOR YOUR INFORMATION
|
||||
.. --------------------------------------------------
|
||||
.. -*- coding: utf-8 -*- with BOM.
|
||||
|
||||
.. include:: ../Includes.txt
|
||||
|
||||
|
||||
.. _todo:
|
||||
|
||||
To-Do list
|
||||
==========
|
||||
|
||||
Give a link pointing to a `roadmap <http://forge.typo3.org/projects/typo3cms-doc-official-extension-template/roadmap>`_.
|
||||
Alternatively, you can dress up a list of things you want to add or fix in this chapter
|
||||
or give a vision about where the extension is heading.
|
||||
@@ -0,0 +1,67 @@
|
||||
.. ==================================================
|
||||
.. FOR YOUR INFORMATION
|
||||
.. --------------------------------------------------
|
||||
.. -*- coding: utf-8 -*- with BOM.
|
||||
|
||||
.. include:: ../Includes.txt
|
||||
|
||||
|
||||
.. _user-manual:
|
||||
|
||||
Users Manual
|
||||
============
|
||||
|
||||
Target group: **Editors**
|
||||
|
||||
Here should be described how to use the extension from the editor perspective.
|
||||
|
||||
- How does it work?
|
||||
|
||||
- works well when doing this.
|
||||
|
||||
- does not work so well when doing that
|
||||
but we can live with it.
|
||||
|
||||
- **mind indentation when nesting lists**.
|
||||
|
||||
- How to install the plugin on a web page?
|
||||
|
||||
- What options are available?
|
||||
|
||||
Language should be non-technical, explaining, using small examples.
|
||||
Don't use to many acronyms unless they have been explained.
|
||||
Don't be confusing by putting information targeting administrators.
|
||||
|
||||
.. tip::
|
||||
|
||||
Take a break from time to time.
|
||||
|
||||
Admonitions should be used to warn the users about potential
|
||||
pitfalls, attract their attention to important elements
|
||||
or just add some notes for for information (further reading,
|
||||
for example).
|
||||
|
||||
.. important::
|
||||
|
||||
Remember to always say "please" when asking your software to
|
||||
do something.
|
||||
|
||||
Provide screenshots as needed for making things clear. When creating
|
||||
screenshots, try using the `Introduction Package <http://demo.typo3.org/>`_
|
||||
as a neutral TYPO3 CMS instance.
|
||||
|
||||
.. figure:: ../Images/UserManual/BackendView.png
|
||||
:width: 500px
|
||||
:alt: Backend view
|
||||
|
||||
Default Backend view (caption of the image)
|
||||
|
||||
The Backend view of TYPO3 after the user has clicked on module "Page". (legend of the image)
|
||||
|
||||
|
||||
.. _user-faq:
|
||||
|
||||
FAQ
|
||||
---
|
||||
|
||||
Possible subsection: FAQ
|
||||
40
typo3conf/ext/if_oberstufenplaner/ExtensionBuilder.json
Normal file
40
typo3conf/ext/if_oberstufenplaner/ExtensionBuilder.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"modules": [],
|
||||
"properties": {
|
||||
"backendModules": [],
|
||||
"description": "Oberstufenplaner - Kultusministerium",
|
||||
"emConf": {
|
||||
"category": "plugin",
|
||||
"custom_category": "",
|
||||
"dependsOn": "typo3 => 6.2\n",
|
||||
"disableLocalization": false,
|
||||
"disableVersioning": false,
|
||||
"sourceLanguage": "de",
|
||||
"state": "alpha",
|
||||
"targetVersion": "6.2",
|
||||
"version": "0.0.1"
|
||||
},
|
||||
"extensionKey": "if_oberstufenplaner",
|
||||
"name": "Oberstufenplaner",
|
||||
"originalExtensionKey": "",
|
||||
"persons": [],
|
||||
"plugins": [
|
||||
{
|
||||
"actions": {
|
||||
"controllerActionCombinations": "Faecherplaner => step1,step2",
|
||||
"noncacheableActions": "Faecherplaner => step1,step2",
|
||||
"switchableActions": ""
|
||||
},
|
||||
"key": "faecherplaner",
|
||||
"name": "Faecherplaner"
|
||||
}
|
||||
],
|
||||
"vendorName": "Internetfabrik"
|
||||
},
|
||||
"wires": [],
|
||||
"log": {
|
||||
"last_modified": "2015-09-29 04:33",
|
||||
"extension_builder_version": "6.2.0",
|
||||
"be_user": " (1)"
|
||||
}
|
||||
}
|
||||
BIN
typo3conf/ext/if_oberstufenplaner/Resources/Private/.DS_Store
vendored
Normal file
BIN
typo3conf/ext/if_oberstufenplaner/Resources/Private/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
typo3conf/ext/if_oberstufenplaner/Resources/Private/._.DS_Store
Normal file
BIN
typo3conf/ext/if_oberstufenplaner/Resources/Private/._.DS_Store
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
||||
deny from all
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<xliff version="1.0">
|
||||
<file source-language="de" datatype="plaintext" original="messages" date="2015-09-29T16:33:50Z" product-name="if_oberstufenplaner">
|
||||
<header/>
|
||||
<body>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<xliff version="1.0">
|
||||
<file source-language="de" datatype="plaintext" original="messages" date="2015-09-29T16:33:50Z" product-name="if_oberstufenplaner">
|
||||
<header/>
|
||||
<body>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
@@ -0,0 +1,3 @@
|
||||
<div class="tx_ifoberstufenplaner">
|
||||
<f:render section="main" />
|
||||
</div>
|
||||
@@ -0,0 +1,19 @@
|
||||
<ul class="fortschritt">
|
||||
<f:for each="{1:'Vorauswahl', 2:'Pflichtfächer', 3:'Wahlpflichtfächer', 4:'Profilfächer', 5:'Fächerplaner'}" key="currentStep" as="currentValue">
|
||||
<f:if condition="{step} > {currentStep}">
|
||||
<f:then>
|
||||
<li class="ok"><f:link.action action="step{currentStep}">{currentValue}</f:link.action></li>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<f:if condition="{step} == {currentStep}">
|
||||
<f:then>
|
||||
<li class="hier"><span>{currentValue}</span></li>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<li><span>{currentValue}</span></li>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</f:for>
|
||||
</ul>
|
||||
@@ -0,0 +1,9 @@
|
||||
<h3>Pflichtfächer</h3>
|
||||
<p>Das sind Fächer, die Sie belegen müssen: Mathematik, Deutsch, Religionslehre / Ethik, Geschichte / Sozialkunde und Sport.</p>
|
||||
|
||||
<h3>Wahlpflichtfächer</h3>
|
||||
<p>Aus diesen Fächern können Sie im Rahmen der vorgegebenen Regeln wählen. Manche davon besuchen Sie über die gesamte Oberstufe, andere können Sie nach der 11 abwählen.</p>
|
||||
|
||||
<h3>Profilfächer</h3>
|
||||
<p>Diese Fächer können Sie nach Ihren Interessen frei zusammenstellen. Sie können sie nicht als Abiturprüfungsfächer wählen, die Halbjahresnoten aber natürlich in ihre Abiturnote einbringen.</p>
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
<h3>Jahreswochenstunden</h3>
|
||||
<p>Sie müssen insgesamt 66 Wochenstunden belegen. Mehr sind zulässig, aber bitte achten sie darauf, dieses Stundenmaß angemessen bewältigen können.</p>
|
||||
|
||||
<h3>Halbjahresnoten einbringen</h3>
|
||||
<p>An Halbjahresnoten müssen 40 eingebracht werden.</p>
|
||||
|
||||
<h3>Prüfungsfächer</h3>
|
||||
<p>Sie absolvieren drei schriftliche und zwei mündliche Abiturprüfungen. Eine davon muss in einem gesellschafts­wissenschaftlichen Fach sein.</p>
|
||||
|
||||
<style>
|
||||
.rund {
|
||||
width: 1.5em;
|
||||
height: 1.5em;
|
||||
box-sizing: border-box;
|
||||
padding-top: .2em;
|
||||
font-size: 80%;
|
||||
border-radius: 30px;
|
||||
background: #4baf4f;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
top: -.2em;
|
||||
margin-right: .5em;
|
||||
}
|
||||
.rund.rot {
|
||||
background: #ff5722;
|
||||
}
|
||||
.rund.gelb {
|
||||
background: #ffc107;
|
||||
}
|
||||
.ecke {
|
||||
border: 6px solid #eee;
|
||||
border-color: #eee #666 #666 #eee;
|
||||
margin-right: .5em;
|
||||
display: inline-block;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<h3>Zeichenerklärung</h3>
|
||||
<p><div class="ecke"></div> Anklicken für Ihre Auswahl</p>
|
||||
<p><i class="fa fa-check rund"></i> Alles OK!</p>
|
||||
<p><i class="fa fa-exclamation rund rot"></i> Hier muss noch etwas verbessert werden, Ihre bisherige Auswahl entspricht nicht den Vorgaben für das Abitur.</p>
|
||||
<p><i class="fa fa-question rund gelb"></i> Wahrscheinlich OK, aber bitte noch einmal prüfen.</p>
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
<p>Für Schüler/innen einer Schule der gewählten Ausbildungsrichtung sind bei den Pflichtfächern keine weiteren Einstellungen nötig.</p>
|
||||
<f:link.action action="step1" class="rueck">« zurück</f:link.action><f:link.action action="step3" class="weiter">OK, weiter »</f:link.action>
|
||||
@@ -0,0 +1,11 @@
|
||||
<f:form action="step2" method="POST">
|
||||
<h2>Geschichte / Sozialkunde:</h2>
|
||||
<p>Als Schüler/in einer Wirtschafts- und sozialwissenschaftlichen Schule haben Sie Wahl, ob Sie dieses Pflichtfach als ein gemeinsames Fach (2+1 Wochenstunden) oder als zwei separate Fächer (je 2 Wochenstunden) belegen möchten.</p>
|
||||
|
||||
<f:form.radio name="g_sk_trennung" value="false" checked="{data.step2.g_sk_trennung} == 0" /> <label class="nach">gemeinsam: Geschichte mit Sozialkunde</label><br>
|
||||
<f:form.radio name="g_sk_trennung" value="true" checked="{data.step2.g_sk_trennung} == 1" /> <label class="nach">separat: Geschichte und Sozialkunde einzeln</label><br>
|
||||
|
||||
<p><i>Hinweis: Die Wahl "gemeinsam" hat zur Folge, dass Sie Ihr Wahlpflichtfach "Geographie" bzw. "Wirtschaft und Recht" durchgehend bis zur 12/2 belegen müssen. Bei "separat" können Sie dieses Fach dagegen nach der 11/2 abwählen.</i></p>
|
||||
|
||||
<f:link.action action="step1" class="rueck">« zurück</f:link.action><f:form.submit value="OK, weiter »" class="weiter"></f:form.submit>
|
||||
</f:form>
|
||||
BIN
typo3conf/ext/if_oberstufenplaner/Resources/Private/Templates/.DS_Store
vendored
Normal file
BIN
typo3conf/ext/if_oberstufenplaner/Resources/Private/Templates/.DS_Store
vendored
Normal file
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,77 @@
|
||||
<f:layout name="Default" />
|
||||
|
||||
<f:section name="main">
|
||||
<style>
|
||||
ul.ui-autocomplete {
|
||||
background: #fff;
|
||||
list-style: none;
|
||||
}
|
||||
ul.ui-autocomplete li {
|
||||
line-height: 30px;
|
||||
padding: 5px;
|
||||
}
|
||||
ul.ui-autocomplete li:hover {
|
||||
background: #999;
|
||||
}
|
||||
</style>
|
||||
<div class="tx-oberstufenplaner">
|
||||
|
||||
<div class="oben oben-breit clear">
|
||||
<h1>Der Abitur-Fächerplaner</h1>
|
||||
<f:render partial="Faecherplaner/Fortschrittbalken" arguments="{step: 1}" />
|
||||
</div>
|
||||
|
||||
<div class="main">
|
||||
<f:form action="step1" method="POST">
|
||||
<h1>1. Vorauswahl</h1>
|
||||
|
||||
<f:flashMessages renderMode="div" />
|
||||
|
||||
Gymnasium suchen: <input type="text" name="tx_ifoberstufenplaner_faecherplaner[gym_autocomplete]" value="{data.step1.gym_autocomplete}" class="schule_autocomplete" data-suggestion-source="{f:uri.action(action: 'schuleAutosuggestion', noCacheHash: '1')}" data-suggestion-accept-source="{f:uri.action(action: 'schuleAutosuggestionSelected', noCacheHash: '1')}" />
|
||||
|
||||
<h2>Ausbildungsrichtung Ihrer Schule:</h2>
|
||||
<f:form.radio name="gym_art" value="sg" checked="{data.step1.gym_art} == 'sg'" /> <label class="nach">SG: Sprachliches (einschließlich Humanistisches) Gymnasium</label><br>
|
||||
<f:form.radio name="gym_art" value="ntg" checked="{data.step1.gym_art} == 'ntg'" /> <label class="nach">NTG: Naturwissenschaftlich-technologisches Gymnasium</label><br>
|
||||
<f:form.radio name="gym_art" value="mug" checked="{data.step1.gym_art} == 'mug'" /> <label class="nach">MuG: Musisches Gymnasium</label><br>
|
||||
<f:form.radio name="gym_art" value="wsgw" checked="{data.step1.gym_art} == 'wsgw'" /> <label class="nach">WSG-W: Wirtschafts- und Sozialwissenschaftliches Gymnasium (wirtschaftswissenschaftliches Profil)</label><br>
|
||||
<f:form.radio name="gym_art" value="wsgs" checked="{data.step1.gym_art} == 'wsgs'" /> <label class="nach">WSG-S: Wirtschafts- und Sozialwissenschaftliches Gymnasium (sozialwissenschaftliches Profil)</label><br>
|
||||
|
||||
<h2>Ihre Sprachfolge in Unter- und Mittelstufe</h2>
|
||||
<span class="fs1">
|
||||
<span class="labelwrap"><label class="vor">1. Sprache:</label> <f:form.select prependOptionLabel="" prependOptionValue="" name="fs1" id="fs1" options="{e: 'Englisch', f: 'Französisch', l: 'Latein'}" class="orange" value="{data.step1.fs1}"></f:form.select></span>
|
||||
<span class="labelwrap"><label class="vor">Klassen:</label> <f:form.select class="fs_bis_klasse schmal" name="fs1_bis_klasse" options="{10: '5. bis 10.', 9: '5. bis 9.'}" value="{data.step1.fs1_bis_klasse}"></f:form.select></span>
|
||||
<br></span>
|
||||
<span class="fs2">
|
||||
<span class="labelwrap"><label class="vor">2. Sprache:</label> <f:form.select prependOptionLabel="" prependOptionValue="" name="fs2" id="fs2" options="{e: 'Englisch', f: 'Französisch', l: 'Latein'}" class="orange" value="{data.step1.fs2}"></f:form.select></span>
|
||||
<span class="labelwrap"><label class="vor">Klassen:</label> <f:form.select class="fs_bis_klasse schmal" name="fs2_bis_klasse" options="{10: '6. bis 10.', 9: '6. bis 9.'}" value="{data.step1.fs2_bis_klasse}"></f:form.select></span>
|
||||
<br></span>
|
||||
<span class="fs3" style="display: none;">
|
||||
<span class="labelwrap"><label class="vor">3. Sprache:</label> <f:form.select prependOptionLabel="" prependOptionValue="" name="fs3" id="fs3" options="{f: 'Französisch', it: 'Italienisch', ru: 'Russisch', sp: 'Spanisch', gr: 'Griechisch'}" class="orange" value="{data.step1.fs3}"></f:form.select></span>
|
||||
<br></span>
|
||||
<span class="fs_spt">
|
||||
<span class="labelwrap"><label class="vor">Wahlfach*:</label> <f:form.select prependOptionLabel="" prependOptionValue="" name="fs_spt" id="fs_spt" value="{data.step1.fs_spt}" options="{f: 'Französisch', it: 'Italienisch', ru: 'Russisch', sp: 'Spanisch', gr: 'Griechisch', chi: 'Chinesisch', jap: 'Japanisch', pln: 'Polnisch', po: 'Portugiesisch', ts: 'Tschechisch', tue: 'Türkisch', ngr: 'Neugriechisch'}" class="orange"></f:form.select></span>
|
||||
<br></span>
|
||||
<span class="fs_ne_spt">
|
||||
<span class="labelwrap"><label class="vor">Spät begonnene Sprache* **:</label> <f:form.select prependOptionLabel="" prependOptionValue="" name="fs_ne_spt" id="fs_ne_spt" value="{data.step1.fs_ne_spt}" options="{f: 'Französisch', it: 'Italienisch', ru: 'Russisch', sp: 'Spanisch', gr: 'Griechisch', chi: 'Chinesisch', jap: 'Japanisch', pln: 'Polnisch', po: 'Portugiesisch', ts: 'Tschechisch', tue: 'Türkisch', ngr: 'Neugriechisch'}" class="orange"></f:form.select></span>
|
||||
<br></span>
|
||||
<p>* Bitte wählen Sie eine Sprache, die an Ihrer Schule angeboten wird.</p>
|
||||
<p>** Damit eine Auswahl möglich ist, muss zuerst die erste oder zweite Fremdsprache nach der 9. Klasse abgelegt werden.</p>
|
||||
<br>
|
||||
<f:form.submit value="OK, weiter »" class="weiter"></f:form.submit>
|
||||
</f:form>
|
||||
</div>
|
||||
|
||||
<div class="related">
|
||||
<h2>Hinweis</h2>
|
||||
<p>Der Fächerplaner versucht, Ihre Auswahl durch Hinweise und automatische Eingrenzung der Auwahlmöglichkeiten bestmöglich zu unterstützen. Trotzdem kann keine Garantie übernommen werden, dass die von Ihnen getroffene Wahl zulässig oder an Ihrer Schule möglich ist. Er ersetzt nicht die schulspezifische Information bzw. die Regelungen in der Schulordnung für die Gymnasien in Bayern (GSO).</p>
|
||||
<p>Bitte beachten Sie, dass keine Schule in der Lage ist, alle Fächer des Wahlpflicht- bzw. des Profilbereichs anzubieten. Auch das Seminarangebot orientiert sich an den Möglichkeiten bzw. den Schwerpunktsetzungen des einzelnen Gymnasiums. Die Schulen treffen daher eine Auswahl, stellen diese zur Wahl und richten die durch ausreichendes Wahlinteresse gesicherten Kurse und Seminare ein.</p>
|
||||
<p>Bei Fragen hilft Ihnen der Oberstufenkoordinator Ihrer Schule gerne weiter.</p>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
Konfigurator.Step1.init();
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
</f:section>
|
||||
@@ -0,0 +1,62 @@
|
||||
<f:layout name="Default" />
|
||||
|
||||
<f:section name="main">
|
||||
|
||||
<div class="tx-oberstufenplaner">
|
||||
|
||||
<div class="oben oben-breit clear">
|
||||
<h1>Der Abitur-Fächerplaner</h1>
|
||||
<f:render partial="Faecherplaner/Fortschrittbalken" arguments="{step: 1}" />
|
||||
</div>
|
||||
|
||||
<div class="main">
|
||||
<f:form action="step1" method="POST">
|
||||
<h1>1. Vorauswahl</h1>
|
||||
|
||||
<f:flashMessages renderMode="div" />
|
||||
|
||||
<h2>Ausbildungsrichtung Ihrer Schule:</h2>
|
||||
<f:form.radio name="gym_art" value="sg" checked="{data.step1.gym_art} == 'sg'" /> <label class="nach">SG: Sprachliches (einschließlich Humanistisches) Gymnasium</label><br>
|
||||
<f:form.radio name="gym_art" value="ntg" checked="{data.step1.gym_art} == 'ntg'" /> <label class="nach">NTG: Naturwissenschaftlich-technologisches Gymnasium</label><br>
|
||||
<f:form.radio name="gym_art" value="mug" checked="{data.step1.gym_art} == 'mug'" /> <label class="nach">MuG: Musisches Gymnasium</label><br>
|
||||
<f:form.radio name="gym_art" value="wsgw" checked="{data.step1.gym_art} == 'wsgw'" /> <label class="nach">WSG-W: Wirtschafts- und Sozialwissenschaftliches Gymnasium (wirtschaftswissenschaftliches Profil)</label><br>
|
||||
<f:form.radio name="gym_art" value="wsgs" checked="{data.step1.gym_art} == 'wsgs'" /> <label class="nach">WSG-S: Wirtschafts- und Sozialwissenschaftliches Gymnasium (sozialwissenschaftliches Profil)</label><br>
|
||||
|
||||
<h2>Ihre Sprachfolge in Unter- und Mittelstufe</h2>
|
||||
<span class="fs1">
|
||||
<span class="labelwrap"><label class="vor">1. Sprache:</label> <f:form.select prependOptionLabel="" prependOptionValue="" name="fs1" id="fs1" options="{e: 'Englisch', f: 'Französisch', l: 'Latein'}" class="orange" value="{data.step1.fs1}"></f:form.select></span>
|
||||
<span class="labelwrap"><label class="vor">Klassen:</label> <f:form.select class="fs_bis_klasse schmal" name="fs1_bis_klasse" options="{10: '5. bis 10.', 9: '5. bis 9.'}" value="{data.step1.fs1_bis_klasse}"></f:form.select></span>
|
||||
<br></span>
|
||||
<span class="fs2">
|
||||
<span class="labelwrap"><label class="vor">2. Sprache:</label> <f:form.select prependOptionLabel="" prependOptionValue="" name="fs2" id="fs2" options="{e: 'Englisch', f: 'Französisch', l: 'Latein'}" class="orange" value="{data.step1.fs2}"></f:form.select></span>
|
||||
<span class="labelwrap"><label class="vor">Klassen:</label> <f:form.select class="fs_bis_klasse schmal" name="fs2_bis_klasse" options="{10: '6. bis 10.', 9: '6. bis 9.'}" value="{data.step1.fs2_bis_klasse}"></f:form.select></span>
|
||||
<br></span>
|
||||
<span class="fs3" style="display: none;">
|
||||
<span class="labelwrap"><label class="vor">3. Sprache:</label> <f:form.select prependOptionLabel="" prependOptionValue="" name="fs3" id="fs3" options="{f: 'Französisch', it: 'Italienisch', ru: 'Russisch', sp: 'Spanisch', gr: 'Griechisch'}" class="orange" value="{data.step1.fs3}"></f:form.select></span>
|
||||
<br></span>
|
||||
<span class="fs_spt">
|
||||
<span class="labelwrap"><label class="vor">Wahlfach:</label> <f:form.select prependOptionLabel="" prependOptionValue="" name="fs_spt" id="fs_spt" value="{data.step1.fs_spt}" options="{f: 'Französisch', it: 'Italienisch', ru: 'Russisch', sp: 'Spanisch', gr: 'Griechisch', chi: 'Chinesisch', jap: 'Japanisch', pln: 'Polnisch', po: 'Portugiesisch', ts: 'Tschechisch', tue: 'Türkisch', ngr: 'Neugriechisch'}" class="orange"></f:form.select></span>
|
||||
<br></span>
|
||||
<span class="fs_ne_spt" style="display: none;">
|
||||
<span class="labelwrap"><label class="vor">Neu einsetzende Sprache:</label> <f:form.select prependOptionLabel="" prependOptionValue="" name="fs_ne_spt" id="fs_ne_spt" value="{data.step1.fs_ne_spt}" options="{f: 'Französisch', it: 'Italienisch', ru: 'Russisch', sp: 'Spanisch', gr: 'Griechisch', chi: 'Chinesisch', jap: 'Japanisch', pln: 'Polnisch', po: 'Portugiesisch', ts: 'Tschechisch', tue: 'Türkisch', ngr: 'Neugriechisch'}" class="orange"></f:form.select></span>
|
||||
<br></span>
|
||||
|
||||
<br>
|
||||
<f:form.submit value="OK, weiter »" class="weiter"></f:form.submit>
|
||||
</f:form>
|
||||
</div>
|
||||
|
||||
<div class="related">
|
||||
<h2>Hinweis</h2>
|
||||
<p>Der Fächerplaner versucht, Ihre Auswahl durch Hinweise und automatische Eingrenzung der Auwahlmöglichkeiten bestmöglich zu unterstützen. Trotzdem kann keine Garantie übernommen werden, dass die von Ihnen getroffene Wahl zulässig oder an Ihrer Schule möglich ist. Er ersetzt nicht die schulspezifische Information bzw. die Regelungen in der Schulordnung für die Gymnasien in Bayern (GSO).</p>
|
||||
<p>Bitte beachten Sie, dass keine Schule in der Lage ist, alle Fächer des Wahlpflicht- bzw. des Profilbereichs anzubieten. Auch das Seminarangebot orientiert sich an den Möglichkeiten bzw. den Schwerpunktsetzungen des einzelnen Gymnasiums. Die Schulen treffen daher eine Auswahl, stellen diese zur Wahl und richten die durch ausreichendes Wahlinteresse gesicherten Kurse und Seminare ein.</p>
|
||||
<p>Bei Fragen hilft Ihnen der Oberstufenkoordinator Ihrer Schule gerne weiter.</p>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
Konfigurator.Step1.init();
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
</f:section>
|
||||
@@ -0,0 +1,76 @@
|
||||
<f:layout name="Default" />
|
||||
|
||||
<f:section name="main">
|
||||
<style>
|
||||
ul.ui-autocomplete {
|
||||
background: #fff;
|
||||
list-style: none;
|
||||
}
|
||||
ul.ui-autocomplete li {
|
||||
line-height: 30px;
|
||||
padding: 5px;
|
||||
}
|
||||
ul.ui-autocomplete li:hover {
|
||||
background: #999;
|
||||
}
|
||||
</style>
|
||||
<div class="tx-oberstufenplaner">
|
||||
|
||||
<div class="oben oben-breit clear">
|
||||
<h1>Der Abitur-Fächerplaner</h1>
|
||||
<f:render partial="Faecherplaner/Fortschrittbalken" arguments="{step: 1}" />
|
||||
</div>
|
||||
|
||||
<div class="main">
|
||||
<f:form action="step1" method="POST">
|
||||
<h1>1. Vorauswahl</h1>
|
||||
|
||||
<f:flashMessages renderMode="div" />
|
||||
|
||||
Gymnasium suchen: <input type="text" name="tx_ifoberstufenplaner_faecherplaner[gym_autocomplete]" value="{data.step1.gym_autocomplete}" class="schule_autocomplete" data-suggestion-source="{f:uri.action(action: 'schuleAutosuggestion', noCacheHash: '1')}" data-suggestion-accept-source="{f:uri.action(action: 'schuleAutosuggestionSelected', noCacheHash: '1')}" />
|
||||
|
||||
<h2>Ausbildungsrichtung Ihrer Schule:</h2>
|
||||
<f:form.radio name="gym_art" value="sg" checked="{data.step1.gym_art} == 'sg'" /> <label class="nach">SG: Sprachliches (einschließlich Humanistisches) Gymnasium</label><br>
|
||||
<f:form.radio name="gym_art" value="ntg" checked="{data.step1.gym_art} == 'ntg'" /> <label class="nach">NTG: Naturwissenschaftlich-technologisches Gymnasium</label><br>
|
||||
<f:form.radio name="gym_art" value="mug" checked="{data.step1.gym_art} == 'mug'" /> <label class="nach">MuG: Musisches Gymnasium</label><br>
|
||||
<f:form.radio name="gym_art" value="wsgw" checked="{data.step1.gym_art} == 'wsgw'" /> <label class="nach">WSG-W: Wirtschafts- und Sozialwissenschaftliches Gymnasium (wirtschaftswissenschaftliches Profil)</label><br>
|
||||
<f:form.radio name="gym_art" value="wsgs" checked="{data.step1.gym_art} == 'wsgs'" /> <label class="nach">WSG-S: Wirtschafts- und Sozialwissenschaftliches Gymnasium (sozialwissenschaftliches Profil)</label><br>
|
||||
|
||||
<h2>Ihre Sprachfolge in Unter- und Mittelstufe</h2>
|
||||
<span class="fs1">
|
||||
<span class="labelwrap"><label class="vor">1. Sprache:</label> <f:form.select prependOptionLabel="" prependOptionValue="" name="fs1" id="fs1" options="{e: 'Englisch', f: 'Französisch', l: 'Latein'}" class="orange" value="{data.step1.fs1}"></f:form.select></span>
|
||||
<span class="labelwrap"><label class="vor">Klassen:</label> <f:form.select class="fs_bis_klasse schmal" name="fs1_bis_klasse" options="{10: '5. bis 10.', 9: '5. bis 9.'}" value="{data.step1.fs1_bis_klasse}"></f:form.select></span>
|
||||
<br></span>
|
||||
<span class="fs2">
|
||||
<span class="labelwrap"><label class="vor">2. Sprache:</label> <f:form.select prependOptionLabel="" prependOptionValue="" name="fs2" id="fs2" options="{e: 'Englisch', f: 'Französisch', l: 'Latein'}" class="orange" value="{data.step1.fs2}"></f:form.select></span>
|
||||
<span class="labelwrap"><label class="vor">Klassen:</label> <f:form.select class="fs_bis_klasse schmal" name="fs2_bis_klasse" options="{10: '6. bis 10.', 9: '6. bis 9.'}" value="{data.step1.fs2_bis_klasse}"></f:form.select></span>
|
||||
<br></span>
|
||||
<span class="fs3" style="display: none;">
|
||||
<span class="labelwrap"><label class="vor">3. Sprache:</label> <f:form.select prependOptionLabel="" prependOptionValue="" name="fs3" id="fs3" options="{f: 'Französisch', it: 'Italienisch', ru: 'Russisch', sp: 'Spanisch', gr: 'Griechisch'}" class="orange" value="{data.step1.fs3}"></f:form.select></span>
|
||||
<br></span>
|
||||
<span class="fs_spt">
|
||||
<span class="labelwrap"><label class="vor">Wahlfach:</label> <f:form.select prependOptionLabel="" prependOptionValue="" name="fs_spt" id="fs_spt" value="{data.step1.fs_spt}" options="{f: 'Französisch', it: 'Italienisch', ru: 'Russisch', sp: 'Spanisch', gr: 'Griechisch', chi: 'Chinesisch', jap: 'Japanisch', pln: 'Polnisch', po: 'Portugiesisch', ts: 'Tschechisch', tue: 'Türkisch', ngr: 'Neugriechisch'}" class="orange"></f:form.select></span>
|
||||
<br></span>
|
||||
<span class="fs_ne_spt" style="display: none;">
|
||||
<span class="labelwrap"><label class="vor">Neu einsetzende Sprache:</label> <f:form.select prependOptionLabel="" prependOptionValue="" name="fs_ne_spt" id="fs_ne_spt" value="{data.step1.fs_ne_spt}" options="{f: 'Französisch', it: 'Italienisch', ru: 'Russisch', sp: 'Spanisch', gr: 'Griechisch', chi: 'Chinesisch', jap: 'Japanisch', pln: 'Polnisch', po: 'Portugiesisch', ts: 'Tschechisch', tue: 'Türkisch', ngr: 'Neugriechisch'}" class="orange"></f:form.select></span>
|
||||
<br></span>
|
||||
|
||||
<br>
|
||||
<f:form.submit value="OK, weiter »" class="weiter"></f:form.submit>
|
||||
</f:form>
|
||||
</div>
|
||||
|
||||
<div class="related">
|
||||
<h2>Hinweis</h2>
|
||||
<p>Der Fächerplaner versucht, Ihre Auswahl durch Hinweise und automatische Eingrenzung der Auwahlmöglichkeiten bestmöglich zu unterstützen. Trotzdem kann keine Garantie übernommen werden, dass die von Ihnen getroffene Wahl zulässig oder an Ihrer Schule möglich ist. Er ersetzt nicht die schulspezifische Information bzw. die Regelungen in der Schulordnung für die Gymnasien in Bayern (GSO).</p>
|
||||
<p>Bitte beachten Sie, dass keine Schule in der Lage ist, alle Fächer des Wahlpflicht- bzw. des Profilbereichs anzubieten. Auch das Seminarangebot orientiert sich an den Möglichkeiten bzw. den Schwerpunktsetzungen des einzelnen Gymnasiums. Die Schulen treffen daher eine Auswahl, stellen diese zur Wahl und richten die durch ausreichendes Wahlinteresse gesicherten Kurse und Seminare ein.</p>
|
||||
<p>Bei Fragen hilft Ihnen der Oberstufenkoordinator Ihrer Schule gerne weiter.</p>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
Konfigurator.Step1.init();
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
</f:section>
|
||||
@@ -0,0 +1,28 @@
|
||||
{namespace v=FluidTYPO3\Vhs\ViewHelpers}
|
||||
<f:layout name="Default" />
|
||||
|
||||
<f:section name="main">
|
||||
|
||||
<div class="tx-oberstufenplaner">
|
||||
|
||||
<div class="oben oben-breit clear">
|
||||
<h1>Der Abitur-Fächerplaner</h1>
|
||||
<f:render partial="Faecherplaner/Fortschrittbalken" arguments="{step: 2}" />
|
||||
</div>
|
||||
|
||||
<div class="main">
|
||||
<h1>2. Pflichtfächer</h1>
|
||||
|
||||
<f:flashMessages renderMode="div" />
|
||||
|
||||
<v:if stack="{0: data.step1.gym_art, 1: '==', 2: 'wsgw', 3: 'OR', 4: data.step1.gym_art, 5: '==', 6: 'wsgs'}">
|
||||
<f:then><f:render partial="Faecherplaner/Step2/Wsg" arguments="{data: data}" /></f:then>
|
||||
<f:else><f:render partial="Faecherplaner/Step2/NichtWsg" arguments="{data: data}" /></f:else>
|
||||
</v:if>
|
||||
</div>
|
||||
|
||||
<div class="related">
|
||||
<f:render partial="Faecherplaner/Related" />
|
||||
</div>
|
||||
</div>
|
||||
</f:section>
|
||||
@@ -0,0 +1,82 @@
|
||||
{namespace v=FluidTYPO3\Vhs\ViewHelpers}
|
||||
<f:layout name="Default" />
|
||||
|
||||
<f:section name="main">
|
||||
|
||||
<div class="tx-oberstufenplaner">
|
||||
|
||||
<div class="oben oben-breit clear">
|
||||
<h1>Der Abitur-Fächerplaner</h1>
|
||||
<f:render partial="Faecherplaner/Fortschrittbalken" arguments="{step: 3}" />
|
||||
</div>
|
||||
|
||||
<div class="main">
|
||||
<f:form action="step3" method="POST">
|
||||
<f:flashMessages renderMode="div" />
|
||||
<h2>Erste Sprache </h2>
|
||||
<div class="beschriftung">
|
||||
<p>Sie müssen eine Sprache als Wahlpflichtfach über die gesamte Oberstufe belegen. Diese Sprache müssen Sie zum Abitur als mündliches oder schriftliches Prüfungsfach wählen.</p>
|
||||
</div>
|
||||
<f:form.select id="fs1" name="vorbelegung_fs1" options="{fsAuswahl}" class="orange" value="{data.step3.vorbelegung_fs1}" />
|
||||
|
||||
<h2 class="clear">Erste Naturwissenschaft</h2>
|
||||
<div class="beschriftung">
|
||||
<p>Sie müssen eine Naturwissenschaft als Wahlpflichtfach über die gesamte Oberstufe belegen.</p>
|
||||
</div>
|
||||
<f:form.select id="nw1" name="vorbelegung_nw1" options="{b: 'Biologie', c: 'Chemie', ph: 'Physik'}" value="{data.step3.vorbelegung_nw1}" class="blau" />
|
||||
|
||||
<h2 class="clear">Zweite Sprache oder Naturwissenschaft</h2>
|
||||
|
||||
<f:if condition="{auswahl2}">
|
||||
<f:then>
|
||||
<div class="beschriftung">
|
||||
<p>In der elften Jahrgangsstufe müssen Sie außerdem eine zweite Sprache <i>oder</i> zweite Naturwissenschaft belegen.</p>
|
||||
<p class="hinweis">Wenn Sie möchten, können Sie dieses Fach natürlich in der zwölften Jahrgangsstufe als Profilfach weiterführen. In den folgenden Schritten können Sie außerdem weitere Sprachen und Naturwissenschaften als Profilfächer auswählen.</p>
|
||||
</div>
|
||||
<f:form.select id="nw2" name="vorbelegung_fs_nw" options="{auswahl2}" class="orange" value="{data.step3.vorbelegung_fs_nw}" />
|
||||
</f:then>
|
||||
<f:else>
|
||||
<div class="beschriftung">
|
||||
<p>Ihre spät begonnene Sprache belegen Sie bis zum Ende der 12. Jahrgangsstufe.</p>
|
||||
</div>
|
||||
</f:else>
|
||||
</f:if>
|
||||
|
||||
|
||||
|
||||
<h2 class="clear">Geographie / Wirtschaft und Recht</h2>
|
||||
<div class="beschriftung">
|
||||
<p>Sie müssen eines dieser zwei Fächer als Wahlpflichtfach belegen.</p>
|
||||
<p class="hinweis">Bei Interesse können Sie das andere Fach natürlich als Profilfach belegen.</p>
|
||||
</div>
|
||||
<f:form.select name="vorbelegung_geo_wr" options="{geo: 'Geographie', wr: 'Wirtschaft und Recht'}" class="gelb" value="{data.step3.vorbelegung_geo_wr}" />
|
||||
|
||||
<h2 class="clear">Musisches Fach</h2>
|
||||
<div class="beschriftung">
|
||||
<p>Sie müssen mindestens ein musisches Fach als Wahlpflichtfach durchgehend bis zur 12/2 belegen.</p>
|
||||
<p class="hinweis">Bei Interesse können Sie das andere Fach natürlich als Profilfach belegen.</p>
|
||||
</div>
|
||||
<f:form.select name="vorbelegung_ku_mu" options="{ku: 'Kunst', mu: 'Musik'}" class="gruen" value="{data.step3.vorbelegung_ku_mu}" />
|
||||
|
||||
<f:link.action action="step2" class="rueck">« zurück</f:link.action><f:form.submit value="OK, weiter »" class="weiter"></f:form.submit>
|
||||
</f:form>
|
||||
</div>
|
||||
|
||||
<div class="related">
|
||||
<f:render partial="Faecherplaner/Related" />
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
<f:if condition="{auswahl2}">
|
||||
<f:then>
|
||||
var faecherJson = '<f:format.htmlentitiesDecode>{nw2FaecherJson}</f:format.htmlentitiesDecode>';
|
||||
</f:then>
|
||||
<f:else>
|
||||
var faecherJson = {};
|
||||
</f:else>
|
||||
</f:if>
|
||||
$(document).ready(function(){
|
||||
Konfigurator.Step3.init(jQuery.parseJSON(faecherJson));
|
||||
});
|
||||
</script>
|
||||
</f:section>
|
||||
@@ -0,0 +1,80 @@
|
||||
{namespace v=FluidTYPO3\Vhs\ViewHelpers}
|
||||
<f:layout name="Default" />
|
||||
|
||||
<f:section name="main">
|
||||
|
||||
<div class="tx-oberstufenplaner">
|
||||
|
||||
<div class="oben oben-breit clear">
|
||||
<h1>Der Abitur-Fächerplaner</h1>
|
||||
<f:render partial="Faecherplaner/Fortschrittbalken" arguments="{step: 3}" />
|
||||
</div>
|
||||
|
||||
<div class="main">
|
||||
<f:form action="step3" method="POST">
|
||||
<f:flashMessages renderMode="div" />
|
||||
<h2>Erste Sprache </h2>
|
||||
<div class="beschriftung">
|
||||
<p>Sie müssen eine Sprache als Wahlpflichtfach über die gesamte Oberstufe belegen. Diese Sprache müssen Sie zum Abitur als mündliches oder schriftliches Prüfungsfach wählen.</p>
|
||||
</div>
|
||||
<f:form.select id="fs1" name="vorbelegung_fs1" options="{fsAuswahl}" class="orange" value="{data.step3.vorbelegung_fs1}" />
|
||||
|
||||
<h2 class="clear">Erste Naturwissenschaft</h2>
|
||||
<div class="beschriftung">
|
||||
<p>Sie müssen eine Naturwissenschaft als Wahlpflichtfach über die gesamte Oberstufe belegen.</p>
|
||||
</div>
|
||||
<f:form.select id="nw1" name="vorbelegung_nw1" options="{b: 'Biologie', c: 'Chemie', ph: 'Physik'}" value="{data.step3.vorbelegung_nw1}" class="blau" />
|
||||
|
||||
<h2 class="clear">Zweite Sprache oder Naturwissenschaft</h2>
|
||||
|
||||
<f:if condition="{auswahl2}">
|
||||
<f:then>
|
||||
<div class="beschriftung">
|
||||
<p>In der elften Jahrgangsstufe müssen Sie außerdem eine zweite Sprache <i>oder</i> zweite Naturwissenschaft belegen.</p>
|
||||
<p class="hinweis">Wenn Sie möchten, können Sie dieses Fach natürlich in der zwölften Jahrgangsstufe als Profilfach weiterführen. In den folgenden Schritten können Sie außerdem weitere Sprachen und Naturwissenschaften als Profilfächer auswählen.</p>
|
||||
</div>
|
||||
<f:form.select id="nw2" name="vorbelegung_fs_nw" options="{auswahl2}" class="orange" value="{data.step3.vorbelegung_fs_nw}" />
|
||||
</f:then>
|
||||
<f:else>
|
||||
<p class="hinweis clear">[Hier kommt ein Hinweis, dass eine zweite Sprache belegt wird]</p>
|
||||
</f:else>
|
||||
</f:if>
|
||||
|
||||
|
||||
|
||||
<h2 class="clear">Geographie / Wirtschaft und Recht</h2>
|
||||
<div class="beschriftung">
|
||||
<p>Sie müssen eines dieser zwei Fächer als Wahlpflichtfach belegen.</p>
|
||||
<p class="hinweis">Bei Interesse können Sie das andere Fach natürlich als Profilfach belegen.</p>
|
||||
</div>
|
||||
<f:form.select name="vorbelegung_geo_wr" options="{geo: 'Geographie', wr: 'Wirtschaft und Recht'}" class="gelb" value="{data.step3.vorbelegung_geo_wr}" />
|
||||
|
||||
<h2 class="clear">Musisches Fach</h2>
|
||||
<div class="beschriftung">
|
||||
<p>Sie müssen mindestens ein musisches Fach als Wahlpflichtfach durchgehend bis zur 12/2 belegen.</p>
|
||||
<p class="hinweis">Bei Interesse können Sie das andere Fach natürlich als Profilfach belegen.</p>
|
||||
</div>
|
||||
<f:form.select name="vorbelegung_ku_mu" options="{ku: 'Kunst', mu: 'Musik'}" class="gruen" value="{data.step3.vorbelegung_ku_mu}" />
|
||||
|
||||
<f:link.action action="step2" class="rueck">« zurück</f:link.action><f:form.submit value="OK, weiter »" class="weiter"></f:form.submit>
|
||||
</f:form>
|
||||
</div>
|
||||
|
||||
<div class="related">
|
||||
<f:render partial="Faecherplaner/Related" />
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
<f:if condition="{auswahl2}">
|
||||
<f:then>
|
||||
var faecherJson = '<f:format.htmlentitiesDecode>{nw2FaecherJson}</f:format.htmlentitiesDecode>';
|
||||
</f:then>
|
||||
<f:else>
|
||||
var faecherJson = {};
|
||||
</f:else>
|
||||
</f:if>
|
||||
$(document).ready(function(){
|
||||
Konfigurator.Step3.init(jQuery.parseJSON(faecherJson));
|
||||
});
|
||||
</script>
|
||||
</f:section>
|
||||
@@ -0,0 +1,82 @@
|
||||
{namespace v=FluidTYPO3\Vhs\ViewHelpers}
|
||||
<f:layout name="Default" />
|
||||
|
||||
<f:section name="main">
|
||||
|
||||
<div class="tx-oberstufenplaner">
|
||||
|
||||
<div class="oben oben-breit clear">
|
||||
<h1>Der Abitur-Fächerplaner</h1>
|
||||
<f:render partial="Faecherplaner/Fortschrittbalken" arguments="{step: 3}" />
|
||||
</div>
|
||||
|
||||
<div class="main">
|
||||
<f:form action="step3" method="POST">
|
||||
<f:flashMessages renderMode="div" />
|
||||
<h2>Erste Sprache </h2>
|
||||
<div class="beschriftung">
|
||||
<p>Sie müssen eine Sprache als Wahlpflichtfach über die gesamte Oberstufe belegen. Diese Sprache müssen Sie zum Abitur als mündliches oder schriftliches Prüfungsfach wählen.</p>
|
||||
</div>
|
||||
<f:form.select id="fs1" name="vorbelegung_fs1" options="{fsAuswahl}" class="orange" value="{data.step3.vorbelegung_fs1}" />
|
||||
|
||||
<h2 class="clear">Erste Naturwissenschaft</h2>
|
||||
<div class="beschriftung">
|
||||
<p>Sie müssen eine Naturwissenschaft als Wahlpflichtfach über die gesamte Oberstufe belegen.</p>
|
||||
</div>
|
||||
<f:form.select id="nw1" name="vorbelegung_nw1" options="{b: 'Biologie', c: 'Chemie', ph: 'Physik'}" value="{data.step3.vorbelegung_nw1}" class="blau" />
|
||||
|
||||
<h2 class="clear">Zweite Sprache oder Naturwissenschaft</h2>
|
||||
|
||||
<f:if condition="{auswahl2}">
|
||||
<f:then>
|
||||
<div class="beschriftung">
|
||||
<p>In der elften Jahrgangsstufe müssen Sie außerdem eine zweite Sprache <i>oder</i> zweite Naturwissenschaft belegen.</p>
|
||||
<p class="hinweis">Wenn Sie möchten, können Sie dieses Fach natürlich in der zwölften Jahrgangsstufe als Profilfach weiterführen. In den folgenden Schritten können Sie außerdem weitere Sprachen und Naturwissenschaften als Profilfächer auswählen.</p>
|
||||
</div>
|
||||
<f:form.select id="nw2" name="vorbelegung_fs_nw" options="{auswahl2}" class="orange" value="{data.step3.vorbelegung_fs_nw}" />
|
||||
</f:then>
|
||||
<f:else>
|
||||
<div class="beschriftung">
|
||||
<p>Ihre dritte Sprache belegen Sie bis zum Ende der 12. Jahrgangsstufe.</p>
|
||||
</div>
|
||||
</f:else>
|
||||
</f:if>
|
||||
|
||||
|
||||
|
||||
<h2 class="clear">Geographie / Wirtschaft und Recht</h2>
|
||||
<div class="beschriftung">
|
||||
<p>Sie müssen eines dieser zwei Fächer als Wahlpflichtfach belegen.</p>
|
||||
<p class="hinweis">Bei Interesse können Sie das andere Fach natürlich als Profilfach belegen.</p>
|
||||
</div>
|
||||
<f:form.select name="vorbelegung_geo_wr" options="{geo: 'Geographie', wr: 'Wirtschaft und Recht'}" class="gelb" value="{data.step3.vorbelegung_geo_wr}" />
|
||||
|
||||
<h2 class="clear">Musisches Fach</h2>
|
||||
<div class="beschriftung">
|
||||
<p>Sie müssen mindestens ein musisches Fach als Wahlpflichtfach durchgehend bis zur 12/2 belegen.</p>
|
||||
<p class="hinweis">Bei Interesse können Sie das andere Fach natürlich als Profilfach belegen.</p>
|
||||
</div>
|
||||
<f:form.select name="vorbelegung_ku_mu" options="{ku: 'Kunst', mu: 'Musik'}" class="gruen" value="{data.step3.vorbelegung_ku_mu}" />
|
||||
|
||||
<f:link.action action="step2" class="rueck">« zurück</f:link.action><f:form.submit value="OK, weiter »" class="weiter"></f:form.submit>
|
||||
</f:form>
|
||||
</div>
|
||||
|
||||
<div class="related">
|
||||
<f:render partial="Faecherplaner/Related" />
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
<f:if condition="{auswahl2}">
|
||||
<f:then>
|
||||
var faecherJson = '<f:format.htmlentitiesDecode>{nw2FaecherJson}</f:format.htmlentitiesDecode>';
|
||||
</f:then>
|
||||
<f:else>
|
||||
var faecherJson = {};
|
||||
</f:else>
|
||||
</f:if>
|
||||
$(document).ready(function(){
|
||||
Konfigurator.Step3.init(jQuery.parseJSON(faecherJson));
|
||||
});
|
||||
</script>
|
||||
</f:section>
|
||||
@@ -0,0 +1,47 @@
|
||||
<f:layout name="Default" />
|
||||
|
||||
<f:section name="main">
|
||||
|
||||
<div class="tx-oberstufenplaner">
|
||||
|
||||
<div class="oben oben-breit clear">
|
||||
<h1>Dein Fächerplan für die Oberstufe</h1>
|
||||
<f:render partial="Faecherplaner/Fortschrittbalken" arguments="{step: 4}" />
|
||||
</div>
|
||||
|
||||
<div class="main">
|
||||
<f:form action="step4" method="POST">
|
||||
<f:flashMessages renderMode="div" />
|
||||
<p>In den Halbjahren 11/1 bis 12/1 belegen Sie zwei Seminare, die in die Abiturnote eingehen. Bitte fragen Sie Ihren Oberstufenkoordinator, welche Fächer Ihre Schule anbietet.</p>
|
||||
|
||||
<h2>W-Seminar</h2>
|
||||
<div class="beschriftung">
|
||||
<p>Das <b>Wissenschaftspropädeutische Seminar</b> vermittelt das selbssttändige wissenschaftliche Arbeiten. Sie fertigen eine Seminararbeit an und präsentieren Ihre Ergebnisse mündlich.</p>
|
||||
</div>
|
||||
<f:form.select id="seminar_w" name="vorbelegung_seminar_w" options="{wSeminarOptions}" class="blau" value="{data.step4.vorbelegung_seminar_w}" />
|
||||
|
||||
<h2 class="clear">P-Seminar</h2>
|
||||
<div class="beschriftung">
|
||||
<p>Das <b>Projekt-Seminar</b> hilft Ihnen bei der Studien- und Berufsorientierung.</p>
|
||||
</div>
|
||||
<f:form.select id="seminar_p" name="vorbelegung_seminar_p" options="{pSeminarOptions}" class="blau" value="{data.step4.vorbelegung_seminar_p}" />
|
||||
|
||||
<h2 class="clear">Weitere Profilfächer</h2>
|
||||
<p>Je nach Angebot Ihrer Schule können Sie weitere Profilfächer belegen. Fügen Sie diese bitte im nächsten Schritt Ihrem Fächerplan hinzu.</p>
|
||||
<f:link.action action="step3" class="rueck">« zurück</f:link.action><f:form.submit value="OK, weiter »" class="weiter"></f:form.submit>
|
||||
|
||||
</f:form>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="related">
|
||||
<f:render partial="Faecherplaner/Related" />
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
var faecherJson = '<f:format.htmlentitiesDecode>{seminarFaecherJson}</f:format.htmlentitiesDecode>';
|
||||
$(document).ready(function(){
|
||||
Konfigurator.Step4.init(jQuery.parseJSON(faecherJson));
|
||||
});
|
||||
</script>
|
||||
</f:section>
|
||||
@@ -0,0 +1,47 @@
|
||||
<f:layout name="Default" />
|
||||
|
||||
<f:section name="main">
|
||||
|
||||
<div class="tx-oberstufenplaner">
|
||||
|
||||
<div class="oben oben-breit clear">
|
||||
<h1>Dein Fächerplan für die Oberstufe</h1>
|
||||
<f:render partial="Faecherplaner/Fortschrittbalken" arguments="{step: 4}" />
|
||||
</div>
|
||||
|
||||
<div class="main">
|
||||
<f:form action="step4" method="POST">
|
||||
<f:flashMessages renderMode="div" />
|
||||
<p>In den Halbjahren 11/1 bis 12/1 belegen Sie zwei Seminare, die in die Abiturnote eingehen:</p>
|
||||
|
||||
<h2>W-Seminar</h2>
|
||||
<div class="beschriftung">
|
||||
<p>Das <b>Wissenschaftspropädeutische Seminar</b> vermittelt das selbssttändige wissenschaftliche Arbeiten. Sie fertigen eine Seminararbeit an und präsentieren Ihre Ergebnisse mündlich.</p>
|
||||
</div>
|
||||
<f:form.select id="seminar_w" name="vorbelegung_seminar_w" options="{seminarOptions}" class="blau" value="{data.step4.vorbelegung_seminar_w}" />
|
||||
|
||||
<h2 class="clear">P-Seminar</h2>
|
||||
<div class="beschriftung">
|
||||
<p>Das <b>Projekt-Seminar</b> hilft Ihnen bei der Studien- und Berufsorientierung.</p>
|
||||
</div>
|
||||
<f:form.select id="seminar_p" name="vorbelegung_seminar_p" options="{seminarOptions}" class="blau" value="{data.step4.vorbelegung_seminar_p}" />
|
||||
|
||||
<h2 class="clear">Weitere Profilfächer</h2>
|
||||
<p>Je nach Angebot Ihrer Schule können Sie weitere Profilfächer belegen. Fügen Sie diese bitte im nächsten Schritt Ihrem Fächerplan hinzu.</p>
|
||||
<f:link.action action="step3" class="rueck">« zurück</f:link.action><f:form.submit value="OK, weiter »" class="weiter"></f:form.submit>
|
||||
|
||||
</f:form>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="related">
|
||||
<f:render partial="Faecherplaner/Related" />
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
var faecherJson = '<f:format.htmlentitiesDecode>{seminarFaecherJson}</f:format.htmlentitiesDecode>';
|
||||
$(document).ready(function(){
|
||||
Konfigurator.Step4.init(jQuery.parseJSON(faecherJson));
|
||||
});
|
||||
</script>
|
||||
</f:section>
|
||||
@@ -0,0 +1,863 @@
|
||||
{namespace v=FluidTYPO3\Vhs\ViewHelpers}
|
||||
{namespace h=Internetfabrik\IfOberstufenplaner\ViewHelpers}
|
||||
|
||||
<f:layout name="Default" />
|
||||
|
||||
<f:section name="main">
|
||||
|
||||
<f:form action="pdf" method="POST" additionalAttributes="{target:'_blank'}">
|
||||
|
||||
<v:if stack="{0: data.step1.gym_art, 1: '==', 2: 'wsgw', 3: 'OR', 4: data.step1.gym_art, 5: '==', 6: 'wsgs'}">
|
||||
<f:then><!--<f:comment>Wirtschafts- und Sozialwissenschaftliches Gymnasium</f:comment>-->
|
||||
<v:if stack="{0: data.step2, 1: '!=', 2: null, 3: 'AND', 4: data.step2.g_sk_trennung, 5: '==', 6: 'TRUE'}">
|
||||
<f:then>
|
||||
<style>#g_sk { display: none; }</style>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<style>#g, #sk { display: none; }</style>
|
||||
</f:else>
|
||||
</v:if>
|
||||
</f:then>
|
||||
</v:if>
|
||||
|
||||
<div class="tx-oberstufenplaner" id="oberstufenplaner">
|
||||
<div class="oben oben-breit clear">
|
||||
<h1>Dein Fächerplan für die Oberstufe</h1>
|
||||
<f:render partial="Faecherplaner/Fortschrittbalken" arguments="{step: 5}" />
|
||||
</div>
|
||||
|
||||
<div class="main">
|
||||
<f:flashMessages renderMode="div" />
|
||||
|
||||
<input type="hidden" name="data[sprache][fs1]" value="{data.step1.fs1}">
|
||||
<input type="hidden" name="data[sprache][fs2]" value="{data.step1.fs2}">
|
||||
<input type="hidden" name="data[sprache][fs3]" value="{data.step1.fs3}">
|
||||
<input type="hidden" name="data[sprache][fs_spt]" value="{data.step1.fs_spt}">
|
||||
<table id="planer">
|
||||
<thead>
|
||||
<tr>
|
||||
<td rowspan="2">Pflichtfächer:</td>
|
||||
<th colspan="2" class="sp-show">Wochenstd.</th>
|
||||
<th colspan="4" class="sp-hide">Wochenstunden</th>
|
||||
<th rowspan="2" class="b80 sp-hide">Jahres-<wbr>Wochenstd.</th>
|
||||
<th rowspan="2" class="b80"><span class="weit">Einbringung Halbjahre</span><span class="eng">Abi-<wbr>noten</span></th>
|
||||
<th rowspan="2" class="b80 pruefung"><span class="weit">Abitur-<wbr>Prüfungsfach</span><span class="eng">Abi-<br>fach</span></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="sp-show">11</th>
|
||||
<th class="sp-show">12</th>
|
||||
<th class="sp-hide">11/1</th>
|
||||
<th class="sp-hide">11/2</th>
|
||||
<th class="sp-hide">12/1</th>
|
||||
<th class="sp-hide">12/2</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="blau">
|
||||
<th>Mathematik<f:form.hidden name="faecher[mt]" class="faecher" value="mt" /></th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][mt]">
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][mt]">
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][mt]">
|
||||
<option value="4">4 4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][mt]">
|
||||
<option value="4">4 4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][mt]" value="8" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="readonly halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][mt]">
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="readonly pruefung" name="tx_ifoberstufenplaner_faecherplaner[pruefung][mt]">
|
||||
<option value="s" selected>S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="orange">
|
||||
<th>Deutsch<f:form.hidden name="faecher[d]" class="faecher" value="d" /></th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][d]">
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][d]">
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][d]">
|
||||
<option value="4">4 4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][d]">
|
||||
<option value="4">4 4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][d]" value="8" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="readonly halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][d]">
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="readonly pruefung" name="tx_ifoberstufenplaner_faecherplaner[pruefung][d]">
|
||||
<option value="s" selected>S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="gelb" id="reli_eth">
|
||||
<th>Religion/Ethik<f:form.hidden name="faecher[reli_eth]" class="faecher" value="reli_eth" /></th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][reli_eth]">
|
||||
<option value="2">2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][reli_eth]">
|
||||
<option value="2">2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][reli_eth]">
|
||||
<option value="2">2 2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][reli_eth]">
|
||||
<option value="2">2 2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][reli_eth]" value="4" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][reli_eth]">
|
||||
<option value="2">2</option>
|
||||
<option selected="selected" value="3">3</option>
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung" name="tx_ifoberstufenplaner_faecherplaner[pruefung][reli_eth]">
|
||||
<option value="" selected> </option>
|
||||
<option value="k">K</option>
|
||||
<option value="s">S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<v:if stack="{0: data.step1.gym_art, 1: '==', 2: 'wsgw', 3: 'OR', 4: data.step1.gym_art, 5: '==', 6: 'wsgs'}">
|
||||
<f:then><!--<f:comment>Wirtschafts- und Sozialwissenschaftliches Gymnasium</f:comment>-->
|
||||
<tr class="gelb" id="g_sk"><f:form.hidden name="faecher[g_sk]" class="faecher" value="g_sk" />
|
||||
<th>Geschichte mit Sozialkunde <a href="javascript:void(0);" onclick="FaecherplanerEvents.geschichteSozkClicked();" class="planer-info"></a></th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11 condensed" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][g_sk]">
|
||||
<option value="3">2+1</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12 condensed" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][g_sk]">
|
||||
<option value="3">2+1</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2 condensed" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][g_sk]">
|
||||
<option value="3">2+1 2+1</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2 condensed" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][g_sk]">
|
||||
<option value="3">2+1 2+1</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][g_sk]" value="6" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][g_sk]">
|
||||
<option value="2">2</option>
|
||||
<option selected="selected" value="3">3</option>
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung" name="tx_ifoberstufenplaner_faecherplaner[pruefung][g_sk]">
|
||||
<option value="" selected> </option>
|
||||
<option value="k">K</option>
|
||||
<option value="s">S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="gelb" id="g"><f:form.hidden name="faecher[g]" class="faecher" value="g" />
|
||||
<th>Geschichte <a href="javascript:void(0);" onclick="FaecherplanerEvents.geschichteSozkClicked();" class="planer-info"></a></th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][g]">
|
||||
<option value="2">2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][g]">
|
||||
<option value="2">2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][g]">
|
||||
<option value="2">2 2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][g]">
|
||||
<option value="2">2 2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][g]" value="4" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][g]">
|
||||
<option value="2">2</option>
|
||||
<option selected="selected" value="3">3</option>
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung" name="tx_ifoberstufenplaner_faecherplaner[pruefung][g]">
|
||||
<option value="" selected> </option>
|
||||
<option value="k">K</option>
|
||||
<option value="s">S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="gelb" id="sk"><f:form.hidden name="faecher[sk]" class="faecher" value="sk" />
|
||||
<th>Sozialkunde <a href="javascript:void(0);" onclick="FaecherplanerEvents.geschichteSozkClicked();" class="planer-info"></a></th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][sk]">
|
||||
<option value="2">2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][sk]]">
|
||||
<option value="2">2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][sk]]">
|
||||
<option value="2">2 2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][sk]]">
|
||||
<option value="2">2 2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][sk]]" value="4" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][sk]]">
|
||||
<option value="2">2</option>
|
||||
<option selected="selected" value="3">3</option>
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung" name="tx_ifoberstufenplaner_faecherplaner[pruefung][sk]]">
|
||||
<option value="" selected> </option>
|
||||
<option value="k">K</option>
|
||||
<option value="s">S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</f:then>
|
||||
<f:else><!--<f:comment>NICHT Wirtschafts- und Sozialwissenschaftliches Gymnasium</f:comment>-->
|
||||
<tr class="gelb" id="g_sk"><f:form.hidden name="faecher[g_sk]" class="faecher" value="g_sk" />
|
||||
<th>Geschichte mit Sozialkunde</th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11 condensed" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][g_sk]">
|
||||
<option value="3">2+1</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12 condensed" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][g_sk]">
|
||||
<option value="3">2+1</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2 condensed" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][g_sk]">
|
||||
<option value="3">2+1 2+1</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2 condensed" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][g_sk]">
|
||||
<option value="3">2+1 2+1</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][g_sk]" value="6" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][g_sk]">
|
||||
<option value="2">2</option>
|
||||
<option selected="selected" value="3">3</option>
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung" name="tx_ifoberstufenplaner_faecherplaner[pruefung][g_sk]">
|
||||
<option value="" selected> </option>
|
||||
<option value="k">K</option>
|
||||
<option value="s">S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</f:else>
|
||||
</v:if>
|
||||
|
||||
<tr class="gruen" id="spo">
|
||||
<th>Sport</th><f:form.hidden name="faecher[spo]" class="faecher" value="spo" />
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][spo]">
|
||||
<option value="2">2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][spo]">
|
||||
<option value="2">2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][spo]">
|
||||
<option value="2">2 2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][spo]">
|
||||
<option value="2">2 2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][spo]" value="4" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][spo]">
|
||||
<option value="0">0</option>
|
||||
<option value="1">1</option>
|
||||
<option value="2">2</option>
|
||||
<option value="3">3</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung pruefung_spo" name="tx_ifoberstufenplaner_faecherplaner[pruefung][spo]">
|
||||
<option value="" selected> </option>
|
||||
<option value="k">K</option>
|
||||
<option value="s">S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="zwischen">
|
||||
<td>Wahlpflichtfächer:</td>
|
||||
</tr>
|
||||
<tr class="orange" id="fs1">
|
||||
<th class="nopad">
|
||||
<f:form.select name="faecher[fs1]" class="faecher" options="{fsAuswahl}" value="{data.step3.vorbelegung_fs1}"></f:form.select>
|
||||
</th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][fs1]">
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][fs1]">
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][fs1]">
|
||||
<option value="4">4 4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][fs1]">
|
||||
<option value="4">4 4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][fs1]" value="8" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="readonly halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][fs1]">
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung" name="tx_ifoberstufenplaner_faecherplaner[pruefung][fs1]">
|
||||
<option value="k">K</option>
|
||||
<option value="s" selected>S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="blau" id="nw1">
|
||||
<th class="nopad">
|
||||
<f:form.select name="faecher[nw1]" class="faecher" options="{b: 'Biologie', c: 'Chemie', ph: 'Physik'}" value="{data.step3.vorbelegung_nw1}"></f:form.select>
|
||||
</th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][nw1]">
|
||||
<option value="{faecher.b.wochenstunden}">{faecher.b.wochenstunden}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][nw1]">
|
||||
<option value="{faecher.b.wochenstunden}">{faecher.b.wochenstunden}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][nw1]">
|
||||
<option value="3">{faecher.b.wochenstunden} {faecher.b.wochenstunden}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][nw1]">
|
||||
<option value="3">{faecher.b.wochenstunden} {faecher.b.wochenstunden}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][nw1]" value="{v:math.product(a: faecher.b.wochenstunden, fail: 1, b: 2)}" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][nw1]">
|
||||
<option value="2">2</option>
|
||||
<option selected="selected" value="3">3</option>
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung" name="tx_ifoberstufenplaner_faecherplaner[pruefung][nw1]">
|
||||
<option value="" selected> </option>
|
||||
<option value="k">K</option>
|
||||
<option value="s">S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="gelb" id="geo_wr">
|
||||
<th class="nopad">
|
||||
<f:form.select name="faecher[geo_wr]" class="faecher" options="{geo: 'Geographie', wr: 'Wirtschaft und Recht'}" value="{data.step3.vorbelegung_geo_wr}"></f:form.select>
|
||||
</th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][geo_wr]">
|
||||
<option value="{faecher.geo.wochenstunden}">{faecher.geo.wochenstunden}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][geo_wr]">
|
||||
<option value="{faecher.geo.wochenstunden}">{faecher.geo.wochenstunden}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][geo_wr]">
|
||||
<option value="{faecher.geo.wochenstunden}">{faecher.geo.wochenstunden} {faecher.geo.wochenstunden}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][geo_wr]">
|
||||
<option value="{faecher.geo.wochenstunden}">{faecher.geo.wochenstunden} {faecher.geo.wochenstunden}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][geo_wr]" value="{v:math.product(a: faecher.geo.wochenstunden, fail: 1, b: 2)}" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][geo_wr]">
|
||||
<option value="2">2</option>
|
||||
<option selected="selected" value="1">3</option>
|
||||
<option value="2">4</option>
|
||||
<!--<option value="3" disabled>3</option>-->
|
||||
<!--<option value="4" disabled>4</option>-->
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung" name="tx_ifoberstufenplaner_faecherplaner[pruefung][geo_wr]">
|
||||
<option value="" selected> </option>
|
||||
<option value="k">K</option>
|
||||
<option value="s">S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="gruen" id="mu_ku">
|
||||
<th class="nopad">
|
||||
<f:form.select class="faecher_mu_ku faecher" name="faecher[mu_ku]" options="{ku: 'Kunst', mu: 'Musik'}" value="{data.step3.vorbelegung_ku_mu}"></f:form.select>
|
||||
</th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][mu_ku]">
|
||||
<option value="{faecher.ku.wochenstunden}">{faecher.ku.wochenstunden}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][mu_ku]">
|
||||
<option value="{faecher.ku.wochenstunden}">{faecher.ku.wochenstunden}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][mu_ku]">
|
||||
<option value="{faecher.ku.wochenstunden}">{faecher.ku.wochenstunden} {faecher.ku.wochenstunden}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][mu_ku]">
|
||||
<option value="{faecher.ku.wochenstunden}">{faecher.ku.wochenstunden} {faecher.ku.wochenstunden}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][mu_ku]" value="{v:math.product(a: faecher.ku.wochenstunden, fail: 1, b: 2)}" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][mu_ku]">
|
||||
<option value="2">2</option>
|
||||
<option selected="selected" value="3">3</option>
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung pruefung_mu_ku" name="tx_ifoberstufenplaner_faecherplaner[pruefung][mu_ku]">
|
||||
<option value="" selected> </option>
|
||||
<option value="k">K</option>
|
||||
<option value="s">S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<f:comment><!-- Wenn {data.step1.fs_ne_spt} ausgewaehlt wurde, zeigen wir nur diese an --></f:comment>
|
||||
<v:variable.set name="fsNeSpt" value="{h:disp(obj: faecher, prop:data.step1.fs_ne_spt)}"></v:variable.set>
|
||||
<f:if condition="{data.step1.fs_ne_spt}">
|
||||
<f:then>
|
||||
<tr class="orange" id="fs_ne_spt"><input type="hidden" name="faecher[fs_ne_spt]" class="faecher" value="{data.step1.fs_ne_spt}">
|
||||
<th>
|
||||
{fsNeSpt.name}
|
||||
</th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][fs_ne_spt]">
|
||||
<option value="3">3</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][fs_ne_spt]">
|
||||
<option value="3">3</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][fs_ne_spt]">
|
||||
<option value="3">3 3</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][fs_ne_spt]">
|
||||
<option value="3">3 3</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][fs_ne_spt]" value="6" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][fs_ne_spt]">
|
||||
<option value="2">2</option>
|
||||
<option selected="selected" value="3">3</option>
|
||||
<option value="4">4</option>
|
||||
<!--<option value="3" disabled>3</option>-->
|
||||
<!--<option value="4" disabled>4</option>-->
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung" name="tx_ifoberstufenplaner_faecherplaner[pruefung][fs_ne_spt]">
|
||||
<option value="" selected> </option>
|
||||
<option value="k">K</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<tr class="blau" id="nw2">
|
||||
<th class="nopad">
|
||||
<f:form.select name="faecher[nw2]" class="faecher" options="{auswahl2}" value="{data.step3.vorbelegung_fs_nw}"></f:form.select>
|
||||
</th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][nw2]">
|
||||
<option value="3">3</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][nw2]">
|
||||
<option value="0"></option>
|
||||
<option value="3">3</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][nw2]">
|
||||
<option value="3">3 3</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][nw2]">
|
||||
<option value="3">3 3</option>
|
||||
<option value="0"></option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide">
|
||||
<input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][nw2]" value="6" readonly>
|
||||
</td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][nw2]">
|
||||
<option value="1">1</option>
|
||||
<option value="2">2</option>
|
||||
<!--<option value="3" disabled>3</option>-->
|
||||
<!--<option value="4" disabled>4</option>-->
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung" name="tx_ifoberstufenplaner_faecherplaner[pruefung][nw2]">
|
||||
<option value="" selected> </option>
|
||||
<option value="k">K</option>
|
||||
<option value="s">S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</f:else>
|
||||
</f:if>
|
||||
|
||||
|
||||
|
||||
<tr class="zwischen">
|
||||
<td colspan="8">Seminare:</td>
|
||||
</tr>
|
||||
<tr class="orange">
|
||||
<th class="nopad seminar"><span class="pre">W:</span><f:form.select id="seminar_w" name="seminar_w" options="{wSeminarOptions}" value="{data.step4.vorbelegung_seminar_w}" /></th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][seminar_w]">
|
||||
<option value="2">2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][seminar_w]">
|
||||
<option value="1">1</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][seminar_w]">
|
||||
<option value="2">2 2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][seminar_w]">
|
||||
<option value="1">2 0</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][seminar_w]" value="3" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre readonly condensed" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][seminar_w]">
|
||||
<option value="4">2+2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung"></td>
|
||||
</tr>
|
||||
<tr class="orange">
|
||||
<th class="nopad seminar"><span class="pre">P:</span><f:form.select id="seminar_p" name="seminar_p" options="{pSeminarOptions}" value="{data.step4.vorbelegung_seminar_p}" /></th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][seminar_p]">
|
||||
<option value="2">2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][seminar_p]">
|
||||
<option value="1">1</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][seminar_p]">
|
||||
<option value="2">2 2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][seminar_p]">
|
||||
<option value="1">2 0</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][seminar_p]" value="3" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre readonly" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][seminar_p]">
|
||||
<option value="2">2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung"></td>
|
||||
</tr>
|
||||
|
||||
<tr class="zwischen">
|
||||
<td colspan="8">Profilfächer:</td>
|
||||
</tr>
|
||||
|
||||
<!-- profilfach_ae wird bei Auswahl Sport, Kunst oder Musik as Abiturfach eingeblendet -->
|
||||
<tr class="gruen" style="display: none;">
|
||||
<th>
|
||||
<!-- <select class="readonly xprofilfach profilfach_{num}" name="xfaecher[profilfach_ae]"> --> <!-- xTra Fach, soll bei den Events nicht beruecksichtigt werden -->
|
||||
<select class="readonly xprofilfach profilfach_{num}" name="tx_ifoberstufenplaner_faecherplaner[xfaecher][profilfach_ae]"> <!-- xTra Fach, soll bei den Events nicht beruecksichtigt werden -->
|
||||
<f:for each="{ast:'Allg. Sporttheorie', i_g:'Instrument/Gesang', bpr:'Bildnerische Praxis'}" as="fachValue" key="fachKey">
|
||||
<option value="{fachKey}">{fachValue}</option>
|
||||
</f:for>
|
||||
</select>
|
||||
</th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][profilfach_ae]">
|
||||
<option value="0"></option>
|
||||
<option value="1">1</option>
|
||||
<option value="2">2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][profilfach_ae]">
|
||||
<option value="0"></option>
|
||||
<option value="1">1</option>
|
||||
<option value="2">2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][profilfach_ae]">
|
||||
<option value="0"></option>
|
||||
<option value="1">1 1</option>
|
||||
<option value="2">2 2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][profilfach_ae]">
|
||||
<option value="0"></option>
|
||||
<option value="1">1 1</option>
|
||||
<option value="2">2 2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide">
|
||||
<input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][profilfach_ae]" value="" readonly>
|
||||
</td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre readonly" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][profilfach_ae]">
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung"></td>
|
||||
</tr>
|
||||
<!-- End profilfach_ae -->
|
||||
|
||||
<f:comment><!--<f:for each="{0:0, 1:1, 2:2, 3:3}" as="num">
|
||||
<tr>
|
||||
<th>
|
||||
<select class="faecher profilfach profilfach_{num}" name="faecher[profilfach_{num}]">
|
||||
<option value=""></option>
|
||||
<f:for each="{faecher}" as="fach" key="kuerzel">
|
||||
<f:if condition="{fach.isProfilfach}==1">
|
||||
<f:then>
|
||||
<option value="{kuerzel}">{fach.name}</option>
|
||||
</f:then>
|
||||
</f:if>
|
||||
</f:for>
|
||||
</select>
|
||||
</th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11"></select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12"></select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2"></select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2"></select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][profilfach_{num}]" value="" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre readonly" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][profilfach_{num}]"></select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung readonly" name="tx_ifoberstufenplaner_faecherplaner[pruefung][profilfach_{num}]">
|
||||
<option value="" selected> </option>
|
||||
<option value="k">K</option>
|
||||
<option value="s">S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</f:for>--></f:comment>
|
||||
|
||||
|
||||
<tr class="grau" style="display: none;" id="profilfach_template">
|
||||
<th class="nopad">
|
||||
<select class="faecher profilfach" name="">
|
||||
<option value=""></option>
|
||||
<f:for each="{faecher}" as="fach" key="kuerzel">
|
||||
<f:if condition="{fach.isProfilfach}==1">
|
||||
<f:then>
|
||||
<option value="{kuerzel}">{fach.name}</option>
|
||||
</f:then>
|
||||
</f:if>
|
||||
</f:for>
|
||||
</select>
|
||||
<div class="entfernen"><i class="fa fa-minus-circle"></i></div>
|
||||
</th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11"></select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12"></select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2"></select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2"></select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][profilfach_{num}]" value="" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre readonly" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][profilfach_{num}]"></select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung readonly" name="tx_ifoberstufenplaner_faecherplaner[pruefung][profilfach_{num}]">
|
||||
<option value="" selected> </option>
|
||||
<option value="k">K</option>
|
||||
<option value="s">S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="plus">
|
||||
<th><span id="add_profilfach"><i class="fa fa-plus-circle"></i> Fach<span class="sp-hide"> hinzufügen</span></span></th>
|
||||
<td class="sp-show"></td>
|
||||
<td class="sp-show"></td>
|
||||
<td colspan="2" class="sp-hide"></td>
|
||||
<td colspan="2" class="sp-hide"></td>
|
||||
<td class="sp-hide"></td>
|
||||
<td></td>
|
||||
<td class="pruefung"></td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="5" class="ergebnis-text fehler sp-hide">Bitte Fehler beheben</td>
|
||||
<td class="ergebnis-text fehler sp-show">Fehler beheben</td>
|
||||
<td class="ergebnis-jws sp-hide ok">69</td>
|
||||
<td colspan="2" class="ergebnis-jws sp-show ok">69</td>
|
||||
<td class="ergebnis-hj warnung">40</td>
|
||||
<td class="ergebnis-pruefung fehler"><span class="weit">3 + 2</span><span class="eng">5</span></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<br><br><f:form.submit value=" Wahl abschließen" class="weiter icon breit"></f:form.submit><f:form.submit value=" speichern" class="weiter icon schmal"></f:form.submit>
|
||||
</div>
|
||||
</div>
|
||||
</f:form>
|
||||
|
||||
<div class="related">
|
||||
<f:render partial="Faecherplaner/Related5" />
|
||||
</div>
|
||||
|
||||
<script>
|
||||
var faecherJson = '<f:format.htmlentitiesDecode>{faecherJson}</f:format.htmlentitiesDecode>';
|
||||
var fs1 = '{data.step1.fs1}';
|
||||
var fs2 = '{data.step1.fs2}';
|
||||
var fs3 = '{data.step1.fs3}';
|
||||
var fs_spt = '{data.step1.fs_spt}';
|
||||
var fs_ne_spt = '{data.step1.fs_ne_spt}';
|
||||
$(document).ready(function(){
|
||||
Faecherplaner.init(jQuery.parseJSON(faecherJson), {'fs1': fs1,'fs2': fs2,'fs3': fs3,'fs_spt': fs_spt, 'fs_ne_spt': fs_ne_spt});
|
||||
FaecherplanerEvents.init();
|
||||
});
|
||||
</script>
|
||||
|
||||
</div>
|
||||
</f:section>
|
||||
@@ -0,0 +1,822 @@
|
||||
{namespace v=FluidTYPO3\Vhs\ViewHelpers}
|
||||
{namespace h=Internetfabrik\IfOberstufenplaner\ViewHelpers}
|
||||
|
||||
<f:layout name="Default" />
|
||||
|
||||
<f:section name="main">
|
||||
|
||||
<f:form action="pdf" method="POST" additionalAttributes="{target:'_blank'}">
|
||||
|
||||
<v:if stack="{0: data.step1.gym_art, 1: '==', 2: 'wsgw', 3: 'OR', 4: data.step1.gym_art, 5: '==', 6: 'wsgs'}">
|
||||
<f:then><!--<f:comment>Wirtschafts- und Sozialwissenschaftliches Gymnasium</f:comment>-->
|
||||
<v:if stack="{0: data.step2, 1: '!=', 2: null, 3: 'AND', 4: data.step2.g_sk_trennung, 5: '==', 6: 'TRUE'}">
|
||||
<f:then>
|
||||
<style>#g_sk { display: none; }</style>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<style>#g, #sk { display: none; }</style>
|
||||
</f:else>
|
||||
</v:if>
|
||||
</f:then>
|
||||
</v:if>
|
||||
|
||||
<div class="tx-oberstufenplaner" id="oberstufenplaner">
|
||||
<div class="oben oben-breit clear">
|
||||
<h1>Dein Fächerplan für die Oberstufe</h1>
|
||||
<f:render partial="Faecherplaner/Fortschrittbalken" arguments="{step: 5}" />
|
||||
</div>
|
||||
|
||||
<div class="main">
|
||||
<f:flashMessages renderMode="div" />
|
||||
|
||||
<input type="hidden" name="data[sprache][fs1]" value="{data.step1.fs1}">
|
||||
<input type="hidden" name="data[sprache][fs2]" value="{data.step1.fs2}">
|
||||
<input type="hidden" name="data[sprache][fs3]" value="{data.step1.fs3}">
|
||||
<input type="hidden" name="data[sprache][fs_spt]" value="{data.step1.fs_spt}">
|
||||
<table id="planer">
|
||||
<thead>
|
||||
<tr>
|
||||
<td rowspan="2">Pflichtfächer:</td>
|
||||
<th colspan="2" class="sp-show">Wochenstd.</th>
|
||||
<th colspan="4" class="sp-hide">Wochenstunden</th>
|
||||
<th rowspan="2" class="b80 sp-hide">Jahres-<wbr>Wochenstd.</th>
|
||||
<th rowspan="2" class="b80"><span class="weit">Einbringung Halbjahre</span><span class="eng">Abi-<wbr>noten</span></th>
|
||||
<th rowspan="2" class="b80 pruefung"><span class="weit">Abitur-<wbr>Prüfungsfach</span><span class="eng">Abi-<br>fach</span></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="sp-show">11</th>
|
||||
<th class="sp-show">12</th>
|
||||
<th class="sp-hide">11/1</th>
|
||||
<th class="sp-hide">11/2</th>
|
||||
<th class="sp-hide">12/1</th>
|
||||
<th class="sp-hide">12/2</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="blau">
|
||||
<th>Mathematik<f:form.hidden name="faecher[mt]" class="faecher" value="mt" /></th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][mt]">
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][mt]">
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][mt]">
|
||||
<option value="4">4 4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][mt]">
|
||||
<option value="4">4 4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][mt]" value="8" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="readonly halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][mt]">
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="readonly pruefung" name="tx_ifoberstufenplaner_faecherplaner[pruefung][mt]">
|
||||
<option value="s" selected>S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="orange">
|
||||
<th>Deutsch<f:form.hidden name="faecher[d]" class="faecher" value="d" /></th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][d]">
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][d]">
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][d]">
|
||||
<option value="4">4 4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][d]">
|
||||
<option value="4">4 4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][d]" value="8" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="readonly halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][d]">
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="readonly pruefung" name="tx_ifoberstufenplaner_faecherplaner[pruefung][d]">
|
||||
<option value="s" selected>S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="gelb" id="reli_eth">
|
||||
<th>Religion/Ethik<f:form.hidden name="faecher[reli_eth]" class="faecher" value="reli_eth" /></th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][reli_eth]">
|
||||
<option value="2">2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][reli_eth]">
|
||||
<option value="2">2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][reli_eth]">
|
||||
<option value="2">2 2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][reli_eth]">
|
||||
<option value="2">2 2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][reli_eth]" value="4" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][reli_eth]">
|
||||
<option value="3">3</option>
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung" name="tx_ifoberstufenplaner_faecherplaner[pruefung][reli_eth]">
|
||||
<option value="" selected> </option>
|
||||
<option value="m">M</option>
|
||||
<option value="s">S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<v:if stack="{0: data.step1.gym_art, 1: '==', 2: 'wsgw', 3: 'OR', 4: data.step1.gym_art, 5: '==', 6: 'wsgs'}">
|
||||
<f:then><!--<f:comment>Wirtschafts- und Sozialwissenschaftliches Gymnasium</f:comment>-->
|
||||
<tr class="gelb" id="g_sk"><f:form.hidden name="faecher[g_sk]" class="faecher" value="g_sk" />
|
||||
<th>Geschichte mit Sozialkunde <a href="javascript:void(0);" onclick="FaecherplanerEvents.geschichteSozkClicked();" class="planer-info"></a></th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11 condensed" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][g_sk]">
|
||||
<option value="3">2+1</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12 condensed" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][g_sk]">
|
||||
<option value="3">2+1</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2 condensed" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][g_sk]">
|
||||
<option value="3">2+1 2+1</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2 condensed" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][g_sk]">
|
||||
<option value="3">2+1 2+1</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][g_sk]" value="6" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][g_sk]">
|
||||
<option value="3">3</option>
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung" name="tx_ifoberstufenplaner_faecherplaner[pruefung][g_sk]">
|
||||
<option value="" selected> </option>
|
||||
<option value="m">M</option>
|
||||
<option value="s">S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="gelb" id="g"><f:form.hidden name="faecher[g]" class="faecher" value="g" />
|
||||
<th>Geschichte <a href="javascript:void(0);" onclick="FaecherplanerEvents.geschichteSozkClicked();" class="planer-info"></a></th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][g]">
|
||||
<option value="2">2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][g]">
|
||||
<option value="2">2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][g]">
|
||||
<option value="2">2 2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][g]">
|
||||
<option value="2">2 2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][g]" value="4" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][g]">
|
||||
<option value="3">3</option>
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung" name="tx_ifoberstufenplaner_faecherplaner[pruefung][g]">
|
||||
<option value="" selected> </option>
|
||||
<option value="m">M</option>
|
||||
<option value="s">S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="gelb" id="sk"><f:form.hidden name="faecher[sk]" class="faecher" value="sk" />
|
||||
<th>Sozialkunde <a href="javascript:void(0);" onclick="FaecherplanerEvents.geschichteSozkClicked();" class="planer-info"></a></th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][sk]">
|
||||
<option value="2">2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][sk]]">
|
||||
<option value="2">2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][sk]]">
|
||||
<option value="2">2 2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][sk]]">
|
||||
<option value="2">2 2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][sk]]" value="4" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][sk]]">
|
||||
<option value="3">3</option>
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung" name="tx_ifoberstufenplaner_faecherplaner[pruefung][sk]]">
|
||||
<option value="" selected> </option>
|
||||
<option value="m">M</option>
|
||||
<option value="s">S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</f:then>
|
||||
<f:else><!--<f:comment>NICHT Wirtschafts- und Sozialwissenschaftliches Gymnasium</f:comment>-->
|
||||
<tr class="gelb" id="g_sk"><f:form.hidden name="faecher[g_sk]" class="faecher" value="g_sk" />
|
||||
<th>Geschichte mit Sozialkunde</th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11 condensed" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][g_sk]">
|
||||
<option value="3">2+1</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12 condensed" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][g_sk]">
|
||||
<option value="3">2+1</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2 condensed" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][g_sk]">
|
||||
<option value="3">2+1 2+1</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2 condensed" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][g_sk]">
|
||||
<option value="3">2+1 2+1</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][g_sk]" value="6" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][g_sk]">
|
||||
<option value="3">3</option>
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung" name="tx_ifoberstufenplaner_faecherplaner[pruefung][g_sk]">
|
||||
<option value="" selected> </option>
|
||||
<option value="m">M</option>
|
||||
<option value="s">S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</f:else>
|
||||
</v:if>
|
||||
|
||||
<tr class="gruen" id="spo">
|
||||
<th>Sport</th><f:form.hidden name="faecher[spo]" class="faecher" value="spo" />
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][spo]">
|
||||
<option value="2">2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][spo]">
|
||||
<option value="2">2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][spo]">
|
||||
<option value="2">2 2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][spo]">
|
||||
<option value="2">2 2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][spo]" value="4" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][spo]">
|
||||
<option value="0">0</option>
|
||||
<option value="1">1</option>
|
||||
<option value="2">2</option>
|
||||
<option value="3">3</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung pruefung_spo" name="tx_ifoberstufenplaner_faecherplaner[pruefung][spo]">
|
||||
<option value="" selected> </option>
|
||||
<option value="m">M</option>
|
||||
<option value="s">S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="zwischen">
|
||||
<td>Wahlpflichtfächer:</td>
|
||||
</tr>
|
||||
<tr class="orange" id="fs1">
|
||||
<th class="nopad">
|
||||
<f:form.select name="faecher[fs1]" class="faecher" options="{fsAuswahl}" value="{data.step3.vorbelegung_fs1}"></f:form.select>
|
||||
</th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][fs1]">
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][fs1]">
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][fs1]">
|
||||
<option value="4">4 4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][fs1]">
|
||||
<option value="4">4 4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][fs1]" value="8" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="readonly halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][fs1]">
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung" name="tx_ifoberstufenplaner_faecherplaner[pruefung][fs1]">
|
||||
<option value="m">M</option>
|
||||
<option value="s" selected>S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="blau" id="nw1">
|
||||
<th class="nopad">
|
||||
<f:form.select name="faecher[nw1]" class="faecher" options="{b: 'Biologie', c: 'Chemie', ph: 'Physik'}" value="{data.step3.vorbelegung_nw1}"></f:form.select>
|
||||
</th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][nw1]">
|
||||
<option value="{faecher.b.wochenstunden}">{faecher.b.wochenstunden}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][nw1]">
|
||||
<option value="{faecher.b.wochenstunden}">{faecher.b.wochenstunden}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][nw1]">
|
||||
<option value="3">{faecher.b.wochenstunden} {faecher.b.wochenstunden}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][nw1]">
|
||||
<option value="3">{faecher.b.wochenstunden} {faecher.b.wochenstunden}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][nw1]" value="{v:math.product(a: faecher.b.wochenstunden, fail: 1, b: 2)}" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][nw1]">
|
||||
<option value="3">3</option>
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung" name="tx_ifoberstufenplaner_faecherplaner[pruefung][nw1]">
|
||||
<option value="" selected> </option>
|
||||
<option value="m">M</option>
|
||||
<option value="s">S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="gelb" id="geo_wr">
|
||||
<th class="nopad">
|
||||
<f:form.select name="faecher[geo_wr]" class="faecher" options="{geo: 'Geographie', wr: 'Wirtschaft und Recht'}" value="{data.step3.vorbelegung_geo_wr}"></f:form.select>
|
||||
</th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][geo_wr]">
|
||||
<option value="{faecher.geo.wochenstunden}">{faecher.geo.wochenstunden}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][geo_wr]">
|
||||
<option value="{faecher.geo.wochenstunden}">{faecher.geo.wochenstunden}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][geo_wr]">
|
||||
<option value="{faecher.geo.wochenstunden}">{faecher.geo.wochenstunden} {faecher.geo.wochenstunden}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][geo_wr]">
|
||||
<option value="{faecher.geo.wochenstunden}">{faecher.geo.wochenstunden} {faecher.geo.wochenstunden}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][geo_wr]" value="{v:math.product(a: faecher.geo.wochenstunden, fail: 1, b: 2)}" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][geo_wr]">
|
||||
<option value="3">3</option>
|
||||
<option value="4">4</option>
|
||||
<!--<option value="3" disabled>3</option>-->
|
||||
<!--<option value="4" disabled>4</option>-->
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung" name="tx_ifoberstufenplaner_faecherplaner[pruefung][geo_wr]">
|
||||
<option value="" selected> </option>
|
||||
<option value="m">M</option>
|
||||
<option value="s">S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="gruen" id="mu_ku">
|
||||
<th class="nopad">
|
||||
<f:form.select class="faecher_mu_ku faecher" name="faecher[mu_ku]" options="{ku: 'Kunst', mu: 'Musik'}" value="{data.step3.vorbelegung_ku_mu}"></f:form.select>
|
||||
</th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][mu_ku]">
|
||||
<option value="{faecher.ku.wochenstunden}">{faecher.ku.wochenstunden}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][mu_ku]">
|
||||
<option value="{faecher.ku.wochenstunden}">{faecher.ku.wochenstunden}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][mu_ku]">
|
||||
<option value="{faecher.ku.wochenstunden}">{faecher.ku.wochenstunden} {faecher.ku.wochenstunden}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][mu_ku]">
|
||||
<option value="{faecher.ku.wochenstunden}">{faecher.ku.wochenstunden} {faecher.ku.wochenstunden}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][mu_ku]" value="{v:math.product(a: faecher.ku.wochenstunden, fail: 1, b: 2)}" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][mu_ku]">
|
||||
<option value="3">3</option>
|
||||
<option value="4">4</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung pruefung_mu_ku" name="tx_ifoberstufenplaner_faecherplaner[pruefung][mu_ku]">
|
||||
<option value="" selected> </option>
|
||||
<option value="m">M</option>
|
||||
<option value="s">S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<f:comment><!-- Wenn {data.step1.fs_ne_spt} ausgewaehlt wurde, zeigen wir nur diese an --></f:comment>
|
||||
<v:variable.set name="fsNeSpt" value="{h:disp(obj: faecher, prop:data.step1.fs_ne_spt)}"></v:variable.set>
|
||||
<f:if condition="{data.step1.fs_ne_spt}">
|
||||
<f:then>
|
||||
<tr class="orange" id="fs_ne_spt"><input type="hidden" name="faecher[fs_ne_spt]" class="faecher" value="{data.step1.fs_ne_spt}">
|
||||
<th>
|
||||
{fsNeSpt.name}
|
||||
</th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][fs_ne_spt]">
|
||||
<option value="3">3</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][fs_ne_spt]">
|
||||
<option value="3">3</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][fs_ne_spt]">
|
||||
<option value="3">3 3</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][fs_ne_spt]">
|
||||
<option value="3">3 3</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][fs_ne_spt]" value="6" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][fs_ne_spt]">
|
||||
<option value="1">3</option>
|
||||
<option value="2">4</option>
|
||||
<!--<option value="3" disabled>3</option>-->
|
||||
<!--<option value="4" disabled>4</option>-->
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung" name="tx_ifoberstufenplaner_faecherplaner[pruefung][fs_ne_spt]">
|
||||
<option value="" selected> </option>
|
||||
<option value="m">M</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<tr class="blau" id="nw2">
|
||||
<th class="nopad">
|
||||
<f:form.select name="faecher[nw2]" class="faecher" options="{auswahl2}" value="{data.step3.vorbelegung_fs_nw}"></f:form.select>
|
||||
</th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][nw2]">
|
||||
<option value="3">3</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][nw2]">
|
||||
<option value="0"></option>
|
||||
<option value="3">3</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][nw2]">
|
||||
<option value="3">3 3</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][nw2]">
|
||||
<option value="0"></option>
|
||||
<option value="3">3 3</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][nw2]" value="3" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][nw2]">
|
||||
<option value="1">1</option>
|
||||
<option value="2">2</option>
|
||||
<!--<option value="3" disabled>3</option>-->
|
||||
<!--<option value="4" disabled>4</option>-->
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung" name="tx_ifoberstufenplaner_faecherplaner[pruefung][nw2]">
|
||||
<option value="" selected> </option>
|
||||
<option value="m">M</option>
|
||||
<option value="s">S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</f:else>
|
||||
</f:if>
|
||||
|
||||
|
||||
|
||||
<tr class="zwischen">
|
||||
<td colspan="8">Seminare:</td>
|
||||
</tr>
|
||||
<tr class="orange">
|
||||
<th class="nopad seminar"><span class="pre">W:</span><f:form.select id="seminar_w" name="seminar_w" options="{seminarOptions}" value="{data.step4.vorbelegung_seminar_w}" /></th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][seminar_w]">
|
||||
<option value="2">2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][seminar_w]">
|
||||
<option value="1">1</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][seminar_w]">
|
||||
<option value="2">2 2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][seminar_w]">
|
||||
<option value="1">2 0</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][seminar_w]" value="3" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre readonly condensed" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][seminar_w]">
|
||||
<option value="4">2+2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung"></td>
|
||||
</tr>
|
||||
<tr class="orange">
|
||||
<th class="nopad seminar"><span class="pre">P:</span><f:form.select id="seminar_p" name="seminar_p" options="{seminarOptions}" value="{data.step4.vorbelegung_seminar_p}" /></th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][seminar_p]">
|
||||
<option value="2">2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][seminar_p]">
|
||||
<option value="1">1</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][seminar_p]">
|
||||
<option value="2">2 2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2" name="tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][seminar_p]">
|
||||
<option value="1">2 0</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][seminar_p]" value="3" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre readonly" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][seminar_p]">
|
||||
<option value="2">2</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="b80 pruefung"></td>
|
||||
</tr>
|
||||
|
||||
<tr class="zwischen">
|
||||
<td colspan="8">Profilfächer:</td>
|
||||
</tr>
|
||||
|
||||
<!-- profilfach_ae wird bei Auswahl Sport, Kunst oder Musik as Abiturfach eingeblendet -->
|
||||
<tr class="gruen" style="display: none;">
|
||||
<th>
|
||||
<select class="readonly xprofilfach profilfach_{num}" name="xfaecher[profilfach_ae]"> <!-- xTra Fach, soll bei den Events nicht beruecksichtigt werden -->
|
||||
<f:for each="{ast:'Allg. Sporttheorie', i_g:'Instrument/Gesang', bpr:'Bildnerische Praxis'}" as="fachValue" key="fachKey">
|
||||
<option value="{fachKey}">{fachValue}</option>
|
||||
</f:for>
|
||||
</select>
|
||||
</th>
|
||||
<td class="sp-show"><select class="readonly wochenstunden_11"><option value="0"></option><option value="1">1</option><option value="2">2</option></select></td>
|
||||
<td class="sp-show"><select class="readonly wochenstunden_12"><option value="0"></option><option value="1">1</option><option value="2">2</option></select></td>
|
||||
<td colspan="2" class="sp-hide"><select class="readonly wochenstunden_11_1_2"><option value="0"></option><option value="1">1 1</option><option value="2">2 2</option></select></td>
|
||||
<td colspan="2" class="sp-hide"><select class="readonly wochenstunden_12_1_2"><option value="0"></option><option value="1">1 1</option><option value="2">2 2</option></select></td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][profilfach_ae]" value="" readonly></td>
|
||||
<td class="b80"><select class="halbjahre readonly" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][profilfach_ae]"></select></td>
|
||||
<td class="b80 pruefung"></td>
|
||||
</tr>
|
||||
<!-- End profilfach_ae -->
|
||||
|
||||
<f:comment><!--<f:for each="{0:0, 1:1, 2:2, 3:3}" as="num">
|
||||
<tr>
|
||||
<th>
|
||||
<select class="faecher profilfach profilfach_{num}" name="faecher[profilfach_{num}]">
|
||||
<option value=""></option>
|
||||
<f:for each="{faecher}" as="fach" key="kuerzel">
|
||||
<f:if condition="{fach.isProfilfach}==1">
|
||||
<f:then>
|
||||
<option value="{kuerzel}">{fach.name}</option>
|
||||
</f:then>
|
||||
</f:if>
|
||||
</f:for>
|
||||
</select>
|
||||
</th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11"></select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12"></select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2"></select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2"></select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][profilfach_{num}]" value="" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre readonly" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][profilfach_{num}]"></select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung readonly" name="tx_ifoberstufenplaner_faecherplaner[pruefung][profilfach_{num}]">
|
||||
<option value="" selected> </option>
|
||||
<option value="m">M</option>
|
||||
<option value="s">S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</f:for>--></f:comment>
|
||||
|
||||
|
||||
<tr class="grau" style="display: none;" id="profilfach_template">
|
||||
<th class="nopad">
|
||||
<select class="faecher profilfach" name="">
|
||||
<option value=""></option>
|
||||
<f:for each="{faecher}" as="fach" key="kuerzel">
|
||||
<f:if condition="{fach.isProfilfach}==1">
|
||||
<f:then>
|
||||
<option value="{kuerzel}">{fach.name}</option>
|
||||
</f:then>
|
||||
</f:if>
|
||||
</f:for>
|
||||
</select>
|
||||
<div class="entfernen"><i class="fa fa-minus-circle"></i></div>
|
||||
</th>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_11"></select>
|
||||
</td>
|
||||
<td class="sp-show">
|
||||
<select class="readonly wochenstunden_12"></select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_11_1_2"></select>
|
||||
</td>
|
||||
<td colspan="2" class="sp-hide">
|
||||
<select class="readonly wochenstunden_12_1_2"></select>
|
||||
</td>
|
||||
<td class="b80 sp-hide"><input type="text" class="jahreswochenstunden" name="tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][profilfach_{num}]" value="" readonly></td>
|
||||
<td class="b80">
|
||||
<select class="halbjahre readonly" name="tx_ifoberstufenplaner_faecherplaner[halbjahre][profilfach_{num}]"></select>
|
||||
</td>
|
||||
<td class="b80 pruefung">
|
||||
<select class="pruefung readonly" name="tx_ifoberstufenplaner_faecherplaner[pruefung][profilfach_{num}]">
|
||||
<option value="" selected> </option>
|
||||
<option value="m">M</option>
|
||||
<option value="s">S</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="plus">
|
||||
<th><span id="add_profilfach"><i class="fa fa-plus-circle"></i> Fach<span class="sp-hide"> hinzufügen</span></span></th>
|
||||
<td class="sp-show"></td>
|
||||
<td class="sp-show"></td>
|
||||
<td colspan="2" class="sp-hide"></td>
|
||||
<td colspan="2" class="sp-hide"></td>
|
||||
<td class="sp-hide"></td>
|
||||
<td></td>
|
||||
<td class="pruefung"></td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="5" class="ergebnis-text fehler sp-hide">Bitte Fehler beheben</td>
|
||||
<td class="ergebnis-text fehler sp-show">Fehler beheben</td>
|
||||
<td class="ergebnis-jws sp-hide ok">69</td>
|
||||
<td colspan="2" class="ergebnis-jws sp-show ok">69</td>
|
||||
<td class="ergebnis-hj warnung">40</td>
|
||||
<td class="ergebnis-pruefung fehler"><span class="weit">3 + 2</span><span class="eng">5</span></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<br><br><f:form.submit value=" speichern" class="weiter icon"></f:form.submit>
|
||||
</div>
|
||||
</div>
|
||||
</f:form>
|
||||
|
||||
<div class="related">
|
||||
<f:render partial="Faecherplaner/Related5" />
|
||||
</div>
|
||||
|
||||
<script>
|
||||
var faecherJson = '<f:format.htmlentitiesDecode>{faecherJson}</f:format.htmlentitiesDecode>';
|
||||
var fs1 = '{data.step1.fs1}';
|
||||
var fs2 = '{data.step1.fs2}';
|
||||
var fs3 = '{data.step1.fs3}';
|
||||
var fs_spt = '{data.step1.fs_spt}';
|
||||
var fs_ne_spt = '{data.step1.fs_ne_spt}';
|
||||
$(document).ready(function(){
|
||||
Faecherplaner.init(jQuery.parseJSON(faecherJson), {'fs1': fs1,'fs2': fs2,'fs3': fs3,'fs_spt': fs_spt, 'fs_ne_spt': fs_ne_spt});
|
||||
FaecherplanerEvents.init();
|
||||
});
|
||||
</script>
|
||||
|
||||
</div>
|
||||
</f:section>
|
||||
@@ -0,0 +1,2 @@
|
||||
index.file=index.php
|
||||
url=http://localhost/Private/
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
|
||||
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
|
||||
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
|
||||
<group>
|
||||
<file>file:/T:/SHARED/oberstufenplaner/typo3conf/ext/if_oberstufenplaner/Resources/Private/Templates/Faecherplaner/Step5.html</file>
|
||||
</group>
|
||||
</open-files>
|
||||
</project-private>
|
||||
@@ -0,0 +1,7 @@
|
||||
include.path=${php.global.include.path}
|
||||
php.version=PHP_54
|
||||
source.encoding=UTF-8
|
||||
src.dir=.
|
||||
tags.asp=false
|
||||
tags.short=false
|
||||
web.root=.
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://www.netbeans.org/ns/project/1">
|
||||
<type>org.netbeans.modules.php.project</type>
|
||||
<configuration>
|
||||
<data xmlns="http://www.netbeans.org/ns/php-project/1">
|
||||
<name>oberstufenplaner resources</name>
|
||||
</data>
|
||||
</configuration>
|
||||
</project>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 233 B |
@@ -0,0 +1,853 @@
|
||||
var Faecherplaner = {
|
||||
_settings: {
|
||||
"profilfachLeistungenMax1Jahr": 2,
|
||||
"profilfachLeistungenMax2Jahre": 3,
|
||||
"profilfachFortgFremdsprachenWochenstunden": 4, // fortgesetzte Fremdsprachen sind vierstündig (Ausnahme)
|
||||
"profilfachAbiFaecher": {
|
||||
inf: {schriftlich: true},
|
||||
win: {schriftlich: false}, // fehlt
|
||||
swa: {schriftlich: false}, // fehlt
|
||||
e: {schriftlich: false},
|
||||
f: {schriftlich: false},
|
||||
ru: {schriftlich: false},
|
||||
sp: {schriftlich: false}
|
||||
},
|
||||
'jahreswochenstundenNorm': 66,
|
||||
'halbjahresleistungenNorm': 40,
|
||||
'isHinweisOptionsregelEnabled': true,
|
||||
'mPruefungMax': 2, // Maximal muendliche Pruefungen
|
||||
'sPruefungMax': 3, // Maximal schriftliche Pruefungen
|
||||
'swPruefungMax': 1, // Maximal SW-Abi-Faecher
|
||||
'nwEinbringungenMin': 4, // minimale Einbringungen fuer NW-Faecher
|
||||
'gkzEinbringungenMax': 2 // Maximal gekuerzte Anbindungen
|
||||
},
|
||||
_faecher: {},
|
||||
predefinedFremdsprachen: {fs1:null, fs2:null, fs3:null, fs_spt:null, fs_ne_spt:null},
|
||||
init: function(faecher, fremdsprachen) {
|
||||
this._faecher = faecher;
|
||||
this.predefinedFremdsprachen = fremdsprachen;
|
||||
FaecherplanerEvents.recalculateHalbjahre();
|
||||
FaecherplanerEvents.recalculateJahreswochenstunden();
|
||||
FaecherplanerEvents.updatePruefung();
|
||||
},
|
||||
halbjahre_preselected_value: '',
|
||||
getByKuerzel: function(kuerzel){
|
||||
return this._faecher[kuerzel];
|
||||
}
|
||||
};
|
||||
|
||||
var FaecherplanerEvents = {
|
||||
init: function() {
|
||||
// initial data
|
||||
$.data($('#fs1').find('select.pruefung').get(0), 'lastValue', $('#fs1').find('select.pruefung option:selected').val());
|
||||
this.adjustGeoWrByGSk();
|
||||
// register events
|
||||
if (Faecherplaner.predefinedFremdsprachen.fs_ne_spt == false) {
|
||||
FaecherplanerEvents.nw2Loaded($('#nw2').find('select').get(0));
|
||||
}
|
||||
$('select.faecher').change(function(){
|
||||
FaecherplanerEvents.fachSelectChanged(this);
|
||||
});
|
||||
$('.wochenstunden_11_1_2, .wochenstunden_12_1_2, .wochenstunden_11, .wochenstunden_12').change(function(){
|
||||
FaecherplanerEvents.wochenstundenChanged(this);
|
||||
});
|
||||
$('.halbjahre').focus(function(){
|
||||
Faecherplaner.halbjahre_preselected_value = $(this).val();
|
||||
}).change(function(){
|
||||
FaecherplanerEvents.halbjahreSelectChanged(this);
|
||||
});
|
||||
$('select.pruefung').change(function(){
|
||||
FaecherplanerEvents.pruefungSelectChanged(this);
|
||||
});
|
||||
$('.pruefung_spo').add('.pruefung_mu_ku').add('.faecher_mu_ku').change(function(){
|
||||
FaecherplanerEvents.aeFaecherAbiturChanged(this);
|
||||
});
|
||||
$('#add_profilfach').click(function(){
|
||||
FaecherplanerEvents.profilfachRowAdded();
|
||||
});
|
||||
$('tr .entfernen').click(function(){
|
||||
FaecherplanerEvents.profilfachRowRemoved($(this).parents('tr'));
|
||||
});
|
||||
$('#seminar_w').add('#seminar_p').change(function(){
|
||||
FaecherplanerEvents.seminarSelectChanged(this);
|
||||
});
|
||||
$('#seminar_w').add('#seminar_p').trigger('change');
|
||||
|
||||
$('.ergebnis-jws').click(function(){
|
||||
FaecherplanerAlerts.showJwsAlert()
|
||||
});
|
||||
$('.ergebnis-hj').click(function(){
|
||||
FaecherplanerAlerts.showHjAlert()
|
||||
});
|
||||
$('.ergebnis-pruefung').click(function(){
|
||||
FaecherplanerAlerts.showPruefungAlert()
|
||||
});
|
||||
},
|
||||
profilfachChanged: function(selectBox) {
|
||||
var $parent = $(selectBox).parents('tr');
|
||||
//var $jwsObj = $($parent).find('.jahreswochenstunden');
|
||||
var kuerzel = $('option:selected', selectBox).val();
|
||||
var fach = Faecherplaner.getByKuerzel(kuerzel);
|
||||
if (fach != null) {
|
||||
if ($parent != null) {
|
||||
// Anpassung der Anzahl der Wochenstunden fuer beide Layouts
|
||||
$parent.removeClass().addClass(fach.farbe);
|
||||
var wochenstunden = ([Faecherplaner.predefinedFremdsprachen.fs1, Faecherplaner.predefinedFremdsprachen.fs2, Faecherplaner.predefinedFremdsprachen.fs3].indexOf(kuerzel) != -1) ?
|
||||
Faecherplaner._settings.profilfachFortgFremdsprachenWochenstunden :
|
||||
fach.profilfachWochenstunden;
|
||||
var options = {'0':{value:''}};
|
||||
options[wochenstunden] = {'value':wochenstunden+' '+wochenstunden};
|
||||
var options1Html = FaecherplanerUtils.generateOptions(options);
|
||||
options[wochenstunden] = {'value':wochenstunden};
|
||||
var options2Html = FaecherplanerUtils.generateOptions(options);
|
||||
$($parent).find('.wochenstunden_11_1_2, .wochenstunden_12_1_2').each(function(){
|
||||
$(this).removeClass('readonly').html(options1Html);
|
||||
});
|
||||
$($parent).find('.wochenstunden_11, .wochenstunden_12').each(function(){
|
||||
$(this).removeClass('readonly').html(options2Html);
|
||||
});
|
||||
$($parent).find('.jahreswochenstunden').val('0'); this.jahreswochenstundenChanged();
|
||||
|
||||
// Anpassung Einbringungen. Am Anfang sind alle Optionen inaktiv
|
||||
var leistungenObj = {};
|
||||
for (var i=0; i<=Faecherplaner._settings.profilfachLeistungenMax2Jahre; i++) {
|
||||
leistungenObj[i] = {'value':i, disabled:true};
|
||||
}
|
||||
var leistungen = FaecherplanerUtils.generateOptions(leistungenObj);
|
||||
$($parent).find('.halbjahre').removeClass('readonly').html(leistungen);
|
||||
// pruefung: Die Pruefungs-Selectbox wird nur aktiv wenn Jahre 11 und 12 bei bestimmten Faechern ausgewaehlt wurden
|
||||
$($parent).find('select.pruefung').addClass('readonly').val(0);
|
||||
}
|
||||
} else {
|
||||
$($parent).removeClass().addClass('grau').find('.wochenstunden_11_1_2, .wochenstunden_12_1_2, .wochenstunden_11, .wochenstunden_12').each(function(){
|
||||
$(this).addClass('readonly').html('');
|
||||
});
|
||||
$($parent).find('select.jahreswochenstunden').val(''); this.jahreswochenstundenChanged();
|
||||
$($parent).find('select.halbjahre').addClass('readonly').html('');
|
||||
$($parent).find('select.pruefung').addClass('readonly').val(0);
|
||||
}
|
||||
},
|
||||
|
||||
standardFachChanged: function(selectBox) {
|
||||
var $parent = $(selectBox).parents('tr');
|
||||
var kuerzel = $('option:selected', selectBox).val();
|
||||
var fach = Faecherplaner.getByKuerzel(kuerzel);
|
||||
var wochenstunden = fach.wochenstunden;
|
||||
if (kuerzel == Faecherplaner.predefinedFremdsprachen.fs_spt) {
|
||||
wochenstunden = fach.wochenstunden - 1;
|
||||
}
|
||||
if (fach != null) {
|
||||
$($parent).find('.wochenstunden_11_1_2, .wochenstunden_12_1_2').each(function(){
|
||||
var options = {};
|
||||
if (!$(this).hasClass('readonly')) {
|
||||
options[0] = {'value':' '};
|
||||
}
|
||||
options[wochenstunden] = {'value':wochenstunden+' '+wochenstunden};
|
||||
$(this).html(FaecherplanerUtils.generateOptions(options));
|
||||
});
|
||||
$($parent).find('.wochenstunden_11, .wochenstunden_12').each(function(){
|
||||
var options = {};
|
||||
if (!$(this).hasClass('readonly')) {
|
||||
options[0] = {'value':' '};
|
||||
}
|
||||
options[wochenstunden] = {'value':wochenstunden};
|
||||
$(this).html(FaecherplanerUtils.generateOptions(options));
|
||||
});
|
||||
$($parent).find('.jahreswochenstunden').val(wochenstunden*2);
|
||||
this.jahreswochenstundenChanged();
|
||||
}
|
||||
},
|
||||
|
||||
nw2Loaded: function(selectBox) {
|
||||
console.log('nw2 Loaded');
|
||||
//var $parent = $(selectBox).parents('tr');
|
||||
var fs1Kuerzel = $('#fs1').find('select.faecher option:selected').eq(0).val();
|
||||
var nw1Kuerzel = $('#nw1').find('select.faecher option:selected').eq(0).val();
|
||||
if ($('option:selected', selectBox).val() == fs1Kuerzel || $('option:selected', selectBox).val() == nw1Kuerzel) {
|
||||
$('option', selectBox).each(function(){
|
||||
if ($(this).val() != fs1Kuerzel && $(this).val() != nw1Kuerzel) {
|
||||
$(this).prop('selected', true);
|
||||
//$(selectBox).trigger('change');
|
||||
return false;
|
||||
}
|
||||
});
|
||||
}
|
||||
FaecherplanerEvents.fachSelectChanged(selectBox);
|
||||
$.data(selectBox, 'lastValue', $('option:selected', selectBox).val());
|
||||
if ($('#nw2 .wochenstunden_12_1_2').eq(0).val() == 0) { // wenn das Jahr 12 nicht ausgewählt - keine Pruefung möglich
|
||||
$('#nw2 select.pruefung').eq(0).addClass('readonly');
|
||||
}
|
||||
},
|
||||
|
||||
nw2Changed: function(selectBox) {
|
||||
//console.log('nw2 Changed');
|
||||
//alert('Hallo 0');
|
||||
var $parent = $(selectBox).parents('tr');
|
||||
var kuerzel = $('option:selected', selectBox).val();
|
||||
var fach = Faecherplaner.getByKuerzel(kuerzel);
|
||||
if (fach != null) {
|
||||
$parent.removeClass().addClass(fach.farbe);
|
||||
$($parent).find('.wochenstunden_11_1_2, .wochenstunden_12_1_2').each(function(){
|
||||
var options = {};
|
||||
options[fach.wochenstunden] = {'value':fach.wochenstunden+' '+fach.wochenstunden};
|
||||
$(this).html(FaecherplanerUtils.generateOptions(options));
|
||||
});
|
||||
//alert('Hallo 1 ' + fach.wochenstunden);
|
||||
$($parent).find('.wochenstunden_11, .wochenstunden_12').each(function(){
|
||||
var options = {};
|
||||
options[fach.wochenstunden] = {'value':fach.wochenstunden};
|
||||
$(this).html(FaecherplanerUtils.generateOptions(options));
|
||||
});
|
||||
//alert('Hallo 2 ' + fach.wochenstunden);
|
||||
$($parent).find('.wochenstunden_12_1_2').add('.wochenstunden_12').prepend(FaecherplanerUtils.generateOptions({'0':{'value':''}}));
|
||||
//$($parent).find('.jahreswochenstunden').val(fach.wochenstunden);
|
||||
|
||||
FaecherplanerEvents.updateNw1();
|
||||
|
||||
// Sofern eine spät beginnende FS als 2. FS gewählt wird, kann diese im Abitur nur mündlich gewählt werden, bei einer anderen Wahl (fortgeführte FS oder NW2) kann Abi auch schriftlich gewählt werden.
|
||||
var html = '';
|
||||
if (kuerzel == Faecherplaner.predefinedFremdsprachen.fs_spt) {
|
||||
html = FaecherplanerUtils.generateOptions({'':{'value':' '}, 'k':{'value':'K'}});
|
||||
} else {
|
||||
html = FaecherplanerUtils.generateOptions({'':{'value':' '}, 'k':{'value':'K'}, 's':{'value':'S'}});
|
||||
}
|
||||
$('select.pruefung', $parent).html(html);
|
||||
this.recalculateHalbjahre();
|
||||
this.jahreswochenstundenChanged();
|
||||
}
|
||||
},
|
||||
|
||||
fachSelectChanged: function(selectBox) {
|
||||
var label = $('option:selected', selectBox).text();
|
||||
var kuerzel = $('option:selected', selectBox).val();
|
||||
var isReverted = false;
|
||||
if (kuerzel != null && kuerzel.length > 0) {
|
||||
$('select.faecher').each(function () {
|
||||
if ($('option:selected', this).val() == kuerzel && selectBox != this) {
|
||||
alert("Sie haben das Fach " + label + " bereits an anderer Stelle gewählt!\n" +
|
||||
"Eine Auswahl in zwei verschiedenen Zeilen ist nicht erlaubt.\n" +
|
||||
"Ggf. müssen Sie zuerst das Fach an der anderen Stelle abwählen.");
|
||||
$(selectBox).val($.data(selectBox, 'lastValue'));
|
||||
isReverted = true;
|
||||
return false;
|
||||
}
|
||||
});
|
||||
}
|
||||
if (!isReverted) {
|
||||
$.data(selectBox, 'lastValue', kuerzel);
|
||||
|
||||
// Prüfen, ob Physik, Astrophysik oder Biophysik gewählt wurde und Hinweis ausgeben
|
||||
if (kuerzel == 'ph') {
|
||||
alert("Hinweis:\n\nDie Belegung des Faches Physik kann ggf. auch\nin Form der Lehrplanalternativen Biophysik (Jgst. 11)\nbzw. Astrophysik (Jgst. 12) erfolgen.\n\nDer Fächerplaner bezeichnet diese Varianten\nebenfalls mit \"Physik\".");
|
||||
} else if (kuerzel == 'aph') {
|
||||
alert("Hinweis:\n\nDie Wahl von Astrophysik ist nicht möglich,\nwenn Sie auch das Fach Physik belegen und dieses\nan Ihrer Schule nach der Lehrplanalternative \n\"Astrophysik\" unterrichtet wird.\n\nDieser Fächerplaner kann das nicht überprüfen.");
|
||||
} else if (kuerzel == 'bph') {
|
||||
alert("Hinweis:\n\nDie Wahl von Biophysik ist nicht möglich,\nwenn Sie auch das Fach Physik belegen und dieses\nan Ihrer Schule nach der Lehrplanalternative \n\"Biophysik\" unterrichtet wird.\n\nDieser Fächerplaner kann das nicht überprüfen.");
|
||||
}
|
||||
}
|
||||
if ($(selectBox).hasClass('profilfach')) {
|
||||
FaecherplanerEvents.profilfachChanged(selectBox);
|
||||
} else if ($(selectBox).parents('tr').attr('id') == 'nw2') {
|
||||
FaecherplanerEvents.nw2Changed(selectBox);
|
||||
} else {
|
||||
FaecherplanerEvents.standardFachChanged(selectBox);
|
||||
}
|
||||
},
|
||||
|
||||
seminarSelectChanged: function(selectBox) {
|
||||
var $parent = $(selectBox).parents('tr');
|
||||
var kuerzel = $('option:selected', selectBox).val();
|
||||
var fach = Faecherplaner.getByKuerzel(kuerzel);
|
||||
if (fach != null) {
|
||||
$parent.removeClass().addClass(fach.farbe);
|
||||
}
|
||||
},
|
||||
|
||||
wochenstundenChanged: function(selectBox) {
|
||||
//console.log('Wochenstunden changed');
|
||||
var $parent = $(selectBox).parents('tr');
|
||||
var $faecherSelect = $parent.find('select.faecher').eq(0);
|
||||
var kuerzel = $('option:selected', $faecherSelect).val();
|
||||
var fach = Faecherplaner.getByKuerzel(kuerzel);
|
||||
var jws = 0;
|
||||
|
||||
if (fach.nurEinJahr) {
|
||||
if (
|
||||
(parseInt($('.wochenstunden_11 option:selected', $parent).val()) > 0 && parseInt($('.wochenstunden_12 option:selected', $parent).val()) > 0) ||
|
||||
(parseInt($('.wochenstunden_11_1_2 option:selected', $parent).val()) > 0 && parseInt($('.wochenstunden_12_1_2 option:selected', $parent).val()) > 0)
|
||||
) {
|
||||
FaecherplanerAlerts.showNurEinJahrFachAlert(fach.name);
|
||||
$(selectBox).val($.data(selectBox, 'lastValue'));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// responsive layout fields anpassen
|
||||
if ($(selectBox).hasClass('wochenstunden_11')) {
|
||||
$('.wochenstunden_11_1_2', $parent).val($(selectBox).val());
|
||||
} else if ($(selectBox).hasClass('wochenstunden_12')) {
|
||||
$('.wochenstunden_12_1_2', $parent).val($(selectBox).val());
|
||||
} else if ($(selectBox).hasClass('wochenstunden_11_1_2')) {
|
||||
$('.wochenstunden_11', $parent).val($(selectBox).val());
|
||||
} else if ($(selectBox).hasClass('wochenstunden_12_1_2')) {
|
||||
$('.wochenstunden_12', $parent).val($(selectBox).val());
|
||||
}
|
||||
$($parent).find('.wochenstunden_11_1_2, .wochenstunden_12_1_2').each(function(){
|
||||
if (!isNaN(parseInt($(this).val()))) {
|
||||
jws += parseInt($(this).val());
|
||||
}
|
||||
});
|
||||
// wenn das Jahr 12 von nw2 geaendert wurde -> Pruefungen anpassen
|
||||
// wir gehen davon aus, dass bei nw2 nur das Jahr 12 geaendert werden kann
|
||||
if ($parent.is('#nw2') && ($(selectBox).hasClass('wochenstunden_12') || $(selectBox).hasClass('wochenstunden_12_1_2'))) {
|
||||
//console.log($(selectBox).val());
|
||||
if (!isNaN(parseInt($(selectBox).val())) && parseInt($(selectBox).val()) > 0) {
|
||||
$('select.pruefung', $parent).removeClass('readonly');
|
||||
$('.halbjahre', $parent).eq(0).html(FaecherplanerUtils.generateOptions({'1':{'value':'1'}, '2':{'value':'2'}, '3':{'value':'3'}, '4':{'value':'4'}}));
|
||||
} else {
|
||||
//console.log($('.halbjahre', $parent));
|
||||
$('select.pruefung', $parent).val(0);
|
||||
$('select.pruefung', $parent).addClass('readonly');
|
||||
this.pruefungSelectChanged($('select.pruefung', $parent));
|
||||
}
|
||||
}
|
||||
|
||||
// PROFILFACH
|
||||
if ($faecherSelect.hasClass('profilfach')) {
|
||||
var leistungenObj = {};
|
||||
if ((parseInt($('.wochenstunden_11 option:selected', $parent).val()) > 0 && parseInt($('.wochenstunden_12 option:selected', $parent).val()) > 0)) {
|
||||
// Schaltet bei bestimmten Fächern im Profilbereich - falls in 11 UND 12 belegt -- die Abiwahlmöglichkeit ein oder aus
|
||||
if (kuerzel in Faecherplaner._settings.profilfachAbiFaecher) {
|
||||
//if (kuerzel == 'inf' || kuerzel == 'win' || kuerzel == 'swa' || kuerzel == 'e' || kuerzel == 'f' || kuerzel == 'ru' || kuerzel == 'sp') {
|
||||
var html = '';
|
||||
if (Faecherplaner._settings.profilfachAbiFaecher[kuerzel].schriftlich) { // Z.B. im Fach Informatik kann auch schriftliche Abi gemacht werden
|
||||
//if (kuerzel == 'inf') { // Im Fach Informatik kann auch schriftliche Abi gemacht werden
|
||||
html = FaecherplanerUtils.generateOptions({'':{'value':' '}, 'k':{'value':'K'}, 's':{'value':'S'}});
|
||||
} else {
|
||||
html = FaecherplanerUtils.generateOptions({'':{'value':' '}, 'k':{'value':'K'}});
|
||||
}
|
||||
$($parent).find('select.pruefung').html(html).removeClass('readonly');
|
||||
}
|
||||
|
||||
// Passt im Profilbereich die Auswahlmöglichkeiten der Einbringungen an
|
||||
for (var i=0; i<=Faecherplaner._settings.profilfachLeistungenMax2Jahre; i++) {
|
||||
leistungenObj[i] = {'value':i};
|
||||
}
|
||||
} else {
|
||||
// Passt im Profilbereich die Auswahlmöglichkeiten der Einbringungen an
|
||||
for (var i=0; i<=Faecherplaner._settings.profilfachLeistungenMax2Jahre; i++) {
|
||||
if (i <= Faecherplaner._settings.profilfachLeistungenMax1Jahr) {
|
||||
leistungenObj[i] = {'value':i};
|
||||
} else {
|
||||
leistungenObj[i] = {'value':i, disabled:true};
|
||||
}
|
||||
}
|
||||
$($parent).find('select.pruefung').addClass('readonly');
|
||||
}
|
||||
var leistungen = FaecherplanerUtils.generateOptions(leistungenObj);
|
||||
$($parent).find('.halbjahre').removeClass('readonly').html(leistungen);
|
||||
FaecherplanerEvents.updateNw1();
|
||||
}
|
||||
|
||||
var $jwsObj = $($parent).find('.jahreswochenstunden');
|
||||
$jwsObj.val(jws); this.jahreswochenstundenChanged();
|
||||
$.data(selectBox, 'lastValue', $('option:selected', selectBox).val());
|
||||
},
|
||||
|
||||
halbjahreSelectChanged: function(selectBox) {
|
||||
// Prüfen, ob die gewählte Einbringung zulässig ist (Optionsregel etc.)
|
||||
var nwEinbringungen = 0;
|
||||
var gkzEinbringungen = 0;
|
||||
$('.faecher').each(function(){
|
||||
var $parent = $(this).parents('tr');
|
||||
var kuerzel = $('option:selected', this).val();
|
||||
// NW-Einbringungen pruefen
|
||||
if (['c', 'ph', 'b'].indexOf(kuerzel) != -1) {
|
||||
var nwHalbjahre = $(this).parents('tr').find('.halbjahre').eq(0).val();
|
||||
if (!isNaN(parseInt(nwHalbjahre))) {
|
||||
nwEinbringungen += parseInt(nwHalbjahre);
|
||||
}
|
||||
}
|
||||
// Gekuerzte Faecher pruefen
|
||||
var fachName = $($parent).attr('id');
|
||||
if (['reli_eth', 'g_sk', 'g', 'sk', 'nw1', 'geo_wr', 'mu_ku'].indexOf(fachName) != -1) {
|
||||
var gkzHalbjahre = $(this).parents('tr').find('.halbjahre').eq(0).val();
|
||||
if ('geo_wr' == fachName) { // In WSG kann bei Geo/WR das Jahr 12 optional sein. Als gekuerzt wird das Fach nur gezaehlt, wenn beide Jahre ausgewaehlt
|
||||
var wStunden12 = $(this).parents('tr').find('.wochenstunden_12').eq(0).val();
|
||||
if (!isNaN(parseInt(wStunden12)) && parseInt(wStunden12) > 0 && gkzHalbjahre <= 2) {
|
||||
gkzEinbringungen++;
|
||||
}
|
||||
} else {
|
||||
if (gkzHalbjahre == 2) {
|
||||
gkzEinbringungen++;
|
||||
}
|
||||
}
|
||||
|
||||
//check abifach
|
||||
//console.log($('.halbjahre option[value="2"]').filter(':selected').length);
|
||||
/*if( >){
|
||||
|
||||
}*/
|
||||
}
|
||||
});
|
||||
if (nwEinbringungen < Faecherplaner._settings.nwEinbringungenMin) {
|
||||
FaecherplanerAlerts.showNwMinEinbringungenAlert(nwEinbringungen);
|
||||
}
|
||||
if (gkzEinbringungen > Faecherplaner._settings.gkzEinbringungenMax) {
|
||||
//dont allow selection of the field, move back to value before change
|
||||
//$(selectBox).find('option[value="' + Faecherplaner.halbjahre_preselected_value + '"]').prop('selected', true);
|
||||
//show alert
|
||||
FaecherplanerAlerts.showGkzMaxEinbringungenAlert(gkzEinbringungen);
|
||||
}
|
||||
this.recalculateHalbjahre();
|
||||
},
|
||||
|
||||
pruefungSelectChanged: function(selectBox) {
|
||||
var isError = this.updatePruefung();
|
||||
if (isError) {
|
||||
$(selectBox).val($.data(selectBox, 'lastValue'));
|
||||
} else {
|
||||
$.data(selectBox, 'lastValue', $('option:selected', selectBox).val());
|
||||
}
|
||||
|
||||
// Anzahl der Einbringungen anpassen
|
||||
$('#oberstufenplaner').find('.faecher').each(function(){
|
||||
var $parent = $(this).parents('tr');
|
||||
var fachName = $parent.attr('id');
|
||||
var abi = $('[name*="pruefung"] option:selected', $parent).val();
|
||||
|
||||
switch (fachName) {
|
||||
case 'reli_eth':
|
||||
case 'g_sk':
|
||||
case 'g':
|
||||
case 'sk':
|
||||
case 'mu_ku':
|
||||
case 'fs_ne_spt':
|
||||
if (abi != '') {
|
||||
$('.halbjahre', $parent).eq(0).html(FaecherplanerUtils.generateOptions({'4':{'value':'4'}}));
|
||||
} else if (FaecherplanerEvents.isFsNeSptEinbrSonderregel()) {
|
||||
$('.halbjahre', $parent).eq(0).html(FaecherplanerUtils.generateOptions({'3':{'value':'3'}, '4':{'value':'4'}}));
|
||||
} else {
|
||||
$('.halbjahre', $parent).eq(0).html(FaecherplanerUtils.generateOptions({'2':{'value':'2'},'3':{'value':'3'}, '4':{'value':'4'}}));
|
||||
}
|
||||
break;
|
||||
case 'spo':
|
||||
case ($(this).hasClass('profilfach')):
|
||||
if (abi != '') {
|
||||
$('.halbjahre', $parent).eq(0).html(FaecherplanerUtils.generateOptions({'4':{'value':'4'}}));
|
||||
} else {
|
||||
$('.halbjahre', $parent).eq(0).html(FaecherplanerUtils.generateOptions({'0':{'value':'0'}, '1':{'value':'1'}, '2':{'value':'2'}, '3':{'value':'3'}}));
|
||||
}
|
||||
break;
|
||||
case 'nw2':
|
||||
case 'geo_wr': // In WSG kann bei Geo/WR das Jahr 12 optional sein
|
||||
if (abi != '') {
|
||||
$('.halbjahre', $parent).eq(0).html(FaecherplanerUtils.generateOptions({'4':{'value':'4'}}));
|
||||
} else {
|
||||
var $ws12select = $('.wochenstunden_12', $parent);
|
||||
if ($ws12select.val() == 0) { // Wenn das Jahr 12 ausgewaehlt - mehr Halbjahre
|
||||
$('.halbjahre', $parent).eq(0).html(FaecherplanerUtils.generateOptions({'1':{'value':'1'}, '2':{'value':'2'}}));
|
||||
} else {
|
||||
//$('.halbjahre', $parent).eq(0).html(FaecherplanerUtils.generateOptions({'1':{'value':'1'}, '2':{'value':'2'}, '3':{'value':'3'}, '4':{'value':'4'}}));
|
||||
$('.halbjahre', $parent).eq(0).html(FaecherplanerUtils.generateOptions({'3':{'value':'3'}, '4':{'value':'4'}}));
|
||||
}
|
||||
//if ($ws12select.hasClass('readonly')) {
|
||||
// if (FaecherplanerEvents.isFsNeSptEinbrSonderregel()) {
|
||||
// $('.halbjahre', $parent).eq(0).html(FaecherplanerUtils.generateOptions({'2':{'value':'2'}, '3':{'value':'3'}, '4':{'value':'4'}}));
|
||||
// } else {
|
||||
// $('.halbjahre', $parent).eq(0).html(FaecherplanerUtils.generateOptions({'3':{'value':'3'}, '4':{'value':'4'}}));
|
||||
// }
|
||||
//} else {
|
||||
// $('.halbjahre', $parent).eq(0).html(FaecherplanerUtils.generateOptions({'1':{'value':'1'}, '2':{'value':'2'}, '3':{'value':'3'}, '4':{'value':'4'}}));
|
||||
//}
|
||||
}
|
||||
break;
|
||||
}
|
||||
});
|
||||
FaecherplanerEvents.updateNw1();
|
||||
FaecherplanerEvents.recalculateHalbjahre();
|
||||
},
|
||||
|
||||
jahreswochenstundenChanged: function() {
|
||||
this.recalculateJahreswochenstunden();
|
||||
},
|
||||
|
||||
aeFaecherAbiturChanged: function() {
|
||||
// Blendet bei Abiwahl Sport, Kunst oder Musik ggf. das passende Profilfach ein oder aus.
|
||||
var spoPruefung = $('#spo').find('select.pruefung option:selected').eq(0).val();
|
||||
var muKuPruefung = $('#mu_ku').find('select.pruefung option:selected').eq(0).val();
|
||||
var $xProfilfachSelect = $('select.xprofilfach');
|
||||
var $parent = $xProfilfachSelect.parents('tr');
|
||||
var xProfilfachFach = null;
|
||||
var mainFach = null;
|
||||
if (spoPruefung == 's' || spoPruefung == 'k') {
|
||||
xProfilfachFach = 'ast';
|
||||
mainFach = 'spo';
|
||||
} else if (muKuPruefung == 's') {
|
||||
var muKuKuerzel = $('#mu_ku').find('select.faecher option:selected').eq(0).val();
|
||||
if (muKuKuerzel == 'mu') {
|
||||
xProfilfachFach = 'i_g';
|
||||
mainFach = 'mu';
|
||||
} else if (muKuKuerzel == 'ku') {
|
||||
xProfilfachFach = 'bpr';
|
||||
mainFach = 'ku';
|
||||
}
|
||||
}
|
||||
if (xProfilfachFach != null) {
|
||||
$('select.xprofilfach', $parent).val(xProfilfachFach);
|
||||
$parent.show();
|
||||
FaecherplanerAlerts.showAesteticAbiAlert(mainFach);
|
||||
} else {
|
||||
$parent.hide();
|
||||
}
|
||||
this.fachSelectChanged($xProfilfachSelect);
|
||||
},
|
||||
|
||||
geschichteSozkClicked: function() {
|
||||
var $g_sk = $('#g_sk');
|
||||
var geschSozkIsVisible = $g_sk.is(':visible');
|
||||
if (geschSozkIsVisible) {
|
||||
if (confirm('Möchten Sie statt Geschichte mit Sozialkunde (2+1 Wochenstd.) lieber Geschichte (2 Wochenstd.) und Sozialkunde (2 Wochenstd.) wählen? Dafür entfällt die Belegungsverpflichtung für Jgst. 12 in Geographie bzw. Wirtschaft/Recht.')) {
|
||||
$g_sk.hide();
|
||||
$('#g').add('#sk').show();
|
||||
}
|
||||
} else {
|
||||
if (confirm('Möchten Sie statt Geschichte (2 Wochenstd.) und Sozialkunde (2 Wochenstd.) den Verbund Geschichte mit Sozialkunde (2+1 Wochenstd.) wählen? Dafür muss zusätzlich zu Jgst. 11 auch Jgst. 12 in Geographie bzw. Wirtschaft/Recht belegt werden.')) {
|
||||
$('#g').add('#sk').hide();
|
||||
$g_sk.show();
|
||||
}
|
||||
}
|
||||
this.adjustGeoWrByGSk();
|
||||
this.jahreswochenstundenChanged();
|
||||
},
|
||||
|
||||
adjustGeoWrByGSk: function() {
|
||||
var $geo_wr = $('#geo_wr');
|
||||
var $g_sk = $('#g_sk');
|
||||
var geschSozkIsVisible = $g_sk.is(':visible');
|
||||
if (!geschSozkIsVisible) {
|
||||
$geo_wr.find('.wochenstunden_12_1_2, .wochenstunden_12').removeClass('readonly');
|
||||
$('#geo_wr .halbjahre').eq(0).html(FaecherplanerUtils.generateOptions({'1':{'value':'1'}, '2':{'value':'2'}}));
|
||||
} else {
|
||||
$geo_wr.find('.wochenstunden_12_1_2, .wochenstunden_12').addClass('readonly');
|
||||
$('#geo_wr .halbjahre').eq(0).html(FaecherplanerUtils.generateOptions({'3':{'value':'3'}, '4':{'value':'4'}}));
|
||||
}
|
||||
this.standardFachChanged($geo_wr.find('.faecher').get(0));
|
||||
this.wochenstundenChanged($geo_wr.find('.faecher').get(0));
|
||||
},
|
||||
|
||||
recalculateJahreswochenstunden: function() {
|
||||
//console.log('Recalc');
|
||||
var stunden = 0;
|
||||
$('#planer').find('tr').filter(":visible").each(function(){
|
||||
if ($(this).find('.jahreswochenstunden').size() > 0) {
|
||||
var tmpStunden = parseInt($(this).find('.jahreswochenstunden').eq(0).val());
|
||||
if (!isNaN(tmpStunden)) {
|
||||
stunden += tmpStunden;
|
||||
}
|
||||
}
|
||||
});
|
||||
//$('.jahreswochenstunden').filter(":visible").each(function(){
|
||||
// var tmpStunden = parseInt($(this).val());
|
||||
// if (!isNaN(tmpStunden)) {
|
||||
// stunden += tmpStunden;
|
||||
// }
|
||||
//});
|
||||
var $jwsSumObj = $('.ergebnis-jws');
|
||||
$jwsSumObj.text(stunden);
|
||||
$jwsSumObj.removeClass('ok warnung fehler');
|
||||
if (stunden < Faecherplaner._settings.jahreswochenstundenNorm) {
|
||||
$jwsSumObj.addClass('fehler');
|
||||
} else if (stunden > Faecherplaner._settings.jahreswochenstundenNorm) {
|
||||
$jwsSumObj.addClass('warnung');
|
||||
} else {
|
||||
$jwsSumObj.addClass('ok');
|
||||
}
|
||||
|
||||
FaecherplanerEvents.validatePlaner();
|
||||
if (stunden > Faecherplaner._settings.jahreswochenstundenNorm) {
|
||||
alert('Sie haben in der Belegung die vorgesehene Wochenstundenzahl ('+Faecherplaner._settings.jahreswochenstundenNorm+') mit '+stunden+' um '+(stunden-Faecherplaner._settings.jahreswochenstundenNorm)+' überschritten! Bitte überlegen Sie nochmals genau, ob Sie dieses Stundenmaß angemessen bewältigen können. Bitte suchen Sie ggf. den Oberstufenkoordinator Ihrer Schule für ein persönliches Beratungsgespräch auf.');
|
||||
}
|
||||
},
|
||||
|
||||
recalculateHalbjahre: function() {
|
||||
var hj = 0;
|
||||
$('.halbjahre').filter(":visible").each(function(){
|
||||
if (!isNaN(parseInt($(this).val()))) {
|
||||
hj += parseInt($(this).val());
|
||||
}
|
||||
});
|
||||
|
||||
var $ergHj = $('.ergebnis-hj');
|
||||
$ergHj.removeClass('ok warnung fehler');
|
||||
/*if (hj < Faecherplaner._settings.halbjahresleistungenNorm) {
|
||||
$ergHj.addClass('warnung');
|
||||
} else */if (hj != Faecherplaner._settings.halbjahresleistungenNorm) {
|
||||
$ergHj.addClass('fehler');
|
||||
if (Faecherplaner._settings.isHinweisOptionsregelEnabled && FaecherplanerEvents.isFsNeSptEinbrSonderregel()) {
|
||||
FaecherplanerAlerts.showOptionsRegelAlert();
|
||||
}
|
||||
} else {
|
||||
$ergHj.addClass('ok');
|
||||
}
|
||||
$ergHj.text(hj);
|
||||
FaecherplanerEvents.validatePlaner();
|
||||
},
|
||||
|
||||
updateNw1: function() {
|
||||
var nw2Kuerzel = $('#nw2 .faecher option:selected').eq(0).val();
|
||||
//var nw1fach = Faecherplaner.getByKuerzel(nw2Kuerzel);
|
||||
// bei zwei gewählten Naturwissenschaften sind bei der NW1 weniger als 4 Einbringungen erlaubt (wenn insgesamt mind. 4 Einbringungen)
|
||||
var moreThan1 = false;
|
||||
//if (nw1fach.typ == 'nw') {
|
||||
if (nw2Kuerzel == 'b' || nw2Kuerzel == 'c' || nw2Kuerzel == 'ph') {
|
||||
moreThan1 = true;
|
||||
} else {
|
||||
$('.faecher.profilfach').each(function(){
|
||||
var kuerzel = $('option:selected', this).val();
|
||||
var $parent = $(this).parents('tr');
|
||||
if ((kuerzel == 'b' || kuerzel == 'c' || kuerzel == 'ph') && (parseInt($('.wochenstunden_11 option:selected', $parent).val()) > 0 || parseInt($('.wochenstunden_12 option:selected', $parent).val()) > 0)) {
|
||||
moreThan1 = true;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (moreThan1) {
|
||||
if (FaecherplanerEvents.isFsNeSptEinbrSonderregel()) {
|
||||
//$('[name="halbjahre[nw1]"]').html(FaecherplanerUtils.generateOptions({'2':{'value':'2'}, '3':{'value':'3'}, '4':{'value':'4'}}));
|
||||
$('#nw1 .halbjahre').eq(0).html(FaecherplanerUtils.generateOptions({'2':{'value':'2'}, '3':{'value':'3'}, '4':{'value':'4'}}));
|
||||
} else {
|
||||
//$('[name="halbjahre[nw1]"]').html(FaecherplanerUtils.generateOptions({'3':{'value':'3'}, '4':{'value':'4'}}));
|
||||
$('#nw1 .halbjahre').eq(0).html(FaecherplanerUtils.generateOptions({'3':{'value':'3'}, '4':{'value':'4'}}));
|
||||
}
|
||||
} else {
|
||||
//$('[name="halbjahre[nw1]"]').html(FaecherplanerUtils.generateOptions({'4':{'value':'4'}}));
|
||||
$('#nw1 .halbjahre').eq(0).html(FaecherplanerUtils.generateOptions({'4':{'value':'4'}}));
|
||||
}
|
||||
},
|
||||
|
||||
updatePruefung: function() {
|
||||
var isError = false;
|
||||
var fsSptError = false;
|
||||
var mPruefungCount = 0;
|
||||
var sPruefungCount = 0;
|
||||
var gwPruefungCount = 0;
|
||||
|
||||
// Prüfen ob bereits 3 schriftliche und 2 mündliche Abiturfächer gewählt sind und sich ein gesellschaftswissenschaftliches darunter befindet
|
||||
$('select.pruefung').filter(":visible").each(function(){
|
||||
var val = $('option:selected', this).val();
|
||||
if (val == 's') {
|
||||
sPruefungCount++;
|
||||
} else if (val == 'k') {
|
||||
mPruefungCount++;
|
||||
}
|
||||
|
||||
if (val == 's' || val == 'k') {
|
||||
var kuerzel = $(this).parents('tr').find('.faecher').eq(0).val();
|
||||
if (typeof(kuerzel) != 'undefined') {
|
||||
var fach = Faecherplaner.getByKuerzel(kuerzel);
|
||||
if (fach != null && fach.typ == 'gw') { // Anzahl GW-Abifaecher
|
||||
gwPruefungCount++;
|
||||
}
|
||||
if (val == 's' && kuerzel == Faecherplaner.predefinedFremdsprachen.fs_spt) { // in FS-Spt kann nur eine muendliche Pruefung angelegt werden
|
||||
fsSptError = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// Mehr Abifaecher als zugelassen ausgewaehlt
|
||||
if (sPruefungCount > Faecherplaner._settings.sPruefungMax || mPruefungCount > Faecherplaner._settings.mPruefungMax) {
|
||||
isError = true;
|
||||
FaecherplanerAlerts.showAbiCountAlert(sPruefungCount, mPruefungCount);
|
||||
} else if (gwPruefungCount > Faecherplaner._settings.swPruefungMax) { // Mehr GW-Abifaecher als zugelassen ausgewaehlt
|
||||
isError = true;
|
||||
FaecherplanerAlerts.showGwAbiCountAlert(gwPruefungCount);
|
||||
} else if (sPruefungCount == Faecherplaner._settings.sPruefungMax && mPruefungCount == Faecherplaner._settings.mPruefungMax && gwPruefungCount == 0) { // Kein GW-Abifach
|
||||
isError = true;
|
||||
FaecherplanerAlerts.showKeinGwAbiCountAlert();
|
||||
} else if (fsSptError) {
|
||||
isError = true;
|
||||
FaecherplanerAlerts.showFsSptAbiAlert();
|
||||
}
|
||||
|
||||
var $ergebnisPruefung = $('.ergebnis-pruefung');
|
||||
$ergebnisPruefung.find('.weit').text(sPruefungCount + ' + ' + mPruefungCount);
|
||||
$ergebnisPruefung.find('.eng').text(sPruefungCount + mPruefungCount);
|
||||
if (sPruefungCount == Faecherplaner._settings.sPruefungMax && mPruefungCount == Faecherplaner._settings.mPruefungMax) {
|
||||
$ergebnisPruefung.removeClass('fehler').addClass('ok');
|
||||
} else {
|
||||
$ergebnisPruefung.removeClass('ok').addClass('fehler');
|
||||
}
|
||||
FaecherplanerEvents.validatePlaner();
|
||||
return isError;
|
||||
},
|
||||
|
||||
isFsNeSptEinbrSonderregel: function() { //Prüft, ob die Sonderregel (auch Optionsregel) anwendbar ist oder nicht
|
||||
|
||||
//bei neu einsetzender spät beginnender Fremdsprache wäre aufgrund der Einbringungsverpflichtungen in dieser FS (3) sowie in allen Abiturfächern (4)
|
||||
//manche Abiturfächer nicht mehr möglich (z.B. Sport, Informatik, Wirtschaftsinformatik, sozialwissenschaftliche Arbeitsfelder, weitere Fremdsprache)
|
||||
//da sonst mehr als 40 einzubringende Halbjahresleistungen erreicht würden.
|
||||
//Eine Sonderregel ("Optionsregel") erlaubt bei Wahl eines solchen Abiturfachs, höchstens 2 ursprüngl. einbringungspflichtige Halbjahresleistungen in zwei Fächern
|
||||
//(Ausnahme Abiturfächer und die Naturwissenschaft, sofern nur eine gewählt) zu streichen, um auf die Höchstzahl von 40 HJL zu kommen.
|
||||
var regelMgl = false;
|
||||
if (['k', 's'].indexOf($('[name="pruefung[spo]"] option:selected').val()) != -1) {
|
||||
regelMgl = true;
|
||||
}
|
||||
$('select[name^="pruefung[profilfach_"]').each(function(){
|
||||
if (['k', 's'].indexOf($('option:selected', this).val()) != -1) {
|
||||
regelMgl = true;
|
||||
}
|
||||
});
|
||||
return regelMgl;
|
||||
},
|
||||
|
||||
profilfachRowAdded: function() {
|
||||
var $addTemplate = $('#profilfach_template');
|
||||
var $row = $addTemplate.clone(true);
|
||||
var $profilfachs = $('.faecher.profilfach:visible');
|
||||
var addCount = $profilfachs.size();
|
||||
$row.removeAttr('id');
|
||||
$('select.faecher.profilfach', $row).addClass('profilfach_'+addCount).attr('name', 'tx_ifoberstufenplaner_faecherplaner[profilfaecher][profilfach_'+addCount+']');
|
||||
$('select.wochenstunden_11', $row).attr('name', 'tx_ifoberstufenplaner_faecherplaner[wochenstunden_11][profilfach_'+addCount+']');
|
||||
$('select.wochenstunden_12', $row).attr('name', 'tx_ifoberstufenplaner_faecherplaner[wochenstunden_12][profilfach_'+addCount+']');
|
||||
$('select.wochenstunden_11_1_2', $row).attr('name', 'tx_ifoberstufenplaner_faecherplaner[wochenstunden_11_1_2][profilfach_'+addCount+']');
|
||||
$('select.wochenstunden_12_1_2', $row).attr('name', 'tx_ifoberstufenplaner_faecherplaner[wochenstunden_12_1_2][profilfach_'+addCount+']');
|
||||
$('input.jahreswochenstunden', $row).attr('name', 'tx_ifoberstufenplaner_faecherplaner[jahreswochenstunden][profilfach_'+addCount+']');
|
||||
$('select.halbjahre', $row).attr('name', 'tx_ifoberstufenplaner_faecherplaner[halbjahre][profilfach_'+addCount+']');
|
||||
$('select.pruefung', $row).attr('name', 'tx_ifoberstufenplaner_faecherplaner[pruefung][profilfach_'+addCount+']');
|
||||
if ($profilfachs.size() > 0) {
|
||||
$profilfachs.last().parents('tr').after($row);
|
||||
} else {
|
||||
$addTemplate.before($row);
|
||||
}
|
||||
$row.show();
|
||||
},
|
||||
|
||||
profilfachRowRemoved: function(tr) {
|
||||
$(tr).remove();
|
||||
this.recalculateHalbjahre();
|
||||
this.recalculateJahreswochenstunden();
|
||||
this.updatePruefung();
|
||||
this.validatePlaner();
|
||||
},
|
||||
|
||||
validatePlaner: function() {
|
||||
var isValid = true;
|
||||
|
||||
var $jwsSumObj = $('.ergebnis-jws');
|
||||
var $ergebnisPruefung = $('.ergebnis-pruefung');
|
||||
var $ergHj = $('.ergebnis-hj');
|
||||
|
||||
if ((!$jwsSumObj.hasClass('ok') && !$jwsSumObj.hasClass('warnung')) || !$ergebnisPruefung.hasClass('ok') || !$ergHj.hasClass('ok')) {
|
||||
isValid = false;
|
||||
}
|
||||
|
||||
if (isValid) {
|
||||
//$('.ergebnis-text').css('visibility', 'hidden');
|
||||
$('.ergebnis-text').eq(0).text('Alles klar für\'s Abitur').removeClass('fehler').addClass('ok');
|
||||
$('.ergebnis-text').eq(1).text('Alles klar').removeClass('fehler').addClass('ok');
|
||||
} else {
|
||||
$('.ergebnis-text').eq(0).text('Bitte Fehler beheben').removeClass('ok').addClass('fehler');
|
||||
$('.ergebnis-text').eq(1).text('Bitte beheben').removeClass('ok').addClass('fehler');
|
||||
//$('.ergebnis-text').css('visibility', 'visible');
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
var FaecherplanerUtils = {
|
||||
generateOptions: function(obj) {
|
||||
var html = '';
|
||||
for (var key in obj) {
|
||||
var disabled = (("disabled" in obj[key]) && obj[key].disabled == true);
|
||||
var selected = (("selected" in obj[key]) && obj[key].selected == true);
|
||||
html += '<option value="'+key+'"'+(disabled ? ' disabled' : '') + (selected ? ' selected' : '') + '>'+obj[key].value+'</option>';
|
||||
}
|
||||
return html;
|
||||
}
|
||||
};
|
||||
|
||||
var FaecherplanerAlerts = {
|
||||
showAesteticAbiAlert: function(fach) {
|
||||
var message = "Wird Kunst oder Musik als schriftliches Abiturfach mit einem fachpraktischen Anteil gewählt, muss zusätzlich zum grundständigen Unterricht ein Additum belegt werden. Das Additum ist im Fach Kunst (Bildnerische Praxis) zweistündig, im Fach Musik (Instrument) einstündig.\n\nWird Sport als schriftliches oder als mündliches Abiturfach mit einem praktischen Anteil gewählt, muss ein zweistündiges Additum (Sporttheorie) belegt werden.\n\nDie Teilnahme an einem Additum setzt im Zwischenzeugnis der Jahrgangsstufe 10 mindestens die Note 3 voraus. In Musik sind zudem angemessene Fertigkeiten im Spiel eines anerkannten Musikinstruments (ggf. Gesang) nachzuweisen.\n\nMit der Wahl eines Additums legen Sie auch das zugehörige Fach als Abiturfach bereits in Jahrgangsstufe 10 verbindlich fest. \n\n\nDie Auswahl des passenden Additums erfolgt automatisch, wenn Sie Sport als mündliches oder schriftliches Abiturfach oder Kunst oder Musik als schriftliches Abiturfach wählen.";
|
||||
switch(fach) {
|
||||
case 'spo':
|
||||
message = "Wird Sport als schriftliches oder als mündliches Abiturfach mit einem praktischen Anteil gewählt, muss das zweistündige Additum Sporttheorie belegt werden (wird nun automatisch gewählt).\n\nDie Teilnahme am Additum setzt im Zwischenzeugnis der Jahrgangsstufe 10 mindestens die Note 3 voraus.\n\nMit der Wahl des Additums legen Sie Sport als Abiturfach bereits in Jahrgangsstufe 10 verbindlich fest.";
|
||||
break;
|
||||
case 'ku':
|
||||
message = "Wird Kunst als schriftliches Abiturfach mit einem fachpraktischen Anteil gewählt, muss zusätzlich zum grundständigen Unterricht das zweistündige Additum Bildnerische Praxis belegt werden (wird nun automatisch gewählt).\n\nDie Teilnahme am Additum setzt im Zwischenzeugnis der Jahrgangsstufe 10 mindestens die Note 3 voraus.\n\nMit der Wahl des Additums legen Sie Kunst als schriftliches Abiturfach bereits in Jahrgangsstufe 10 verbindlich fest.";
|
||||
break;
|
||||
case 'mu':
|
||||
message = "Wird Musik als schriftliches Abiturfach mit einem fachpraktischen Anteil gewählt, muss zusätzlich zum grundständigen Unterricht das einstündige Additum Instrument/Gesang belegt werden (wird nun automatisch gewählt).\n\nDie Teilnahme am Additum setzt im Zwischenzeugnis der Jahrgangsstufe 10 mindestens die Note 3 voraus, zudem sind angemessene Fertigkeiten im Spiel eines anerkannten Musikinstruments (ggf. Gesang) nachzuweisen.\n\nMit der Wahl des Additums legen Sie Musik als schriftliches Abiturfach bereits in Jahrgangsstufe 10 verbindlich fest.";
|
||||
break;
|
||||
}
|
||||
alert(message);
|
||||
},
|
||||
|
||||
showAbiCountAlert: function(sPruefungCount, mPruefungCount) {
|
||||
alert("Sie müssen in "+Faecherplaner._settings.sPruefungMax+" Fächern schriftliches und in "+Faecherplaner._settings.mPruefungMax+" Fächern mündliches Abitur machen!\n" +
|
||||
"(Derzeit ausgewählt: "+sPruefungCount+"x schriftlich und "+mPruefungCount+"x mündlich.)\n" +
|
||||
"\n" +
|
||||
"Bitte löschen Sie ggf. zuerst die Abiturwahl bei einem anderen Fach, bevor Sie hier die Abiturprüfung auswählen.");
|
||||
},
|
||||
|
||||
showGwAbiCountAlert: function(gwCount) {
|
||||
alert("Sie müssen in genau einem gesellschaftswissenschaftlichen Fach (in Farbe GELB hinterlegt, z. B. Religionslehre, Ethik, Geschichte, Sozialkunde, Geographie, Wirtschaft und Recht) Abiturprüfung machen.\n" +
|
||||
"(Derzeit ausgewählt: "+gwCount+" gesellschaftswissenschaftliche Fächer)\n\n" +
|
||||
"Bitte löschen Sie ggf. zuerst die Abiturwahl bei einem anderen Fach, bevor Sie hier die Abiturprüfung auswählen.");
|
||||
},
|
||||
|
||||
showKeinGwAbiCountAlert: function() {
|
||||
alert("Sie haben hiermit "+Faecherplaner._settings.sPruefungMax+" schriftliche und "+Faecherplaner._settings.mPruefungMax+" mündliche Abiturfächer gewählt, es befindet sich aber kein gesellschaftswissenschaftliches Fach " +
|
||||
"(in Farbe GELB hinterlegt, z. B. Religionslehre, Ethik, Geschichte, Sozialkunde, Geographie, Wirtschaft und Recht) darunter.\n\n" +
|
||||
"Diese Wahl ist daher nicht erlaubt.");
|
||||
},
|
||||
|
||||
showFsSptAbiAlert: function() {
|
||||
alert("Spät beginnende Fremdsprachen können nur mündliches, nicht aber schriftliches Abiturfach sein.");
|
||||
},
|
||||
|
||||
showOptionsRegelAlert: function() {
|
||||
alert("Da Sie eine neu einsetzende, spät beginnende Fremdsprache gewählt haben \n" +
|
||||
"und mit der getroffenen Abiturwahl bereits mehr als 40 Halbjahresleistungen \n" +
|
||||
"einbringen müssten, können Sie die \"Optionsregel\" anwenden: \n\n" +
|
||||
"In zwei verschiedenen Fächern können Sie je eine Halbjahresleistung \n" +
|
||||
"streichen, so dass Sie dort nur noch je 2 einbringen. \n" +
|
||||
"Stets sind aber in den Apiturprüfungsfächern und aus den \n" +
|
||||
"Naturwissenschaften (Ph, C, B) mindestens 4 Halbjahresleistungen \n" +
|
||||
"einzubringen (ggf. mit der Naturwissenschaft 2).\n\n" +
|
||||
"(Diese Optionen werden nun in der Auswahl automatisch angeboten).\n\n");
|
||||
},
|
||||
|
||||
showNwMinEinbringungenAlert: function(einbringungen) {
|
||||
alert("Aus den Naturwissenschaften (Ph, C, B) sind mindestens "+Faecherplaner._settings.nwEinbringungenMin+" Halbjahresleistungen einzubringen.\n" +
|
||||
"(Derzeit sind insgesamt nur "+einbringungen+" gewählt.)");
|
||||
},
|
||||
|
||||
showGkzMaxEinbringungenAlert: function() {
|
||||
alert("Es kann bei höchstens "+Faecherplaner._settings.gkzEinbringungenMax+" verschiedenen Fächern, die normalerweise\n" +
|
||||
"mit 3 oder 4 Halbjahresleistungen eingebracht werden müssten,\n" +
|
||||
"eine Verringerung auf 2 eingebrachte Halbjahresleistungen\nvorgenommen werden.\n\n" +
|
||||
"Die gestrichenen Halbjahresleistungen müssen nicht ersetzt werden, falls eine \n" +
|
||||
"neu einsetzende spät beginnende Fremdsprache belegt wird und\n" +
|
||||
"durch die Wahl der Abiturprüfungsfächer die Zahl der verpflichtend\n" +
|
||||
"einzubringenden Halbjahresleistungen "+Faecherplaner._settings.halbjahresleistungenNorm+" übersteigt.")
|
||||
|
||||
},
|
||||
|
||||
showNurEinJahrFachAlert: function(name) {
|
||||
alert("Sie möchten das Fach "+ name +" in Jahrgangsstufe 11 und 12 belegen. Es ist jedoch nur die Auswahl in 11 oder 12 möglich.");
|
||||
},
|
||||
|
||||
// Click alerts
|
||||
showJwsAlert: function() {
|
||||
alert('Sie müssen insgesamt 66 Wochenstunden belegen. Mehr sind zulässig, aber bitte achten sie darauf, dieses Stundenmaß angemessen bewältigen können.');
|
||||
},
|
||||
showHjAlert: function() {
|
||||
alert('An Halbjahresnoten müssen 40 eingebracht werden.');
|
||||
},
|
||||
showPruefungAlert: function() {
|
||||
alert('Sie absolvieren drei schriftliche und zwei mündliche Abiturprüfungen. Eine davon muss in einem gesellschaftswissenschaftlichen Fach sein.');
|
||||
}
|
||||
};
|
||||
7
typo3conf/ext/if_oberstufenplaner/Resources/Public/js/jquery-ui.min.js
vendored
Normal file
7
typo3conf/ext/if_oberstufenplaner/Resources/Public/js/jquery-ui.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1,350 @@
|
||||
var Konfigurator = {
|
||||
Step1: {
|
||||
init: function() {
|
||||
var $gymArt = $('input[name="tx_ifoberstufenplaner_faecherplaner[gym_art]"]');
|
||||
$($gymArt).change(function(){
|
||||
Konfigurator.Step1.checkGymArt($(this).filter(':checked'));
|
||||
});
|
||||
Konfigurator.Step1.checkGymArt($gymArt.filter(':checked'));
|
||||
|
||||
var fsArray = [$('select#fs1'), $('select#fs2'), $('select#fs3'), $('select#fs_spt'), $('select#fs_ne_spt')];
|
||||
$(fsArray).each(function(){
|
||||
$self = $(this);
|
||||
$.data($self.get(0), 'lastValue', $('option:selected', $self).val());
|
||||
$self.change(function(){ // Ueberpruefen, ob die Fremdsprache bereits gewaehlt ist
|
||||
$select = $(this);
|
||||
$(fsArray).each(function(){
|
||||
if ($select.val() != '' && $select.attr('id') != $(this).attr('id') && $select.val() == $(this).val()) {
|
||||
alert('Fehler:\n\nDie Fremdsprache wurde bereits ausgewählt.');
|
||||
$select.val($.data($select.get(0), 'lastValue'));
|
||||
return false;
|
||||
}
|
||||
$.data($select.get(0), 'lastValue', $('option:selected', $select).val());
|
||||
});
|
||||
|
||||
//Ueberprüfen ob andere sprache als english ausgewählt wurde & ggf. fremdsprache2 als englisch definieren
|
||||
var fs2_select = $('#fs2');
|
||||
if($select.attr('id') == "fs1" && $select.val() != 'e'){
|
||||
|
||||
fs2_select.find('option[value="e"]').prop('selected', 'selected');
|
||||
fs2_select.prop('disabled', 'disabled');
|
||||
}else{
|
||||
fs2_select.prop('disabled', '');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('select.fs_bis_klasse').change(function(){
|
||||
$select = $(this);
|
||||
var count9 = 0;
|
||||
$('select.fs_bis_klasse').each(function(){
|
||||
if (parseInt($('option:selected', this).val()) == 9) {
|
||||
count9++;
|
||||
}
|
||||
});
|
||||
if (count9 > 1) {
|
||||
alert('Fehler:\n\n1. oder 2. Fremdsprache muss bis Jahrgangsstufe 10 gewählt sein.');
|
||||
$select.val(10);
|
||||
} else if (count9 == 0) {
|
||||
console.log('disable');
|
||||
$('#fs_ne_spt').prop('disabled','disabled');
|
||||
$('#fs_ne_spt').val("");
|
||||
//$('span.fs_ne_spt').hide();
|
||||
} else {
|
||||
console.log('enable');
|
||||
$('#fs_ne_spt').prop('disabled',false);
|
||||
//$('span.fs_ne_spt').show();
|
||||
}
|
||||
});
|
||||
$('select.fs_bis_klasse').trigger('change');
|
||||
|
||||
$(function() {
|
||||
function log( message ) {
|
||||
console.log(message);
|
||||
}
|
||||
|
||||
//function autocompleteOptionSelected(event, ui) {
|
||||
// $.get($input.data('suggestion-accept-source'), { 'tx_ifoberstufenplaner_faecherplaner[schule]': ui.item.uid }, function(data) {
|
||||
// $input.val(ui.item.name);
|
||||
// $('[name="tx_ifoberstufenplaner_faecherplaner[gym_autocomplete_selected_uid]"]').val(ui.item.uid);
|
||||
// Konfigurator.Step1.preConfigureStep1(data);
|
||||
// }, 'json');
|
||||
//}
|
||||
|
||||
$(".schule_autocomplete").each(function(){
|
||||
$input = $(this);
|
||||
if ($input.data('suggestion-source') && $input.data('suggestion-accept-source')) {
|
||||
$input.autocomplete({
|
||||
source: function(request, response) {
|
||||
$.get($input.data('suggestion-source'), { 'tx_ifoberstufenplaner_faecherplaner[query]': request.term }, function(data) {
|
||||
response(data);
|
||||
}, 'json');
|
||||
},
|
||||
minLength: 2,
|
||||
select: function( event, ui ) {
|
||||
console.log(ui);
|
||||
//log( ui.item ?
|
||||
//"Selected: " + ui.item.uid + " aka " + ui.item.name :
|
||||
//"Nothing selected, input was " + this.value );
|
||||
$.get($input.data('suggestion-accept-source'), { 'tx_ifoberstufenplaner_faecherplaner[schule]': ui.item.uid }, function(data) {
|
||||
$input.val(ui.item.name);
|
||||
$('[name="tx_ifoberstufenplaner_faecherplaner[gym_autocomplete_selected_uid]"]').val(ui.item.uid);
|
||||
Konfigurator.Step1.preConfigureStep1(data);
|
||||
}, 'json');
|
||||
},
|
||||
search: function() {
|
||||
if ($('#spinner-loader').size() == 1) {
|
||||
$('#spinner-loader').show();
|
||||
} else {
|
||||
$(this).after('<i class="fa fa-spinner fa-spin" id="spinner-loader"></i>');
|
||||
}
|
||||
},
|
||||
open: function(){
|
||||
$('#spinner-loader').remove();
|
||||
var $uia = $('.ui-autocomplete');
|
||||
$uia.css('width', '300px');
|
||||
if ($uia.position().left+300 > $(window).width()) {
|
||||
$uia.css('left', $(window).width() - 300-20);
|
||||
}
|
||||
},
|
||||
focus: function (event, ui) {
|
||||
this.value = ui.item.name;
|
||||
event.preventDefault(); // Prevent the default focus behavior.
|
||||
}
|
||||
});
|
||||
$input.data("ui-autocomplete")._renderItem = function(ul, item) {
|
||||
return $("<li>")
|
||||
.data("item.autocomplete", item)
|
||||
.append("<a onclick=''>" + item.name + "</a>")
|
||||
.appendTo(ul);
|
||||
};
|
||||
|
||||
// init on start if not empty
|
||||
if ($input.val() != '') {
|
||||
$uidField = $('[name="tx_ifoberstufenplaner_faecherplaner[gym_autocomplete_selected_uid]"]');
|
||||
if ($uidField.val() != '') {
|
||||
|
||||
}
|
||||
//console.log($input.data('ui-autocomplete'));
|
||||
//$input.data('uiAutocomplete')._trigger('select');
|
||||
var item = {
|
||||
name: $input.val(),
|
||||
uid: $uidField.val()
|
||||
};
|
||||
$input.data('ui-autocomplete')._trigger('select', 'autocompleteselect', {item:item});
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
preConfigureStep1: function(schulen) {
|
||||
if (typeof(schulen) != 'undefined' && schulen.length > 0) {
|
||||
var typen = [];
|
||||
var sprachen1 = [];
|
||||
var sprachen2 = [];
|
||||
var sprachen3 = [];
|
||||
$(schulen).each(function(i, schule){
|
||||
var typSplit = schule.K.split(' ');
|
||||
for (var k=0; k<typSplit.length; k++) {
|
||||
if (typSplit[k] == 'SG' || typSplit[k] == 'NTG' || typSplit[k].substr(0, 3) == 'MuG' || typSplit[k] == 'WSG-W' || typSplit[k] == 'WSG-S') {
|
||||
var val = typSplit[k].replace('-', '').toLowerCase();
|
||||
if (jQuery.inArray(val, typen) === -1) {
|
||||
typen.push(val);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (jQuery.inArray(schule.Sprache1, sprachen1) === -1) {
|
||||
sprachen1.push(schule.Sprache1);
|
||||
}
|
||||
if (jQuery.inArray(schule.Sprache2, sprachen2) === -1) {
|
||||
sprachen2.push(schule.Sprache2);
|
||||
}
|
||||
if (jQuery.inArray(schule.Sprache3, sprachen3) === -1) {
|
||||
sprachen3.push(schule.Sprache3);
|
||||
}
|
||||
});
|
||||
|
||||
var fixSelected = false;
|
||||
$('[name="tx_ifoberstufenplaner_faecherplaner[gym_art]"]').each(function(){
|
||||
if (jQuery.inArray($(this).val(), typen) === -1) {
|
||||
$(this).attr('disabled',true);
|
||||
if ($(this).is(':checked')) {
|
||||
fixSelected = true;
|
||||
}
|
||||
} else {
|
||||
$(this).attr('disabled',false);
|
||||
}
|
||||
});
|
||||
if (fixSelected) {
|
||||
$('[name="tx_ifoberstufenplaner_faecherplaner[gym_art]"]').not(':disabled').eq(0).trigger('click');
|
||||
//$('[name="tx_ifoberstufenplaner_faecherplaner[gym_art]"]').not(':disabled').eq(0).prop('checked', true);
|
||||
}
|
||||
// wenn nur eine Option aktiv -> check
|
||||
if ($('[name="tx_ifoberstufenplaner_faecherplaner[gym_art]"]').not(':disabled').size() == 1) {
|
||||
$('[name="tx_ifoberstufenplaner_faecherplaner[gym_art]"]').not(':disabled').eq(0).trigger('click');
|
||||
}
|
||||
// wenn keine Option aktiv -> alle aktivieren
|
||||
if ($('[name="tx_ifoberstufenplaner_faecherplaner[gym_art]"]').not(':disabled').size() == 0) {
|
||||
$('[name="tx_ifoberstufenplaner_faecherplaner[gym_art]"]').attr('disabled', false);
|
||||
}
|
||||
$('[name="tx_ifoberstufenplaner_faecherplaner[fs1]"] option').each(function() {
|
||||
if (jQuery.inArray($(this).text(), sprachen1) === -1) {
|
||||
$(this).attr('disabled',true);
|
||||
} else {
|
||||
$(this).attr('disabled',false);
|
||||
}
|
||||
});
|
||||
if ($('[name="tx_ifoberstufenplaner_faecherplaner[fs1]"] option:selected').is(':disabled')) {
|
||||
$('[name="tx_ifoberstufenplaner_faecherplaner[fs1]"] option').not(':disabled').eq(0).prop('selected', true);
|
||||
}
|
||||
var preselected = false;
|
||||
$('[name="tx_ifoberstufenplaner_faecherplaner[fs2]"] option').each(function() {
|
||||
if (jQuery.inArray($(this).text(), sprachen2) === -1) {
|
||||
$(this).attr('disabled',true);
|
||||
} else {
|
||||
$(this).attr('disabled',false);
|
||||
if (
|
||||
!preselected &&
|
||||
$(this).text() != $('[name="tx_ifoberstufenplaner_faecherplaner[fs1]"] option:selected').text()
|
||||
) {
|
||||
$(this).prop('selected', true);
|
||||
preselected = true;
|
||||
}
|
||||
}
|
||||
});
|
||||
//$('[name="tx_ifoberstufenplaner_faecherplaner[fs2]"] option').each(function(){
|
||||
//
|
||||
//});
|
||||
//if ($('[name="tx_ifoberstufenplaner_faecherplaner[fs2]"] option:selected').is(':disabled')) {
|
||||
// $('[name="tx_ifoberstufenplaner_faecherplaner[fs2]"] option').not(':disabled').eq(0).prop('selected', true);
|
||||
//}
|
||||
var preselected = false;
|
||||
$('[name="tx_ifoberstufenplaner_faecherplaner[fs3]"] option').each(function() {
|
||||
if (jQuery.inArray($(this).text(), sprachen3) === -1) {
|
||||
$(this).attr('disabled',true);
|
||||
} else {
|
||||
$(this).attr('disabled',false);
|
||||
if (
|
||||
!preselected &&
|
||||
$(this).val() != '' &&
|
||||
$(this).text() != $('[name="tx_ifoberstufenplaner_faecherplaner[fs1]"] option:selected').text() &&
|
||||
$(this).text() != $('[name="tx_ifoberstufenplaner_faecherplaner[fs2]"] option:selected').text()
|
||||
) {
|
||||
$(this).prop('selected', true);
|
||||
preselected = true;
|
||||
}
|
||||
}
|
||||
});
|
||||
//if ($('[name="tx_ifoberstufenplaner_faecherplaner[fs3]"] option:selected').is(':disabled')) {
|
||||
// $('[name="tx_ifoberstufenplaner_faecherplaner[fs3]"] option').not(':disabled').eq(0).prop('selected', true);
|
||||
//}
|
||||
}
|
||||
},
|
||||
|
||||
checkGymArt: function(checkbox) {
|
||||
var $fs3Span = $('span.fs3');
|
||||
//var $fsSptSpan = $('span.fs_spt');
|
||||
$fs3Span.hide();
|
||||
|
||||
switch($(checkbox).val()) {
|
||||
case 'sg':
|
||||
$fs3Span.show();
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
||||
configureSelectedGymFromAutocomplete: function(gym) {
|
||||
|
||||
}
|
||||
},
|
||||
Step3: {
|
||||
faecher : {},
|
||||
init: function(faecher) {
|
||||
Konfigurator.Step3.faecher = faecher;
|
||||
var $fs1 = $('select#fs1');
|
||||
var $nw1 = $('select#nw1');
|
||||
var $nw2 = $('select#nw2');
|
||||
if ($nw2.size() > 0) {
|
||||
var fs1Kuerzel = $('option:selected', $fs1).eq(0).val();
|
||||
var nw1Kuerzel = $('option:selected', $nw1).eq(0).val();
|
||||
if ($('option:selected', $nw2).val() == fs1Kuerzel || $('option:selected', $nw2).val() == nw1Kuerzel) {
|
||||
$('option', $nw2).each(function () {
|
||||
if ($(this).val() != fs1Kuerzel && $(this).val() != nw1Kuerzel) {
|
||||
$(this).prop('selected', true);
|
||||
//$(selectBox).trigger('change');
|
||||
return false;
|
||||
}
|
||||
});
|
||||
}
|
||||
$.data($nw2.get(0), 'lastValue', $('option:selected', $nw2).val());
|
||||
this.nw2Changed($nw2.get(0));
|
||||
}
|
||||
$.data($fs1.get(0), 'lastValue', $('option:selected', $fs1).val());
|
||||
$.data($nw1.get(0), 'lastValue', $('option:selected', $nw1).val());
|
||||
|
||||
// register events
|
||||
$fs1.add($nw1).add($nw2).change(function(){
|
||||
Konfigurator.Step3.fachSelectChanged(this);
|
||||
});
|
||||
},
|
||||
nw2Changed: function(selectBox) {
|
||||
var kuerzel = $('option:selected', selectBox).val();
|
||||
var fach = Konfigurator.Step3.faecher[kuerzel];
|
||||
if (fach != null) {
|
||||
$(selectBox).removeClass().addClass(fach.farbe);
|
||||
}
|
||||
},
|
||||
fachSelectChanged: function(selectBox) {
|
||||
var tmp = [];
|
||||
var fachKuerzel = $('option:selected', selectBox).val();
|
||||
$('select#fs1').add('select#nw1').add('select#nw2').each(function(){
|
||||
var $el = $(this);
|
||||
if ($el.get(0) != selectBox) {
|
||||
var tmpKuerzel = $('option:selected', this).val();
|
||||
tmp.push(tmpKuerzel);
|
||||
}
|
||||
});
|
||||
if (tmp.indexOf(fachKuerzel) != -1) {
|
||||
KonfiguratorAlerts.showFachAlreadySelectedAlert(Konfigurator.Step3.faecher[fachKuerzel]['name']);
|
||||
//$(selectBox).val($.data(selectBox, 'lastValue'));
|
||||
} else {
|
||||
$.data(selectBox, 'lastValue', $('option:selected', selectBox).val());
|
||||
if ($(selectBox).is('#nw2')) {
|
||||
this.nw2Changed(selectBox);
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Step4: {
|
||||
faecher: {},
|
||||
init: function (wFaecher, pFaecher) {
|
||||
Konfigurator.Step4.wFaecher = wFaecher;
|
||||
Konfigurator.Step4.pFaecher = pFaecher;
|
||||
|
||||
// register events
|
||||
$('#seminar_w').add('#seminar_p').change(function(){
|
||||
Konfigurator.Step4.fachSelectChanged(this);
|
||||
});
|
||||
$('#seminar_w').add('#seminar_p').trigger('change');
|
||||
},
|
||||
fachSelectChanged: function(selectBox) {
|
||||
var kuerzel = $('option:selected', selectBox).val();
|
||||
if ($(selectBox).is('#seminar_w')) {
|
||||
var fach = Konfigurator.Step4.wFaecher[kuerzel];
|
||||
} else {
|
||||
var fach = Konfigurator.Step4.pFaecher[kuerzel];
|
||||
}
|
||||
if (fach != null) {
|
||||
$(selectBox).removeClass().addClass(fach.farbe);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
var KonfiguratorAlerts = {
|
||||
showFachAlreadySelectedAlert: function(fachName) {
|
||||
alert('Sie haben das Fach '+fachName+' bereits an einer anderen Stelle ausgewählt. Bitte ändern Sie an dieser Stelle Ihre Wahl!');
|
||||
}
|
||||
};
|
||||
36
typo3conf/ext/if_oberstufenplaner/ext_emconf.php
Normal file
36
typo3conf/ext/if_oberstufenplaner/ext_emconf.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
/***************************************************************
|
||||
* Extension Manager/Repository config file for ext: "if_oberstufenplaner"
|
||||
*
|
||||
* Auto generated by Extension Builder 2015-09-29
|
||||
*
|
||||
* Manual updates:
|
||||
* Only the data in the array - anything else is removed by next write.
|
||||
* "version" and "dependencies" must not be touched!
|
||||
***************************************************************/
|
||||
|
||||
$EM_CONF[$_EXTKEY] = array(
|
||||
'title' => 'Oberstufenplaner',
|
||||
'description' => 'Oberstufenplaner - Kultusministerium',
|
||||
'category' => 'plugin',
|
||||
'author' => '',
|
||||
'author_email' => '',
|
||||
'state' => 'alpha',
|
||||
'internal' => '',
|
||||
'uploadfolder' => '0',
|
||||
'createDirs' => '',
|
||||
'clearCacheOnLoad' => 0,
|
||||
'version' => '0.0.1',
|
||||
'constraints' => array(
|
||||
'depends' => array(
|
||||
'typo3' => '6.2',
|
||||
'vhs' => '2.0',
|
||||
't3_tcpdf' => '2.4.0',
|
||||
),
|
||||
'conflicts' => array(
|
||||
),
|
||||
'suggests' => array(
|
||||
),
|
||||
),
|
||||
);
|
||||
BIN
typo3conf/ext/if_oberstufenplaner/ext_icon.gif
Normal file
BIN
typo3conf/ext/if_oberstufenplaner/ext_icon.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 177 B |
16
typo3conf/ext/if_oberstufenplaner/ext_localconf.php
Normal file
16
typo3conf/ext/if_oberstufenplaner/ext_localconf.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
if (!defined('TYPO3_MODE')) {
|
||||
die('Access denied.');
|
||||
}
|
||||
|
||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
||||
'Internetfabrik.' . $_EXTKEY,
|
||||
'Faecherplaner',
|
||||
array(
|
||||
'Faecherplaner' => 'step1, step2, step3, step4, step5, pdf, schuleAutosuggestion, schuleAutosuggestionSelected',
|
||||
),
|
||||
// non-cacheable actions
|
||||
array(
|
||||
'Faecherplaner' => 'step1, step2, step3, step4, step5, pdf, schuleAutosuggestion, schuleAutosuggestionSelected',
|
||||
)
|
||||
);
|
||||
40
typo3conf/ext/if_oberstufenplaner/ext_tables.php
Normal file
40
typo3conf/ext/if_oberstufenplaner/ext_tables.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
if (!defined('TYPO3_MODE')) {
|
||||
die('Access denied.');
|
||||
}
|
||||
|
||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
|
||||
$_EXTKEY,
|
||||
'Faecherplaner',
|
||||
'Faecherplaner'
|
||||
);
|
||||
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Oberstufenplaner');
|
||||
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_ifoberstufenplaner_domain_model_schule');
|
||||
$GLOBALS['TCA']['tx_ifoberstufenplaner_domain_model_schule'] = array(
|
||||
'ctrl' => array(
|
||||
'title' => 'Schule',
|
||||
'label' => 'name',
|
||||
'tstamp' => 'tstamp',
|
||||
'crdate' => 'crdate',
|
||||
'cruser_id' => 'cruser_id',
|
||||
'dividers2tabs' => TRUE,
|
||||
// 'sortby' => 'sorting',
|
||||
'versioningWS' => 2,
|
||||
'versioning_followPages' => TRUE,
|
||||
|
||||
'languageField' => 'sys_language_uid',
|
||||
'transOrigPointerField' => 'l10n_parent',
|
||||
'transOrigDiffSourceField' => 'l10n_diffsource',
|
||||
'delete' => 'deleted',
|
||||
// 'enablecolumns' => array(
|
||||
// 'disabled' => 'hidden',
|
||||
// 'starttime' => 'starttime',
|
||||
// 'endtime' => 'endtime',
|
||||
// ),
|
||||
'searchFields' => 'name',
|
||||
'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Schule.php',
|
||||
// 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_jcmguestbook_domain_model_entry.gif'
|
||||
),
|
||||
);
|
||||
60
typo3conf/ext/if_oberstufenplaner/ext_tables.sql
Normal file
60
typo3conf/ext/if_oberstufenplaner/ext_tables.sql
Normal file
@@ -0,0 +1,60 @@
|
||||
CREATE TABLE tx_ifoberstufenplaner_domain_model_schule (
|
||||
|
||||
uid int(11) NOT NULL auto_increment,
|
||||
pid int(11) DEFAULT '0' NOT NULL,
|
||||
|
||||
name varchar(255) DEFAULT '' NOT NULL,
|
||||
name2 varchar(255) DEFAULT '' NOT NULL,
|
||||
refs int(11) unsigned DEFAULT '0' NOT NULL,
|
||||
|
||||
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
|
||||
crdate int(11) unsigned DEFAULT '0' NOT NULL,
|
||||
cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
|
||||
deleted tinyint(4) unsigned DEFAULT '0' NOT NULL,
|
||||
hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,
|
||||
starttime int(11) unsigned DEFAULT '0' NOT NULL,
|
||||
endtime int(11) unsigned DEFAULT '0' NOT NULL,
|
||||
|
||||
t3ver_oid int(11) DEFAULT '0' NOT NULL,
|
||||
t3ver_id int(11) DEFAULT '0' NOT NULL,
|
||||
t3ver_wsid int(11) DEFAULT '0' NOT NULL,
|
||||
t3ver_label varchar(255) DEFAULT '' NOT NULL,
|
||||
t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
|
||||
t3ver_stage int(11) DEFAULT '0' NOT NULL,
|
||||
t3ver_count int(11) DEFAULT '0' NOT NULL,
|
||||
t3ver_tstamp int(11) DEFAULT '0' NOT NULL,
|
||||
t3ver_move_id int(11) DEFAULT '0' NOT NULL,
|
||||
|
||||
sys_language_uid int(11) DEFAULT '0' NOT NULL,
|
||||
l10n_parent int(11) DEFAULT '0' NOT NULL,
|
||||
l10n_diffsource mediumblob,
|
||||
|
||||
PRIMARY KEY (uid),
|
||||
KEY parent (pid),
|
||||
KEY t3ver_oid (t3ver_oid,t3ver_wsid),
|
||||
KEY language (l10n_parent,sys_language_uid)
|
||||
|
||||
);
|
||||
|
||||
CREATE TABLE tx_ifoberstufenplaner_domain_model_schuleref (
|
||||
GLSchnr int(11) DEFAULT '0',
|
||||
GLIndex int(11) DEFAULT '0',
|
||||
SCHA12 int(11) DEFAULT '0',
|
||||
SCHA34 int(11) DEFAULT '0',
|
||||
SchulGl int(11) DEFAULT '0',
|
||||
VJG int(11) DEFAULT '0',
|
||||
BJG int(11) DEFAULT '0',
|
||||
Ausbau int(11) DEFAULT '0',
|
||||
BESKR int(11) DEFAULT '0'
|
||||
);
|
||||
|
||||
CREATE TABLE tx_ifoberstufenplaner_domain_model_schuletyp (
|
||||
Schulgliederung int(11) DEFAULT '0',
|
||||
L varchar(255) DEFAULT '' NOT NULL,
|
||||
K varchar(255) DEFAULT '' NOT NULL,
|
||||
Sprache1 varchar(255) DEFAULT '' NOT NULL,
|
||||
Sprache2 varchar(255) DEFAULT '' NOT NULL,
|
||||
Sprache3 varchar(255) DEFAULT '' NOT NULL,
|
||||
Sprache4 varchar(255) DEFAULT '' NOT NULL
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user