Project

General

Profile

Bug #22826 » 14636_csh.diff

Administrator Admin, 2010-06-06 18:12

View differences:

t3lib/class.t3lib_befunc.php (Arbeitskopie)
if (is_array($TCA_DESCR[$table]) && is_array($TCA_DESCR[$table]['columns'][$field]) && (isset($BE_USER->uc['edit_showFieldHelp']) || $force)) {
if ($BE_USER->uc['edit_showFieldHelp'] == 'icon') {
$text = t3lib_BEfunc::helpText($table, $field, $BACK_PATH, '');
$text = '<span class="typo3-csh-inline">'.$GLOBALS['LANG']->hscAndCharConv($text, false).'</span>';
$text = '<div class="typo3-csh-inline">' . $GLOBALS['LANG']->hscAndCharConv($text, false) . '</div>';
}
return '<a class="typo3-csh-link" href="#" onclick="'.htmlspecialchars($onClick).'">' . t3lib_iconWorks::getSpriteIcon('actions-system-help-open', array('class' => 'typo3-csh-icon')) . $text.'</a>';
}
......
}
// add description text
if ($data['description'] || $arrow) {
$output = '<span class="paragraph">'.nl2br(htmlspecialchars($data['description'])).$arrow.'</span>';
$output = '<p class="t3-csh-short">' . nl2br(htmlspecialchars($data['description'])) . $arrow . '</p>';
}
// put header before the rest of the text
if ($data['alttitle']) {
$output = '<span class="header">'.$data['alttitle'].'</span><br />'.$output;
$output = '<h2 class="t3-row-header">' . $data['alttitle'] . '</h2>' . $output;
}
}
return $output;
......
// Compile table with CSH information:
$fullText = '<table border="0" cellpadding="0" cellspacing="0" class="typo3-csh-inline"'.$params.'>
<tr>
<td valign="top" width="14">'.$icon.'</td>
<td valign="top" width="14"><div class="t3-row-header">' . $icon . '</div></td>
<td valign="top">'.$fullText.'</td>
</tr>
</table>';
typo3/sysext/t3skin/stylesheets/structure/element_csh.css (Arbeitskopie)
margin-right: 0;
}
a.typo3-csh-link span.typo3-csh-inline {
a.typo3-csh-link .typo3-csh-inline {
display: none;
padding: 0px;
position: absolute;
......
z-index: 100;
}
a.typo3-csh-link .typo3-csh-inline.show-right {
right: 10px;
}
table.typo3-csh-inline a.typo3-csh-link,
table.typo3-csh-inline span.header,
span.typo3-csh-inline span.header,
a.typo3-csh-link span.typo3-csh-inline span.header {
table.typo3-csh-inline span.t3-row-header,
span.typo3-csh-inline span.t3-row-header,
a.typo3-csh-link span.typo3-csh-inline span.t3-row-header {
display: block;
}
a.typo3-csh-link:hover span.typo3-csh-inline {
a.typo3-csh-link:hover .typo3-csh-inline {
display: block;
}
table.typo3-csh-inline a.typo3-csh-link,
table.typo3-csh-inline span.header {
height: 16px;
.typo3-csh-inline h2.t3-row-header {
margin: 0;
height: auto;
}
span.typo3-csh-inline span.header,
table.typo3-csh-inline span.header {
float: left;
width: 100%;
.typo3-csh-inline p.t3-csh-short {
padding: 3px;
}
table.typo3-csh-inline a.typo3-csh-link {
height: 16px;
}
table.typo3-csh-inline tr td h4 {
margin-top: 0px;
margin-bottom: 0px;
......
padding: 3px;
}
img.typo3-csh-icon {
vertical-align: middle;
}
typo3/sysext/t3skin/stylesheets/visual/element_csh.css (Arbeitskopie)
border: 1px solid #a2aab8;
}
span.typo3-csh-inline {
.typo3-csh-inline {
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
-webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
line-height: 16px;
}
a.typo3-csh-link span.typo3-csh-inline {
a.typo3-csh-link .typo3-csh-inline {
background: #ffffff;
border: 1px solid #050505;
color: #000000;
font-weight: normal;
}
table.typo3-csh-inline a.typo3-csh-link,
table.typo3-csh-inline span.header,
span.typo3-csh-inline span.header,
a.typo3-csh-link span.typo3-csh-inline span.header {
background-color: #b8bec9;
background-image: url('../../icons/gfx/alt_menu_mainitem_bg.gif');
background-repeat: repeat-x;
color: white;
div.typo3-csh-inline p.t3-csh-short {
border: #b6b6b6 1px solid;
border-top: none;
}
span.typo3-csh-inline span.header,
table.typo3-csh-inline span.header {
font-weight: bold;
}
img.typo3-csh-icon {
cursor: help;
}
(2-2/10)