Updated install and fixed bugs
Added session messages display Fixed field and validator loading. Updated form validation Updated root config management Muted error reporting in file evaluation Added menu updates Fixed galaxy data access error Fixed config bug Added HTTP request method checks Added Form manager Fixed core bugs Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
parent
c38e53706e
commit
9636b4bb00
69 changed files with 2434 additions and 789 deletions
243
application/design/base/default/layouts/admin.php
Normal file
243
application/design/base/default/layouts/admin.php
Normal file
|
|
@ -0,0 +1,243 @@
|
|||
<?php return array(
|
||||
'admin' => array(
|
||||
'update' => '1column',
|
||||
'reference' => array(
|
||||
'content' => array(
|
||||
'children' => array(
|
||||
'navigation' => array(
|
||||
'type' => 'core/html.navigation',
|
||||
'template' => 'page/html/navigation.phtml',
|
||||
'actions' => array(
|
||||
array(
|
||||
'method' => 'setNodeTitle',
|
||||
'params' => array(
|
||||
'path' => 'system',
|
||||
'title' => 'System'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'system/overview',
|
||||
'label' => 'Overview',
|
||||
'title' => 'Overview',
|
||||
'uri' => 'admin/overview.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'system/settings',
|
||||
'label' => 'Settings',
|
||||
'title' => 'Settings',
|
||||
'uri' => 'admin/settings.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'system/reset-universe',
|
||||
'label' => 'Reset Universe',
|
||||
'title' => 'Reset Universe',
|
||||
'uri' => 'admin/XNovaResetUnivers.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'setNodeTitle',
|
||||
'params' => array(
|
||||
'path' => 'players',
|
||||
'title' => 'Player Accounts'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'players/list',
|
||||
'label' => 'List',
|
||||
'title' => 'List',
|
||||
'uri' => 'admin/userlist.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'players/password-recovery',
|
||||
'label' => 'Change a password',
|
||||
'title' => 'Change a password',
|
||||
'uri' => 'admin/md5changepass.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'players/search',
|
||||
'label' => 'Search',
|
||||
'title' => 'Search',
|
||||
'uri' => 'admin/paneladmina.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'players/multi-account-alerts',
|
||||
'label' => 'Multi account alerts',
|
||||
'title' => 'Multi account alerts',
|
||||
'uri' => 'admin/multi.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'players/declared-multi-account',
|
||||
'label' => 'Declared multi accounts',
|
||||
'title' => 'Declared multi accounts',
|
||||
'uri' => 'admin/declare_list.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'players/add-resources',
|
||||
'label' => 'Add Resources',
|
||||
'title' => 'Add Resources',
|
||||
'uri' => 'admin/add_money.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'players/messages',
|
||||
'label' => 'Private messages management',
|
||||
'title' => 'Private messages management',
|
||||
'uri' => 'admin/messagelist.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'players/chat',
|
||||
'label' => 'Manage Chat',
|
||||
'title' => 'Manage Chat',
|
||||
'uri' => 'chat.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'players/ban',
|
||||
'label' => 'Ban Player',
|
||||
'title' => 'Ban Player',
|
||||
'uri' => 'admin/banned.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'players/unban',
|
||||
'label' => 'Unban Player',
|
||||
'title' => 'Unban Player',
|
||||
'uri' => 'admin/unbanned.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'setNodeTitle',
|
||||
'params' => array(
|
||||
'path' => 'empire',
|
||||
'title' => 'Empires'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'empire/planet-list',
|
||||
'label' => 'Planet List',
|
||||
'title' => 'Planet List',
|
||||
'uri' => 'admin/planetlist.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'empire/moon-list',
|
||||
'label' => 'Moon List',
|
||||
'title' => 'Moon List',
|
||||
'uri' => 'admin/moonlist.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'empire/add-moon',
|
||||
'label' => 'Add a moon',
|
||||
'title' => 'Add a moon',
|
||||
'uri' => 'admin/add_moon.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'empire/planet-activity',
|
||||
'label' => 'Planet Activity',
|
||||
'title' => 'Planet Activity',
|
||||
'uri' => 'admin/activeplanet.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'empire/fleet-list',
|
||||
'label' => 'Fleet list',
|
||||
'title' => 'Fleet list',
|
||||
'uri' => 'admin/ShowFlyingFleets.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'setNodeTitle',
|
||||
'params' => array(
|
||||
'path' => 'tools',
|
||||
'title' => 'Tools'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'tools/phpinfo',
|
||||
'label' => 'PHP Info',
|
||||
'title' => 'PHP Info',
|
||||
'uri' => 'variables.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'tools/stats',
|
||||
'label' => 'Stats updater',
|
||||
'title' => 'Stats updater',
|
||||
'uri' => 'statbuilder.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'tools/errors',
|
||||
'label' => 'Error reporting',
|
||||
'title' => 'Error reporting',
|
||||
'uri' => 'errors.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addExternalLink',
|
||||
'params' => array(
|
||||
'name' => 'tools/help',
|
||||
'label' => 'Need help?',
|
||||
'title' => 'Need help?',
|
||||
'url' => 'http://wootook.org/board/'
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
|
@ -2,287 +2,293 @@
|
|||
'empire' => array(
|
||||
'update' => '1column',
|
||||
'reference' => array(
|
||||
'navigation' => array(
|
||||
'actions' => array(
|
||||
array(
|
||||
'method' => 'setNodeTitle',
|
||||
'params' => array(
|
||||
'path' => 'development',
|
||||
'title' => 'Development'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'development/overview',
|
||||
'label' => 'Overview',
|
||||
'title' => 'Overview',
|
||||
'uri' => 'overview.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'development/buildings',
|
||||
'label' => 'Buildings',
|
||||
'title' => 'Buildings',
|
||||
'uri' => 'buildings.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'development/research-lab',
|
||||
'label' => 'Research Lab',
|
||||
'title' => 'Research Lab',
|
||||
'uri' => 'buildings.php',
|
||||
'params' => array(
|
||||
'mode' => 'research'
|
||||
'content' => array(
|
||||
'children' => array(
|
||||
'navigation' => array(
|
||||
'type' => 'core/html.navigation',
|
||||
'template' => 'page/html/navigation.phtml',
|
||||
'actions' => array(
|
||||
array(
|
||||
'method' => 'setNodeTitle',
|
||||
'params' => array(
|
||||
'path' => 'development',
|
||||
'title' => 'Development'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'development/overview',
|
||||
'label' => 'Overview',
|
||||
'title' => 'Overview',
|
||||
'uri' => 'overview.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'development/buildings',
|
||||
'label' => 'Buildings',
|
||||
'title' => 'Buildings',
|
||||
'uri' => 'buildings.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'development/research-lab',
|
||||
'label' => 'Research Lab',
|
||||
'title' => 'Research Lab',
|
||||
'uri' => 'buildings.php',
|
||||
'params' => array(
|
||||
'mode' => 'research'
|
||||
)
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'development/shipyard',
|
||||
'label' => 'Shipyard',
|
||||
'title' => 'Shipyard',
|
||||
'uri' => 'buildings.php',
|
||||
'params' => array(
|
||||
'mode' => 'fleet'
|
||||
)
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'development/defenses',
|
||||
'label' => 'Defenses',
|
||||
'title' => 'Defenses',
|
||||
'uri' => 'buildings.php',
|
||||
'params' => array(
|
||||
'mode' => 'defense'
|
||||
)
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'development/officers',
|
||||
'label' => 'Officers',
|
||||
'title' => 'Officers',
|
||||
'uri' => 'officier.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'setNodeTitle',
|
||||
'params' => array(
|
||||
'path' => 'navigation',
|
||||
'title' => 'Navigation'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'navigation/alliance',
|
||||
'label' => 'Alliance',
|
||||
'title' => 'Alliance',
|
||||
'uri' => 'alliance.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'navigation/fleet',
|
||||
'label' => 'Fleet',
|
||||
'title' => 'Fleet',
|
||||
'uri' => 'fleet.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'navigation/galaxy',
|
||||
'label' => 'Galaxy',
|
||||
'title' => 'Galaxy',
|
||||
'uri' => 'galaxy.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'navigation/empire',
|
||||
'label' => 'Empire',
|
||||
'title' => 'Empire',
|
||||
'uri' => 'imperium.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'navigation/resources',
|
||||
'label' => 'Resources Production',
|
||||
'title' => 'Resources Production',
|
||||
'uri' => 'resources.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'development/retailer',
|
||||
'label' => 'Retailer',
|
||||
'title' => 'Retailer',
|
||||
'uri' => 'marchand.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'navigation/tech-tree',
|
||||
'label' => 'Technology Tree',
|
||||
'title' => 'Technology Tree',
|
||||
'uri' => 'techtree.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'setNodeTitle',
|
||||
'params' => array(
|
||||
'path' => 'tools',
|
||||
'title' => 'Tools'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'tools/messages',
|
||||
'label' => 'Messages',
|
||||
'title' => 'Messages',
|
||||
'uri' => 'messages.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'tools/records',
|
||||
'label' => 'Records',
|
||||
'title' => 'Records',
|
||||
'uri' => 'records.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'tools/statistics',
|
||||
'label' => 'Stats',
|
||||
'title' => 'Stats',
|
||||
'uri' => 'stat.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'tools/banned',
|
||||
'label' => 'Banned Players',
|
||||
'title' => 'Banned Players',
|
||||
'uri' => 'banned.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'tools/announcement',
|
||||
'label' => 'Announcements',
|
||||
'title' => 'Announcements',
|
||||
'uri' => 'annonce.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'tools/notes',
|
||||
'label' => 'Note Pad',
|
||||
'title' => 'Note Pad',
|
||||
'uri' => 'notes.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'tools/options',
|
||||
'label' => 'Account Options',
|
||||
'title' => 'Account Options',
|
||||
'uri' => 'options.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'tools/logout',
|
||||
'label' => 'Log Out',
|
||||
'title' => 'Log Out',
|
||||
'uri' => 'logout.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'setNodeTitle',
|
||||
'params' => array(
|
||||
'path' => 'community',
|
||||
'title' => 'Community'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addExternalLink',
|
||||
'params' => array(
|
||||
'name' => 'community/board',
|
||||
'label' => 'Forum board',
|
||||
'title' => 'Forum board',
|
||||
'url' => 'http://www.wootook.org/'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'community/search-player',
|
||||
'label' => 'Search Player',
|
||||
'title' => 'Search Player',
|
||||
'uri' => 'search.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'community/chat',
|
||||
'label' => 'Chat',
|
||||
'title' => 'Chat',
|
||||
'uri' => 'chat.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'community/multi',
|
||||
'label' => 'Declare Multi-account',
|
||||
'title' => 'Declare Multi-account',
|
||||
'uri' => 'delclare_multi.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'community/rules',
|
||||
'label' => 'Rules',
|
||||
'title' => 'Rules',
|
||||
'uri' => 'rules.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'community/contact',
|
||||
'label' => 'Contact Admin',
|
||||
'title' => 'Contact Admin',
|
||||
'uri' => 'contact.php'
|
||||
)
|
||||
)
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'development/shipyard',
|
||||
'label' => 'Shipyard',
|
||||
'title' => 'Shipyard',
|
||||
'uri' => 'buildings.php',
|
||||
'params' => array(
|
||||
'mode' => 'fleet'
|
||||
)
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'development/defenses',
|
||||
'label' => 'Defenses',
|
||||
'title' => 'Defenses',
|
||||
'uri' => 'buildings.php',
|
||||
'params' => array(
|
||||
'mode' => 'defense'
|
||||
)
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'development/officers',
|
||||
'label' => 'Officers',
|
||||
'title' => 'Officers',
|
||||
'uri' => 'officers.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'setNodeTitle',
|
||||
'params' => array(
|
||||
'path' => 'navigation',
|
||||
'title' => 'Navigation'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'navigation/alliance',
|
||||
'label' => 'Alliance',
|
||||
'title' => 'Alliance',
|
||||
'uri' => 'alliance.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'navigation/fleet',
|
||||
'label' => 'Fleet',
|
||||
'title' => 'Fleet',
|
||||
'uri' => 'fleet.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'navigation/galaxy',
|
||||
'label' => 'Galaxy',
|
||||
'title' => 'Galaxy',
|
||||
'uri' => 'galaxy.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'navigation/empire',
|
||||
'label' => 'Empire',
|
||||
'title' => 'Empire',
|
||||
'uri' => 'imperium.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'navigation/resources',
|
||||
'label' => 'Resources Production',
|
||||
'title' => 'Resources Production',
|
||||
'uri' => 'resources.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'development/retailer',
|
||||
'label' => 'Retailer',
|
||||
'title' => 'Retailer',
|
||||
'uri' => 'marchand.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'navigation/tech-tree',
|
||||
'label' => 'Technology Tree',
|
||||
'title' => 'Technology Tree',
|
||||
'uri' => 'techtree.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'setNodeTitle',
|
||||
'params' => array(
|
||||
'path' => 'tools',
|
||||
'title' => 'Tools'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'tools/messages',
|
||||
'label' => 'Messages',
|
||||
'title' => 'Messages',
|
||||
'uri' => 'messages.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'tools/records',
|
||||
'label' => 'Records',
|
||||
'title' => 'Records',
|
||||
'uri' => 'records.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'tools/statistics',
|
||||
'label' => 'Stats',
|
||||
'title' => 'Stats',
|
||||
'uri' => 'stat.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'tools/banned',
|
||||
'label' => 'Banned Players',
|
||||
'title' => 'Banned Players',
|
||||
'uri' => 'banned.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'tools/announcement',
|
||||
'label' => 'Announcements',
|
||||
'title' => 'Announcements',
|
||||
'uri' => 'annonce.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'tools/notes',
|
||||
'label' => 'Note Pad',
|
||||
'title' => 'Note Pad',
|
||||
'uri' => 'notes.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'tools/options',
|
||||
'label' => 'Account Options',
|
||||
'title' => 'Account Options',
|
||||
'uri' => 'options.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'tools/logout',
|
||||
'label' => 'Log Out',
|
||||
'title' => 'Log Out',
|
||||
'uri' => 'logout.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'setNodeTitle',
|
||||
'params' => array(
|
||||
'path' => 'community',
|
||||
'title' => 'Community'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addExternalLink',
|
||||
'params' => array(
|
||||
'name' => 'community/board',
|
||||
'label' => 'Forum board',
|
||||
'title' => 'Forum board',
|
||||
'url' => 'http://www.wootook.org/'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'community/search-player',
|
||||
'label' => 'Search Player',
|
||||
'title' => 'Search Player',
|
||||
'uri' => 'search.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'community/chat',
|
||||
'label' => 'Chat',
|
||||
'title' => 'Chat',
|
||||
'uri' => 'chat.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'community/multi',
|
||||
'label' => 'Declare Multi-account',
|
||||
'title' => 'Declare Multi-account',
|
||||
'uri' => 'delclare_multi.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'community/rules',
|
||||
'label' => 'Rules',
|
||||
'title' => 'Rules',
|
||||
'uri' => 'rules.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'community/contact',
|
||||
'label' => 'Contact Admin',
|
||||
'title' => 'Contact Admin',
|
||||
'uri' => 'contact.php'
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,16 +1,6 @@
|
|||
<?php return array(
|
||||
'1column' => array(
|
||||
'update' => 'default',
|
||||
'reference' => array(
|
||||
'content' => array(
|
||||
'children' => array(
|
||||
'navigation' => array(
|
||||
'type' => 'core/html.navigation',
|
||||
'template' => 'page/html/navigation.phtml'
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
'update' => 'default'
|
||||
),
|
||||
|
||||
'2columns-left' => array(
|
||||
|
|
@ -20,13 +10,7 @@
|
|||
'root' => array(
|
||||
'children' => array(
|
||||
'left' => array(
|
||||
'type' => 'core/concat',
|
||||
'children' => array(
|
||||
'navigation' => array(
|
||||
'type' => 'core/html.navigation',
|
||||
'template' => 'page/html/navigation.phtml'
|
||||
)
|
||||
)
|
||||
'type' => 'core/concat'
|
||||
)
|
||||
)
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,10 +1,16 @@
|
|||
<form name="rename-planet" id="overview:rename-planet" method="post" action="">
|
||||
<form name="rename-planet" class="form rename-planet" id="overview:rename-planet" method="post" action="">
|
||||
<fieldset>
|
||||
<input type="hidden" name="form_key" value="<?php echo $this->getFormKey()?>" />
|
||||
<label for="overview:rename-planet:password"><?php echo $this->__('Password:')?></label>
|
||||
<input id="overview:rename-planet:password" type="password" name="password" />
|
||||
<label for="overview:rename-planet:name"><?php echo $this->__('New name:')?></label>
|
||||
<input id="overview:rename-planet:name" type="text" name="name" />
|
||||
<input type="submit" />
|
||||
<p>
|
||||
<label for="overview:rename-planet:name"><?php echo $this->__('New name:')?></label>
|
||||
<input id="overview:rename-planet:name" type="text" name="name" />
|
||||
</p>
|
||||
<p>
|
||||
<label for="overview:rename-planet:password"><?php echo $this->__('Password:')?></label>
|
||||
<input id="overview:rename-planet:password" type="password" name="password" />
|
||||
</p>
|
||||
<p>
|
||||
<input type="submit" />
|
||||
</p>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<form action="reg.php" method="post" class="registration">
|
||||
<form action="reg.php" method="post" class="form registration">
|
||||
<h1>Wootook!</h1>
|
||||
<fieldset>
|
||||
<legend><?php echo $this->__('User data:')?></legend>
|
||||
|
|
|
|||
Loading…
Reference in a new issue