Project

General

Profile

Bug #18562 ยป 8019_admPanel_htmlspecialchars.diff

Administrator Admin, 2008-04-04 13:33

View differences:

t3lib/class.t3lib_tsfebeuserauth.php (working copy)
'pages.uid=fe_groups.pid AND pages.deleted=0 '.t3lib_BEfunc::deleteClause('fe_groups').' AND '.$this->getPagePermsClause(1)
);
while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
$options.= '<option value="'.$row['uid'].'"'.($this->uc['TSFE_adminConfig']['preview_simulateUserGroup']==$row['uid']?' selected="selected"':'').'>'.htmlspecialchars('['.$row['uid'].'] '.$row['title']).'</option>';
$options.= '<option value="'.$row['uid'].'"'.($this->uc['TSFE_adminConfig']['preview_simulateUserGroup']==$row['uid']?' selected="selected"':'').'>'.htmlspecialchars('['.$row['uid'].'] '.htmlspecialchars($row['title'])).'</option>';
}
$out.= $this->extGetItem('preview_simulateUserGroup', '<select name="TSFE_ADMIN_PANEL[preview_simulateUserGroup]">'.$options.'</select>');
}
......
$depth = $this->extGetFeAdminValue('cache','clearCacheLevels');
$outTable = '';
$this->extPageInTreeInfo = array();
$this->extPageInTreeInfo[] = array($GLOBALS['TSFE']->page['uid'],$GLOBALS['TSFE']->page['title'],$depth+1);
$this->extPageInTreeInfo[] = array($GLOBALS['TSFE']->page['uid'],htmlspecialchars($GLOBALS['TSFE']->page['title']),$depth+1);
$this->extGetTreeList($GLOBALS['TSFE']->id, $depth,0,$this->getPagePermsClause(1));
reset($this->extPageInTreeInfo);
while(list(,$row)=each($this->extPageInTreeInfo)) {
......
$depth = $this->extGetFeAdminValue('publish','levels');
$outTable = '';
$this->extPageInTreeInfo = array();
$this->extPageInTreeInfo[] = array($GLOBALS['TSFE']->page['uid'],$GLOBALS['TSFE']->page['title'],$depth+1);
$this->extPageInTreeInfo[] = array($GLOBALS['TSFE']->page['uid'],htmlspecialchars($GLOBALS['TSFE']->page['title']),$depth+1);
$this->extGetTreeList($GLOBALS['TSFE']->id, $depth,0,$this->getPagePermsClause(1));
reset($this->extPageInTreeInfo);
while(list(,$row)=each($this->extPageInTreeInfo)) {
    (1-1/1)