Bug #22726 » 14490-binary.diff
t3lib/class.t3lib_tceforms.php (Arbeitskopie) | ||
---|---|---|
// Wrapping all table rows for a particular record being edited:
|
||
$this->totalWrap='
|
||
<h2>###PAGE_TITLE###</h2>
|
||
<table class="typo3-TCEforms">'.
|
||
'<tr class="typo3-TCEforms-recHeaderRow bgColor2">
|
||
'<tr class="typo3-TCEforms-recHeaderRow">
|
||
<td colspan="2">###RECORD_ICON### <span class="typo3-TCEforms-recHeader">###TABLE_TITLE###</span> ###ID_NEW_INDICATOR### - ###RECORD_LABEL###</td>
|
||
</tr>'.
|
||
'|'.
|
||
... | ... | |
#t3lib_BEfunc::fixVersioningPid($table,$rec); // Kasper: Should not be used here because NEW records are not offline workspace versions...
|
||
$truePid = t3lib_BEfunc::getTSconfig_pidValue($table,$rec['uid'],$rec['pid']);
|
||
$prec = t3lib_BEfunc::getRecordWSOL('pages',$truePid,'title');
|
||
$rLabel = '<em>[PID: '.$truePid.'] ' . t3lib_BEfunc::getRecordTitle('pages', $prec, TRUE, FALSE) . '</em>';
|
||
$pageTitle = t3lib_BEfunc::getRecordTitle('pages', $prec, TRUE, FALSE);
|
||
$rLabel = '<em>[PID: '.$truePid.'] ' . $pageTitle . '</em>';
|
||
} else {
|
||
$newLabel = ' <span class="typo3-TCEforms-recUid">['.$rec['uid'].']</span>';
|
||
$rLabel = t3lib_BEfunc::getRecordTitle($table, $rec, TRUE, FALSE);
|
||
$prec = t3lib_BEfunc::getRecordWSOL('pages',$rec['pid'],'title');
|
||
$pageTitle = t3lib_BEfunc::getRecordTitle('pages', $prec, TRUE, FALSE);
|
||
}
|
||
foreach ($arr as $k => $v) {
|
||
// Make substitutions:
|
||
$arr[$k] = str_replace('###PAGE_TITLE###', $pageTitle, $arr[$k]);
|
||
$arr[$k] = str_replace('###ID_NEW_INDICATOR###', $newLabel, $arr[$k]);
|
||
$arr[$k] = str_replace('###RECORD_LABEL###',$rLabel,$arr[$k]);
|
||
$arr[$k] = str_replace('###TABLE_TITLE###',htmlspecialchars($this->sL($TCA[$table]['ctrl']['title'])),$arr[$k]);
|
t3lib/class.t3lib_clipboard.php (Arbeitskopie) | ||
---|---|---|
if (!count($lines)) {
|
||
$lines[]='
|
||
<tr>
|
||
<td class="bgColor4"><img src="clear.gif" width="56" height="1" alt="" /></td>
|
||
<td colspan="2" class="bgColor4" nowrap="nowrap" width="95%"> <em>('.$this->clLabel('clipNoEl').')</em> </td>
|
||
<td><img src="clear.gif" width="56" height="1" alt="" /></td>
|
||
<td colspan="2" nowrap="nowrap" width="95%"> <em>(' . $this->clLabel('clipNoEl') . ')</em> </td>
|
||
</tr>';
|
||
}
|
||
t3lib/class.t3lib_compressor.php (Arbeitskopie) | ||
---|---|---|
foreach ($matches[2] as $matchCount => $match) {
|
||
// remove '," or white-spaces around
|
||
$match = preg_replace('/[\"\'\s]/', '', $match);
|
||
$newPath = t3lib_div::resolveBackPath('../../' . TYPO3_mainDir . $oldDir . $match);
|
||
$contents = str_replace($matches[1][$matchCount], '(\'' . $newPath . '\')', $contents);
|
||
// we must not rewrite data uris (see RFC 2397)
|
||
if (strpos($match, ':') === FALSE) {
|
||
$newPath = t3lib_div::resolveBackPath('../../' . TYPO3_mainDir . $oldDir . $match);
|
||
$contents = str_replace($matches[1][$matchCount], '(\'' . $newPath . '\')', $contents);
|
||
}
|
||
}
|
||
return $contents;
|
||
}
|
||
... | ... | |
}
|
||
}
|
||
}
|
||
?>
|
||
?>
|
t3lib/class.t3lib_tsparser_ext.php (Arbeitskopie) | ||
---|---|---|
$A_E = '';
|
||
}
|
||
$HTML .= ($first ? '' : '<img src="' . $GLOBALS['BACK_PATH'] . 'gfx/ol/' . $PM . $BTM . '.gif" width="18" height="16" align="top" border="0" />') .
|
||
$icon .
|
||
$icon .
|
||
$A_B . t3lib_div::fixed_lgd_cs($row['title'], $GLOBALS['BE_USER']->uc['titleLen']) . $A_E . ' ';
|
||
$RL = $this->ext_getRootlineNumber($row['pid']);
|
||
$keyArray[] = '<tr class="' . ($i++ % 2 == 0 ? 'bgColor4' : 'bgColor6') . '">
|
||
$keyArray[] = '<tr class="' . ($i++ % 2 == 0 ? '' : 'bgColor6') . '">
|
||
<td nowrap>' . $HTML . '</td>
|
||
<td align="center" class="bgColor5">' . ($row['root'] ? t3lib_iconWorks::getSpriteIcon('status-status-checked') : '') . ' </td>
|
||
<td align="center">' . ($row['clConf'] ? t3lib_iconWorks::getSpriteIcon('status-status-checked') :'') . ' ' . '</td>
|
typo3/class.webpagetree.php (Arbeitskopie) | ||
---|---|---|
$PM = t3lib_div::_GP('PM');
|
||
if(($PMpos = strpos($PM, '#')) !== false) { $PM = substr($PM, 0, $PMpos); }
|
||
$PM = explode('_', $PM);
|
||
if((TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_AJAX) && is_array($PM) && count($PM)==4) {
|
||
if((TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_AJAX) && is_array($PM) && count($PM) == 4 && $PM[2] != 0) {
|
||
if($PM[1]) {
|
||
$expandedPageUid = $PM[2];
|
||
$ajaxOutput = '';
|
||
... | ... | |
// Set first:
|
||
$this->bank = $idx;
|
||
$isOpen = $this->stored[$idx][$uid] || $this->expandFirst;
|
||
$isOpen = $this->stored[$idx][$uid] || $this->expandFirst || $uid === '0';
|
||
// Save ids while resetting everything else.
|
||
$curIds = $this->ids;
|
||
... | ... | |
// Set PM icon for root of mount:
|
||
$cmd = $this->bank.'_'.($isOpen? "0_" : "1_").$uid.'_'.$this->treeName;
|
||
$icon='<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/ol/'.($isOpen? 'minus' :'plus' ) . 'only.gif').' alt="" />';
|
||
$firstHtml = $this->PMiconATagWrap($icon,$cmd,!$isOpen);
|
||
// only, if not for uid 0
|
||
if ($uid) {
|
||
$icon = '<img' . t3lib_iconWorks::skinImg($this->backPath,'gfx/ol/' . ($isOpen ? 'minus' :'plus' ) . 'only.gif') . ' alt="" />';
|
||
$firstHtml = $this->PMiconATagWrap($icon, $cmd, !$isOpen);
|
||
}
|
||
// Preparing rootRec for the mount
|
||
if ($uid) {
|
typo3/class.browse_links.php (Arbeitskopie) | ||
---|---|---|
// Show element:
|
||
if ($pDim) { // Image...
|
||
$lines[]='
|
||
<tr class="bgColor4">
|
||
<tr>
|
||
<td nowrap="nowrap">'.$filenameAndIcon.' </td>
|
||
<td>'.$ATag.'<img'.t3lib_iconWorks::skinImg($BACK_PATH,'gfx/plusbullet2.gif','width="18" height="16"').' title="'.$LANG->getLL('addToList',1).'" alt="" />'.$ATag_e.'</td>
|
||
<td nowrap="nowrap">'.($ATag2.'<img'.t3lib_iconWorks::skinImg($BACK_PATH,'gfx/zoom2.gif','width="12" height="12"').' title="'.$LANG->getLL('info',1).'" alt="" /> '.$LANG->getLL('info',1).$ATag2_e).'</td>
|
||
... | ... | |
</tr>';
|
||
} else {
|
||
$lines[]='
|
||
<tr class="bgColor4">
|
||
<tr>
|
||
<td nowrap="nowrap">'.$filenameAndIcon.' </td>
|
||
<td>'.$ATag.'<img'.t3lib_iconWorks::skinImg($BACK_PATH,'gfx/plusbullet2.gif','width="18" height="16"').' title="'.$LANG->getLL('addToList',1).'" alt="" />'.$ATag_e.'</td>
|
||
<td nowrap="nowrap">'.($ATag2.'<img'.t3lib_iconWorks::skinImg($BACK_PATH,'gfx/zoom2.gif','width="12" height="12"').' title="'.$LANG->getLL('info',1).'" alt="" /> '.$LANG->getLL('info',1).$ATag2_e).'</td>
|
||
... | ... | |
<!--
|
||
File listing
|
||
-->
|
||
<table border="0" cellpadding="0" cellspacing="1" id="typo3-fileList">
|
||
<table cellpadding="0" cellspacing="0" id="typo3-fileList">
|
||
'.implode('',$lines).'
|
||
</table>';
|
||
}
|
typo3/class.db_list.inc (Arbeitskopie) | ||
---|---|---|
<!--
|
||
Search box:
|
||
-->
|
||
<table border="0" cellpadding="0" cellspacing="0" class="bgColor4" id="typo3-dblist-search">
|
||
<table border="0" cellpadding="0" cellspacing="0" id="typo3-dblist-search">
|
||
<tr>
|
||
<td>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.enterSearchString',1).'<input type="text" name="search_field" value="'.htmlspecialchars($this->searchString).'"'.$GLOBALS['TBE_TEMPLATE']->formWidth(10).' /></td>
|
||
<td>'.$lMenu.'</td>
|
typo3/alt_main.php (Arbeitskopie) | ||
---|---|---|
// Internal, static:
|
||
var $leftMenuFrameW = 130;
|
||
var $selMenuFrame = 130;
|
||
var $topFrameH = 32;
|
||
var $shortcutFrameH = 30;
|
||
... | ... | |
if ($TBE_STYLES['dims']['leftMenuFrameW']) $this->leftMenuFrameW = $TBE_STYLES['dims']['leftMenuFrameW'];
|
||
if ($TBE_STYLES['dims']['topFrameH']) $this->topFrameH = $TBE_STYLES['dims']['topFrameH'];
|
||
if ($TBE_STYLES['dims']['shortcutFrameH']) $this->shortcutFrameH = $TBE_STYLES['dims']['shortcutFrameH'];
|
||
if ($TBE_STYLES['dims']['selMenuFrame']) $this->selMenuFrame = $TBE_STYLES['dims']['selMenuFrame'];
|
||
}
|
||
/**
|
||
... | ... | |
$shortcutFrame['frameDef']='<frame name="shortcutFrame" src="alt_shortcut.php" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" noresize="noresize" />';
|
||
}
|
||
// XHTML notice: ' framespacing="0" frameborder="0" border="0"' in FRAMESET elements breaks compatibility with XHTML-frames, but HOW ELSE can I control the visual appearance?
|
||
if ($GLOBALS['BE_USER']->uc['noMenuMode']) {
|
||
$this->content.= '
|
||
<frameset rows="'.$this->topFrameH.',*'.$shortcutFrame['rowH'].'" framespacing="0" frameborder="0" border="0">
|
||
'.(!strcmp($BE_USER->uc['noMenuMode'],'icons') ? '
|
||
<frameset cols="'.$this->leftMenuFrameW.',*" framespacing="0" frameborder="0" border="0">
|
||
'.$fr_toplogo.'
|
||
'.$fr_topmenu.'
|
||
</frameset>' : '
|
||
<frameset cols="'.$this->leftMenuFrameW.','.$this->selMenuFrame.',*" framespacing="0" frameborder="0" border="0">
|
||
'.$fr_toplogo.'
|
||
<frame name="menu" src="alt_menu_sel.php" scrolling="no" noresize="noresize" />
|
||
'.$fr_topmenu.'
|
||
</frameset>').'
|
||
'.$fr_content.'
|
||
'.$shortcutFrame['frameDef'].'
|
||
$this->content .= '
|
||
<frameset rows="' . $this->topFrameH . ',*' . $shortcutFrame['rowH'] .'" framespacing="0" frameborder="0" border="0">
|
||
<frameset cols="' . $this->leftMenuFrameW . ',*" framespacing="0" frameborder="0" border="0">
|
||
' . $fr_toplogo . '
|
||
' . $fr_topmenu . '
|
||
</frameset>
|
||
';
|
||
} else {
|
||
$this->content.='
|
||
<frameset rows="'.$this->topFrameH.',*'.$shortcutFrame['rowH'].'" framespacing="0" frameborder="0" border="0">
|
||
<frameset cols="'.$this->leftMenuFrameW.',*" framespacing="0" frameborder="0" border="0">
|
||
'.$fr_toplogo.'
|
||
'.$fr_topmenu.'
|
||
</frameset>
|
||
<frameset cols="'.$this->leftMenuFrameW.',*" framespacing="0" frameborder="0" border="0">
|
||
<frame name="menu" src="alt_menu.php" marginwidth="0" marginheight="0" scrolling="auto" noresize="noresize" />
|
||
'.$fr_content.'
|
||
</frameset>
|
||
'.$shortcutFrame['frameDef'].'
|
||
<frameset cols="' . $this->leftMenuFrameW . ',*" framespacing="0" frameborder="0" border="0">
|
||
<frame name="menu" src="alt_menu.php" marginwidth="0" marginheight="0" scrolling="auto" noresize="noresize" />
|
||
' . $fr_content . '
|
||
</frameset>
|
||
';
|
||
}
|
||
$this->content.='
|
||
' . $shortcutFrame['frameDef'] . '
|
||
</frameset>
|
||
</html>';
|
||
}
|
||
typo3/js/pagetreefiltermenu.js (Revision 0) | ||
---|---|---|
/***************************************************************
|
||
* Copyright notice
|
||
*
|
||
* (c) 2010 Jigal van Hemert <jigal@xs4all.nl>
|
||
* All rights reserved
|
||
*
|
||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||
* free software; you can redistribute it and/or modify
|
||
* it under the terms of the GNU General Public License as published by
|
||
* the Free Software Foundation; either version 2 of the License, or
|
||
* (at your option) any later version.
|
||
*
|
||
* The GNU General Public License can be found at
|
||
* http://www.gnu.org/copyleft/gpl.html.
|
||
* A copy is found in the textfile GPL.txt and important notices to the license
|
||
* from the author is found in LICENSE.txt distributed with these scripts.
|
||
*
|
||
*
|
||
* This script is distributed in the hope that it will be useful,
|
||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
* GNU General Public License for more details.
|
||
*
|
||
* This copyright notice MUST APPEAR in all copies of the script!
|
||
***************************************************************/
|
||
/**
|
||
* class to handle the pagetree filter menu
|
||
*
|
||
* $Id$
|
||
*/
|
||
var PagetreeFilterMenu = Class.create({
|
||
/**
|
||
* registers for resize event listener and executes on DOM ready
|
||
*/
|
||
initialize: function() {
|
||
Ext.onReady(function() {
|
||
Ext.get('tree-toolbar-filter-item').on('click', this.toggleMenu);
|
||
}, this);
|
||
},
|
||
/**
|
||
* toggles the visibility of the filter
|
||
*/
|
||
toggleMenu: function(event) {
|
||
var toolbarItem = Ext.get('tree-toolbar-filter-item');
|
||
var treeFilterBox = Ext.get('treeFilterBox');
|
||
var treeFilterReset = Ext.get('treeFilterReset');
|
||
toolbarItem.blur();
|
||
if (toolbarItem.hasClass('active')) {
|
||
treeFilterBox.fadeOut();
|
||
treeFilterReset.fadeOut();
|
||
} else {
|
||
treeFilterBox.fadeIn();
|
||
}
|
||
toolbarItem.toggleClass('active');
|
||
}
|
||
});
|
||
var TYPO3BackendFilterMenu = new PagetreeFilterMenu();
|
typo3/show_item.php (Arbeitskopie) | ||
---|---|---|
$tableRows[] = '
|
||
<tr>
|
||
<td class="bgColor5">'.$GLOBALS['LANG']->sL(t3lib_BEfunc::getItemLabel($this->table,$name),1).'</td>
|
||
<td class="bgColor4">'.htmlspecialchars(t3lib_BEfunc::getProcessedValue($this->table,$name,$this->row[$name])).'</td>
|
||
<td>' . htmlspecialchars(t3lib_BEfunc::getProcessedValue($this->table, $name, $this->row[$name])) . '</td>
|
||
</tr>';
|
||
}
|
||
}
|
||
... | ... | |
'</tr>';
|
||
}
|
||
foreach($rows as $row) {
|
||
$infoData[] = '<tr class="bgColor4"">' .
|
||
$infoData[] = '<tr>' .
|
||
'<td>'.$row['tablename'].'</td>' .
|
||
'<td>'.$row['recuid'].'</td>' .
|
||
'<td>'.$row['field'].'</td>'.
|
||
... | ... | |
'</tr>';
|
||
}
|
||
foreach($rows as $row) {
|
||
$infoData[] = '<tr class="bgColor4"">' .
|
||
$infoData[] = '<tr>' .
|
||
'<td>'.$row['field'].'</td>'.
|
||
'<td>'.$row['flexpointer'].'</td>'.
|
||
'<td>'.$row['softref_key'].'</td>'.
|
typo3/class.file_list.inc (Arbeitskopie) | ||
---|---|---|
$theData[$v] = $theT;
|
||
}
|
||
}
|
||
$out.=$this->addelement(1, $levelUp, $theData, ' class="c-headLine"', '');
|
||
$out.=$iOut;
|
||
$out .= '<thead>' . $this->addelement(1, $levelUp, $theData, ' class="t3-row-header"', '') . '</thead>';
|
||
$out .= '<tbody>' . $iOut . '</tbody>';
|
||
// half line is drawn
|
||
... | ... | |
<!--
|
||
File list table:
|
||
-->
|
||
<table border="0" cellpadding="0" cellspacing="1" id="typo3-filelist">
|
||
<table cellpadding="0" cellspacing="0" id="typo3-filelist">
|
||
'.$out.'
|
||
</table>';
|
||
}
|
||
... | ... | |
break;
|
||
}
|
||
}
|
||
$altRows = 'class="' . ($i++ % 2 == 0 ? 'bgColor6' : 'bgColor4') . '"';
|
||
$altRows = 'class="' . ($i++ % 2 == 0 ? 'bgColor6' : '') . '"';
|
||
$out .= $this->addelement(1, $theIcon, $theData, $altRows);
|
||
}
|
||
... | ... | |
}
|
||
}
|
||
if ($this->dirCounter % 2 == 0) {
|
||
$altRows = 'class="' . ($i++ % 2 == 0 ? 'bgColor6' : 'bgColor4') . '"';
|
||
$altRows = 'class="' . ($i++ % 2 == 0 ? 'bgColor6' : '') . '"';
|
||
} else {
|
||
$altRows = 'class="' . ($i++ % 2 == 0 ? 'bgColor4' : 'bgColor6') . '"';
|
||
$altRows = 'class="' . ($i++ % 2 == 0 ? '' : 'bgColor6') . '"';
|
||
}
|
||
$out .= $this->addelement(1, $theIcon, $theData, $altRows);
|
typo3/stylesheets/structure/topbar.css (Arbeitskopie) | ||
---|---|---|
- - - - - - - - - - - - - - - - - - - - - */
|
||
#typo3-topbar {
|
||
height: 25px;
|
||
height: 42px;
|
||
}
|
||
#typo3-logo {
|
typo3/backend.php (Arbeitskopie) | ||
---|---|---|
protected $jsFiles;
|
||
protected $jsFilesAfterInline;
|
||
protected $toolbarItems;
|
||
private $menuWidthDefault = 160; // intentionally private as nobody should modify defaults
|
||
private $menuWidthDefault = 190; // intentionally private as nobody should modify defaults
|
||
protected $menuWidth;
|
||
/**
|
||
... | ... | |
$icon = t3lib_iconWorks::getSpriteIcon('status-user-'. ($BE_USER->isAdmin() ? 'admin' : 'backend'));
|
||
$label = $GLOBALS['BE_USER']->user['realName'] ?
|
||
$BE_USER->user['realName'].' ['.$BE_USER->user['username'].']' :
|
||
$BE_USER->user['realName'] . ' (' . $BE_USER->user['username'] . ')' :
|
||
$BE_USER->user['username'];
|
||
// Link to user setup if it's loaded and user has access
|
typo3/gfx/typo3logo_mini.png (Arbeitskopie) | ||
---|---|---|
?PNG
|
||