Project

General

Profile

Bug #22756 ยป 14530_v1.diff

Administrator Admin, 2010-05-30 14:40

View differences:

t3lib/class.t3lib_tsparser_ext.php (working copy)
$alttext .= $row['pid'] ? ' - ' . t3lib_BEfunc::getRecordPath($row['pid'], $GLOBALS['SOBE']->perms_clause, 20) : '';
$icon = substr($row['templateID'],0,3) == 'sys' ? t3lib_iconWorks::getSpriteIconForRecord('sys_template', $row['root'],array('title'=>$alttext)) :
(substr($row['templateID'], 0, 6) == 'static' ? t3lib_iconWorks::getSpriteIconForRecord('static_template', array(),array('title'=>$alttext)) :
(substr($row['templateID'], 0, 6) == 'static' ? t3lib_iconWorks::getSpriteIconForRecord('static_template', array(),array('title'=>$alttext)) :
t3lib_iconWorks::getSpriteIcon('mimetypes-default',array('title'=>$alttext)));
if (in_array($row['templateID'], $this->clearList_const) || in_array($row['templateID'], $this->clearList_setup)) {
$A_B = '<a href="index.php?id=' . $GLOBALS['SOBE']->id . '&template=' . $row['templateID'] . '">';
......
<td nowrap>' . $HTML . '</td>
<td align="center" class="bgColor5">' . ($row['root'] ? t3lib_iconWorks::getSpriteIcon('status-status-checked') : '') . '&nbsp;&nbsp;</td>
<td align="center">' . ($row['clConf'] ? t3lib_iconWorks::getSpriteIcon('status-status-checked') :'') . '&nbsp;&nbsp;' . '</td>
<td align="center" class="bgColor5">' . ($row['clConst'] ? t3lib_iconWorks::getSpriteIcon('status-staus-checked') : '') . '&nbsp;&nbsp;' . '</td>
<td align="center" class="bgColor5">' . ($row['clConst'] ? t3lib_iconWorks::getSpriteIcon('status-status-checked') : '') . '&nbsp;&nbsp;' . '</td>
<td align="center">' . ($row['pid'] ? $row['pid'] : '') . '</td>
<td align="center" class="bgColor5">' . (strcmp($RL, '') ? $RL : '') . '</td>
<td>' . ($row['next'] ? '&nbsp;' . $row['next'] . '&nbsp;&nbsp;' : '') . '</td>
typo3/mod/web/func/index.php (working copy)
t3lib_FlashMessage::INFO
);
$this->content = $flashMessage->render();
// Setting up the buttons and markers for docheader
$docHeaderButtons = $this->getButtons();
$markers['CSH'] = $docHeaderButtons['csh'];
......
if($this->id && is_array($this->pageinfo)) {
// View page
$buttons['view'] = '<a href="#"
onclick="' . htmlspecialchars(t3lib_BEfunc::viewOnClick($this->pageinfo['uid'], $BACK_PATH, t3lib_BEfunc::BEgetRootLine($this->pageinfo['uid']))) . '
$buttons['view'] = '<a href="#"
onclick="' . htmlspecialchars(t3lib_BEfunc::viewOnClick($this->pageinfo['uid'], $BACK_PATH, t3lib_BEfunc::BEgetRootLine($this->pageinfo['uid']))) . '"
title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showPage', 1) . '
">' . t3lib_iconWorks::getSpriteIcon('actions-page-view') . '</a>';
">' . t3lib_iconWorks::getSpriteIcon('actions-document-view') . '</a>';
// Shortcut
if ($BE_USER->mayMakeShortcut()) {
typo3/sysext/scheduler/mod1/index.php (working copy)
$tr = 0;
// Header row
$table[$tr][] = '<a href="#" onclick="toggleCheckboxes();" title="' . $GLOBALS['LANG']->getLL('label.checkAll', TRUE) . '">' . t3lib_iconWorks::getSpriteIcon('actions-clip-select') . '</a>';
$table[$tr][] = '<a href="#" onclick="toggleCheckboxes();" title="' . $GLOBALS['LANG']->getLL('label.checkAll', TRUE) . '">' .
t3lib_iconWorks::getSpriteIcon('actions-document-select') .
'</a>';
$table[$tr][] = '&nbsp;';
$table[$tr][] = $GLOBALS['LANG']->getLL('label.id');
$table[$tr][] = $GLOBALS['LANG']->getLL('task');
......
if (empty($this->CMD) || $this->CMD == 'list') {
$buttons['reload'] = '<a href="' . $GLOBALS['MCONF']['_'] . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.reload', TRUE) . '>' .
t3lib_iconWorks::getSpriteIcon('actions-system-refresh') .
t3lib_iconWorks::getSpriteIcon('actions-system-refresh') .
'</a>';
}
typo3/sysext/tstemplate/ts/index.php (working copy)
if ($this->id && $this->access) {
// View page
$buttons['view'] = '<a href="#" onclick="' . htmlspecialchars(t3lib_BEfunc::viewOnClick($this->pageinfo['uid'], $GLOBALS['BACK_PATH'], t3lib_BEfunc::BEgetRootLine($this->pageinfo['uid']))) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showPage', TRUE) . '">' .
t3lib_iconWorks::getSpriteIcon('actions-document-view') .
t3lib_iconWorks::getSpriteIcon('actions-document-view') .
'</a>';
// If access to Web>List for user, then link to that module.
if ($GLOBALS['BE_USER']->check('modules', 'web_list')) {
$href = $GLOBALS['BACK_PATH'] . 'db_list.php?id=' . $this->pageinfo['uid'] . '&returnUrl=' . rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI'));
$buttons['record_list'] = '<a href="' . htmlspecialchars($href) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList', TRUE) . '">' .
t3lib_iconWorks::getSpriteIcon('actions-system-list-open') .
t3lib_iconWorks::getSpriteIcon('actions-system-list-open') .
'</a>';
}
......
$buttons['save'] = t3lib_iconWorks::getSpriteIcon('actions-document-save',
array(
'html' => '<input type="image" class="c-inputButton" name="submit" src="clear.gif" ' .
'title="'. $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.saveDoc', TRUE) .'" ' .
'value="'. $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.saveDoc', TRUE) .'" ' .
'title="'. $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.saveDoc', TRUE) .'" ' .
'value="'. $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.saveDoc', TRUE) .'" ' .
'/>'
));
......
// CLOSE button
$buttons['close'] = t3lib_iconWorks::getSpriteIcon('actions-document-close',
array(
'html' => '<input type="image" class="c-inputButton" name="abort" src="clear.gif" ' .
'html' => '<input type="image" class="c-inputButton" name="abort" src="clear.gif" ' .
'title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.closeDoc', TRUE) . '" ' .
'value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.closeDoc', TRUE) . '" ' .
'/>'
......
if(!empty($this->sObj)) {
// BACK
$buttons['back'] = '<a href="index.php?id=' . $this->id . '" class="typo3-goBack" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.goBack', TRUE) . '">' .
t3lib_iconWorks::getSpriteIcon('actions-go-back') .
t3lib_iconWorks::getSpriteIcon('actions-go-back') .
'</a>';
}
}
......
$theOutput .= $this->doc->section($GLOBALS['LANG']->getLL('newWebsite') . $staticsText, $GLOBALS['LANG']->getLL('newWebsiteDescription') . '<br />
<br />' .
$selector . '<br />' .
t3lib_iconWorks::getSpriteIcon('status-dialog-warning') .
t3lib_iconWorks::getSpriteIcon('status-dialog-warning') .
'<input type="Submit" name="newWebsite" value="' . $GLOBALS['LANG']->getLL('newWebsiteAction') . '"' . $confirm . '>', 0, 1);
}
// Extension?
$theOutput .= $this->doc->spacer(10);
$theOutput .= $this->doc->section($GLOBALS['LANG']->getLL('extTemplate'), $GLOBALS['LANG']->getLL('extTemplateDescription') . '<br /><br />' .
t3lib_iconWorks::getSpriteIcon('status-dialog-warning') .
t3lib_iconWorks::getSpriteIcon('status-dialog-warning') .
'<input type="submit" name="createExtension" value="' . $GLOBALS['LANG']->getLL('extTemplateAction') . '"' . $confirm . '>', 0, 1);
// Go to first appearing...
    (1-1/1)