index 2accbf8f293cd43101d1de01ebc3d38f9a9520a6..e66ff530847801ca0e05e62f6bbf5a9548465a8f 100644 (file)
// Complete list by sorting entries for _sort$index and appending them to the output
$entryIterator= new listingSortIterator($this->entries, $this->sortDirection[$this->sortColumn], "_sort".$this->sortColumn, $this->sortType);
foreach ($entryIterator as $row => $entry){
- $alt++;
$result.="<tr class='rowxp".($alt&1)."'>\n";
$result.= $entry['_rendered'];
$result.="</tr>\n";
+ $alt++;
}
// Need to fill the list if it's not full (nobody knows why this is 22 ;-))
$checkAcl= "";
// Category or detailed permission?
- if (strpos('/', $module) === false) {
+ if (strpos($module, '/') !== false) {
if (preg_match('/([a-zA-Z0-9]+):([rwcdm]+)/', $sAcl, $m) ) {
$checkAcl= $ui->get_permissions($dn, $module, $m[1]);
$sAcl= $m[2];