Changeset 5804 for trunk/admin
- Timestamp:
- 03/23/12 16:39:10 (13 years ago)
- Location:
- trunk/admin
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/inc/class.uiconfig.inc.php
r5773 r5804 18 18 function index() 19 19 { 20 21 ob_start(); 22 print_r("teste :D :D :D"); 23 24 $output = ob_get_clean(); 25 file_put_contents( "/tmp/acoutinho.log", $output , FILE_APPEND); 26 20 27 if ($GLOBALS['phpgw']->acl->check('site_config_access',1,'admin')) 21 28 { … … 69 76 $current_config = $c->config_data; 70 77 } 78 79 if($appname === "expressoCalendar"){ 80 if (isset($_POST['migration']) && ($_POST['migration'] == "true")){ 81 82 require_once dirname(__FILE__ )."/../../expressoCalendar/inc/class.ui_migration.inc.php"; 83 84 $migratrion = new Migra(); 85 $migratrion->calendar(); 86 } 87 } 71 88 72 89 if ($_POST['cancel'] || $_POST['submit'] && $GLOBALS['phpgw']->acl->check('site_config_access',2,'admin')) … … 289 306 290 307 $t->set_var('rows_login_generator',$options); 291 } 292 308 } 293 309 294 310 if($appname=="admin") { -
trunk/admin/inc/hook_admin.inc.php
r3480 r5804 85 85 $file['VoIP settings'] = $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uivoip.edit_conf'); 86 86 } 87 88 if (! $GLOBALS['phpgw']->acl->check('site_config_access',1,'admin')) 89 { 90 $file['Calendar settings'] = $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicalendar.edit_conf'); 91 } 87 92 88 93 /* Do not modify below this line */
Note: See TracChangeset
for help on using the changeset viewer.