Changeset 317 for trunk/expressoAdmin1_2/inc/class.uimanagers.inc.php
- Timestamp:
- 06/17/08 14:43:30 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.uimanagers.inc.php
r309 r317 256 256 //Cria vetor da ACL 257 257 $manager_acl = $this->functions->make_array_acl($manager['acl']); 258 259 258 //Pesquisa no Banco e pega os valores dos apps. 260 259 $query = "SELECT * FROM phpgw_expressoadmin_apps WHERE manager_lid = '" . $_GET['manager_lid'] . "' AND context = '" . $_GET['context'] . "'"; … … 327 326 { 328 327 if ($first_time) 329 $p->set_var($atribute, $manager_acl[$atribute] != '' ? 'checked' : '');328 $p->set_var($atribute, $manager_acl[$atribute] === '1' ? 'checked' : ''); 330 329 else 331 $p->set_var($atribute, $_POST[$atribute] != '' ? 'checked' : '');330 $p->set_var($atribute, $_POST[$atribute] === '1' ? 'checked' : ''); 332 331 } 333 332 // Setar os langs do tpl.
Note: See TracChangeset
for help on using the changeset viewer.