Feature #17386 ยป typo3-4.2.1-recordListTitleLength_fix.diff
typo3_src-4.2.1-mod/t3lib/class.t3lib_beuserauth.php 2008-07-21 14:27:58.000000000 +0200 | ||
---|---|---|
'hideSubmoduleIcons' => 0,
|
||
'helpText' => 1,
|
||
'titleLen' => 30,
|
||
'recordListTitleLen' => 30,
|
||
'edit_wideDocument' => '0',
|
||
'edit_showFieldHelp' => 'icon',
|
||
'edit_RTE' => '1',
|
typo3_src-4.2.1-mod/typo3/class.browse_links.php 2008-07-21 14:41:13.000000000 +0200 | ||
---|---|---|
function linkWrapItems($table,$uid,$code,$row) {
|
||
global $TCA, $BACK_PATH;
|
||
$titleLength = $GLOBALS['BE_USER']->uc['recordListTitleLen'];
|
||
if (!$code) {
|
||
$code = '<i>['.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.no_title',1).']</i>';
|
||
} else {
|
||
$code = htmlspecialchars(t3lib_div::fixed_lgd_cs($code,$this->fixedL));
|
||
$code = htmlspecialchars(t3lib_div::fixed_lgd_cs($code,$titleLength));
|
||
}
|
||
$title = t3lib_BEfunc::getRecordTitle($table,$row,FALSE,TRUE);
|
typo3_src-4.2.1-mod/typo3/class.db_list_extra.inc 2008-07-21 14:36:24.000000000 +0200 | ||
---|---|---|
'export' => ''
|
||
);
|
||
$titleLength = $GLOBALS['BE_USER']->uc['recordListTitleLen'];
|
||
// Get users permissions for this page record:
|
||
$localCalcPerms = $GLOBALS['BE_USER']->calcPerms($this->pageRow);
|
||
typo3_src-4.2.1-mod/typo3/class.db_list.inc 2008-07-21 14:41:28.000000000 +0200 | ||
---|---|---|
global $TCA, $LANG;
|
||
$origCode = $code;
|
||
$titleLength = $GLOBALS['BE_USER']->uc['recordListTitleLen'];
|
||
// If the title is blank, make a "no title" label:
|
||
if (!strcmp($code,'')) {
|
||
$code = '<i>['.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.no_title',1).']</i> - '.htmlspecialchars(t3lib_div::fixed_lgd_cs(t3lib_BEfunc::getRecordTitle($table,$row),$GLOBALS['BE_USER']->uc['titleLen']));
|
||
} else {
|
||
$code = htmlspecialchars(t3lib_div::fixed_lgd_cs($code,$this->fixedL));
|
||
$code = htmlspecialchars(t3lib_div::fixed_lgd_cs($code,$titleLength));
|
||
if ($code != htmlspecialchars($origCode)) {
|
||
$code = '<span title="'.htmlspecialchars($origCode).'">'.$code.'</span>';
|
||
}
|
typo3_src-4.2.1-mod/typo3/sysext/setup/mod/index.php 2008-07-21 14:30:57.000000000 +0200 | ||
---|---|---|
$BE_USER->uc['thumbnailsByDefault'] = $d['thumbnailsByDefault'];
|
||
$BE_USER->uc['helpText'] = $d['helpText'];
|
||
$BE_USER->uc['titleLen'] = intval($d['titleLen']);
|
||
$BE_USER->uc['recordListTitleLen'] = intval($d['recordListTitleLen']);
|
||
// Advanced functions:
|
||
$BE_USER->uc['copyLevels'] = t3lib_div::intInRange($d['copyLevels'],0,100);
|
||
... | ... | |
$code[8][2] = '<input id="field_maxTitleLen" type="text" name="data[titleLen]" value="'.$BE_USER->uc['titleLen'].'"'.$GLOBALS['TBE_TEMPLATE']->formWidth(5).' maxlength="5" />';
|
||
$code[8][3] = $this->getCSH('maxTitleLen');
|
||
$code[9][1] = $this->setLabel('maxRecordListTitleLen','recordListTitleLen');
|
||
$code[9][2] = '<input id="field_maxRecordListTitleLen" type="text" name="data[recordListTitleLen]" value="'.$BE_USER->uc['recordListTitleLen'].'"'.$GLOBALS['TBE_TEMPLATE']->formWidth(5).' maxlength="5" />';
|
||
$code[9][3] = $this->getCSH('maxRecordListTitleLen');
|
||
$menuItems[] = array(
|
||
'label' => $LANG->getLL('opening'),
|
||
'content' => $this->doc->spacer(20).$this->doc->table($code)
|
typo3_src-4.2.1-mod/typo3/sysext/setup/mod/locallang.xml 2008-07-21 14:31:18.000000000 +0200 | ||
---|---|---|
<label index="emailMeAtLogin">Notify me by email, when somebody logs in <br />from my account</label>
|
||
<label index="helpText">Show help text when applicable</label>
|
||
<label index="maxTitleLen">Max. Title Length</label>
|
||
<label index="maxRecordListTitleLen">Max. Record List Title Length</label>
|
||
<label index="edit_showFieldHelp">Context Sensitive Help mode</label>
|
||
<label index="edit_showFieldHelp_none">Display no help information</label>
|
||
<label index="edit_showFieldHelp_icon">Display help icon only</label>
|