Added feature #14490: A new skin for the TYPO3 Backend (Thanks to Steffen Gebert...
authorBenni Mack <benni.mack@typo3.org>
Fri, 28 May 2010 19:46:07 +0000 (19:46 +0000)
committerBenni Mack <benni.mack@typo3.org>
Fri, 28 May 2010 19:46:07 +0000 (19:46 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7726 709f56b5-9817-0410-a4d7-c38de5d9e867

20 files changed:
t3lib/class.t3lib_tceforms.php
typo3/alt_db_navframe.php
typo3/backend.php
typo3/border.html
typo3/class.browse_links.php
typo3/class.db_list_extra.inc
typo3/class.file_list.inc
typo3/class.webpagetree.php
typo3/mod/user/ws/index.php
typo3/sysext/belog/mod/index.php
typo3/sysext/cms/layout/class.tx_cms_layout.php
typo3/sysext/cms/layout/db_new_content_el.php
typo3/sysext/lowlevel/dbint/index.php
typo3/sysext/rtehtmlarea/mod4/class.tx_rtehtmlarea_dam_browse_media.php
typo3/sysext/t3skin/ext_tables.php
typo3/sysext/t3skin/templates/login.html
typo3/sysext/tstemplate/ts/index.php
typo3/sysext/tstemplate_analyzer/class.tx_tstemplateanalyzer.php
typo3/sysext/version/cm1/index.php
typo3/templates/alt_db_navframe.html

index a328d0c..b99b01f 100644 (file)
@@ -4756,8 +4756,10 @@ class t3lib_TCEforms     {
 
                        // 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>'.
                        '|'.
@@ -4878,14 +4880,18 @@ class t3lib_TCEforms    {
                        #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]);
index f101fd7..7200478 100644 (file)
@@ -159,6 +159,9 @@ class SC_alt_db_navframe {
                $this->doc->getDragDropCode('pages');
                $this->doc->getContextMenuCode();
                $this->doc->getPageRenderer()->loadScriptaculous('effects');
+               $this->doc->getPageRenderer()->loadExtJS();
+
+               $this->doc->getPageRenderer()->addJsFile('js/pagetreefiltermenu.js');
 
                $this->doc->JScode .= $this->doc->wrapScriptTags(
                ($this->currentSubScript?'top.currentSubScript=unescape("'.rawurlencode($this->currentSubScript).'");':'').'
@@ -284,6 +287,7 @@ class SC_alt_db_navframe {
                        'csh' => '',
                        'new_page' => '',
                        'refresh' => '',
+                       'filter' => '',
                );
 
                        // New Page
@@ -300,6 +304,11 @@ class SC_alt_db_navframe {
                        // CSH
                $buttons['csh'] = str_replace('typo3-csh-inline','typo3-csh-inline show-right',t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'pagetree', $GLOBALS['BACK_PATH'], '', TRUE));
 
+                       // Filter
+               if ($this->hasFilterBox) {
+                       $buttons['filter'] = '<a href="#" id="tree-toolbar-filter-item"><img' . t3lib_iconWorks::skinImg('', 'gfx/filter.png') . ' title="' .. $LANG->sL('LLL:EXT:cms/layout/locallang.xml:labels.filter', 1) . '" alt="" /></a></span>';
+               }
+
                return $buttons;
        }
 
index 45d8e06..96a87e3 100644 (file)
@@ -59,7 +59,7 @@ class TYPO3backend {
        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;
 
        /**
@@ -303,7 +303,7 @@ class TYPO3backend {
                 $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
index fedde11..b5db689 100644 (file)
                        /*<![CDATA[*/
 
                        body {
-                               background-color: #edeeee;
+                               background-color: #dadada;
                        }
 
                        #toggle-tree {
                                height: 500px;
                                cursor: pointer;
-                               border-right: 1px solid #ddd;
+                               border-right: 1px solid #c2c2c2;
                        }
 
                        .collapsed {
@@ -29,7 +29,7 @@
                                background-image: url("gfx/border_collapse.gif");
                                background-repeat: no-repeat;
                                background-position: 0px 250px;
-                               border-left: 1px solid #ddd;
+                               border-left: 1px solid #c2c2c2;
                        }
 
                        /*]]>*/
index 6072e40..9e2f604 100644 (file)
@@ -2232,7 +2232,7 @@ class browse_links {
                <!--
                        File listing
                -->
-                               <table border="0" cellpadding="0" cellspacing="1" id="typo3-fileList">
+                               <table cellpadding="0" cellspacing="0" id="typo3-fileList">
                                        '.implode('',$lines).'
                                </table>';
                }
index 535ec84..b770045 100644 (file)
@@ -480,7 +480,7 @@ class localRecordList extends recordList {
                        if ($listOnlyInSingleTableMode) {
                                $out.='
                                        <tr>
-                                               <td class="c-headLineTable" style="width:95%;">'.$theData[$titleCol].'</td>
+                                               <td class="t3-row-header" style="width:95%;">' . $theData[$titleCol] . '</td>
                                        </tr>';
 
                                if ($GLOBALS['BE_USER']->uc["edit_showFieldHelp"])      {
@@ -501,7 +501,7 @@ class localRecordList extends recordList {
                                                        ($tableCollapsed ? t3lib_iconWorks::getSpriteIcon('actions-view-list-expand', array('class' => 'collapseIcon')) : t3lib_iconWorks::getSpriteIcon('actions-view-list-collapse', array('class' => 'collapseIcon'))) .
                                                '</a>';
                                }
-                               $out .= $this->addelement(1, $collapseIcon, $theData, ' class="c-headLineTable"', '');
+                               $out .= $this->addElement(1, $collapseIcon, $theData, ' class="t3-row-header"', '');
                        }
 
                        // Render table rows only if in multi table view and not collapsed or if in single table view
index 5225c44..560be25 100644 (file)
@@ -278,8 +278,8 @@ class fileList extends t3lib_recordList {
                                $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
 
@@ -290,7 +290,7 @@ class fileList extends t3lib_recordList {
                <!--
                        File list table:
                -->
-                       <table border="0" cellpadding="0" cellspacing="1" id="typo3-filelist">
+                       <table cellpadding="0" cellspacing="0" id="typo3-filelist">
                                '.$out.'
                        </table>';
        }
index 8ec0692..93eb868 100644 (file)
@@ -112,7 +112,9 @@ class webPageTree extends t3lib_browseTree {
 
                        // Add Page ID:
                $pageIdStr = '';
-               if ($this->ext_showPageId) { $pageIdStr = '['.$row['uid'].']&nbsp;'; }
+               if ($this->ext_showPageId) {
+                       $pageIdStr = '<span class="dragId">[' . $row['uid'] . ']</span> ';
+               }
 
                        // Call stats information hook
                $stat = '';
@@ -194,7 +196,7 @@ class webPageTree extends t3lib_browseTree {
                $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 = '';
@@ -345,7 +347,7 @@ class webPageTree extends t3lib_browseTree {
 
                                // 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;
@@ -354,8 +356,11 @@ class webPageTree extends t3lib_browseTree {
 
                                // 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)   {
index fdaf487..cf925cc 100755 (executable)
@@ -159,7 +159,7 @@ class SC_mod_user_ws_index extends t3lib_SCbase {
                        $workspaces = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows('uid,title,adminusers,members,reviewers','sys_workspace','pid=0'.t3lib_BEfunc::deleteClause('sys_workspace'),'','title');
                        foreach($workspaces as $rec)    {
                                if ($GLOBALS['BE_USER']->checkWorkspace($rec))  {
-                                       $this->MOD_MENU['display'][$rec['uid']] = '['.$rec['uid'].'] '.$rec['title'];
+                                       $this->MOD_MENU['display'][$rec['uid']] = '[' . $rec['uid'] . '] ' . htmlspecialchars($rec['title']);
                                }
                        }
                }
index e66c22b..eafe3f3 100755 (executable)
@@ -108,7 +108,7 @@ class SC_mod_tools_log_index {
 
                $this->doc->tableLayout = Array (
                        '0' => Array (
-                               'defCol' => Array('<td valign="top" class="c-headLineTable"><b>', '</b></td><td class="c-headLineTable"><img src="' . $this->doc->backPath . 'clear.gif" width="10" height="1" alt="" /></td>')
+                               'defCol' => array('<td valign="top" class="t3-row-header"><b>', '</b></td><td class="t3-row-header"><img src="' . $this->doc->backPath . 'clear.gif" width="10" height="1" alt="" /></td>')
                        ),
                        'defRow' => Array (
                                '0' => Array('<td valign="top">','</td>'),
index 13e3684..da7383f 100755 (executable)
@@ -408,6 +408,8 @@ class tx_cms_layout extends recordList {
                $lMarg=1;
                $showHidden = $this->tt_contentConfig['showHidden']?'':t3lib_BEfunc::BEenableFields('tt_content');
                $pageTitleParamForAltDoc='&recTitle='.rawurlencode(t3lib_BEfunc::getRecordTitle('pages',t3lib_BEfunc::getRecordWSOL('pages',$id),TRUE));
+               $GLOBALS['SOBE']->doc->getPageRenderer()->loadExtJs();
+               $GLOBALS['SOBE']->doc->getPageRenderer()->addJsFile($GLOBALS['BACK_PATH'] . 'sysext/cms/layout/js/typo3pageModule.js');
 
                        // Get labels for CTypes and tt_content element fields in general:
                $this->CType_labels =array();
@@ -474,6 +476,12 @@ class tx_cms_layout extends recordList {
                                                        $isRTE = $RTE && $this->isRTEforField('tt_content',$row,'bodytext');
                                                        $singleElementHTML.= '<div '.($row['_ORIG_uid'] ? ' class="ver-element"' :'').'>'.$this->tt_content_drawItem($row,$isRTE).'</div>';
 
+                                                               // NOTE: this is the end tag for <div class="t3-page-ce-body">
+                                                               // because of bad (historic) conception, starting tag has to be placed inside tt_content_drawHeader()
+                                                       $singleElementHTML .= '</div>';
+
+                                                       $singleElementHTML = '<div class="t3-page-ce">' . $singleElementHTML . '</div>';
+
                                                        if ($this->defLangBinding && $this->tt_contentConfig['languageMode'])   {
                                                                $defLangBinding[$key][$lP][$row[($lP ? 'l18n_parent' : 'uid')]] = $singleElementHTML;
                                                        } else {
@@ -497,11 +505,11 @@ class tx_cms_layout extends recordList {
                                        } else {
                                                $out.= '
                                                        <td><img src="clear.gif" width="4" height="1" alt="" /></td>
-                                                       <td bgcolor="black"><img src="clear.gif" width="1" height="1" alt="" /></td>
+                                                       <td bgcolor="#cfcfcf"><img src="clear.gif" width="1" height="1" alt="" /></td>
                                                        <td><img src="clear.gif" width="4" height="1" alt="" /></td>';
                                        }
                                        $out.= '
-                                                       <td valign="top">'.$head[$key].$content[$key].'</td>';
+                                                       <td class="t3-page-column">' . $head[$key] . $content[$key] . '</td>';
 
                                                // Storing content for use if languageMode is set:
                                        if ($this->tt_contentConfig['languageMode'])    {
@@ -514,7 +522,7 @@ class tx_cms_layout extends recordList {
 
                                        // Wrap the cells into a table row:
                                $out = '
-                                       <table border="0" cellpadding="0" cellspacing="0" width="480" class="typo3-page-cols">
+                                       <table border="0" cellpadding="0" cellspacing="0" class="t3-page-columns">
                                                <tr>'.$out.'
                                                </tr>
                                        </table>';
@@ -1490,45 +1498,32 @@ class tx_cms_layout extends recordList {
         */
        function tt_content_drawColHeader($colName,$editParams,$newParams)      {
 
-                       // Create header row:
-               $out = '
-                               <tr>
-                                       <td class="bgColor2" nowrap="nowrap"><img src="clear.gif" width="1" height="2" alt="" /><br /><div align="center"><b>' . htmlspecialchars($GLOBALS['LANG']->csConvObj->conv_case($GLOBALS['LANG']->charSet, $colName, 'toUpper')) . '</b></div><img src="clear.gif" width="1" height="2" alt="" /></td>
-                               </tr>';
-
+               $icons = '';
                        // Create command links:
-               if ($this->tt_contentConfig['showCommands'])    {
-                               // Start cell:
-                       $out.= '
-                               <tr>
-                                       <td class="bgColor5">';
-
-                               // Edit whole of column:
-                       if ($editParams)        {
-                               $out.='<a href="#" onclick="'.htmlspecialchars(t3lib_BEfunc::editOnClick($editParams,$this->backPath)).'" title="' . $GLOBALS['LANG']->getLL('editColumn', TRUE) . '">' .
-                                               t3lib_iconWorks::getSpriteIcon('actions-document-open') .
+               if ($this->tt_contentConfig['showCommands']) {
+                               // New record:
+                       if ($newParams) {
+                               $icons .= '<a href="#" onclick="' . htmlspecialchars($newParams) . '" title="' . $GLOBALS['LANG']->getLL('newInColumn', TRUE) . '">' .
+                                       t3lib_iconWorks::getSpriteIcon('actions-document-new') .
                                        '</a>';
                        }
-                               // New record:
-                       if ($newParams) {
-                               $out.='<a href="#" onclick="'.htmlspecialchars($newParams).'" title="' . $GLOBALS['LANG']->getLL('newInColumn', TRUE) . '">' .
-                                                       t3lib_iconWorks::getSpriteIcon('actions-document-new') .
-                                               '</a>';
+                               // Edit whole of column:
+                       if ($editParams) {
+                               $icons .= '<a href="#" onclick="' . htmlspecialchars(t3lib_BEfunc::editOnClick($editParams, $this->backPath)) . '" title="' . $GLOBALS['LANG']->getLL('editColumn', TRUE) . '">' .
+                                       t3lib_iconWorks::getSpriteIcon('actions-document-open') .
+                                       '</a>';
                        }
-                               // End cell:
-                       $out.= '
-                                       </td>
-                               </tr>';
+               }
+               if (strlen($icons)) {
+                       $icons = '<div class="t3-page-colHeader-icons">' . $icons . '</div>';
                }
 
-                       // Wrap and return:
-               return '
-                       <table border="0" cellpadding="0" cellspacing="0" width="100%" class="typo3-page-colHeader">'.($space?'
-                               <tr>
-                                       <td><img src="clear.gif" height="'.$space.'" alt="" /></td>
-                               </tr>':'').
-                               $out.'
-                       </table>';
+                       // Create header row:
+               $out = '<div class="t3-page-colHeader t3-row-header">
+                                       ' . $icons . '
+                                       <div class="t3-page-colHeader-label">' . htmlspecialchars($colName) . '</div>
+                               </div>';
+               return $out;
        }
 
        /**
@@ -1562,39 +1557,23 @@ class tx_cms_layout extends recordList {
                        }
                }
 
-                       // Create header with icon/lock-icon/title:
-               $header = $this->getIcon('tt_content',$row).
-                               $lockIcon.
-                               $stat.
-                               ($langMode ? $this->languageFlag($row['sys_language_uid']) : '').
-                               '&nbsp;<b>'.htmlspecialchars($this->CType_labels[$row['CType']]).'</b>';
-               $out = '
-                                       <tr>
-                                               <td class="bgColor4">'.$header.'</td>
-                                       </tr>';
+                       // Create line with type of content element and icon/lock-icon/title:
+               $ceType = $this->getIcon('tt_content',$row) . ' ' .
+                               $lockIcon . ' ' .
+                               $stat . ' ' .
+                               ($langMode ? $this->languageFlag($row['sys_language_uid']) : '') .  ' ' .
+                               '&nbsp;<b>' . htmlspecialchars($this->CType_labels[$row['CType']]) .. '</b>';
 
                        // If show info is set...;
                if ($this->tt_contentConfig['showInfo'])        {
 
                                // Get processed values:
                        $info = Array();
-                       $this->getProcessedValue('tt_content','hidden,starttime,endtime,fe_group,spaceBefore,spaceAfter,section_frame,sectionIndex,linkToTop',$row,$info);
+                       $this->getProcessedValue('tt_content', 'hidden,starttime,endtime,fe_group,spaceBefore,spaceAfter', $row, $info);
 
                                // Render control panel for the element:
                        if ($this->tt_contentConfig['showCommands'] && $this->doEdit)   {
 
-                                       // Start control cell:
-                               $out.= '
-                                       <!-- Control Panel -->
-                                       <tr>
-                                               <td class="bgColor5">';
-
-                                       // Edit content element:
-                               $params='&edit[tt_content]['.$this->tt_contentData['nextThree'][$row['uid']].']=edit';
-                               $out.='<a href="#" onclick="'.htmlspecialchars(t3lib_BEfunc::editOnClick($params,$this->backPath)).'" title="'.htmlspecialchars($this->nextThree>1?sprintf($GLOBALS['LANG']->getLL('nextThree'),$this->nextThree):$GLOBALS['LANG']->getLL('edit')).'">'.
-                                                       t3lib_iconWorks::getSpriteIcon('actions-document-open') .
-                                               '</a>';
-
                                if (!$disableMoveAndNewButtons) {
                                                // New content element:
                                        if ($this->option_newWizard)    {
@@ -1603,30 +1582,18 @@ class tx_cms_layout extends recordList {
                                                $params='&edit[tt_content]['.(-$row['uid']).']=new';
                                                $onClick = t3lib_BEfunc::editOnClick($params,$this->backPath);
                                        }
-                                       $out.='<a href="#" onclick="'.htmlspecialchars($onClick).'" title="'.$GLOBALS['LANG']->getLL('newAfter',1).'">'.
-                                                               t3lib_iconWorks::getSpriteIcon('actions-document-new') .
-                                                       '</a>';
-
-                                               // Move element up:
-                                       if ($this->tt_contentData['prev'][$row['uid']]) {
-                                               $params='&cmd[tt_content]['.$row['uid'].'][move]='.$this->tt_contentData['prev'][$row['uid']];
-                                               $out.='<a href="'.htmlspecialchars($GLOBALS['SOBE']->doc->issueCommand($params)).'" title="'.$GLOBALS['LANG']->getLL('moveUp', TRUE).'">'.
-                                                                       t3lib_iconWorks::getSpriteIcon('actions-move-up') .
-                                                               '</a>';
-                                       } else {
-                                               $out.=t3lib_iconWorks::getSpriteIcon('empty-empty');
-                                       }
-                                               // Move element down:
-                                       if ($this->tt_contentData['next'][$row['uid']]) {
-                                               $params='&cmd[tt_content]['.$row['uid'].'][move]='.$this->tt_contentData['next'][$row['uid']];
-                                               $out.='<a href="'.htmlspecialchars($GLOBALS['SOBE']->doc->issueCommand($params)).'" title="'.$GLOBALS['LANG']->getLL('moveDown', TRUE).'">'.
-                                                                       t3lib_iconWorks::getSpriteIcon('actions-move-down') .
-                                                               '</a>';
-                                       } else {
-                                               $out.= t3lib_iconWorks::getSpriteIcon('empty-empty');
-                                       }
+                                       $out .= '<a href="#" onclick="' . htmlspecialchars($onClick) . '" title="' . $GLOBALS['LANG']->getLL('newAfter', 1) . '">' .
+                                               t3lib_iconWorks::getSpriteIcon('actions-document-new') .
+                                               '</a>';
                                }
 
+                               // Edit content element:
+                               $params = '&edit[tt_content][' . $this->tt_contentData['nextThree'][$row['uid']] . ']=edit';
+                               $out .= '<a href="#" onclick="' . htmlspecialchars(t3lib_BEfunc::editOnClick($params, $this->backPath)) . '" title="' .
+                                       htmlspecialchars($this->nextThree > 1 ? sprintf($GLOBALS['LANG']->getLL('nextThree'), $this->nextThree) : $GLOBALS['LANG']->getLL('edit')) . '">' .
+                                       t3lib_iconWorks::getSpriteIcon('actions-document-open') .
+                                       '</a>';
+
                                        // Hide element:
                                $hiddenField = $TCA['tt_content']['ctrl']['enablecolumns']['disabled'];
                                if ($hiddenField && $TCA['tt_content']['columns'][$hiddenField] && (!$TCA['tt_content']['columns'][$hiddenField]['exclude'] || $GLOBALS['BE_USER']->check('non_exclude_fields','tt_content:'.$hiddenField)))    {
@@ -1651,28 +1618,50 @@ class tx_cms_layout extends recordList {
                                                        t3lib_iconWorks::getSpriteIcon('actions-edit-delete') . 
                                                '</a>';
 
-                                       // End cell:
-                               $out.= '
-                                               </td>
-                                       </tr>';
+                               if (!$disableMoveAndNewButtons) {
+                                       $out .= '<span class="t3-page-ce-icons-move">';
+                                       // Move element up:
+                                       if ($this->tt_contentData['prev'][$row['uid']]) {
+                                               $params = '&cmd[tt_content][' . $row['uid'] . '][move]=' . $this->tt_contentData['prev'][$row['uid']];
+                                               $out .= '<a href="' . htmlspecialchars($GLOBALS['SOBE']->doc->issueCommand($params)) . '" title="' . $GLOBALS['LANG']->getLL('moveUp', TRUE) . '">' .
+                                                       t3lib_iconWorks::getSpriteIcon('actions-move-up') .
+                                                       '</a>';
+                                       } else {
+                                               $out .= t3lib_iconWorks::getSpriteIcon('empty-empty');
+                                       }
+                                               // Move element down:
+                                       if ($this->tt_contentData['next'][$row['uid']]) {
+                                               $params = '&cmd[tt_content][' . $row['uid'] . '][move]= ' . $this->tt_contentData['next'][$row['uid']];
+                                               $out .= '<a href="' . htmlspecialchars($GLOBALS['SOBE']->doc->issueCommand($params)) . '" title="' . $GLOBALS['LANG']->getLL('moveDown', TRUE) . '">' .
+                                                       t3lib_iconWorks::getSpriteIcon('actions-move-down') .
+                                                       '</a>';
+                                       } else {
+                                               $out .= t3lib_iconWorks::getSpriteIcon('empty-empty');
+                                       }
+                                       $out .= '</span>';
+                               }
                        }
 
                                // Display info from records fields:
+                       $infoOutput = '';
                        if (count($info))       {
-                               $out.= '
-                                       <tr>
-                                               <td class="bgColor4-20">'.implode('<br />',$info).'</td>
-                                       </tr>';
+                               $infoOutput = '<div class="t3-page-ce-info">
+                                       ' . implode('<br />', $info) . '
+                                       </div>';
                        }
                }
-                       // Wrap the whole header in a table:
-               return '
-                               <table border="0" cellpadding="0" cellspacing="0" class="typo3-page-ceHeader">'.($space?'
-                                       <tr>
-                                               <td><img src="clear.gif" height="'.$space.'" alt="" /></td>
-                                       </tr>':'').
-                                       $out.'
-                               </table>';
+                       // Wrap the whole header
+                       // NOTE: end-tag for <div class="t3-page-ce-body"> is in getTable_tt_content()
+               return '<h4 class="t3-page-ce-header">
+                                       <div class="t3-row-header">
+                                       ' . $out . '
+                                       </div>
+                               </h4>
+                               <div class="t3-page-ce-body">
+                                       <div class="t3-page-ce-type">
+                                               ' . $ceType . '
+                                       </div>
+                                       ' . $infoOutput;
        }
 
        /**
index 404d7c0..8112d36 100644 (file)
@@ -343,7 +343,7 @@ class SC_db_new_content_el {
                                // Add the wizard table to the content, wrapped in tabs:
                        if ($this->config['renderMode'] == 'tabs') {
                                $this->doc->inDocStylesArray[] = '
-                                       .typo3-dyntabmenu-divs { background-color: #fafafa; border: 1px solid #000; width: 680px; }
+                                       .typo3-dyntabmenu-divs { background-color: #fafafa; border: 1px solid #adadad; width: 680px; }
                                        .typo3-dyntabmenu-divs table { margin: 15px; }
                                        .typo3-dyntabmenu-divs table td { padding: 3px; }
                                ';
index 5f39e69..a71367b 100755 (executable)
@@ -129,7 +129,7 @@ class SC_mod_tools_dbint_index {
 
                $this->doc->tableLayout = array (
                        '0' => array (
-                               'defCol' => array('<td class="c-headLineTable"><img src="' . $this->doc->backPath . 'clear.gif" width="10" height="1" alt="" /></td><td valign="top" class="c-headLineTable"><b>', '</b></td>')
+                               'defCol' => array('<td class="t3-row-header"><img src="' . $this->doc->backPath . 'clear.gif" width="10" height="1" alt="" /></td><td valign="top" class="t3-row-header"><b>', '</b></td>')
                        ),
                        'defRow' => array (
                                '0' => array('<td valign="top">','</td>'),
index bfed8dc..50c2e98 100644 (file)
@@ -823,7 +823,7 @@ class tx_rtehtmlarea_dam_browse_media extends tx_dam_browse_media {
                <!--
                        File listing
                -->
-                               <table border="0" cellpadding="1" cellspacing="1" id="typo3-fileList">
+                               <table cellpadding="0" cellspacing="0" id="typo3-fileList">
                                        '.implode('',$lines).'
                                </table>';
                }
index 8b579e4..51df8c0 100644 (file)
@@ -89,7 +89,7 @@ if (TYPO3_MODE == 'BE' || (TYPO3_MODE == 'FE' && isset($GLOBALS['BE_USER']) && $
 
                // Setting roll-over background color for click menus:
                // Notice, this line uses the the 'scriptIDindex' feature to override another value in this array (namely $TBE_STYLES['mainColors']['bgColor5']), for a specific script "typo3/alt_clickmenu.php"
-       $TBE_STYLES['scriptIDindex']['typo3/alt_clickmenu.php']['mainColors']['bgColor5'] = '#F8F9FB';
+       $TBE_STYLES['scriptIDindex']['typo3/alt_clickmenu.php']['mainColors']['bgColor5'] = '#dedede';
 
                // Setting up auto detection of alternative icons:
        $TBE_STYLES['skinImgAutoCfg'] = array(
@@ -142,6 +142,9 @@ if (TYPO3_MODE == 'BE' || (TYPO3_MODE == 'FE' && isset($GLOBALS['BE_USER']) && $
                'MOD:help_txtsconfighelpM1/moduleicon.gif' => array($temp_eP.'icons/module_help_ts.gif','width="25" height="24"'),
        ));
 
+               // Logo at login screen
+       $TBE_STYLES['logo_login'] = $temp_eP . 'images/login/typo3logo-white.png';
+
                // Adding icon for photomarathon extensions' backend module, if enabled:
        if (t3lib_extMgm::isloaded('user_photomarathon'))       {
                $TBE_STYLES['skinImg']['MOD:web_uphotomarathon/tab_icon.gif'] = array($temp_eP.'icons/ext/user_photomarathon/tab_icon.gif','width="24" height="24"');
index b3dd8dd..9e5eff7 100644 (file)
@@ -5,6 +5,7 @@
                        ###LOGO###
                </div>
                <div id="t3-login-form-inner" class="t3-login-box">
+                       <div class="shadow-box-top-428"></div>
                        <div class="t3-headline">
                                <h2>###HEADLINE###</h2>
                        </div>
@@ -36,8 +37,8 @@
                                </script>
                                <script type="text/javascript" src="sysext/t3skin/resources/login.js"></script>
                        </div>
+                       <div class="shadow-box-bottom-424"></div>
                </div>
-               <div class="t3-login-box-border-bottom"></div>
                ###NEWS###
        </div>
 </div>
index a1e8d45..4e1156e 100644 (file)
@@ -134,9 +134,9 @@ class SC_mod_web_ts_index extends t3lib_SCbase {
                        $this->doc->inDocStylesArray[] = '
                                TABLE#typo3-objectBrowser A { text-decoration: none; }
                                TABLE#typo3-objectBrowser .comment { color: maroon; font-weight: bold; }
-                               TABLE#ts-analyzer tr.c-headLineTable {background-color: #A2AAB8;}
+                               TABLE#ts-analyzer tr.t3-row-header { background-color: #A2AAB8; }
                                TABLE#ts-analyzer tr td {padding: 0 2px;}
-                               TABLE#ts-analyzer tr.c-headLineTable td {padding: 2px 4px; font-weight:bold; color: #fff;}
+                               TABLE#ts-analyzer tr.t3-row-header td { padding: 2px 4px; font-weight:bold; color: #fff; }
                                .tsob-menu label, .tsob-menu-row2 label, .tsob-conditions label {padding: 0 5px; vertical-align: text-top;}
                                .tsob-menu-row2 {margin-top: 10px;}
                                .tsob-conditions {padding: 1px 2px;}
@@ -164,9 +164,9 @@ class SC_mod_web_ts_index extends t3lib_SCbase {
                                // If no access or if ID == zero
 
                        $this->doc->inDocStylesArray[] = '
-                               TABLE#ts-overview tr.c-headLineTable {background-color: #A2AAB8;}
+                               TABLE#ts-overview tr.t3-row-header { background-color: #A2AAB8; }
                                TABLE#ts-overview tr td {padding: 2px;}
-                               TABLE#ts-overview tr.c-headLineTable td {padding: 2px 4px; font-weight:bold; color: #fff;}
+                               TABLE#ts-overview tr.t3-row-header td { padding: 2px 4px; font-weight:bold; color: #fff; }
                        ';
                                // Template pages:
                        $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
@@ -191,7 +191,7 @@ class SC_mod_web_ts_index extends t3lib_SCbase {
                        }
 
                        $lines = array();
-                       $lines[] = '<tr class="c-headLineTable">
+                       $lines[] = '<tr class="t3-row-header">
                                <td nowrap>' . $GLOBALS['LANG']->getLL('pageName') . '</td>
                                <td nowrap>' . $GLOBALS['LANG']->getLL('templates') . '</td>
                                <td nowrap>' . $GLOBALS['LANG']->getLL('isRoot') . '</td>
@@ -533,8 +533,8 @@ page.10.value = HELLO WORLD!
                                                        <td align="center">' . ($pArray[$k . '_']['root_min_val'] == 0 ? t3lib_iconWorks::getSpriteIcon('status-status-checked') : "&nbsp;") .
                                                        '</td>
                                                        </tr>';
-                                       } else {
-                                               $lines[] = '<tr class="' . ($i++ % 2 == 0 ? 'bgColor4' : 'bgColor6') . '">
+                                               } else {
+                                                       $lines[] = '<tr class="' . ($i++ % 2 == 0 ? 'bgColor4' : 'bgColor6') . '">
                                                        <td nowrap ><img src="clear.gif" width="1" height="1" hspace=' . ($c * 10) . ' align=top>' .
                                                        t3lib_iconWorks::getSpriteIconForRecord('pages', t3lib_BEfunc::getRecordWSOL('pages', $k)) .
                                                        t3lib_div::fixed_lgd_cs($pArray[$k], 30) . '</td>
index bc39db4..95a9e65 100644 (file)
@@ -110,7 +110,7 @@ class tx_tstemplateanalyzer extends t3lib_extobjbase {
                $tmpl->procesIncludes();
 
                $hierarArr = array();
-               $head = '<tr class="c-headLineTable">';
+               $head = '<tr class="t3-row-header">';
                $head.= '<td>' . $GLOBALS['LANG']->getLL('title', true) . '</td>';
                $head.= '<td>' . $GLOBALS['LANG']->getLL('rootlevel', true) . '</td>';
                $head.= '<td>' . $GLOBALS['LANG']->getLL('clearSetup', true) . '</td>';
index c485fe0..ac046fe 100755 (executable)
@@ -459,9 +459,9 @@ class tx_version_cm1 extends t3lib_SCbase {
                        $adminLinks = $this->adminLinks($this->table,$row);
 
                        $content.='
-                               <tr class="'.($row['uid']!=$this->uid ? 'bgColor4' : 'bgColor2 tableheader').'">
+                               <tr class="' . ($row['uid'] != $this->uid ? 'bgColor4' : 'bgColor2 tableheader') . '">
                                        <td>'.($row['uid']!=$this->uid ? '<a href="'.$this->doc->issueCommand('&cmd['.$this->table.']['.$this->uid.'][version][swapWith]='.$row['uid'].'&cmd['.$this->table.']['.$this->uid.'][version][action]=swap').'" title="' . $GLOBALS['LANG']->getLL('swapWithCurrent', TRUE) . '">'.
-                                                       t3lib_iconWorks::getSpriteIcon('apps-version-swap-versions') .
+                                               t3lib_iconWorks::getSpriteIcon('apps-version-swap-versions') .
                                                '</a>' /* (
                                                        $this->table == 'pages' ?
                                                        '<a href="'.$this->doc->issueCommand('&cmd['.$this->table.']['.$this->uid.'][version][action]=swap&cmd['.$this->table.']['.$this->uid.'][version][swapWith]='.$row['uid'].'&cmd['.$this->table.']['.$this->uid.'][version][swapContent]=1').'">'.
index 30f3ae8..12bcc3a 100644 (file)
@@ -34,9 +34,9 @@
 <!-- ###BUTTON_GROUP_WRAP### -->
 
 <!-- ###BUTTON_GROUPS_LEFT### -->
-<!-- ###BUTTON_GROUP4### --> <!-- ###BUTTON_GROUP4### -->
+<!-- ###BUTTON_GROUP4### -->###NEW_PAGE######FILTER###<!-- ###BUTTON_GROUP4### -->
 <!-- ###BUTTON_GROUPS_LEFT### -->
 
 <!-- ###BUTTON_GROUPS_RIGHT### -->
-<!-- ###BUTTON_GROUP1### -->###NEW_PAGE######REFRESH######CSH###<!-- ###BUTTON_GROUP1### -->
+<!-- ###BUTTON_GROUP1### -->###REFRESH######CSH###<!-- ###BUTTON_GROUP1### -->
 <!-- ###BUTTON_GROUPS_RIGHT### -->