Project

General

Profile

Bug #21764 » 12872.diff

Administrator Admin, 2009-12-01 14:26

View differences:

t3lib/class.t3lib_arraybrowser.php (working copy)
function wrapValue($theValue,$depth) {
$wrappedValue = '';
if (strlen($theValue) > 0) {
$wrappedValue = '<b>' . htmlspecialchars($theValue) . '</b>';
$wrappedValue = '<strong>' . htmlspecialchars($theValue) . '</strong>';
}
return $wrappedValue;
}
t3lib/class.t3lib_befunc.php (working copy)
<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_cs.php (working copy)
foreach($array as $key => $value) {
if (is_array($array[$key])) {
$this->convArray($array[$key],$fromCS,$toCS,$useEntityForNoChar);
} else {
} elseif (is_string($array[$key])) {
$array[$key] = $this->conv($array[$key],$fromCS,$toCS,$useEntityForNoChar);
}
}
t3lib/class.t3lib_div.php (working copy)
if (is_array($var)) {
t3lib_div::print_array($var);
} elseif (is_object($var)) {
echo '<b>|Object:<pre>';
echo '<strong>|Object:<pre>';
print_r($var);
echo '</pre>|</b>';
echo '</pre>|</strong>';
} elseif ((string)$var!='') {
echo '<b>|'.htmlspecialchars((string)$var).'|</b>';
echo '<strong>|'.htmlspecialchars((string)$var).'|</strong>';
} else {
echo '<b>| debug |</b>';
echo '<strong>| debug |</strong>';
}
if ($brOrHeader && !t3lib_div::testInt($brOrHeader)) {
......
*/
public static function flushOutputBuffers() {
$obContent = '';
while (ob_get_level()) {
$obContent .= ob_get_clean();
}
t3lib/class.t3lib_formmail.php (working copy)
$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."\n".$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_tceforms.php (working copy)
// 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_tceforms_fe.php (working copy)
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_tceforms_inline.php (working copy)
'<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">'.$iconImg.'</td><td align="left"><b>'.$label.'</b></td><td align="right">'.$ctrl.'</td></tr></table>';
'<tr class="class-main12"><td width="18">'.$iconImg.'</td><td align="left"><strong>'.$label.'</strong></td><td align="right">'.$ctrl.'</td></tr></table>';
return $header;
}
t3lib/class.t3lib_tsparser_ext.php (working copy)
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##', '<strong style="color:green;">', $all);
$all = str_replace('##'.$this->Cmarker.'_E##', '</strong>', $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##', '<strong style="color:green;">', $all);
$all = str_replace('##'.$this->Cmarker.'_E##', '</strong>', $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 style="color:red;">'.$label.'</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 style="color:red;">'.$this->makeHtmlspecialchars($theValue).'</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] = '<strong style="color:green;">'.$cArr[$k].'</strong>';
} elseif ($firstChar=='/' || $firstChar=='#') {
if ($comments) {
$cArr[$k] = '<span class="typo3-dimmed">'.$cArr[$k].'</span>';
typo3/alt_menu.php (working copy)
// 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/backend.php (working copy)
// Convert labels/settings back to UTF-8 since json_encode() only works with UTF-8:
if ($GLOBALS['LANG']->charSet !== 'utf-8') {
$t3Configuration['username'] = $GLOBALS['LANG']->csConvObj->conv($t3Configuration['username'], $GLOBALS['LANG']->charSet, 'utf-8');
$GLOBALS['LANG']->csConvObj->convArray($t3Configuration, $GLOBALS['LANG']->charSet, 'utf-8');
$GLOBALS['LANG']->csConvObj->convArray($t3LLLcore, $GLOBALS['LANG']->charSet, 'utf-8');
$GLOBALS['LANG']->csConvObj->convArray($t3LLLfileUpload, $GLOBALS['LANG']->charSet, 'utf-8');
}
typo3/class.alt_menu_functions.inc (working copy)
}
$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/class.file_list.inc (working copy)
if ($this->clickMenus) $otherMarkers['PAGE_ICON'] = $GLOBALS['SOBE']->doc->wrapClickMenuOnIcon($otherMarkers['PAGE_ICON'],$path);
$buttons['level_up'] .= $this->linkWrapDir('<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/i/folder_up.gif','width="18" height="16"').' title="'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.upOneLevel',1).'" alt="'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.upOneLevel',1).'" />',$theFile['path']);
$otherMarkers['TITLE'] .= t3lib_div::fixed_lgd_cs($title,-($this->fixedL+20)); // No HTML specialchars here - HTML like <b> </b> is allowed
$otherMarkers['TITLE'] .= t3lib_div::fixed_lgd_cs($title,-($this->fixedL+20)); // No HTML specialchars here - HTML like <strong> </strongb> is allowed
// this is the root page
} else {
typo3/class.show_rechis.inc (working copy)
// 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/mod/tools/em/class.em_index.php (working copy)
$oldMD5 = md5(str_replace(chr(13),'',$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(chr(13),'',$fileContent));
$info .= sprintf(
$GLOBALS['LANG']->getLL('ext_details_md5_current'),
'<b>' . $fileMD5 . '</b>'
'<strong>' . $fileMD5 . '</strong>'
) . '<br />';
if($saveFlag) {
$saveMD5 = md5(str_replace(chr(13),'',$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(
......
<td>
<form action="' . htmlspecialchars($script) . '" method="post">' .
$addFields .
$flashMessage->render() .
$flashMessage->render() .
'<br /><input type="submit" name="write" value="' . $GLOBALS['LANG']->getLL('updatesForm_make_updates') . '" />
</form>
</td>
typo3/mod/user/ws/class.wslib_gui.php (working copy)
$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/mod/user/ws/index.php (working copy)
$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"><strongb>' . $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/wsol_preview.php (working copy)
<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/web/info/index.php (working copy)
$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/web/perm/index.php (working copy)
// 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> '.$BE_USER->user['username'].'</td>
<td class="bgColor2" align="center" nowrap="nowrap"><strong>'.$LANG->getLL('User',1).':</strong> '.$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/move_el.php (working copy)
* @return string Wrapped title string.
*/
function wrapRecordTitle($str,$row) {
if ($GLOBALS['SOBE']->moveUid==$row['uid']) $str = '<b>'.$str.'</b>';
if ($GLOBALS['SOBE']->moveUid==$row['uid']) $str = '<strong>'.$str.'</strong>';
return parent::wrapRecordTitle($str,$row);
}
}
typo3/sysext/belog/mod/index.php (working copy)
$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/beuser/mod/index.php (working copy)
$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>';
}
/**
......
'<img' . t3lib_iconWorks::skinImg($this->doc->backPath,'gfx/new_el.gif') . ' title="' . $GLOBALS['LANG']->getLL('newUser', true) . '" alt="" />'.
'</a>';
$allCells['USERS'] = '<table border="0" cellspacing="0" cellpadding="0" width="100%"><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%"><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/cms/ext_localconf.php (working copy)
'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/layout/class.tx_cms_layout.php (working copy)
} 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']] ? '<strong style="color:red;">+&nbsp;</strong>' : '';
$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/cms/tslib/class.tslib_content.php (working copy)
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');
}
}
......
// 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>';}
typo3/sysext/cms/tslib/class.tslib_fe.php (working copy)
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/impexp/class.tx_impexp.php (working copy)
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:
......
// 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';
}
}
typo3/sysext/impexp/modfunc1/class.tx_impexp_modfunc1.php (working copy)
<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 (working copy)
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/mod/class.tx_install.php (working copy)
// Memory and functions
// *****************
$memory_limit_value = $this->convertByteSize(ini_get('memory_limit'));
if ($memory_limit_value && $memory_limit_value < t3lib_div::getBytesFromSizeMeasurement(TYPO3_REQUIREMENTS_RECOMMENDED_PHP_MEMORY_LIMIT)) {
$this->message($ext, 'Memory limit below ' . TYPO3_REQUIREMENTS_MINIMUM_PHP_MEMORY_LIMIT,'
<i>memory_limit=' . ini_get('memory_limit') . '</i>
......
} else {
if (($smtp_addr == '127.0.0.1' || $smtp_addr == '::1') && ($_SERVER['SERVER_ADDR'] == '127.0.0.1' || $_SERVER['SERVER_ADDR'] == '::1')) {
$this->message($ext, 'Mail is configured (potential problem exists!)',
'<i>SMTP=' . $smtp . '</i> - <b>Note:</b> this server! Are you sure it runs SMTP server?
'<i>SMTP=' . $smtp . '</i> - <strong>Note:</strong> this server! Are you sure it runs SMTP server?
<i>smtp_port=' . ini_get('smtp_port') . '</i>
'.$this->check_mail('get_form'), 1);
} else {
typo3/sysext/install/updates/class.tx_coreupdates_compatversion.php (working copy)
if ($this->compatVersionIsCurrent()) {
$description = '<strong>Up to date!</strong><br />If you do not use the wizard, your current TYPO3 installation is configured to use all the features included in the current release '.TYPO3_version.'.<br />
There are two possibilities that you see this screen:<ol><li><b>You just updated from a previous version of TYPO3:</b>
There are two possibilities that you see this screen:<ol><li><strong>You just updated from a previous version of TYPO3:</strong>
Because of some new features, the frontend output of your site might have changed. To emulate the "old" frontend behavior, change the compatibility version by continuing to step 2.
This is <b>recommended</b> after every update to make sure the frontend output is not altered. When re-running the wizard, you will see the changes needed for using the new features.
This is <strong>recommended</strong> after every update to make sure the frontend output is not altered. When re-running the wizard, you will see the changes needed for using the new features.
<i>Please continue to step two.</i></li>
<li><b>You just made a fresh install of TYPO3:</b>
<li><strong>You just made a fresh install of TYPO3:</strong>
Perfect! All new features will be used.
<i>You can stop here and do not need this wizard now.</i></li></ol>';
......
The compatibility version has been set to the current TYPO3 version. This is a stamp and has no impact for your installation.';
}
} else {
$description = 'Your current TYPO3 installation is configured to <b>behave like version '.$TYPO3_CONF_VARS['SYS']['compat_version'].'</b> of TYPO3. If you just upgraded from this version, you most likely want to <b>use new features</b> as well.</p><p>In the next step, you will see the things that need to be adjusted to make your installation compatible with the new features.';
$description = 'Your current TYPO3 installation is configured to <strong>behave like version '.$TYPO3_CONF_VARS['SYS']['compat_version'].'</strong> of TYPO3. If you just upgraded from this version, you most likely want to <b>use new features</b> as well.</p><p>In the next step, you will see the things that need to be adjusted to make your installation compatible with the new features.';
}
return 1; // Return 1 in any case so user has possibility to switch back to a previous compat_version.
typo3/sysext/lowlevel/config/index.php (working copy)
$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/lowlevel/dbint/index.php (working copy)
$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>'),
......
reset($admin->lRecords[$t]);
while(list(,$data)=each($admin->lRecords[$t])) {
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'])) {
while(list(,$val)=each($fileTest['noReferences'])) {
$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'])) {
while(list(,$val)=each($fileTest['moreReferences'])) {
$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);
......
ksort($fileTest['noFile']);
reset($fileTest['noFile']);
while(list(,$val)=each($fileTest['noFile'])) {
$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/recycler/res/js/t3_recycler.js (working copy)
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>' +
'<p style="margin-left:45px;"><strong>' + Recycler.lang.path + ':</strong> {path}</p>' +
'<br/>'
)
});
typo3/sysext/saltedpasswords/classes/class.tx_saltedpasswords_emconfhelper.php (working copy)
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;
}
......
<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/sys_action/class.tx_sysaction.php (working copy)
if($actionRow = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
// Action header:
$header = t3lib_iconworks::getIconImage("sys_action",$actionRow,$this->backPath,'hspace="2" class="absmiddle"').'<b>'.$actionRow["title"].'</b>';
$header = t3lib_iconworks::getIconImage("sys_action",$actionRow,$this->backPath,'hspace="2" class="absmiddle"').'<strong>'.$actionRow["title"].'</strong>';
$out.='<table border=0 cellpadding=0 cellspacing=1 width=100%>
<tr><td colspan=2 class="bgColor5">'.fw($header).'</td></tr>
<tr>
......
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('*', 'be_users', 'pid=0 AND cruser_id='.intval($this->BE_USER->user['uid']).' AND createdByAction='.intval($actionRow['uid']).t3lib_BEfunc::deleteClause('be_users'), '', 'username');
$lines = array();
while($uRow = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
$lines[] = "<nobr>".($uRow["uid"]==$userRecord["uid"]?"<b>":"").$this->action_linkUserName(t3lib_iconworks::getIconImage("be_users",$uRow,$this->backPath,'title="uid='.$uRow["uid"].'" hspace="2" align="top"').$uRow["username"]." (".$uRow["realName"].")".($uRow["uid"]==$userRecord["uid"]?"</b>":"")."</nobr>",$actionRow["uid"],$uRow["uid"])."<br>";
$lines[] = "<nobr>".($uRow["uid"]==$userRecord["uid"]?"<strong>":"").$this->action_linkUserName(t3lib_iconworks::getIconImage("be_users",$uRow,$this->backPath,'title="uid='.$uRow["uid"].'" hspace="2" align="top"').$uRow["username"]." (".$uRow["realName"].")".($uRow["uid"]==$userRecord["uid"]?"</strong>":"")."</nobr>",$actionRow["uid"],$uRow["uid"])."<br>";
}
if (count($lines)) {
$theCode.= $this->pObj->doc->section($LANG->getLL("action_t1_listOfUsers"),implode("",$lines),0,1);
typo3/sysext/tstemplate_analyzer/class.tx_tstemplateanalyzer.php (working copy)
if ($existTemplate) {
$theOutput.=$this->pObj->doc->divider(5);
$theOutput.=$this->pObj->doc->section($GLOBALS['LANG']->getLL('currentTemplate', true) ,
'<img '.t3lib_iconWorks::skinImg($BACK_PATH, t3lib_iconWorks::getIcon('sys_template', $tplRow)) . ' align="top" /> <b>' .
$this->pObj->linkWrapTemplateTitle($tplRow["title"]) . '</b>' .
'<img '.t3lib_iconWorks::skinImg($BACK_PATH, t3lib_iconWorks::getIcon('sys_template', $tplRow)) . ' align="top" /> <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/tstemplate_ceditor/class.tx_tstemplateceditor.php (working copy)
// Resetting the menu (stop)
$theOutput.=$this->pObj->doc->spacer(5);
$theOutput.=$this->pObj->doc->section($GLOBALS['LANG']->getLL('editConstants', true),'<img '.t3lib_iconWorks::skinImg($BACK_PATH, t3lib_iconWorks::getIcon('sys_template', $tplRow)).' align="top" /> <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),'<img '.t3lib_iconWorks::skinImg($BACK_PATH, t3lib_iconWorks::getIcon('sys_template', $tplRow)).' align="top" /> <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 (working copy)
function tableRow($label, $data, $field) {
$ret = '<tr><td class="bgColor4" width="1%">';
$ret.= '<a href="index.php?id='.$this->pObj->id.'&e['.$field.']=1"><img '.t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'], 'gfx/edit2.gif').' width=11 height=12 hspace=3 border=0 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'), '<img '.t3lib_iconWorks::skinImg($BACK_PATH, t3lib_iconWorks::getIcon('sys_template', $tplRow)).' align="top" /> <b>'.htmlspecialchars($tplRow['title']).'</b>'.htmlspecialchars(trim($tplRow['sitetitle'])?' - ('.$tplRow['sitetitle'].')':''), 0, 1);
$theOutput.= $this->pObj->doc->section($GLOBALS['LANG']->getLL('templateInformation'), '<img '.t3lib_iconWorks::skinImg($BACK_PATH, t3lib_iconWorks::getIcon('sys_template', $tplRow)).' align="top" /> <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/tstemplate_objbrowser/class.tx_tstemplateobjbrowser.php (working copy)
$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);
......
// 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/version/cm1/index.php (working copy)
// 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_crpages/class.tx_wizardcrpages_webfunc_2.php (working copy)
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/wizard_sortpages/class.tx_wizardsortpages_webfunc_2.php (working copy)
reset($menuItems);
$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>';
while(list(,$rec)=each($menuItems)) {
$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::getIconImage('pages',$rec,$GLOBALS['BACK_PATH'],'align="top" '.t3lib_BEfunc::titleAttribForPages($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/template.php (working copy)
*/
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:
(1-1/4)