Code Duplication    Length = 9-9 lines in 2 locations

programs/configuration.php 2 locations

@@ 364-372 (lines=9) @@
361
		
362
	}
363
	
364
	public function display()
365
	{
366
		global $babBody;
367
		$addon = bab_getAddonInfosInstance('LibCaldav');
368
	
369
		$babBody->setTitle(caldav_translate('Edit server'));
370
		$babBody->babEcho(bab_printTemplate($this, $addon->getTemplatePath() . 'configuration.html', 'editserver'));
371
	
372
	}
373
}
374
375
class caldav_resource_editor
@@ 428-436 (lines=9) @@
425
	}
426
	
427
	
428
	public function display()
429
	{
430
		$babBody = bab_getBody();
431
		$addon = bab_getAddonInfosInstance('LibCaldav');
432
	
433
		$babBody->setTitle(caldav_translate('Resource'));
434
		$babBody->babEcho(bab_printTemplate($this, $addon->getTemplatePath() . 'configuration.html', 'edit'));
435
436
	}
437
}
438
439