00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00031 require_once(t3lib_extMgm::extPath("kickstarter")."class.tx_kickstarter_sectionbase.php");
00032
00033 class tx_kickstarter_section_tsconfig extends tx_kickstarter_sectionbase {
00034 var $sectionID = 'tsconfig';
00035
00039 function render_wizard() {
00040 $lines=array();
00041
00042 $action = explode(":",$this->wizard->modData["wizAction"]);
00043 if ($action[0]=="edit") {
00044 $action[1]=1;
00045 $this->regNewEntry($this->sectionID,$action[1]);
00046
00047 $lines = $this->catHeaderLines($lines,$this->sectionID,$this->wizard->options[$this->sectionID]," ",$action[1]);
00048 $piConf = $this->wizard->wizArray[$this->sectionID][$action[1]];
00049 $ffPrefix='['.$this->sectionID.']['.$action[1].']';
00050
00051
00052 $subContent="<strong>Default Page TSconfig:</strong><BR>".
00053 $this->renderTextareaBox($ffPrefix."[page_TSconfig]",$piConf["page_TSconfig"]);
00054 $lines[]='<tr'.$this->bgCol(3).'><td>'.$this->fw($subContent).'</td></tr>';
00055
00056
00057 $subContent="<strong>Default User TSconfig:</strong><BR>".
00058 $this->renderTextareaBox($ffPrefix."[user_TSconfig]",$piConf["user_TSconfig"]);
00059 $lines[]='<tr'.$this->bgCol(3).'><td>'.$this->fw($subContent).'</td></tr>';
00060 }
00061
00062
00063 if(is_array($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['kickstarter']['add_cat_tsconfig'])) {
00064 foreach($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['kickstarter']['add_cat_tsconfig'] as $_funcRef) {
00065 $lines = t3lib_div::callUserFunction($_funcRef, $lines, $this);
00066 }
00067 }
00068
00069 $content = '<table border=0 cellpadding=2 cellspacing=2>'.implode("",$lines).'</table>';
00070 return $content;
00071 }
00072
00073
00074
00078 function render_extPart($k,$config,$extKey) {
00079
00080 }
00081
00082 }
00083
00084
00085
00086 if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/kickstarter/sections/class.tx_kickstarter_section_tsconfig.php']) {
00087 include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/kickstarter/sections/class.tx_kickstarter_section_tsconfig.php']);
00088 }
00089 ?>