Changeset 7655 for trunk/expressoAdmin1_2/inc/class.uimanagers.inc.php
- Timestamp:
- 12/14/12 14:30:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.uimanagers.inc.php
r6517 r7655 263 263 $manager_acl = $this->functions->read_acl($_GET['manager_lid']); 264 264 //Pesquisa no Banco e pega os valores dos apps. 265 $query = "SELECT * FROM phpgw_expressoadmin_apps WHERE manager_lid = '" . $_GET['manager_lid'] . "' AND context = '" . $_GET['context']. "'";265 $query = "SELECT * FROM phpgw_expressoadmin_apps WHERE manager_lid = '" . addslashes($_GET['manager_lid']) . "' AND context = '" . addslashes($_GET['context']) . "'"; 266 266 $GLOBALS['phpgw']->db->query($query); 267 267 $i=0; … … 272 272 $_POST['applications_list'][$tmp[$i]['app']] = 1; 273 273 $manager[0]['apps'][$tmp[$i]['app']] = 1; 274 $i++;275 } 276 } 277 274 ++$i; 275 } 276 } 277 278 278 // Seta o template 279 279 $p = CreateObject('phpgwapi.Template',PHPGW_APP_TPL); … … 415 415 $applications_list .= sprintf('<tr bgcolor="%s">%s%s%s</tr>',$this->nextmatchs->alternate_row_color(), $app_col1, $app_col2, $app_col3); 416 416 } 417 $i++;417 ++$i; 418 418 } 419 419 return $applications_list;
Note: See TracChangeset
for help on using the changeset viewer.