Bug #19518 ยป 0009665.patch
t3lib/class.t3lib_befunc.php (Arbeitskopie) | ||
---|---|---|
} else {
|
||
break;
|
||
}
|
||
$GLOBALS['TYPO3_DB']->sql_free_result($res);
|
||
}
|
||
if ($uid==0) {$theRowArray[] = Array('uid'=>0, 'title'=>'');}
|
||
if (is_array($theRowArray)) {
|
||
... | ... | |
} else {
|
||
break;
|
||
}
|
||
$GLOBALS['TYPO3_DB']->sql_free_result($res);
|
||
}
|
||
if ($fullTitleLimit) {
|
||
... | ... | |
while($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
|
||
$sysLanguages[] = array($row['title'].' ['.$row['uid'].']', $row['uid'], ($row['flag'] ? 'flags/'.$row['flag'] : ''));
|
||
}
|
||
$GLOBALS['TYPO3_DB']->sql_free_result($res);
|
||
return $sysLanguages;
|
||
}
|
||
... | ... | |
);
|
||
$newRecordPidValue = 0;
|
||
$rr = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res);
|
||
$GLOBALS['TYPO3_DB']->sql_free_result($res);
|
||
// break if no result from SQL db or if looping...
|
||
if (!is_array($rr) || isset($uidAcc[$rr['uid']])) break;
|
||
... | ... | |
while($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
|
||
$be_user_Array[$row['uid']] = $row;
|
||
}
|
||
$GLOBALS['TYPO3_DB']->sql_free_result($res);
|
||
return $be_user_Array;
|
||
}
|
||
... | ... | |
*/
|
||
public static function getGroupNames($fields = 'title,uid', $where = '') {
|
||
$be_group_Array = Array();
|
||
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery($fields, 'be_groups', 'pid=0 '.$where.t3lib_BEfunc::deleteClause('be_groups'), '', 'title');
|
||
while($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
|
||
$be_group_Array[$row['uid']] = $row;
|
||
}
|
||
$GLOBALS['TYPO3_DB']->sql_free_result($res);
|
||
return $be_group_Array;
|
||
}
|
||
... | ... | |
while($MMrow = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($MMres)) {
|
||
$mmlA[] = ($noRecordLookup?$MMrow['uid']:t3lib_BEfunc::getRecordTitle($theColConf['foreign_table'], $MMrow, FALSE, $forceResult));
|
||
}
|
||
$GLOBALS['TYPO3_DB']->sql_free_result($MMres);
|
||
if (is_array($mmlA)) {
|
||
$l = implode('; ', $mmlA);
|
||
} else {
|
||
... | ... | |
);
|
||
}
|
||
}
|
||
$GLOBALS['TYPO3_DB']->sql_free_result($res);
|
||
}
|
||
return $LOCKED_RECORDS[$table.':'.$uid];
|
||
}
|
||
... | ... | |
}
|
||
$outputRows[] = $row;
|
||
}
|
||
$GLOBALS['TYPO3_DB']->sql_free_result($res);
|
||
// Set real-pid:
|
||
foreach($outputRows as $idx => $oRow) {
|
||
... | ... | |
'</a>');
|
||
}
|
||
$GLOBALS['TYPO3_DB']->sql_free_result($res);
|
||
if (@is_file($enableInstallToolFile)) {
|
||
$url = t3lib_div::getIndpEnv('TYPO3_REQUEST_SCRIPT').'?adminWarning_cmd=remove_ENABLE_INSTALL_TOOL';
|
||
... | ... | |
htmlspecialchars($row['title']).
|
||
'</a></span><br />';
|
||
}
|
||
$GLOBALS['TYPO3_DB']->sql_free_result($res);
|
||
return array('rows'=>$theRows, 'list'=>$out);
|
||
}
|
||