Updated layout file format to XML

Fixed config & install inconstinstencies
Fixed form management updates

Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
Gregory PLANCHAT 2012-01-24 22:27:32 +01:00
commit d40313279a
29 changed files with 692 additions and 918 deletions

View file

@ -70,15 +70,15 @@
'episode' => 'default',
),
'core' => array(
'use_large_numbers' => (bool) $request->getPost('use_large_numbers')
'use_large_numbers' => true
),
'universe' => array(
'galaxies' => $request->getPost('galaxies'),
'systems' => $request->getPost('systems'),
'positions' => $request->getPost('positions')
'galaxies' => 3,
'systems' => 100,
'positions' => 15
),
'combat' => array(
'allow_spy_drone_attacks' => (bool) $request->getPost('allow_spy_drone_attacks')
'allow_spy_drone_attacks' => true
)
),
)

View file

@ -47,46 +47,15 @@
),
),
'frontend' => array(
'web' => array(
'url' => array(
'base' => null,
'skin' => null,
'js' => null,
'css' => null,
)
),
'system' => array(
'path' => array(
'base' => null,
'skin' => null,
'js' => null,
'css' => null,
)
),
'layout' => array(
'page' => 'page.php',
'page' => 'page.xml',
'user' => 'user.xml',
'empire' => 'empire.php'
),
),
'backend' => array(
'web' => array(
'url' => array(
'base' => null,
'skin' => null,
'js' => null,
'css' => null,
)
),
'system' => array(
'path' => array(
'base' => null,
'skin' => null,
'js' => null,
'css' => null,
)
),
'layout' => array(
'page' => 'page.php',
'page' => 'page.xml',
'admin' => 'admin.php'
),
)