Project

General

Profile

Bug #21764 » 12872_v4.diff

Administrator Admin, 2010-05-28 21:58

View differences:

misc/phpcheck/incfile.php (Arbeitskopie)
<?php
// This checks for my own IP at home. You can just remove the if-statement.
if (1==0 || ($_SERVER['REMOTE_ADDR']!='127.0.0.1')) {
die('In the source distribution of TYPO3, this script is disabled by a die() function call.<br/><b>Fix:</b> Open the file misc/phpcheck/incfile.php and remove/out-comment the line that outputs this message!');
die('In the source distribution of TYPO3, this script is disabled by a die() function call.<br/><strong>Fix:</strong> Open the file misc/phpcheck/incfile.php and remove/out-comment the line that outputs this message!');
}
include('../../t3lib/class.t3lib_div.php');
t3lib/class.t3lib_tceforms.php (Arbeitskopie)
// INTERNAL, templates
var $totalWrap='<hr />|<hr />'; // Total wrapping for the table rows.
var $fieldTemplate='<b>###FIELD_NAME###</b><br />###FIELD_ITEM###<hr />'; // Field template
var $fieldTemplate='<strong>###FIELD_NAME###</strong><br />###FIELD_ITEM###<hr />'; // Field template
var $sectionWrap=''; // Wrapping template code for a section
var $palFieldTemplateHeader=''; // Template for palette headers
var $palFieldTemplate=''; // Template for palettes
......
foreach ($rotateLang as $lKey) {
if (!$langChildren && !$langDisabled) {
$item.= '<b>'.$this->getLanguageIcon($table,$row,'v'.$lKey).$lKey.':</b>';
$item.= '<strong>'.$this->getLanguageIcon($table,$row,'v'.$lKey).$lKey.':</strong>';
}
$tabParts = array();
......
</div>
<div id="'.$idTagPrefix.'" style="padding-left: 20px;">'.implode('',$tRows).'</div>';
$output.= $mayRestructureFlexforms ? '<div style="padding: 10px 5px 5px 20px;"><b>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.addnew', 1) . ':</b> '.implode(' | ',$newElementsLinks).'</div>' : '';
$output.= $mayRestructureFlexforms ? '<div style="padding: 10px 5px 5px 20px;"><strong>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.addnew', 1) . ':</strong> '.implode(' | ',$newElementsLinks).'</div>' : '';
} else {
// It is a container
......
$this->fieldTemplate='
<tr ###BGCOLOR_HEAD######CLASSATTR_2###>
<td>###FIELD_HELP_ICON###</td>
<td width="99%"><span style="color:###FONTCOLOR_HEAD###;"###CLASSATTR_4###><b>###FIELD_NAME###</b></span>###FIELD_HELP_TEXT###</td>
<td width="99%"><span style="color:###FONTCOLOR_HEAD###;"###CLASSATTR_4###><strong>###FIELD_NAME###</strong></span>###FIELD_HELP_TEXT###</td>
</tr>
<tr ###BGCOLOR######CLASSATTR_1###>
<td nowrap="nowrap"><img name="req_###FIELD_TABLE###_###FIELD_ID###_###FIELD_FIELD###" src="clear.gif" class="t3-TCEforms-reqImg" alt="" /><img name="cm_###FIELD_TABLE###_###FIELD_ID###_###FIELD_FIELD###" src="clear.gif" class="t3-TCEforms-contentchangedImg" alt="" /></td>
t3lib/class.t3lib_tstemplate.php (Arbeitskopie)
* Ordinary "wrapping" function. Used in the tslib_menu class and extension classes instead of the similar function in tslib_cObj
*
* @param string The content to wrap
* @param string The wrap value, eg. "<b> | </b>"
* @param string The wrap value, eg. "<strong> | </strong>"
* @return string Wrapped input string
* @see tslib_menu, tslib_cObj::wrap()
*/
t3lib/class.t3lib_tceforms_fe.php (Arbeitskopie)
public function setFancyDesign() {
$this->fieldTemplate = '
<tr>
<td nowrap="nowrap" bgcolor="#F6F2E6">###FIELD_HELP_ICON###<font face="verdana" size="1" color="black"><b>###FIELD_NAME###</b></font>###FIELD_HELP_TEXT###</td>
<td nowrap="nowrap" bgcolor="#F6F2E6">###FIELD_HELP_ICON###<font face="verdana" size="1" color="black"><strong>###FIELD_NAME###</strong></font>###FIELD_HELP_TEXT###</td>
</tr>
<tr>
<td nowrap="nowrap" bgcolor="#ABBBB4"><img name="req_###FIELD_TABLE###_###FIELD_ID###_###FIELD_FIELD###" src="clear.gif" width="10" height="10" alt="" /><img name="cm_###FIELD_TABLE###_###FIELD_ID###_###FIELD_FIELD###" src="clear.gif" width="7" height="10" alt="" /><font face="verdana" size="1" color="black">###FIELD_ITEM###</font>###FIELD_PAL_LINK_ICON###</td>
......
</tr> ';
$this->palFieldTemplateHeader = '
<tr>
<td nowrap="nowrap" bgcolor="#F6F2E6"><font face="verdana" size="1" color="black"><b>###FIELD_HEADER###</b></font></td>
<td nowrap="nowrap" bgcolor="#F6F2E6"><font face="verdana" size="1" color="black"><strong>###FIELD_HEADER###</strong></font></td>
</tr> ';
}
t3lib/class.t3lib_befunc.php (Arbeitskopie)
/**
* Returns the label-value for fieldname $col in table, $table
* If $printAllWrap is set (to a "wrap") then it's wrapped around the $col value IF THE COLUMN $col DID NOT EXIST in TCA!, eg. $printAllWrap = '<b>|</b>' and the fieldname was 'not_found_field' then the return value would be '<b>not_found_field</b>'
* If $printAllWrap is set (to a "wrap") then it's wrapped around the $col value IF THE COLUMN $col DID NOT EXIST in TCA!, eg. $printAllWrap = '<strong>|</strong>' and the fieldname was 'not_found_field' then the return value would be '<strong>not_found_field</strong>'
* Usage: 17
*
* @param string Table name, present in $TCA
......
<tr>
<td bgcolor="#F4F0E8">
<font face="verdana,arial,helvetica" size="2">';
echo '<b><center><font size="+1">'.$header.'</font></center></b><br />'.$text;
echo '<strong><center><font size="+1">'.$header.'</font></center></strong><br />'.$text;
echo ' </font>
</td>
</tr>
t3lib/class.t3lib_superadmin.php (Arbeitskopie)
$label = $all['siteInfo']['sitename'] ? $all['siteInfo']['sitename'] : '(DB: '.$all['siteInfo']['TYPO3_db'].')';
$lines[] = '
<hr />
<b>'.htmlspecialchars($label).'</b> ('.htmlspecialchars(substr($all['siteInfo']['SA_PATH'],strlen($all['siteInfo']['MAIN_DIR'])+1)).')<br />';
<strong>'.htmlspecialchars($label).'</strong> ('.htmlspecialchars(substr($all['siteInfo']['SA_PATH'],strlen($all['siteInfo']['MAIN_DIR'])+1)).')<br />';
// To avoid "visited links" display on next hit:
$tempVal='&_someUniqueValue=' . $GLOBALS['EXEC_TIME'];
t3lib/class.t3lib_tceforms_inline.php (Arbeitskopie)
'<table cellspacing="0" cellpadding="0" border="0" width="100%" style="margin-right: '.$this->inlineStyles['margin-right'].'px;"'.
($this->fObj->borderStyle[2] ? ' background="'.htmlspecialchars($this->backPath.$this->fObj->borderStyle[2]).'"':'').
($this->fObj->borderStyle[3] ? ' class="'.htmlspecialchars($this->fObj->borderStyle[3]).'"':'').'>' .
'<tr class="class-main12"><td width="18" id="' . $objectId . '_iconcontainer">' . $iconImg . '</td><td align="left"><b>' . $label . '</b></td><td align="right">' . $ctrl . '</td></tr></table>';
'<tr class="class-main12"><td width="18" id="' . $objectId . '_iconcontainer">' . $iconImg . '</td><td align="left"><strong>' . $label . '</strong></td><td align="right">' . $ctrl . '</td></tr></table>';
return $header;
}
t3lib/class.t3lib_div.php (Arbeitskopie)
$result='
<table border="1" cellpadding="1" cellspacing="0" bgcolor="white">';
if (count($array_in) == 0) {
$result.= '<tr><td><font face="Verdana,Arial" size="1"><b>EMPTY!</b></font></td></tr>';
$result.= '<tr><td><font face="Verdana,Arial" size="1"><strong>EMPTY!</strong></font></td></tr>';
} else {
foreach ($array_in as $key => $val) {
$result.= '<tr>
......
if (is_array($var)) {
$debug .= self::view_array($var);
} elseif (is_object($var)) {
$debug .= '<b>|Object:<pre>';
$debug .= '<strong>|Object:<pre>';
$debug .= print_r($var, TRUE);
$debug .= '</pre>|</b>';
$debug .= '</pre>|</strong>';
} elseif ((string) $var !== '') {
$debug .= '<b>|' . htmlspecialchars((string)$var) . '|</b>';
$debug .= '<strong>|' . htmlspecialchars((string)$var) . '|</strong>';
} else {
$debug .= '<b>| debug |</b>';
$debug .= '<strong>| debug |</strong>';
}
if ($header) {
t3lib/class.t3lib_formmail.php (Arbeitskopie)
$HTML_val = ($convCharset && strlen($val)) ? $GLOBALS['TSFE']->csConvObj->conv(htmlspecialchars($val),$GLOBALS['TSFE']->renderCharset,$this->charset,1) : htmlspecialchars($val);
$Plain_content.= strtoupper($key).': '.$space.$Plain_val.LF.$space;
$HTML_content.= '<tr><td bgcolor="#eeeeee"><font face="Verdana" size="1"><b>'.strtoupper($key).'</b></font></td><td bgcolor="#eeeeee"><font face="Verdana" size="1">'.nl2br($HTML_val).'&nbsp;</font></td></tr>';
$HTML_content.= '<tr><td bgcolor="#eeeeee"><font face="Verdana" size="1"><strong>'.strtoupper($key).'</strong></font></td><td bgcolor="#eeeeee"><font face="Verdana" size="1">'.nl2br($HTML_val).'&nbsp;</font></td></tr>';
}
}
}
t3lib/class.t3lib_arraybrowser.php (Arbeitskopie)
function wrapValue($theValue,$depth) {
$wrappedValue = '';
if (strlen($theValue) > 0) {
$wrappedValue = '<b>' . htmlspecialchars($theValue) . '</b>';
$wrappedValue = '<strong>' . htmlspecialchars($theValue) . '</strong>';
}
return $wrappedValue;
}
t3lib/class.t3lib_tsparser_ext.php (Arbeitskopie)
function substituteCMarkers($all) {
switch($this->constantMode) {
case 'const':
$all = str_replace('##'.$this->Cmarker.'_B##', '<font color="green"><B>', $all);
$all = str_replace('##'.$this->Cmarker.'_E##', '</b></font>', $all);
$all = str_replace('##'.$this->Cmarker.'_B##', '<font color="green"><strong>', $all);
$all = str_replace('##'.$this->Cmarker.'_E##', '</strong></font>', $all);
break;
case 'subst':
$all = str_replace('##'.$this->Cmarker.'_B##', '<font color="green"><B>', $all);
$all = str_replace('##'.$this->Cmarker.'_E##', '</b></font>', $all);
$all = str_replace('##'.$this->Cmarker.'_B##', '<font color="green"><strong>', $all);
$all = str_replace('##'.$this->Cmarker.'_E##', '</strong></font>', $all);
break;
default:
$all = $all;
......
$ln = '';
}
if ($this->tsbrowser_searchKeys[$depth] & 4) { $label = '<b><font color="red">'.$label.'</font></b>'; } // The key has matched the search string
if ($this->tsbrowser_searchKeys[$depth] & 4) { $label = '<strong><font color="red">'.$label.'</font></strong>'; } // The key has matched the search string
$label = '<a href="'.htmlspecialchars($aHref).'" title="'.htmlspecialchars($ln).'">'.$label.'</a>';
}
}
......
$theValue = $this->ext_fixed_lgd($theValue,$lgdChars);
}
if ($this->tsbrowser_searchKeys[$depth] & 2) { // The value has matched the search string
$HTML.='&nbsp;=&nbsp;<b><font color="red">'.$this->makeHtmlspecialchars($theValue).'</font></b>';
$HTML.='&nbsp;=&nbsp;<strong><font color="red">'.$this->makeHtmlspecialchars($theValue).'</font></strong>';
} else {
$HTML.='&nbsp;=&nbsp;<b>'.$this->makeHtmlspecialchars($theValue).'</b>';
$HTML.='&nbsp;=&nbsp;<strong>'.$this->makeHtmlspecialchars($theValue).'</strong>';
}
if ($this->ext_regComments && isset($arr[$key.'..'])) {
$comment = $arr[$key.'..'];
......
$firstChar = substr(trim($v),0,1);
if ($firstChar=='[') {
$cArr[$k] = '<font color="green"><b>'.$cArr[$k].'</b></font>';
$cArr[$k] = '<font color="green"><strong>'.$cArr[$k].'</strong></font>';
} elseif ($firstChar=='/' || $firstChar=='#') {
if ($comments) {
$cArr[$k] = '<span class="typo3-dimmed">'.$cArr[$k].'</span>';
typo3/class.show_rechis.inc (Arbeitskopie)
// get link to page history if the element history is shown
$elParts = explode(':',$this->element);
if ($elParts[0] != 'pages') {
$content .= '<b>'.$LANG->getLL('elementHistory',1).'</b><br />';
$content .= '<strong>'.$LANG->getLL('elementHistory',1).'</strong><br />';
$pid = t3lib_BEfunc::getRecordRaw($elParts[0],'uid='.intval($elParts[1]));
$content .= $this->linkPage($LANG->getLL('elementHistory_link',1),array('element' => 'pages:'.$pid['pid']));
}
......
$lines[] = '
<tr class="bgColor4-20">
<td colspan="7"><b>'.$LANG->getLL('consistenceWarning',1).'</b></td>
<td colspan="7"><strong>'.$LANG->getLL('consistenceWarning',1).'</strong></td>
</tr>';
}
......
$elParts = explode(':',$key);
// turn around diff because it should be a "rollback preview"
if ($diff['insertsDeletes'][$key] == 1) { // insert
$record .= '<b>'.$LANG->getLL('delete',1).'</b>';
$record .= '<strong>'.$LANG->getLL('delete',1).'</strong>';
$record .= '<br />';
} elseif ($diff['insertsDeletes'][$key] == -1) {
$record .= '<b>'.$LANG->getLL('insert',1).'</b>';
$record .= '<strong>'.$LANG->getLL('insert',1).'</strong>';
$record .= '<br />';
}
// build up temporary diff array
typo3/class.file_list.inc (Arbeitskopie)
if ($this->clickMenus) $otherMarkers['PAGE_ICON'] = $GLOBALS['SOBE']->doc->wrapClickMenuOnIcon($otherMarkers['PAGE_ICON'],$path);
$buttons['level_up'] .= $this->linkWrapDir(t3lib_iconWorks::getSpriteIcon('actions-view-go-up', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.upOneLevel', 1))), $theFile['path']);
$otherMarkers['TITLE'] .= t3lib_div::removeXSS(t3lib_div::fixed_lgd_cs($title,-($this->fixedL+20))); // No HTML specialchars here - HTML like <b> </b> is allowed
$otherMarkers['TITLE'] .= t3lib_div::removeXSS(t3lib_div::fixed_lgd_cs($title,-($this->fixedL+20))); // No HTML specialchars here - HTML like <strong> </strong> is allowed
// this is the root page
} else {
typo3/template.php (Arbeitskopie)
*/
function getFileheader($title,$path,$iconfile) {
$fileInfo = t3lib_div::split_fileref($title);
$title = htmlspecialchars(t3lib_div::fixed_lgd_cs($fileInfo['path'],-35)).'<b>'.htmlspecialchars($fileInfo['file']).'</b>';
$title = htmlspecialchars(t3lib_div::fixed_lgd_cs($fileInfo['path'],-35)).'<strong>'.htmlspecialchars($fileInfo['file']).'</strong>';
return '<span class="typo3-moduleHeader"><img'.t3lib_iconWorks::skinImg($this->backPath,$iconfile,'width="18" height="16"').' title="'.htmlspecialchars($path).'" alt="" />'.$title.'</span>';
}
......
// Controls:
if ($id==$onlineId) {
$controls = '<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/blinkarrow_left.gif','width="5" height="9"').' class="absmiddle" alt="" /> <b>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:ver.online',1).'</b>';
$controls = '<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/blinkarrow_left.gif','width="5" height="9"').' class="absmiddle" alt="" /> <strong>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:ver.online',1).'</strong>';
} elseif (!$noAction) {
$controls = '<a href="'.$this->issueCommand('&cmd[pages]['.$onlineId.'][version][swapWith]='.$id.'&cmd[pages]['.$onlineId.'][version][action]=swap',t3lib_div::linkThisScript(array('id'=>$onlineId))).'" class="nobr">'.
'<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/insert1.gif','width="14" height="14"').' style="margin-right: 2px;" class="absmiddle" alt="" title="'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:ver.swapPage',1).'" />'.
'<b>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:ver.swap',1).'</b></a>';
'<strong>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:ver.swap',1).'</strong></a>';
}
// Write out HTML code:
typo3/alt_menu.php (Arbeitskopie)
// Header: Admin functions
$this->content.='
<tr class="c-mainitem">
<td colspan="2"><span class="c-label"><b>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.adminFunctions',1).'</b>&nbsp;</span><span class="c-iconCollapse"></span></td>
<td colspan="2"><span class="c-label"><strong>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.adminFunctions',1).'</strong>&nbsp;</span><span class="c-iconCollapse"></span></td>
</tr>';
$rows=array();
typo3/class.alt_menu_functions.inc (Arbeitskopie)
}
$selectItems[] = '<option value="top.goToModule(\''.$moduleName.'\');">'.htmlspecialchars($LANG->moduleLabels['tabs'][$moduleKey]).'</option>';
$label='&nbsp;<b>'.$label.'</b>&nbsp;';
$label='&nbsp;<strong>'.$label.'</strong>&nbsp;';
// make menu collapsable
typo3/mod/tools/em/class.em_index.php (Arbeitskopie)
$oldMD5 = md5(str_replace(CR,'',$oldFileContent));
$info .= sprintf(
$GLOBALS['LANG']->getLL('ext_details_md5_previous'),
'<b>' . $oldMD5 . '</b>'
'<strong>' . $oldMD5 . '</strong>'
) . '<br />';
t3lib_div::writeFile($editFile,$submittedContent['file']);
$saveFlag = 1;
......
$outCode.= sprintf(
$GLOBALS['LANG']->getLL('ext_details_file'),
'<b>' . substr($editFile, strlen($absPath)) . '</b> (' .
'<strong>' . substr($editFile, strlen($absPath)) . '</strong> (' .
t3lib_div::formatSize(filesize($editFile)) . ')<br />'
);
$fileMD5 = md5(str_replace(CR,'',$fileContent));
$info .= sprintf(
$GLOBALS['LANG']->getLL('ext_details_md5_current'),
'<b>' . $fileMD5 . '</b>'
'<strong>' . $fileMD5 . '</strong>'
) . '<br />';
if($saveFlag) {
$saveMD5 = md5(str_replace(CR,'',$submittedContent['file']));
$info .= sprintf(
$GLOBALS['LANG']->getLL('ext_details_md5_submitted'),
'<b>' . $saveMD5 . '</b>'
'<strong>' . $saveMD5 . '</strong>'
) . '<br />';
if ($fileMD5!=$saveMD5) {
$info .= $GLOBALS['TBE_TEMPLATE']->rfw(
typo3/mod/web/perm/index.php (Arbeitskopie)
// Adding help text:
if ($BE_USER->uc['helpText']) {
$this->content.=$this->doc->divider(20);
$legendText = '<b>'.$LANG->getLL('1',1).'</b>: '.$LANG->getLL('1_t',1);
$legendText.= '<br /><b>'.$LANG->getLL('16',1).'</b>: '.$LANG->getLL('16_t',1);
$legendText.= '<br /><b>'.$LANG->getLL('2',1).'</b>: '.$LANG->getLL('2_t',1);
$legendText.= '<br /><b>'.$LANG->getLL('4',1).'</b>: '.$LANG->getLL('4_t',1);
$legendText.= '<br /><b>'.$LANG->getLL('8',1).'</b>: '.$LANG->getLL('8_t',1);
$legendText = '<strong>'.$LANG->getLL('1',1).'</strong>: '.$LANG->getLL('1_t',1);
$legendText.= '<br /><strong>'.$LANG->getLL('16',1).'</strong>: '.$LANG->getLL('16_t',1);
$legendText.= '<br /><strong>'.$LANG->getLL('2',1).'</strong>: '.$LANG->getLL('2_t',1);
$legendText.= '<br /><strong>'.$LANG->getLL('4',1).'</strong>: '.$LANG->getLL('4_t',1);
$legendText.= '<br /><strong>'.$LANG->getLL('8',1).'</strong>: '.$LANG->getLL('8_t',1);
$code=$legendText.'<br /><br />'.$LANG->getLL('def',1);
$this->content.=$this->doc->section($LANG->getLL('Legend',1).':',$code);
......
<tr>
<td class="bgColor2" colspan="2">&nbsp;</td>
<td class="bgColor2"><img'.t3lib_iconWorks::skinImg($BACK_PATH,'gfx/line.gif','width="5" height="16"').' alt="" /></td>
<td class="bgColor2" align="center"><b>'.$LANG->getLL('Owner',1).'</b></td>
<td class="bgColor2" align="center"><strong>'.$LANG->getLL('Owner',1).'</strong></td>
<td class="bgColor2"><img'.t3lib_iconWorks::skinImg($BACK_PATH,'gfx/line.gif','width="5" height="16"').' alt="" /></td>
<td class="bgColor2" align="center"><b>'.$LANG->getLL('Group',1).'</b></td>
<td class="bgColor2" align="center"><strong>'.$LANG->getLL('Group',1).'</strong></td>
<td class="bgColor2"><img'.t3lib_iconWorks::skinImg($BACK_PATH,'gfx/line.gif','width="5" height="16"').' alt="" /></td>
<td class="bgColor2" align="center"><b>'.$LANG->getLL('Everybody',1).'</b></td>
<td class="bgColor2" align="center"><strong>'.$LANG->getLL('Everybody',1).'</strong></td>
<td class="bgColor2"><img'.t3lib_iconWorks::skinImg($BACK_PATH,'gfx/line.gif','width="5" height="16"').' alt="" /></td>
<td class="bgColor2" align="center"><b>'.$LANG->getLL('EditLock',1).'</b></td>
<td class="bgColor2" align="center"><strong>'.$LANG->getLL('EditLock',1).'</strong></td>
</tr>
';
} else {
......
<tr>
<td class="bgColor2" colspan="2">&nbsp;</td>
<td class="bgColor2"><img'.t3lib_iconWorks::skinImg($BACK_PATH,'gfx/line.gif','width="5" height="16"').' alt="" /></td>
<td class="bgColor2" align="center" nowrap="nowrap"><b>'.$LANG->getLL('User',1).':</b> ' . htmlspecialchars($BE_USER->user['username']) . '</td>
<td class="bgColor2" align="center" nowrap="nowrap"><strong>'.$LANG->getLL('User',1).':</strong> ' . htmlspecialchars($BE_USER->user['username']) . '</td>
'.(!$BE_USER->isAdmin()?'<td class="bgColor2"><img'.t3lib_iconWorks::skinImg($BACK_PATH,'gfx/line.gif','width="5" height="16"').' alt="" /></td>
<td class="bgColor2" align="center"><b>'.$LANG->getLL('EditLock',1).'</b></td>':'').'
<td class="bgColor2" align="center"><strong>'.$LANG->getLL('EditLock',1).'</strong></td>':'').'
</tr>';
}
......
$this->content.= t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'perm_module', $GLOBALS['BACK_PATH'], '<br />|');
// Creating legend table:
$legendText = '<b>'.$LANG->getLL('1',1).'</b>: '.$LANG->getLL('1_t',1);
$legendText.= '<br /><b>'.$LANG->getLL('16',1).'</b>: '.$LANG->getLL('16_t',1);
$legendText.= '<br /><b>'.$LANG->getLL('2',1).'</b>: '.$LANG->getLL('2_t',1);
$legendText.= '<br /><b>'.$LANG->getLL('4',1).'</b>: '.$LANG->getLL('4_t',1);
$legendText.= '<br /><b>'.$LANG->getLL('8',1).'</b>: '.$LANG->getLL('8_t',1);
$legendText = '<strong>'.$LANG->getLL('1',1).'</strong>: '.$LANG->getLL('1_t',1);
$legendText.= '<br /><strong>'.$LANG->getLL('16',1).'</strong>: '.$LANG->getLL('16_t',1);
$legendText.= '<br /><strong>'.$LANG->getLL('2',1).'</strong>: '.$LANG->getLL('2_t',1);
$legendText.= '<br /><strong>'.$LANG->getLL('4',1).'</strong>: '.$LANG->getLL('4_t',1);
$legendText.= '<br /><strong>'.$LANG->getLL('8',1).'</strong>: '.$LANG->getLL('8_t',1);
$code='<table border="0" id="typo3-legendTable">
<tr>
typo3/mod/web/info/index.php (Arbeitskopie)
$this->doc->setModuleTemplate('templates/info.html');
$this->doc->tableLayout = Array (
'0' => Array (
'0' => Array('<td valign="top"><b>','</b></td>'),
"defCol" => Array('<td><img src="'.$this->doc->backPath.'clear.gif" width="10" height="1" alt="" /></td><td valign="top"><b>','</b></td>')
'0' => Array('<td valign="top"><strong>','</strong></td>'),
"defCol" => Array('<td><img src="'.$this->doc->backPath.'clear.gif" width="10" height="1" alt="" /></td><td valign="top"><strong>','</strong></td>')
),
"defRow" => Array (
"0" => Array('<td valign="top">','</td>'),
typo3/mod/user/ws/wsol_preview.php (Arbeitskopie)
<title>Header</title>
</head>
<body bgcolor="'.$color.'">
<font face="verdana,arial" size="2" color="white"><b>'.$headerText.'</b></font>
<strong style="font-family:Verdana, Arial;font-size:80%;color:white;">'.$headerText.'</strong>
</body>
</html>';
} elseif ($msg = t3lib_div::_GP('msg')) {
switch($msg) {
case 'branchpoint':
$message = '<b>No live page available!</b><br /><br />
$message = '<strong>No live page available!</strong><br /><br />
The previewed page was inside a "Branch" type version and has no traceable counterpart in the live workspace.';
break;
case 'newpage':
$message = '<b>New page!</b><br /><br />
$message = '<strong>New page!</strong><br /><br />
The previewed page is created in the workspace and has no counterpart in the live workspace.';
break;
default:
typo3/mod/user/ws/index.php (Arbeitskopie)
$content = '
<table border="0" cellpadding="1" cellspacing="1" class="lrPadding" style="border: 1px solid black;">
<tr>
<td class="bgColor2" nowrap="nowrap"><b>' . $LANG->getLL('label_workspace') . '</b>&nbsp;</td>
<td class="bgColor2" nowrap="nowrap"><strong>' . $LANG->getLL('label_workspace') . '</strong>&nbsp;</td>
<td class="bgColor4" nowrap="nowrap">'.$title.'</td>
</tr>
<tr>
<td class="bgColor2" nowrap="nowrap"><b>' . $LANG->getLL('label_description') . '</b>&nbsp;</td>
<td class="bgColor2" nowrap="nowrap"><strong>' . $LANG->getLL('label_description') . '</strong>&nbsp;</td>
<td class="bgColor4">'.$description.'</td>
</tr>'.($GLOBALS['BE_USER']->workspace!=-99 && !$details ? '
<tr>
<td class="bgColor2" nowrap="nowrap"><b>' . $LANG->getLL('label_options') . '</b>&nbsp;</td>
<td class="bgColor2" nowrap="nowrap"><strong>' . $LANG->getLL('label_options') . '</strong>&nbsp;</td>
<td class="bgColor4">'.$menu.$actionLinks.'</td>
</tr>
<tr>
<td class="bgColor2" nowrap="nowrap"><b>' . $LANG->getLL('label_status') . '</b>&nbsp;</td>
<td class="bgColor2" nowrap="nowrap"><strong>' . $LANG->getLL('label_status') . '</strong>&nbsp;</td>
<td class="bgColor4">'.$LANG->getLL('label_access_level').' ' . $GLOBALS['LANG']->getLL('workspace_list_access_' . $wsAccess['_ACCESS']) . '</td>
</tr>' : '').'
</table>
......
global $LANG;
$content = '<table cellspacing="1" cellpadding="1" width="100%" class="ver-wl-details-table">' .
'<tr><td class="ver-wl-details-label"><b>' . $LANG->getLL('workspace_list_label_file_mountpoints') . '</b></td>' .
'<tr><td class="ver-wl-details-label"><strong>' . $LANG->getLL('workspace_list_label_file_mountpoints') . '</strong></td>' .
'<td class="ver-wl-details">' . $this->workspaceList_getFileMountPoints($wksp) . '</td></tr>' .
'<tr><td class="ver-wl-details-label"><b>' . $LANG->getLL('workspace_list_label_db_mountpoints') . '</b></td>' .
'<tr><td class="ver-wl-details-label"><strong>' . $LANG->getLL('workspace_list_label_db_mountpoints') . '</strong></td>' .
'<td class="ver-wl-details">' . $this->workspaceList_getWebMountPoints($wksp) . '</td></tr>';
if ($wksp['uid'] > 0) {
// Displaying information below makes sence only for custom workspaces
$content .=
'<tr><td class="ver-wl-details-label"><b>' . $LANG->getLL('workspace_list_label_frozen') . '</b></td>' .
'<tr><td class="ver-wl-details-label"><strong>' . $LANG->getLL('workspace_list_label_frozen') . '</strong></td>' .
'<td class="ver-wl-details">' . $LANG->getLL($wksp['freeze'] ? 'workspace_list_label_frozen_yes' : 'workspace_list_label_frozen_no') . '</td></tr>' .
'<tr><td class="ver-wl-details-label"><b>' . $LANG->getLL('workspace_list_label_publish_date') . '</b></td>' .
'<tr><td class="ver-wl-details-label"><strong>' . $LANG->getLL('workspace_list_label_publish_date') . '</strong></td>' .
'<td class="ver-wl-details">' . ($wksp['publish_time'] == 0 ? '&nbsp;&ndash;' : t3lib_BEfunc::datetime($wksp['publish_time'])) . '</td></tr>' .
'<tr><td class="ver-wl-details-label"><b>' . $LANG->getLL('workspace_list_label_unpublish_date') . '</b></td>' .
'<tr><td class="ver-wl-details-label"><strong>' . $LANG->getLL('workspace_list_label_unpublish_date') . '</strong></td>' .
'<td class="ver-wl-details">' . ($wksp['unpublish_time'] == 0 ? '&nbsp;&ndash;' : t3lib_BEfunc::datetime($wksp['unpublish_time'])) . '</td></tr>' .
'<tr><td class="ver-wl-details-label"><b>' . $LANG->getLL('workspace_list_label_your_access') . '</b></td>' .
'<tr><td class="ver-wl-details-label"><strong>' . $LANG->getLL('workspace_list_label_your_access') . '</strong></td>' .
'<td class="ver-wl-details">' . $LANG->getLL('workspace_list_access_' . $wksp['_ACCESS']) . '</td></tr>' .
'<tr><td class="ver-wl-details-label"><b>' . $LANG->getLL('workspace_list_label_workspace_users') . '</b></td>' .
'<tr><td class="ver-wl-details-label"><strong>' . $LANG->getLL('workspace_list_label_workspace_users') . '</strong></td>' .
'<td class="ver-wl-details">' . $this->workspaceList_getUserList($wksp) . '</td></tr>';
}
else if ($GLOBALS['BE_USER']->isAdmin()) {
// show users for draft/live workspace only to admin users
$content .= '<tr><td class="ver-wl-details-label"><b>' . $LANG->getLL('workspace_list_label_workspace_users') . '</b></td>' .
$content .= '<tr><td class="ver-wl-details-label"><strong>' . $LANG->getLL('workspace_list_label_workspace_users') . '</strong></td>' .
'<td class="ver-wl-details">' . $this->workspaceList_getUserList($wksp) . '</td></tr>';
}
$content .= '</table>';
......
$content = '<tr><td class="ver-wl-details-label ver-wl-details-user-list-label">';
// TODO CSH lable explaining access here?
$content .= '<b>' . $access . '</b></td>';
$content .= '<strong>' . $access . '</strong></td>';
$content .= '<td class="ver-wl-details">' . implode('<br />', $content_array) . '</td></tr>';
return $content;
}
typo3/mod/user/ws/class.wslib_gui.php (Arbeitskopie)
$browse .= 'Showing ' . $browseStat['begin'] . ' to ' . ($browseStat['end'] ? $browseStat['end'] . ' out of ' . $browseStat['allItems'] : $browseStat['allItems']) . ' versions:<br />';
if (!($browseStat['begin']==1 && !$browseStat['end'])) {
for($a=0;$a<ceil($browseStat['allItems']/$resultsPerPage);$a++) {
$browse.=($a==(int)$pointer?'<b>':'').'<a href="'.htmlspecialchars('index.php?browsePointer='.rawurlencode($a)).'">['.($a+1).']</a>'.($a==(int)$pointer?'</b>':'').' ';
$browse.=($a==(int)$pointer?'<strong>':'').'<a href="'.htmlspecialchars('index.php?browsePointer='.rawurlencode($a)).'">['.($a+1).']</a>'.($a==(int)$pointer?'</strong>':'').' ';
}
$browse.= '<br />';
}
......
// Create version element:
$versionsInOtherWS = $this->versionsInOtherWS($table, $rec_on['uid']);
$versionsInOtherWSWarning = $versionsInOtherWS && $GLOBALS['BE_USER']->workspace !== 0 ? '<br />' . $this->doc->icons(2) . $LANG->getLL('label_otherversions') . ' ' . $versionsInOtherWS : '';
$multipleWarning = (!$mainCell && $GLOBALS['BE_USER']->workspace !==0 ? '<br />' . $this->doc->icons(3) . '<b>' . $LANG->getLL('label_multipleversions') . '</b>' : '');
$verWarning = $warnAboutVersions || ($warnAboutVersions_nonPages && $GLOBALS['TCA'][$table]['ctrl']['versioning_followPages']) ? '<br />' . $this->doc->icons(3) . '<b>' . $LANG->getLL('label_nestedversions') . '</b>' : '';
$multipleWarning = (!$mainCell && $GLOBALS['BE_USER']->workspace !==0 ? '<br />' . $this->doc->icons(3) . '<strong>' . $LANG->getLL('label_multipleversions') . '</strong>' : '');
$verWarning = $warnAboutVersions || ($warnAboutVersions_nonPages && $GLOBALS['TCA'][$table]['ctrl']['versioning_followPages']) ? '<br />' . $this->doc->icons(3) . '<strong>' . $LANG->getLL('label_nestedversions') . '</strong>' : '';
$verElement = $icon.
'<a href="'.htmlspecialchars($this->doc->backPath.t3lib_extMgm::extRelPath('version').'cm1/index.php?id='.($table==='pages'?$rec_on['uid']:$rec_on['pid']).'&details='.rawurlencode($table.':'.$rec_off['uid']).'&returnUrl='.rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI'))).'">'.
t3lib_BEfunc::getRecordTitle($table,$rec_off,TRUE).
typo3/init.php (Arbeitskopie)
* @subpackage core
*/
$LANG->includeLLFile('EXT:lang/locallang_misc.xml');
// *******************************
// Checking PHP version
// *******************************
typo3/sysext/tstemplate_objbrowser/class.tx_tstemplateobjbrowser.php (Arbeitskopie)
$existTemplate = $this->initialize_editor($this->pObj->id,$template_uid); // initialize
if ($existTemplate) {
$theOutput .= '<h4 style="margin-bottom:5px;">' . $GLOBALS['LANG']->getLL('currentTemplate') . ' <img ' .
t3lib_iconWorks::skinImg($BACK_PATH, t3lib_iconWorks::getIcon('sys_template', $tplRow)) . ' align="top" /> <b>' .
$this->pObj->linkWrapTemplateTitle($tplRow["title"], ($bType == "setup" ? "config" : "constants")) . '</b>' .
t3lib_iconWorks::skinImg($BACK_PATH, t3lib_iconWorks::getIcon('sys_template', $tplRow)) . ' align="top" /> <strong>' .
$this->pObj->linkWrapTemplateTitle($tplRow["title"], ($bType == "setup" ? "config" : "constants")) . '</strong>' .
htmlspecialchars(trim($tplRow["sitetitle"]) ? ' - (' . $tplRow["sitetitle"] . ')' : '') . '</h4>';
if ($manyTemplatesMenu) {
$theOutput.=$this->pObj->doc->section("",$manyTemplatesMenu);
......
// clear
$out = '';
$out = htmlspecialchars($this->pObj->sObj) . " <b>" .
$out = htmlspecialchars($this->pObj->sObj) . " <strong>" .
$GLOBALS['LANG']->csConvObj->conv_case(
$GLOBALS['LANG']->charSet, $GLOBALS['LANG']->getLL('clear'), 'toUpper'
) . "</b> &nbsp;&nbsp;";
) . "</strong> &nbsp;&nbsp;";
$out .= '<input type="Checkbox" name="data[' . htmlspecialchars($this->pObj->sObj) . '][clearValue]" value="1" />';
$out .= '<input type="Submit" name="clear_object" value="' . $GLOBALS['LANG']->getLL('clearButton') . '" />';
$theOutput .= $this->pObj->doc->spacer(20);
......
// back
$out = $GLOBALS['LANG']->getLL('back');
$out = '<a href="index.php?id='.$this->pObj->id.'"><b>'.$out.'</b></a>';
$out = '<a href="index.php?id='.$this->pObj->id.'"><strong>'.$out.'</strong></a>';
$theOutput.=$this->pObj->doc->divider(5);
$theOutput.=$this->pObj->doc->section("",$out);
......
if (isset($this->pObj->MOD_SETTINGS["ts_browser_TLKeys_".$bType][$theKey])) {
$remove = '<td width="1%" nowrap><a href="index.php?id=' . $this->pObj->id . '&addKey[' . $theKey . ']=0&SET[ts_browser_toplevel_' . $bType . ']=0"><b>' . $GLOBALS['LANG']->getLL('removeKey') . '</b></a></td>';
$remove = '<td width="1%" nowrap><a href="index.php?id=' . $this->pObj->id . '&addKey[' . $theKey . ']=0&SET[ts_browser_toplevel_' . $bType . ']=0"><strong>' . $GLOBALS['LANG']->getLL('removeKey') . '</strong></a></td>';
} else {
$remove = '';
}
......
<tr>
<td><img src=clear.gif width=4 height=1></td>
<td class="bgColor2">
<table border=0 cellpadding=0 cellspacing=0 class="bgColor5" width="100%"><tr><td nowrap width="99%"><b>'.$label.'</b></td>'.$remove.'</tr></table>
<table border=0 cellpadding=0 cellspacing=0 class="bgColor5" width="100%"><tr><td nowrap width="99%"><strong>'.$label.'</strong></td>'.$remove.'</tr></table>
</td>
</tr>
<tr>
typo3/sysext/tsconfig_help/mod1/index.php (Arbeitskopie)
/**
* Parses the whole XML file in order to understand the Styles structure. This function is mostly looking at the styles
* that create bold or italic characters in the document, as these will later on need to be translated to <i> and <b> tags
* that create bold or italic characters in the document, as these will later on need to be translated to <i> and <strong> tags
* This function takes into account the hierarchy of the styles, as created by OpenOffice. This means that if a style has
* a parant, this function will make it inherit the styles of the parent. Therefore bold and italic styles are propagated
* to children as well.
......
*
* @param array an array containing all the style tags
* @param string either '' or '/' depending on whether the style definition is to open or close the style
* @return string the sequence of tags to open or close the style, for example <b><i>
* @return string the sequence of tags to open or close the style, for example <strong><i>
*/
function styleHTML($style, $char) {
$string = '';
typo3/sysext/beuser/mod/index.php (Arbeitskopie)
$str.= (($int&4)?'*':'<font color="red">x</font>');
$str.= (($int&8)?'*':'<font color="red">x</font>');
return '<b><font color="green">'.$str.'</font></b>';
return '<strong style="color:green;">'.$str.'</strong>';
}
/**
......
// Traverse types:
foreach ($theTypes as $tableFieldKey => $theTypeArrays) {
if (is_array($theTypeArrays['items'])) {
$pout[] = '<b>'.$theTypeArrays['tableFieldLabel'].'</b>';
$pout[] = '<strong>'.$theTypeArrays['tableFieldLabel'].'</strong>';
// Traverse options for this field:
foreach ($theTypeArrays['items'] as $itemValue => $itemContent) {
$v = $tableFieldKey.':'.$itemValue.':'.$itemContent[0];
......
$str.= (($int&4)?'*':'<font color="red">x</font>');
$str.= (($int&8)?'*':'<font color="red">x</font>');
return '<b><font color="green">'.$str.'</font></b>';
return '<strong style="color:green;">'.$str.'</strong>';
}
/**
......
t3lib_iconWorks::getSpriteIcon('actions-document-new') .
'</a>';
$allCells['USERS'] = '<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td><b>' . $GLOBALS['LANG']->getLL('usernames', TRUE) . '</b></td><td width="12">' . $link_createNewUser . '</td></tr></table>';
$allCells['USERS'] = '<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td><strong>' . $GLOBALS['LANG']->getLL('usernames', TRUE) . '</strong></td><td width="12">' . $link_createNewUser . '</td></tr></table>';
foreach ($options as $kk => $vv) {
if ($compareFlags[$kk]) {
$allCells[$kk] = '<b>'.$vv.':</b>';
$allCells[$kk] = '<strong>'.$vv.':</strong>';
}
}
$allGroups[]=$allCells;
......
$outTable = '
<table border="0" cellpadding="2" cellspacing="2">
<tr class="bgColor5">
<td valign="top"><b>' . $GLOBALS['LANG']->getLL('timestamp', true) . '</b></td>
<td valign="top"><b>' . $GLOBALS['LANG']->getLL('host', true) . '</b></td>
<td valign="top" colspan="5"><b>' . $GLOBALS['LANG']->getLL('username', true) . '</b></td>
<td valign="top"><strong>' . $GLOBALS['LANG']->getLL('timestamp', true) . '</strong></td>
<td valign="top"><strong>' . $GLOBALS['LANG']->getLL('host', true) . '</strong></td>
<td valign="top" colspan="5"><strong>' . $GLOBALS['LANG']->getLL('username', true) . '</strong></td>
</tr>'.$outTable.'
</table>';
typo3/sysext/tstemplate_analyzer/class.tx_tstemplateanalyzer.php (Arbeitskopie)
if ($existTemplate) {
$theOutput.=$this->pObj->doc->divider(5);
$theOutput.=$this->pObj->doc->section($GLOBALS['LANG']->getLL('currentTemplate', true) ,
t3lib_iconWorks::getSpriteIconForRecord('sys_template', $tplRow) . '<b>' .
$this->pObj->linkWrapTemplateTitle($tplRow["title"]) . '</b>' .
t3lib_iconWorks::getSpriteIconForRecord('sys_template', $tplRow) . '<strong>' .
$this->pObj->linkWrapTemplateTitle($tplRow["title"]) . '</strong>' .
htmlspecialchars(trim($tplRow["sitetitle"]) ? ' - (' . $tplRow["sitetitle"] . ')' : ''));
}
if ($manyTemplatesMenu) {
......
if ($cVal == t3lib_div::_GET('template') || t3lib_div::_GET('template') == "all") {
$theOutput .= '
<tr>
<td><img src="clear.gif" width="3" height="1" /></td><td class="bgColor2"><b>' . $tmpl->templateTitles[$cVal] . '</b></td></tr>
<td><img src="clear.gif" width="3" height="1" /></td><td class="bgColor2"><strong>' . $tmpl->templateTitles[$cVal] . '</strong></td></tr>
<tr>
<td><img src="clear.gif" width="3" height="1" /></td>
<td class="bgColor2"><table border=0 cellpadding=0 cellspacing=0 class="bgColor0" width="100%"><tr><td nowrap>' .
......
if (current($tmpl->clearList_setup) == t3lib_div::_GET('template') || t3lib_div::_GET('template') == "all") {
$theOutput .= '
<tr>
<td><img src="clear.gif" width="3" height="1" /></td><td class="bgColor2"><b>' . $tmpl->templateTitles[current($tmpl->clearList_setup)] . '</b></td></tr>
<td><img src="clear.gif" width="3" height="1" /></td><td class="bgColor2"><strong>' . $tmpl->templateTitles[current($tmpl->clearList_setup)] . '</strong></td></tr>
<tr>
<td><img src="clear.gif" width="3" height="1" /></td>
<td class="bgColor2"><table border=0 cellpadding=0 cellspacing=0 class="bgColor0" width="100%"><tr><td nowrap>'.$tmpl->ext_outputTS(array($val),$this->pObj->MOD_SETTINGS["ts_analyzer_checkLinenum"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkComments"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkCrop"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkSyntax"],$this->pObj->MOD_SETTINGS["ts_analyzer_checkSyntaxBlockmode"]).'</td></tr></table>
typo3/sysext/belog/mod/index.php (Arbeitskopie)
$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="c-headLineTable"><strong>', '</strong></td><td class="c-headLineTable"><img src="' . $this->doc->backPath . 'clear.gif" width="10" height="1" alt="" /></td>')
),
'defRow' => Array (
'0' => Array('<td valign="top">','</td>'),
......
array($GLOBALS['LANG']->getLL('action'), $menuA)
),
array(
$GLOBALS['BE_USER']->workspace!==0 ? array('Workspace:','<b>'.$GLOBALS['BE_USER']->workspace.'</b>') : array('Workspace:',$menuW),
$GLOBALS['BE_USER']->workspace!==0 ? array('Workspace:','<strong>'.$GLOBALS['BE_USER']->workspace.'</strong>') : array('Workspace:',$menuW),
array('Group by page:',$groupByPage)
)
));
typo3/sysext/lowlevel/dbint/index.php (Arbeitskopie)
$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="c-headLineTable"><img src="' . $this->doc->backPath . 'clear.gif" width="10" height="1" alt="" /></td><td valign="top" class="c-headLineTable"><strong>', '</strong></td>')
),
'defRow' => array (
'0' => array('<td valign="top">','</td>'),
......
if (is_array($admin->lRecords[$t])) {
foreach ($admin->lRecords[$t] as $data) {
if (!t3lib_div::inList($admin->lostPagesList,$data[pid])) {
$lr.= '<nobr><b><a href="index.php?SET[function]=records&fixLostRecords_table=' . $t . '&fixLostRecords_uid=' . $data[uid] . '"><img src="' . $BACK_PATH . 'gfx/required_h.gif" width="10" hspace="3" height="10" border="0" align="top" title="' . $GLOBALS['LANG']->getLL('fixLostRecord') . '"></a>uid:' . $data[uid] . ', pid:' . $data[pid] . ', ' . t3lib_div::fixed_lgd_cs(strip_tags($data[title]), 20) . '</b></nobr><br>';
$lr.= '<nobr><strong><a href="index.php?SET[function]=records&fixLostRecords_table=' . $t . '&fixLostRecords_uid=' . $data[uid] . '"><img src="' . $BACK_PATH . 'gfx/required_h.gif" width="10" hspace="3" height="10" border="0" align="top" title="' . $GLOBALS['LANG']->getLL('fixLostRecord') . '"></a>uid:' . $data[uid] . ', pid:' . $data[pid] . ', ' . t3lib_div::fixed_lgd_cs(strip_tags($data[title]), 20) . '</strong></nobr><br>';
} else {
$lr.= '<nobr><img src="' . $BACK_PATH . 'clear.gif" width="16" height="1" border="0"><font color="Gray">uid:' . $data[uid] . ', pid:' . $data[pid] . ', ' . t3lib_div::fixed_lgd_cs(strip_tags($data[title]), 20) . '</font></nobr><br>';
}
......
$code='';
if (is_array($fileTest['noReferences'])) {
foreach ($fileTest['noReferences'] as $val) {
$code.='<nobr>' . $val[0] . '/<b>' . $val[1] . '</b></nobr><br>';
$code.='<nobr>' . $val[0] . '/<strong>' . $val[1] . '</strong></nobr><br>';
}
}
$this->content.=$this->doc->section($GLOBALS['LANG']->getLL('files_no_ref'), $code, true, true);
......
$code='';
if (is_array($fileTest['moreReferences'])) {
foreach ($fileTest['moreReferences'] as $val) {
$code.='<nobr>' . $val[0] . '/<b>' . $val[1] . '</b>: ' . $val[2] . ' ' . $GLOBALS['LANG']->getLL('references') . '</nobr><br>' . $val[3] . '<br><br>';
$code.='<nobr>' . $val[0] . '/<strong>' . $val[1] . '</strong>: ' . $val[2] . ' ' . $GLOBALS['LANG']->getLL('references') . '</nobr><br>' . $val[3] . '<br><br>';
}
}
$this->content.=$this->doc->section($GLOBALS['LANG']->getLL('files_many_ref'),$code, true, true);
......
if (is_array($fileTest['noFile'])) {
ksort($fileTest['noFile']);
foreach ($fileTest['noFile'] as $val) {
$code.='<nobr>' . $val[0] . '/<b>' . $val[1] . '</b> ' . $GLOBALS['LANG']->getLL('isMissing') . ' </nobr><br>' . $GLOBALS['LANG']->getLL('referencedFrom') . $val[2] . '<br><br>';
$code.='<nobr>' . $val[0] . '/<strong>' . $val[1] . '</strong> ' . $GLOBALS['LANG']->getLL('isMissing') . ' </nobr><br>' . $GLOBALS['LANG']->getLL('referencedFrom') . $val[2] . '<br><br>';
}
}
$this->content.= $this->doc->section($GLOBALS['LANG']->getLL('files_no_file'), $code, true, true);
......
$info = $this->findFile(PATH_site.$value.'/',$pattern,$matching_files,$depth);
}
if (is_array($info)) {
$lines[]='<hr><b>' . $value . '/</b> ' . $GLOBALS['LANG']->getLL('beingChecked');
$lines[]='<hr><strong>' . $value . '/</strong> ' . $GLOBALS['LANG']->getLL('beingChecked');
$lines[]=$GLOBALS['LANG']->getLL('directories') . ' ' . $info[0];
if ($info[2]) $lines[]='<span class="typo3-red">' . $GLOBALS['LANG']->getLL('directoriesTooDeep') . ' ' . $depth . '</span>';
$lines[]=$GLOBALS['LANG']->getLL('files') . ' ' . $info[1];
$lines[]=$GLOBALS['LANG']->getLL('matchingFiles') . '<br><nobr><span class="typo3-red">' . implode('<br>', $matching_files) . '</span></nobr>';
} else {
$lines[]=$GLOBALS['TBE_TEMPLATE']->dfw('<hr><b>' . $value . '/</b> ' . $GLOBALS['LANG']->getLL('notChecked'));
$lines[]=$GLOBALS['TBE_TEMPLATE']->dfw('<hr><strong>' . $value . '/</strong> ' . $GLOBALS['LANG']->getLL('notChecked'));
}
}
typo3/sysext/lowlevel/config/index.php (Arbeitskopie)
$this->content.= '<tr>
<td><img src="clear.gif" width="1" height="1" alt="" /></td>
<td class="bgColor2">
<table border="0" cellpadding="0" cellspacing="0" class="bgColor5" width="100%"><tr><td nowrap="nowrap"><b>'.$label.'</b></td></tr></table>
<table border="0" cellpadding="0" cellspacing="0" class="bgColor5" width="100%"><tr><td nowrap="nowrap"><strong>'.$label.'</strong></td></tr></table>
</td>
</tr>';
$this->content.='<tr>
typo3/sysext/extbase/Classes/Utility/Extension.php (Arbeitskopie)
}
$autoloadFileString = $this->generateAutoloadPHPFileData($classNameToFileMapping, $globalPrefix);
if (!@file_put_contents($extensionPath . 'ext_autoload.php', $autoloadFileString)) {
$errors[] = '<b>' . $extensionPath . 'ext_autoload.php could not be written!</b>';
$errors[] = '<strong>' . $extensionPath . 'ext_autoload.php could not be written!</strong>';
}
$errors[] = 'Wrote the following data: <pre>' . htmlspecialchars($autoloadFileString) . '</pre>';
return implode('<br />', $errors);
......
*/
protected function buildAutoloadRegistryForSinglePath(&$classNameToFileMapping, $path, $excludeRegularExpression = '', $valueWrap = '\'|\'') {
// if (file_exists($path . 'Classes/')) {
// return "<b>This appears to be a new-style extension which has its PHP classes inside the Classes/ subdirectory. It is not needed to generate the autoload registry for these extensions.</b>";
// return "<strong>This appears to be a new-style extension which has its PHP classes inside the Classes/ subdirectory. It is not needed to generate the autoload registry for these extensions.</strong>";
// }
$extensionFileNames = t3lib_div::removePrefixPathFromList(t3lib_div::getAllFilesAndFoldersInPath(array(), $path, 'php', FALSE, 99, $excludeRegularExpression), $path);
typo3/sysext/extbase/Classes/Utility/ExtbaseRequirementsCheck.php (Arbeitskopie)
$status = tx_reports_reports_status_Status::OK;
} else {
$value = 'Stripped';
$message = 'The PHP Doc comments are stripped from the PHP files. All extensions based on Extbase will not work correctly.<br />Are you using a PHP Accelerator like eAccelerator? If you use eAccelerator, please recompile it with the compile flag <b>--with-eaccelerator-doc-comment-inclusion</b>. See <a href="http://eaccelerator.net/ticket/229">the eAccelerator bugtracker</a> for more details.';
$message = 'The PHP Doc comments are stripped from the PHP files. All extensions based on Extbase will not work correctly.<br />Are you using a PHP Accelerator like eAccelerator? If you use eAccelerator, please recompile it with the compile flag <strong>--with-eaccelerator-doc-comment-inclusion</strong>. See <a href="http://eaccelerator.net/ticket/229">the eAccelerator bugtracker</a> for more details.';
$status = tx_reports_reports_status_Status::ERROR;
}
return t3lib_div::makeInstance('tx_reports_reports_status_Status',
typo3/sysext/wizard_crpages/class.tx_wizardcrpages_webfunc_2.php (Arbeitskopie)
htmlspecialchars(t3lib_div::fixed_lgd_cs($rec['title'],$GLOBALS['BE_USER']->uc['titleLen'])).'</nobr>';
}
}
$theCode.= '<b>'.$LANG->getLL('wiz_newPages_currentMenu').':</b><br /><br />'.implode('<br />',$lines);
$theCode.= '<strong>'.$LANG->getLL('wiz_newPages_currentMenu').':</strong><br /><br />'.implode('<br />',$lines);
} else {
// Create loremIpsum code:
if (t3lib_extMgm::isLoaded('lorem_ipsum')) {
......
(is_object($loremIpsumObj) ? '<a href="#" onclick="' . htmlspecialchars($loremIpsumObj->getHeaderTitleJS('document.forms[0][\'data[pages][NEW' . $a . '][title]\'].value', 'title')) . '">' . $loremIpsumObj->getIcon('', $this->pObj->doc->backPath) . '</a>' : '');
}
$theCode.= '<b>'.$LANG->getLL('wiz_newPages').':</b><br /><br />'.implode('<br />',$lines).
$theCode.= '<strong>'.$LANG->getLL('wiz_newPages').':</strong><br /><br />'.implode('<br />',$lines).
'<br /><br />
<input type="checkbox" name="createInListEnd" id="createInListEnd" value="1" /> <label for="createInListEnd">'.$LANG->getLL('wiz_newPages_listEnd').'</label><br />
<input type="checkbox" name="hidePages" id="hidePages" value="1" /> <label for="hidePages">'.$LANG->getLL('wiz_newPages_hidePages').'</label><br /><br />
typo3/sysext/cms/ext_localconf.php (Arbeitskopie)
'underscore (_) to hyphen (-) to make URLs more friendly for search engines' .
'URLs that are already existing (e.g. external links to your site) will still work like before.</p>' .
'<p>You can set the separator character back to an underscore by putting the following line into the '.
'<b>Setup</b> section of your Page TypoScript template:</p>' .
'<strong>Setup</strong> section of your Page TypoScript template:</p>' .
'<p style="margin-top: 5px; white-space: nowrap;"><code>config.simulateStaticDocuments_replacementChar = _</code></p></li>'.
'<li><p>CSS Stylesheets and JavaScript are put into an external file by default.</p>'.
'<p>Technically, that means that the default value of "config.inlineStyle2TempFile" is now set to "1" and that of "config.removeDefaultJS" to "external"</p></li>'.
typo3/sysext/cms/tslib/class.tslib_fe.php (Arbeitskopie)
if (@is_file(PATH_site.$this->TYPO3_CONF_VARS['FE']['workspacePreviewLogoutTemplate'])) {
$message = t3lib_div::getUrl(PATH_site.$this->TYPO3_CONF_VARS['FE']['workspacePreviewLogoutTemplate']);
} else {
$message = '<b>ERROR!</b><br>Template File "'.$this->TYPO3_CONF_VARS['FE']['workspacePreviewLogoutTemplate'].'" configured with $TYPO3_CONF_VARS["FE"]["workspacePreviewLogoutTemplate"] not found. Please contact webmaster about this problem.';
$message = '<strong>ERROR!</strong><br>Template File "'.$this->TYPO3_CONF_VARS['FE']['workspacePreviewLogoutTemplate'].'" configured with $TYPO3_CONF_VARS["FE"]["workspacePreviewLogoutTemplate"] not found. Please contact webmaster about this problem.';
}
} else {
$message = 'You logged out from Workspace preview mode. Click this link to <a href="%1$s">go back to the website</a>';
typo3/sysext/cms/tslib/class.tslib_content.php (Arbeitskopie)
if ($conf['debug']) {$content = '<pre>'.htmlspecialchars($content).'</pre>';}
if ($conf['debugFunc']) {debug($conf['debugFunc']==2?array($content):$content);}
if ($conf['debugData']) {
echo '<b>$cObj->data:</b>';
echo '<strong>$cObj->data:</strong>';
debug($this->data,'$cObj->data:');
if (is_array($this->alternativeData)) {
echo '<b>$cObj->alternativeData:</b>';
echo '<strong>$cObj->alternativeData:</strong>';
debug($this->alternativeData,'$this->alternativeData');
}
}
......
* Wrapping input value in a regular "wrap" but parses the wrapping value first for "insertData" codes.
*
* @param string Input string being wrapped
* @param string The wrap string, eg. "<b></b>" or more likely here '<a href="index.php?id={TSFE:id}"> | </a>' which will wrap the input string in a <a> tag linking to the current page.
* @param string The wrap string, eg. "<strong></strong>" or more likely here '<a href="index.php?id={TSFE:id}"> | </a>' which will wrap the input string in a <a> tag linking to the current page.
* @return string Output string wrapped in the wrapping value.
* @see insertData(), stdWrap()
*/
......
// properties
if (($properties&8)) {$theValue=$this->HTMLcaseshift($theValue, 'upper');}
if (($properties&1)) {$theValue='<b>'.$theValue.'</b>';}
if (($properties&1)) {$theValue='<strong>'.$theValue.'</strong>';}
if (($properties&2)) {$theValue='<i>'.$theValue.'</i>';}
if (($properties&4)) {$theValue='<u>'.$theValue.'</u>';}
......
/**
* Wrapping a string.
* Implements the TypoScript "wrap" property.
* Example: $content = "HELLO WORLD" and $wrap = "<b> | </b>", result: "<b>HELLO WORLD</b>"
* Example: $content = "HELLO WORLD" and $wrap = "<strong> | </strong>", result: "<strong>HELLO WORLD</strong>"
*
* @param string The content to wrap
* @param string The wrap value, eg. "<b> | </b>"
* @param string The wrap value, eg. "<strong> | </strong>"
* @param string The char used to split the wrapping value, default is "|"
* @return string Wrapped input string
* @see noTrimWrap()
......
* Notice that the wrap value uses part 1/2 to wrap (and not 0/1 which wrap() does)
*
* @param string The content to wrap, eg. "HELLO WORLD"
* @param string The wrap value, eg. " | <b> | </b>"
* @return string Wrapped input string, eg. " <b> HELLO WORD </b>"
* @param string The wrap value, eg. " | <strong> | </strong>"
* @return string Wrapped input string, eg. " <strong> HELLO WORD </strong>"
* @see wrap()
*/
function noTrimWrap($content,$wrap) {
typo3/sysext/cms/layout/class.tx_cms_layout.php (Arbeitskopie)
} else $eI='';
switch($field) {
case 'title':
$theData[$field] = '&nbsp;<b>'.$GLOBALS['LANG']->sL($TCA['pages']['columns'][$field]['label']).'</b>'.$eI;
$theData[$field] = '&nbsp;<strong>'.$GLOBALS['LANG']->sL($TCA['pages']['columns'][$field]['label']).'</strong>'.$eI;
break;
case 'uid':
$theData[$field] = '&nbsp;<b>ID:</b>';
$theData[$field] = '&nbsp;<strong>ID:</strong>';
break;
default:
if (substr($field,0,6)=='table_') {
......
break;
}
} else {
$theData[$field] = '&nbsp;&nbsp;<b>'.$GLOBALS['LANG']->sL($TCA['pages']['columns'][$field]['label'],1).'</b>'.$eI;
$theData[$field] = '&nbsp;&nbsp;<strong>'.$GLOBALS['LANG']->sL($TCA['pages']['columns'][$field]['label'],1).'</strong>'.$eI;
}
break;
}
......
// header line is drawn
$theData = Array();
$theData['__cmds__'] ='';
$theData['info'] = '<b>Info</b><br /><img src="clear.gif" height="1" width="220" alt="" />';
$theData['note'] = '<b>Note</b>';
$theData['info'] = '<strong>Info</strong><br /><img src="clear.gif" height="1" width="220" alt="" />';
$theData['note'] = '<strong>Note</strong>';
$out.=$this->addelement(1,'',$theData,' class="c-headLine"',20);
// half line is drawn
......
$theData = Array();
$this->getProcessedValue('sys_note','subject,category,author,email,personal',$row,$info);
$cont=implode('<br />',$info);
$head = '<b>Page:</b> '.t3lib_BEfunc::getRecordPath($row['pid'],$perms_clause,10).'<br />';
$head = '<strong>Page:</strong> '.t3lib_BEfunc::getRecordPath($row['pid'],$perms_clause,10).'<br />';
$theData['__cmds__']= $this->getIcon('sys_note',$row);
$theData['info'] = $head.$cont;
......
// Header line is drawn
$theData = Array();
$theData['subject'] = '<b>'.$GLOBALS['LANG']->getLL('tt_board_subject',1).'</b>';
$theData['author'] = '<b>'.$GLOBALS['LANG']->getLL('tt_board_author',1).'</b>';
$theData['date'] = '<b>'.$GLOBALS['LANG']->getLL('tt_board_date',1).'</b>';
$theData['age'] = '<b>'.$GLOBALS['LANG']->getLL('tt_board_age',1).'</b>';
$theData['subject'] = '<strong>'.$GLOBALS['LANG']->getLL('tt_board_subject',1).'</strong>';
$theData['author'] = '<strong>'.$GLOBALS['LANG']->getLL('tt_board_author',1).'</strong>';
$theData['date'] = '<strong>'.$GLOBALS['LANG']->getLL('tt_board_date',1).'</strong>';
$theData['age'] = '<strong>'.$GLOBALS['LANG']->getLL('tt_board_age',1).'</strong>';
if ($GLOBALS['SOBE']->MOD_SETTINGS['tt_board']!='expand') {
$theData['replys'] = '<b>'.$GLOBALS['LANG']->getLL('tt_board_RE',1).'</b>';
$theData['replys'] = '<strong>'.$GLOBALS['LANG']->getLL('tt_board_RE',1).'</strong>';
}
$out.=$this->addelement(1,'',$theData,' class="c-headLine"',20);
......
// Traverse fields, separated by ";" (displayed in a single cell).
foreach($theFields as $fName2) {
if ($TCA[$table]['columns'][$fName2]) {
$out[$fieldName].= '<b>'.$GLOBALS['LANG']->sL($TCA[$table]['columns'][$fName2]['label'],1).'</b>'.
$out[$fieldName].= '<strong>'.$GLOBALS['LANG']->sL($TCA[$table]['columns'][$fName2]['label'],1).'</strong>'.
'&nbsp;&nbsp;'.
htmlspecialchars(t3lib_div::fixed_lgd_cs(t3lib_BEfunc::getProcessedValue($table,$fName2,$row[$fName2],0,0,0,$row['uid']),25)).
'<br />';
......
foreach($fieldArr as $fieldName) {
$ll = $GLOBALS['LANG']->sL($TCA[$table]['columns'][$fieldName]['label'],1);
$out[$fieldName] = '<b>'.($ll?$ll:'&nbsp;').'</b>';
$out[$fieldName] = '<strong>'.($ll?$ll:'&nbsp;').'</strong>';
}
return $out;
}
......
foreach($fieldArr as $field) {
switch($field) {
case 'title':
$red = $this->plusPages[$row['uid']] ? '<font color="red"><b>+&nbsp;</b></font>' : '';
$red = $this->plusPages[$row['uid']] ? '<font color="red"><strong>+&nbsp;</strong></font>' : '';
$pTitle = htmlspecialchars(t3lib_BEfunc::getProcessedValue('pages',$field,$row[$field],20));
if ($red) {
$pTitle = '<a href="'.htmlspecialchars($this->script.'?id='.$row['uid']).'">'.$pTitle.'</a>';
......
break;
case 'php_tree_stop':
case 'TSconfig':
$theData[$field] = $row[$field]?'&nbsp;<b>x</b>':'&nbsp;';
$theData[$field] = $row[$field]?'&nbsp;<strong>x</strong>':'&nbsp;';
break;
case 'uid':
if ($GLOBALS['BE_USER']->doesUserHaveAccess($row,2)) {
......
// 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>
<td class="bgColor2" nowrap="nowrap"><img src="clear.gif" width="1" height="2" alt="" /><br /><div align="center"><strong>' . htmlspecialchars($GLOBALS['LANG']->csConvObj->conv_case($GLOBALS['LANG']->charSet, $colName, 'toUpper')) . '</strong></div><img src="clear.gif" width="1" height="2" alt="" /></td>
</tr>';
// Create command links:
......
$lockIcon.
$stat.
($langMode ? $this->languageFlag($row['sys_language_uid']) : '').
'&nbsp;<b>'.htmlspecialchars($this->CType_labels[$row['CType']]).'</b>';
'&nbsp;<strong>'.htmlspecialchars($this->CType_labels[$row['CType']]).'</strong>';
$out = '
<tr>
<td class="bgColor4">'.$header.'</td>
......
}
$outHeader= ($row['date'] ? htmlspecialchars($this->itemLabels['date'].' '.t3lib_BEfunc::date($row['date'])).'<br />':'').
$this->infoGif($infoArr).
'<b>' . $this->linkEditContent($this->renderText($row['header']), $row) . $hiddenHeaderNote . '</b><br />';
'<strong>' . $this->linkEditContent($this->renderText($row['header']), $row) . $hiddenHeaderNote . '</strong><br />';
}
// Make content:
typo3/sysext/saltedpasswords/classes/class.tx_saltedpasswords_emconfhelper.php (Arbeitskopie)
the backend. Additionally, usage of salted passwords is enforced (forceSalted).
The result is that there is no chance to login with users not having a salted
password hash.<br />
<b><i>WARNING:</i></b> This may lock you out of the backend!
<strong><i>WARNING:</i></strong> This may lock you out of the backend!
EOT;
} else {
// inform the user that things like openid won't work anymore
......
<br />
This means that only passwords in the format of this extension will succeed for
login.<br />
<b><i>IMPORTANT:</i></b> This has the effect that passwords that are set from
<strong><i>IMPORTANT:</i></strong> This has the effect that passwords that are set from
the Install Tool will not work!
EOT;
}
......
if (!t3lib_div::inList('normal,rsa', $GLOBALS['TYPO3_CONF_VARS']['FE']['loginSecurityLevel'])) {
$this->setErrorLevel('info');
$problems[] = <<< EOT
<b>IMPORTANT:</b><br />
<strong>IMPORTANT:</strong><br />
Frontend requirements for SaltedPasswords are not met, therefore the
authentication will not work even if it was explicitely enabled for frontend
usage:<br />
......
<br />
This means that only passwords in the format of this extension will succeed for
login.<br />
<b><i>IMPORTANT:</i></b> Because of this, it is not possible to login with
<strong><i>IMPORTANT:</i></strong> Because of this, it is not possible to login with
users not having a salted password hash (e.g. existing frontend users).
EOT;
} else {
......
<br />
This means that only passwords in the format of this extension will succeed for
login.<br />
<b><i>IMPORTANT:</i></b> This has the effect that passwords that were set
<strong><i>IMPORTANT:</i></strong> This has the effect that passwords that were set
before SaltedPasswords was used will not work (in fact, they need to be
redefined).
EOT;
typo3/sysext/version/cm1/index.php (Arbeitskopie)
// Create version element:
$versionsInOtherWS = $this->versionsInOtherWS($table, $rec_on['uid']);
$versionsInOtherWSWarning = $versionsInOtherWS && $GLOBALS['BE_USER']->workspace !== 0 ? '<br />' . $this->doc->icons(2) . $GLOBALS['LANG']->getLL('otherVersions') . $versionsInOtherWS : '';
$multipleWarning = (!$mainCell && $GLOBALS['BE_USER']->workspace !== 0 ? '<br />' . $this->doc->icons(3) . '<b>' . $GLOBALS['LANG']->getLL('multipleVersions') . '</b>' : '');
$verWarning = $warnAboutVersions || ($warnAboutVersions_nonPages && $GLOBALS['TCA'][$table]['ctrl']['versioning_followPages']) ? '<br />' . $this->doc->icons(3) . '<b>' . $GLOBALS['LANG']->getLL('versionInVersion') . '</b>' : '';
$multipleWarning = (!$mainCell && $GLOBALS['BE_USER']->workspace !== 0 ? '<br />' . $this->doc->icons(3) . '<strong>' . $GLOBALS['LANG']->getLL('multipleVersions') . '</strong>' : '');
$verWarning = $warnAboutVersions || ($warnAboutVersions_nonPages && $GLOBALS['TCA'][$table]['ctrl']['versioning_followPages']) ? '<br />' . $this->doc->icons(3) . '<strong>' . $GLOBALS['LANG']->getLL('versionInVersion') . '</strong>' : '';
$verElement = $icon.
(!$this->details ? '<a href="'.htmlspecialchars($this->doc->backPath.t3lib_extMgm::extRelPath('version').'cm1/index.php?id='.($table==='pages'?$rec_on['uid']:$rec_on['pid']).'&details='.rawurlencode($table.':'.$rec_off['uid']).'&returnUrl='.rawurlencode($this->REQUEST_URI)).'">' : '').
t3lib_BEfunc::getRecordTitle($table,$rec_off,TRUE).
......
$this->displayWorkspaceOverview_commandLinks($table,$rec_on,$rec_off,$vType).
htmlspecialchars($swapLabel).
'&nbsp;&nbsp;</td>
'.(!$this->diffOnly?'<td nowrap="nowrap"><b>' . $GLOBALS['LANG']->getLL('lifecycle') . ':</b> '.htmlspecialchars($this->formatCount($rec_off['t3ver_count'])).'</td>'. // Lifecycle
'.(!$this->diffOnly?'<td nowrap="nowrap"><strong>' . $GLOBALS['LANG']->getLL('lifecycle') . ':</strong> '.htmlspecialchars($this->formatCount($rec_off['t3ver_count'])).'</td>'. // Lifecycle
($this->showWorkspaceCol ? '
<td nowrap="nowrap">&nbsp;&nbsp;<b>' . $GLOBALS['LANG']->getLL('workspace') . ':</b> '.htmlspecialchars($this->formatWorkspace($rec_off['t3ver_wsid'])).'</td>' : ''):'');
<td nowrap="nowrap">&nbsp;&nbsp;<strong>' . $GLOBALS['LANG']->getLL('workspace') . ':</strong> '.htmlspecialchars($this->formatWorkspace($rec_off['t3ver_wsid'])).'</td>' : ''):'');
if ($diffCode) {
$verElement = $verElement.'
<br /><b>' . $GLOBALS['LANG']->getLL('diffToLiveElement') . '</b>
<br /><strong>' . $GLOBALS['LANG']->getLL('diffToLiveElement') . '</strong>
<table border="0" cellpadding="0" cellspacing="0" class="ver-verElement">
<tr>
<td class="c-diffCell">'.$diffCode.'</td>
typo3/sysext/wizard_sortpages/class.tx_wizardsortpages_webfunc_2.php (Arbeitskopie)
$menuItems = $sys_pages->getMenu($this->pObj->id,'*','sorting','',0);
$lines=array();
$lines[]= '<tr>
<td class="bgColor5"><b>'.$this->wiz_linkOrder($LANG->getLL('wiz_changeOrder_title'),'title').'</b></td>
'.(t3lib_extMgm::isLoaded('cms')?'<td class="bgColor5"><b>'.$this->wiz_linkOrder($LANG->getLL('wiz_changeOrder_subtitle'),'subtitle').'</b></td>':'').'
<td class="bgColor5"><b>'.$this->wiz_linkOrder($LANG->getLL('wiz_changeOrder_tChange'),'tstamp').'</b></td>
<td class="bgColor5"><b>'.$this->wiz_linkOrder($LANG->getLL('wiz_changeOrder_tCreate'),'crdate').'</b></td>
<td class="bgColor5"><strong>'.$this->wiz_linkOrder($LANG->getLL('wiz_changeOrder_title'),'title').'</strong></td>
'.(t3lib_extMgm::isLoaded('cms')?'<td class="bgColor5"><strong>'.$this->wiz_linkOrder($LANG->getLL('wiz_changeOrder_subtitle'),'subtitle').'</strong></td>':'').'
<td class="bgColor5"><strong>'.$this->wiz_linkOrder($LANG->getLL('wiz_changeOrder_tChange'),'tstamp').'</strong></td>
<td class="bgColor5"><strong>'.$this->wiz_linkOrder($LANG->getLL('wiz_changeOrder_tCreate'),'crdate').'</strong></td>
</tr>';
foreach ($menuItems as $rec) {
$m_perms_clause = $GLOBALS['BE_USER']->getPagePermsClause(2); // edit permissions for that page!
$pRec = t3lib_BEfunc::getRecord ('pages',$rec['uid'],'uid',' AND '.$m_perms_clause);
$lines[]= '<tr><td nowrap="nowrap">'.t3lib_iconWorks::getSpriteIconForRecord('pages',$rec).
(!is_array($pRec)?$GLOBALS['TBE_TEMPLATE']->rfw('<b>'.$LANG->getLL('wiz_W',1).'</b> '):'').
(!is_array($pRec)?$GLOBALS['TBE_TEMPLATE']->rfw('<strong>'.$LANG->getLL('wiz_W',1).'</strong> '):'').
htmlspecialchars(t3lib_div::fixed_lgd_cs($rec['title'],$GLOBALS['BE_USER']->uc['titleLen'])).'&nbsp;</td>
'.(t3lib_extMgm::isLoaded('cms')?'<td nowrap="nowrap">'.htmlspecialchars(t3lib_div::fixed_lgd_cs($rec['subtitle'],$GLOBALS['BE_USER']->uc['titleLen'])).'&nbsp;</td>':'').'
<td nowrap="nowrap">'.t3lib_Befunc::datetime($rec['tstamp']).'&nbsp;&nbsp;</td>
......
</tr>';
}
$theCode.= '<b>'.$LANG->getLL('wiz_currentPageOrder',1).':</b><br /><br />
$theCode.= '<strong>'.$LANG->getLL('wiz_currentPageOrder',1).':</strong><br /><br />
<table border="0" cellpadding="0" cellspacing="0">'.implode('',$lines).'</table><br />';
if (count($menuItems)) {
......
$lines[] = $this->wiz_linkOrder($LANG->getLL('wiz_changeOrder_tCreate'),'crdate');
$lines[] = '';
$lines[] = $this->wiz_linkOrder($LANG->getLL('wiz_changeOrder_REVERSE'),'REV');
$theCode.= '<b>'.$LANG->getLL('wiz_changeOrder').':</b><br /><br />'.implode('<br />',$lines);
$theCode.= '<strong>'.$LANG->getLL('wiz_changeOrder').':</strong><br /><br />'.implode('<br />',$lines);
}
// CSH:
typo3/sysext/tstemplate_ceditor/class.tx_tstemplateceditor.php (Arbeitskopie)
// Resetting the menu (stop)
$theOutput.=$this->pObj->doc->spacer(5);
$theOutput.=$this->pObj->doc->section($GLOBALS['LANG']->getLL('editConstants', true),t3lib_iconWorks::getSpriteIconForRecord('sys_template', $tplRow).'<b>'.$this->pObj->linkWrapTemplateTitle($tplRow["title"],"constants").'</b>'.htmlspecialchars(trim($tplRow["sitetitle"])?' - ('.$tplRow["sitetitle"].')':''),0,1);
$theOutput.=$this->pObj->doc->section($GLOBALS['LANG']->getLL('editConstants', true),t3lib_iconWorks::getSpriteIconForRecord('sys_template', $tplRow).'<strong>'.$this->pObj->linkWrapTemplateTitle($tplRow["title"],"constants").'</strong>'.htmlspecialchars(trim($tplRow["sitetitle"])?' - ('.$tplRow["sitetitle"].')':''),0,1);
if ($manyTemplatesMenu) {
$theOutput.=$this->pObj->doc->section("",$manyTemplatesMenu);
typo3/sysext/tstemplate_info/class.tx_tstemplateinfo.php (Arbeitskopie)
function tableRow($label, $data, $field) {
$ret = '<tr><td class="bgColor4" width="1%">';
$ret.= '<a href="index.php?id='.$this->pObj->id.'&e['.$field.']=1">'.t3lib_iconWorks::getSpriteIcon('actions-document-open',array("title"=> $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_common.xml:editField', true))) . '</a>';
$ret.= '</td><td class="bgColor4" width="1%"><b>'.$label.'&nbsp;&nbsp;</b></td><td class="bgColor4" width="99%">'.$data.'&nbsp;</td></tr>';
$ret.= '</td><td class="bgColor4" width="1%"><strong>'.$label.'&nbsp;&nbsp;</strong></td><td class="bgColor4" width="99%">'.$data.'&nbsp;</td></tr>';
return $ret;
}
......
}
$theOutput.= $this->pObj->doc->spacer(5);
$theOutput.= $this->pObj->doc->section($GLOBALS['LANG']->getLL('templateInformation'), t3lib_iconWorks::getSpriteIconForRecord('sys_template', $tplRow).'<b>'.htmlspecialchars($tplRow['title']).'</b>'.htmlspecialchars(trim($tplRow['sitetitle'])?' - ('.$tplRow['sitetitle'].')':''), 0, 1);
$theOutput.= $this->pObj->doc->section($GLOBALS['LANG']->getLL('templateInformation'), t3lib_iconWorks::getSpriteIconForRecord('sys_template', $tplRow).'<strong>'.htmlspecialchars($tplRow['title']).'</strong>'.htmlspecialchars(trim($tplRow['sitetitle'])?' - ('.$tplRow['sitetitle'].')':''), 0, 1);
if ($manyTemplatesMenu) {
$theOutput.= $this->pObj->doc->section('', $manyTemplatesMenu);
$theOutput.= $this->pObj->doc->divider(5);
......
$outCode = '<input type="File" name="resources"'.$this->pObj->doc->formWidth().' size="50">';
$outCode.= '<input type="Hidden" name="data[resources]" value="1">';
$outCode.= '<input type="Hidden" name="e[resources]" value="1">';
$outCode.= '<BR>' . $GLOBALS['LANG']->getLL('allowedExtensions') . ' <b>' . $TCA['sys_template']['columns']['resources']['config']['allowed'] . '</b>';
$outCode.= '<BR>' . $GLOBALS['LANG']->getLL('maxFilesize') . ' <b>' . t3lib_div::formatSize($TCA['sys_template']['columns']['resources']['config']['max_size']*1024) . '</b>';
$outCode.= '<BR>' . $GLOBALS['LANG']->getLL('allowedExtensions') . ' <strong>' . $TCA['sys_template']['columns']['resources']['config']['allowed'] . '</strong>';
$outCode.= '<BR>' . $GLOBALS['LANG']->getLL('maxFilesize') . ' <strong>' . t3lib_div::formatSize($TCA['sys_template']['columns']['resources']['config']['max_size']*1024) . '</strong>';
$theOutput.= $this->pObj->doc->spacer(15);
$theOutput.= $this->pObj->doc->section($GLOBALS['LANG']->getLL('uploadResource'), $outCode);
......
if (@is_file($path) && t3lib_div::inList($this->pObj->textExtensions, $fI['fileext'])) {
if (filesize($path) < $TCA['sys_template']['columns']['resources']['config']['max_size']*1024) {
$fileContent = t3lib_div::getUrl($path);
$outCode = $GLOBALS['LANG']->getLL('file'). ' <b>' . $e[file] . '</b><BR>';
$outCode = $GLOBALS['LANG']->getLL('file'). ' <strong>' . $e[file] . '</strong><BR>';
$outCode.= '<textarea name="edit[file]" rows="'.$numberOfRows.'" wrap="off" class="fixed-font enable-tab"'.$this->pObj->doc->formWidthText(48, 'width:98%;height:70%', 'off').' class="fixed-font">'.t3lib_div::formatForTextarea($fileContent).'</textarea>';
$outCode.= '<input type="Hidden" name="edit[filename]" value="'.$e[file].'">';
$outCode.= '<input type="Hidden" name="e[file]" value="'.htmlspecialchars($e[file]).'">';
typo3/sysext/impexp/class.tx_impexp.php (Arbeitskopie)
if ($this->update) {
$diffInverse = TRUE; // In case of update-PREVIEW we swap the diff-sources.
$recInf = $this->doesRecordExist($table, $uid, $this->showDiff ? '*' : '');
$pInfo['updatePath']= $recInf ? htmlspecialchars($this->getRecordPath($recInf['pid'])) : '<b>NEW!</b>';
$pInfo['updatePath']= $recInf ? htmlspecialchars($this->getRecordPath($recInf['pid'])) : '<strong>NEW!</strong>';
// Mode selector:
$optValues = array();
......
$pInfo['title'] = '<em>'.$info['field'].', "'.$info['spKey'].'" </em>: <span title="'.htmlspecialchars($info['matchString']).'">'.htmlspecialchars(t3lib_div::fixed_lgd_cs($info['matchString'],60)).'</span>';
if ($info['subst']['type']) {
if (strlen($info['subst']['title'])) {
$pInfo['title'].= '<br/>'.$preCode_B.'<b>'.$LANG->getLL('impexpcore_singlereco_title',1).'</b> '.htmlspecialchars(t3lib_div::fixed_lgd_cs($info['subst']['title'],60));
$pInfo['title'].= '<br/>'.$preCode_B.'<strong>'.$LANG->getLL('impexpcore_singlereco_title',1).'</strong> '.htmlspecialchars(t3lib_div::fixed_lgd_cs($info['subst']['title'],60));
}
if (strlen($info['subst']['description'])) {
$pInfo['title'].= '<br/>'.$preCode_B.'<b>'.$LANG->getLL('impexpcore_singlereco_descr',1).'</b> '.htmlspecialchars(t3lib_div::fixed_lgd_cs($info['subst']['description'],60));
$pInfo['title'].= '<br/>'.$preCode_B.'<strong>'.$LANG->getLL('impexpcore_singlereco_descr',1).'</strong> '.htmlspecialchars(t3lib_div::fixed_lgd_cs($info['subst']['description'],60));
}
$pInfo['title'].= '<br/>'.$preCode_B.
($info['subst']['type'] == 'file' ? $LANG->getLL('impexpcore_singlereco_filename',1).' <b>'.$info['subst']['relFileName'].'</b>' : '').
($info['subst']['type'] == 'string' ? $LANG->getLL('impexpcore_singlereco_value',1).' <b>'.$info['subst']['tokenValue'].'</b>' : '').
($info['subst']['type'] == 'db' ? $LANG->getLL('impexpcore_softrefsel_record',1).' <b>'.$info['subst']['recordRef'].'</b>' : '');
($info['subst']['type'] == 'file' ? $LANG->getLL('impexpcore_singlereco_filename',1).' <strong>'.$info['subst']['relFileName'].'</strong>' : '').
($info['subst']['type'] == 'string' ? $LANG->getLL('impexpcore_singlereco_value',1).' <strong>'.$info['subst']['tokenValue'].'</strong>' : '').
($info['subst']['type'] == 'db' ? $LANG->getLL('impexpcore_softrefsel_record',1).' <strong>'.$info['subst']['recordRef'].'</strong>' : '');
}
$pInfo['ref'] = 'SOFTREF';
$pInfo['size'] = '';
......
$cfg = $this->softrefCfg[$tokenID];
if ($cfg['mode'] === 'editable') {
return
(strlen($cfg['title']) ? '<b>'.htmlspecialchars($cfg['title']).'</b><br/>' : '').
(strlen($cfg['title']) ? '<strong>'.htmlspecialchars($cfg['title']).'</strong><br/>' : '').
htmlspecialchars($cfg['description']).'<br/>
<input type="text" name="tx_impexp[softrefInputValues]['.$tokenID.']" value="'.htmlspecialchars(isset($this->softrefInputValues[$tokenID]) ? $this->softrefInputValues[$tokenID] : $cfg['defValue']).'" />';
}
......
if (strlen($cfg['subst']['title'])) {
$descriptionField.= '
<input type="hidden" name="tx_impexp[softrefCfg]['.$cfg['subst']['tokenID'].'][title]" value="'.htmlspecialchars($cfg['subst']['title']).'" />
<b>'.htmlspecialchars($cfg['subst']['title']).'</b><br/>';
<strong>'.htmlspecialchars($cfg['subst']['title']).'</strong><br/>';
}
// Description:
......
unset($importRecord[$fN]);
} else {
// This will tell us if the field is not in the import file, but who cares? It is totally ok that the database contains fields that are not in the import, isn't it (extensions could be installed that added these fields!)?
#$output[$fN] = '<b>Field missing</b> in import file';
#$output[$fN] = '<strong>Field missing</strong> in import file';
}
}
}
......
// Traverse remaining in import record:
foreach($importRecord as $fN => $value) {
if (is_array($TCA[$table]['columns'][$fN]) && $TCA[$table]['columns'][$fN]['config']['type']!='passthrough') {
$output[$fN] = '<b>Field missing</b> in database';
$output[$fN] = '<strong>Field missing</strong> in database';
}
}
......
$output = 'Match';
}
return '<b class="nobr">['.htmlspecialchars($table.':'.$importRecord['uid'].' => '.$databaseRecord['uid']).']:</b> '.$output;
return '<strong class="nobr">['.htmlspecialchars($table.':'.$importRecord['uid'].' => '.$databaseRecord['uid']).']:</strong> '.$output;
}
typo3/sysext/impexp/modfunc1/class.tx_impexp_modfunc1.php (Arbeitskopie)
<td>'.($configuration['pagetree']['id'] ? $configuration['pagetree']['id'] : '&nbsp;').'</td>
<td>'.htmlspecialchars($configuration['pagetree']['id'] ? t3lib_BEfunc::getRecordPath($configuration['pagetree']['id'],$clause,20) : '[Single Records]').'</td>
<td>
<b>' . htmlspecialchars($configuration['meta']['title']) . '</b><br />' .
<strong>' . htmlspecialchars($configuration['meta']['title']) . '</strong><br />' .
htmlspecialchars($configuration['meta']['description']).
($configuration['meta']['notes'] ? '<br /><br /><b>Notes:</b> <em>' . htmlspecialchars($configuration['meta']['notes']) . '</em>' : '') .
($configuration['meta']['notes'] ? '<br /><br /><strong>Notes:</strong> <em>' . htmlspecialchars($configuration['meta']['notes']) . '</em>' : '') .
'
</td>
</tr>';
typo3/sysext/indexed_search/modfunc1/class.tx_indexedsearch_modfunc1.php (Arbeitskopie)
while($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
$out.='
<tr class="typo3-red">
<td colspan="'.$this->returnNumberOfColumns().'"><b>Warning:</b> phash-row "'.$row['phash'].'" didn\'t have a representation in the index_section table!</td>
<td colspan="'.$this->returnNumberOfColumns().'"><strong>Warning:</strong> phash-row "'.$row['phash'].'" didn\'t have a representation in the index_section table!</td>
</tr>';
$this->allPhashListed[] = $row['phash'];
}
......
$this->utf8_to_currentCharset(t3lib_div::view_array($debugInfo));
$content.= '<h4>Debug information / lexer splitting:</h4>'.
'<hr/><b>'.
'<hr/><strong>'.
$this->utf8_to_currentCharset($lexer).
'</b><hr/>';
'</strong><hr/>';
}
typo3/sysext/install/updates/class.tx_coreupdates_statictemplates.php (Arbeitskopie)
'ref_table = "static_template" AND tablename != "static_template" AND deleted=0'
);
if ($count) {
$description .= '<b style="color:#f00">Dependencies found! You MUST install the extenion "statictemplates"!</b>';
$description .= '<strong style="color:#f00">Dependencies found! You MUST install the extenion "statictemplates"!</strong>';
return TRUE;
}
else {
typo3/sysext/css_styled_content/ext_localconf.php (Arbeitskopie)
'title' => 'CSS Styled Content: Accessibility improvements',
'version' => 3009000,
'description' => '<p>The rendering of the following elements will change:
<ul><li><b>tt_content.menu</b> (used f.e. for sitemaps): Instead of div-tags, lists are used now.</li>
<li><b>tt_content.mailform</b>: Mailforms do not use tables anymore, instead, they use the div-tag. Besides that, mailforms are accessible now.</li>
<li><b>The p-tag</b> has been removed from all table cells.</li>
<li><b>CSS based "image" and "text with image"</b><br />As the extension cron_cssstyledimgtext has been merged into the core, rendering of the content elements "image" and "text with image" has been changed to be CSS instead of table based. Read the <a href="http://wiki.typo3.org/index.php/TYPO3_4.0" target="_blank">4.0 release notes</a> for further information.</li></ul>',
<ul><li><strong>tt_content.menu</strong> (used f.e. for sitemaps): Instead of div-tags, lists are used now.</li>
<li><strong>tt_content.mailform</strong>: Mailforms do not use tables anymore, instead, they use the div-tag. Besides that, mailforms are accessible now.</li>
<li><strong>The p-tag</strong> has been removed from all table cells.</li>
<li><strong>CSS based "image" and "text with image"</strong><br />As the extension cron_cssstyledimgtext has been merged into the core, rendering of the content elements "image" and "text with image" has been changed to be CSS instead of table based. Read the <a href="http://wiki.typo3.org/index.php/TYPO3_4.0" target="_blank">4.0 release notes</a> for further information.</li></ul>',
'description_acknowledge' => 'You will have to update your stylesheets to comply with these changes.'
);
$TYPO3_CONF_VARS['SC_OPTIONS']['ext/install']['compat_version']['tx_cssstyledcontent_pagetargets'] = array(
typo3/sysext/rtehtmlarea/ext_localconf.php (Arbeitskopie)
'title' => 'htmlArea RTE: Using CSS classes for indentation and alignment',
'version' => 4002000,
'description' => '<ul>
<li><b>Indentation is produced by a CSS class instead of the blockquote element.</b><br />You will need to specify in Page TSConfig the class to be used for indentation using property buttons.indent.useClass (default is "indent"). You will need to define this class in your stylesheets and ensure that it is allowed by the RTE transformation (RTE.default.proc). Alternatively, you may continue using the blockquote element by setting property buttons.indent.useBlockquote. You may also want to add the new blockquote button to the RTE toolbar.</li>
<li><b>Text alignment is produced by CSS classes instead of deprecated align attribute.</b><br />You will need to specify in Page TSConfig the class to be used for each text alignment button using property buttons.[<i>left, center, right or justifyfull</i>].useClass (defaults are "align-left", "align-center", "align-right", "align-justify"). You will need to define these classes in your stylesheets, and ensure that they are allowed by the RTE transformation (RTE.default.proc). Alternatively, you may continue using deprecated align attribute by setting property buttons.[<i>left, center, right or justifyfull</i>].useAlignAttribute.</li>
<li><strong>Indentation is produced by a CSS class instead of the blockquote element.</strong><br />You will need to specify in Page TSConfig the class to be used for indentation using property buttons.indent.useClass (default is "indent"). You will need to define this class in your stylesheets and ensure that it is allowed by the RTE transformation (RTE.default.proc). Alternatively, you may continue using the blockquote element by setting property buttons.indent.useBlockquote. You may also want to add the new blockquote button to the RTE toolbar.</li>
<li><strong>Text alignment is produced by CSS classes instead of deprecated align attribute.</strong><br />You will need to specify in Page TSConfig the class to be used for each text alignment button using property buttons.[<i>left, center, right or justifyfull</i>].useClass (defaults are "align-left", "align-center", "align-right", "align-justify"). You will need to define these classes in your stylesheets, and ensure that they are allowed by the RTE transformation (RTE.default.proc). Alternatively, you may continue using deprecated align attribute by setting property buttons.[<i>left, center, right or justifyfull</i>].useAlignAttribute.</li>
</ul>'
);
// Add compatibility Page TSConfig for indentation and alignment
typo3/sysext/recycler/res/js/t3_recycler.js (Arbeitskopie)
var expander = new Ext.grid.RowExpander({
tpl : new Ext.Template(
'<br/>' +
'<p style="margin-left:45px;"><b>' + Recycler.lang.table + ':</b> {table}</p>' +
'<p style="margin-left:45px;"><b>' + Recycler.lang.crdate + ':</b> {crdate}</p>' +
'<p style="margin-left:45px;"><b>' + Recycler.lang.tstamp + ':</b> {tstamp}</p>' +
'<p style="margin-left:45px;"><b>' + Recycler.lang.owner + ':</b> {owner} (UID: {owner_uid})</p>' +
'<p style="margin-left:45px;"><b>' + Recycler.lang.path + ':</b> {path}</p>' +
'<p style="margin-left:45px;"><strong>' + Recycler.lang.table + ':</strong> {table}</p>' +
'<p style="margin-left:45px;"><strong>' + Recycler.lang.crdate + ':</strong> {crdate}</p>' +
'<p style="margin-left:45px;"><strong>' + Recycler.lang.tstamp + ':</strong> {tstamp}</p>' +
'<p style="margin-left:45px;"><strong>' + Recycler.lang.owner + ':</strong> {owner} (UID: {owner_uid})</p>' +
... This diff was truncated because it exceeds the maximum size that can be displayed.
(3-3/4)