Public Member Functions | |
| template () | |
| Constructor Imports relevant parts from global $TBE_STYLES (colorscheme). | |
| wrapClickMenuOnIcon ($str, $table, $uid='', $listFr=1, $addParams='', $enDisItems='', $returnOnClick=FALSE) | |
| Makes click menu link (context sensitive menu) Returns $str (possibly an <|img> tag/icon) wrapped in a link which will activate the context sensitive menu for the record ($table/$uid) or file ($table = file) The link will load the top frame with the parameter "&item" which is the table,uid and listFr arguments imploded by "|": rawurlencode($table.'|'.$uid.'|'.$listFr). | |
Public Attributes | |
| $backPath = '' | |
| $form = '' | |
| $JScode = '' | |
| $JScodeArray = array() | |
| $postCode = '' | |
| $docType = '' | |
| $scriptID = '' | |
| $bodyTagId = '' | |
| $bodyTagAdditions = '' | |
| $inDocStyles = '' | |
| $inDocStylesArray = array() | |
| $form_rowsToStylewidth = 9.58 | |
| $form_largeComp = 1.33 | |
| $endJS = 1 | |
| $bgColor = '#F7F3EF' | |
| $bgColor2 = '#9BA1A8' | |
| $bgColor3 = '#F6F2E6' | |
| $bgColor4 = '#D9D5C9' | |
| $bgColor5 = '#ABBBB4' | |
| $bgColor6 = '#E7DBA8' | |
| $hoverColor = '#254D7B' | |
| $styleSheetFile = 'stylesheet.css' | |
| $styleSheetFile2 = '' | |
| $styleSheetFile_post = '' | |
| $backGroundImage = '' | |
| $inDocStyles_TBEstyle = '' | |
| $parseTimeFlag = 0 | |
| $charset = 'iso-8859-1' | |
| $sectionFlag = 0 | |
| $divClass = '' | |
|
|
Constructor Imports relevant parts from global $TBE_STYLES (colorscheme).
Definition at line 216 of file template.php. References $TBE_STYLES, PATH_site, PATH_thisScript, and TYPO3_mainDir. 00216 {
00217 global $TBE_STYLES;
00218
00219 // Setting default scriptID:
00220 $this->scriptID = ereg_replace('^.*\/(sysext|ext)\/','ext/',substr(PATH_thisScript,strlen(PATH_site)));
00221 if (TYPO3_mainDir!='typo3/' && substr($this->scriptID,0,strlen(TYPO3_mainDir)) == TYPO3_mainDir) {
00222 $this->scriptID = 'typo3/'.substr($this->scriptID,strlen(TYPO3_mainDir)); // This fixes if TYPO3_mainDir has been changed so the script ids are STILL "typo3/..."
00223 }
00224
00225 $this->bodyTagId = ereg_replace('[^[:alnum:]-]','-',$this->scriptID);
00226
00227 // Individual configuration per script? If so, make a recursive merge of the arrays:
00228 if (is_array($TBE_STYLES['scriptIDindex'][$this->scriptID])) {
00229 $ovr = $TBE_STYLES['scriptIDindex'][$this->scriptID]; // Make copy
00230 $TBE_STYLES = t3lib_div::array_merge_recursive_overrule($TBE_STYLES,$ovr); // merge styles.
00231 unset($TBE_STYLES['scriptIDindex'][$this->scriptID]); // Have to unset - otherwise the second instantiation will do it again!
00232 }
00233
00234 // Color scheme:
00235 if ($TBE_STYLES['mainColors']['bgColor']) $this->bgColor=$TBE_STYLES['mainColors']['bgColor'];
00236 if ($TBE_STYLES['mainColors']['bgColor1']) $this->bgColor1=$TBE_STYLES['mainColors']['bgColor1'];
00237 if ($TBE_STYLES['mainColors']['bgColor2']) $this->bgColor2=$TBE_STYLES['mainColors']['bgColor2'];
00238 if ($TBE_STYLES['mainColors']['bgColor3']) $this->bgColor3=$TBE_STYLES['mainColors']['bgColor3'];
00239 if ($TBE_STYLES['mainColors']['bgColor4']) $this->bgColor4=$TBE_STYLES['mainColors']['bgColor4'];
00240 if ($TBE_STYLES['mainColors']['bgColor5']) $this->bgColor5=$TBE_STYLES['mainColors']['bgColor5'];
00241 if ($TBE_STYLES['mainColors']['bgColor6']) $this->bgColor6=$TBE_STYLES['mainColors']['bgColor6'];
00242 if ($TBE_STYLES['mainColors']['hoverColor']) $this->hoverColor=$TBE_STYLES['mainColors']['hoverColor'];
00243
00244 // Main Stylesheets:
00245 if ($TBE_STYLES['stylesheet']) $this->styleSheetFile = $TBE_STYLES['stylesheet'];
00246 if ($TBE_STYLES['stylesheet2']) $this->styleSheetFile2 = $TBE_STYLES['stylesheet2'];
00247 if ($TBE_STYLES['styleSheetFile_post']) $this->styleSheetFile_post = $TBE_STYLES['styleSheetFile_post'];
00248 if ($TBE_STYLES['inDocStyles_TBEstyle']) $this->inDocStyles_TBEstyle = $TBE_STYLES['inDocStyles_TBEstyle'];
00249
00250 // Background image
00251 if ($TBE_STYLES['background']) $this->backGroundImage = $TBE_STYLES['background'];
00252 }
|
|
||||||||||||||||||||||||||||||||
|
Makes click menu link (context sensitive menu) Returns $str (possibly an <|img> tag/icon) wrapped in a link which will activate the context sensitive menu for the record ($table/$uid) or file ($table = file) The link will load the top frame with the parameter "&item" which is the table,uid and listFr arguments imploded by "|": rawurlencode($table.'|'.$uid.'|'.$listFr).
Definition at line 290 of file template.php. |
|
|
Definition at line 193 of file template.php. |
|
|
Definition at line 164 of file template.php. Referenced by wrapClickMenuOnIcon(). |
|
|
Definition at line 183 of file template.php. |
|
|
Definition at line 184 of file template.php. |
|
|
Definition at line 185 of file template.php. |
|
|
Definition at line 186 of file template.php. |
|
|
Definition at line 187 of file template.php. |
|
|
Definition at line 188 of file template.php. |
|
|
Definition at line 174 of file template.php. |
|
|
Definition at line 173 of file template.php. |
|
|
Definition at line 200 of file template.php. |
|
|
Reimplemented in bigDoc, noDoc, smallDoc, and mediumDoc. Definition at line 203 of file template.php. |
|
|
Definition at line 169 of file template.php. |
|
|
Definition at line 179 of file template.php. |
|
|
Definition at line 165 of file template.php. |
|
|
Definition at line 178 of file template.php. |
|
|
Definition at line 177 of file template.php. |
|
|
Definition at line 189 of file template.php. |
|
|
Definition at line 175 of file template.php. |
|
|
Definition at line 194 of file template.php. |
|
|
Definition at line 176 of file template.php. |
|
|
Definition at line 166 of file template.php. |
|
|
Definition at line 167 of file template.php. |
|
|
Definition at line 197 of file template.php. |
|
|
Definition at line 168 of file template.php. |
|
|
Definition at line 172 of file template.php. |
|
|
Definition at line 202 of file template.php. |
|
|
Definition at line 190 of file template.php. |
|
|
Definition at line 191 of file template.php. |
|
|
Definition at line 192 of file template.php. |
1.3.8-20040913