Configuration & Layout architecture updates
Fixed production bug Fixed styles Updated Action Controller Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
parent
dfa3dfb086
commit
66805034a6
815 changed files with 4020 additions and 1138 deletions
|
|
@ -2,7 +2,7 @@
|
|||
'admin' => array(
|
||||
'update' => '1column',
|
||||
'reference' => array(
|
||||
'content' => array(
|
||||
'header' => array(
|
||||
'children' => array(
|
||||
'navigation' => array(
|
||||
'type' => 'core/html.navigation',
|
||||
|
|
@ -239,5 +239,45 @@
|
|||
)
|
||||
)
|
||||
)
|
||||
),
|
||||
'admin.grid' => array(
|
||||
'update' => 'admin',
|
||||
'reference' => array(
|
||||
'content' => array(
|
||||
'children' => array(
|
||||
'grid.container' => array(
|
||||
'type' => 'admin/grid.container',
|
||||
'template' => 'grid/container.phtml',
|
||||
'children' => array(
|
||||
'mass-actions' => array(
|
||||
'type' => 'admin/grid.mass-actions',
|
||||
'template' => 'grid/view.phtml',
|
||||
),
|
||||
'grid' => array(
|
||||
'type' => 'admin/grid.view',
|
||||
'template' => 'grid/view.phtml',
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
),
|
||||
'admin.user.grid' => array(
|
||||
'update' => 'admin.grid',
|
||||
'reference' => array(
|
||||
'grid' => array(
|
||||
'actions' => array(
|
||||
array(
|
||||
'method' => 'addColumn',
|
||||
'params' => array(
|
||||
'name' => 'index',
|
||||
'type' => 'indexer',
|
||||
'config' => array()
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
183
application/design/backend/base/default/layouts/page.php
Normal file
183
application/design/backend/base/default/layouts/page.php
Normal file
|
|
@ -0,0 +1,183 @@
|
|||
<?php return array(
|
||||
'1column' => array(
|
||||
'update' => 'default'
|
||||
),
|
||||
|
||||
'2columns-left' => array(
|
||||
'update' => 'default',
|
||||
'template' => 'page/2columns-left.phtml',
|
||||
'reference' => array(
|
||||
'root' => array(
|
||||
'children' => array(
|
||||
'left' => array(
|
||||
'type' => 'core/concat'
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
),
|
||||
|
||||
'2columns-right' => array(
|
||||
'update' => 'default',
|
||||
'template' => 'page/2columns-right.phtml',
|
||||
'reference' => array(
|
||||
'root' => array(
|
||||
'children' => array(
|
||||
'right' => array(
|
||||
'type' => 'core/concat'
|
||||
),
|
||||
)
|
||||
)
|
||||
)
|
||||
),
|
||||
|
||||
'3columns' => array(
|
||||
'update' => 'default',
|
||||
'template' => 'page/3columns.phtml',
|
||||
'reference' => array(
|
||||
'root' => array(
|
||||
'children' => array(
|
||||
'left' => array(
|
||||
'type' => 'core/concat'
|
||||
),
|
||||
'right' => array(
|
||||
'type' => 'core/concat'
|
||||
),
|
||||
)
|
||||
)
|
||||
)
|
||||
),
|
||||
|
||||
'default' => array(
|
||||
'type' => 'core/html.page',
|
||||
'template' => 'page/1column.phtml',
|
||||
'children' => array(
|
||||
'head' => array(
|
||||
'type' => 'core/html.head',
|
||||
'template' => 'page/html/head.phtml',
|
||||
'actions' => array(
|
||||
array(
|
||||
'method' => 'addCss',
|
||||
'params' => array(
|
||||
'stylesheet' => 'css/base.css'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addJs',
|
||||
'params' => array(
|
||||
'script' => 'scripts/jquery/jquery-1.6.4.js'
|
||||
)
|
||||
)
|
||||
)
|
||||
),
|
||||
'header' => array(
|
||||
'type' => 'core/concat'
|
||||
),
|
||||
'footer' => array(
|
||||
'type' => 'core/template',
|
||||
'template' => 'page/html/footer.phtml'
|
||||
),
|
||||
'content' => array(
|
||||
'type' => 'core/concat'
|
||||
)
|
||||
)
|
||||
),
|
||||
|
||||
'ajax' => array(
|
||||
'type' => 'core/html.page',
|
||||
'template' => 'page/empty.phtml',
|
||||
'children' => array(
|
||||
'content' => array(
|
||||
'type' => 'core/concat'
|
||||
)
|
||||
)
|
||||
),
|
||||
|
||||
'empty' => array(
|
||||
'type' => 'core/html.page',
|
||||
'template' => 'page/empty.phtml',
|
||||
'children' => array(
|
||||
'head' => array(
|
||||
'type' => 'core/html.head',
|
||||
'template' => 'page/html/head.phtml'
|
||||
),
|
||||
'content' => array(
|
||||
'type' => 'core/concat'
|
||||
)
|
||||
)
|
||||
),
|
||||
|
||||
'message' => array(
|
||||
'update' => 'default',
|
||||
'reference' => array(
|
||||
'content' => array(
|
||||
'children' => array(
|
||||
'message' => array(
|
||||
'type' => 'core/template',
|
||||
'template' => 'page/html/message.phtml'
|
||||
),
|
||||
)
|
||||
)
|
||||
)
|
||||
),
|
||||
|
||||
'login' => array(
|
||||
'update' => '1column',
|
||||
'reference' => array(
|
||||
'content' => array(
|
||||
'children' => array(
|
||||
'login' => array(
|
||||
'type' => 'core/template',
|
||||
'template' => 'user/login.phtml'
|
||||
),
|
||||
)
|
||||
),
|
||||
'head' => array(
|
||||
'actions' => array(
|
||||
array(
|
||||
'method' => 'addCss',
|
||||
'params' => array(
|
||||
'stylesheet' => 'css/deprecated/styles.css'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addCss',
|
||||
'params' => array(
|
||||
'stylesheet' => 'css/deprecated/about.css'
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
),
|
||||
|
||||
'registration' => array(
|
||||
'update' => '1column',
|
||||
'reference' => array(
|
||||
'content' => array(
|
||||
'children' => array(
|
||||
'registration' => array(
|
||||
'type' => 'core/template',
|
||||
'template' => 'user/registration.phtml'
|
||||
),
|
||||
)
|
||||
),
|
||||
'head' => array(
|
||||
'actions' => array(
|
||||
array(
|
||||
'method' => 'addCss',
|
||||
'params' => array(
|
||||
'stylesheet' => 'css/deprecated/styles.css'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addCss',
|
||||
'params' => array(
|
||||
'stylesheet' => 'css/deprecated/about.css'
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
|
@ -0,0 +1 @@
|
|||
a
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
<html>
|
||||
<head>
|
||||
<?php echo $this->head->render()?>
|
||||
</head>
|
||||
<body<?php if ($classes = $this->getBodyClasses()):?> class="<?php echo $this->escape($classes)?>"<?php endif?>>
|
||||
<div class="global">
|
||||
<div class="header">
|
||||
<?php echo $this->header->render()?>
|
||||
</div>
|
||||
<div class="content">
|
||||
<?php echo $this->content->render()?>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
<html>
|
||||
<head>
|
||||
<?php echo $this->head->render()?>
|
||||
</head>
|
||||
<body<?php if ($classes = $this->getBodyClasses()):?> class="<?php echo $this->escape($classes)?>"<?php endif?>>
|
||||
<div class="global">
|
||||
<div class="header">
|
||||
<?php echo $this->header->render()?>
|
||||
</div>
|
||||
<div class="left">
|
||||
<?php echo $this->left->render()?>
|
||||
</div>
|
||||
<div class="content">
|
||||
<?php echo $this->content->render()?>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
<html>
|
||||
<head>
|
||||
<?php echo $this->head->render()?>
|
||||
</head>
|
||||
<body<?php if ($classes = $this->getBodyClasses()):?> class="<?php echo $this->escape($classes)?>"<?php endif?>>
|
||||
<div class="global">
|
||||
<div class="header">
|
||||
<?php echo $this->header->render()?>
|
||||
</div>
|
||||
<div class="content">
|
||||
<?php echo $this->content->render()?>
|
||||
</div>
|
||||
<div class="right">
|
||||
<?php echo $this->left->render()?>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
<html>
|
||||
<head>
|
||||
<?php echo $this->head->render()?>
|
||||
</head>
|
||||
<body<?php if ($classes = $this->getBodyClasses()):?> class="<?php echo $this->escape($classes)?>"<?php endif?>>
|
||||
<div class="global">
|
||||
<div class="header">
|
||||
<?php echo $this->header->render()?>
|
||||
</div>
|
||||
<div class="left">
|
||||
<?php echo $this->left->render()?>
|
||||
</div>
|
||||
<div class="content">
|
||||
<?php echo $this->content->render()?>
|
||||
</div>
|
||||
<div class="right">
|
||||
<?php echo $this->left->render()?>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
<div class="navigation-container">
|
||||
<div class="navigation">
|
||||
<?php foreach ($this->getAllPartials() as $partial):?>
|
||||
<div class="navigation-node" rel="<?php echo $this->escape($partial->getNameInLayout())?>">
|
||||
<p class="title"><?php echo $this->escape($partial->getTitle())?></p>
|
||||
</div>
|
||||
<?php endforeach?>
|
||||
<span class="last"></span>
|
||||
<?php foreach ($this->getAllPartials() as $partial):?>
|
||||
<?php echo $partial->render()?>
|
||||
<?php endforeach?>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
(function($){
|
||||
var navigation = $('.navigation');
|
||||
$('.navigation-node', navigation).mouseenter(function(e){
|
||||
$('.navigation-node', $(this).parent()).removeClass('hover');
|
||||
$(this).addClass('hover');
|
||||
|
||||
$('.navigation-links', $(this).parent()).hide();
|
||||
var rel = ($(this).attr('rel')).replace(/(\.|\\|\\:|\\#)/, '\\$1');
|
||||
$('#navigation\\:' + rel).show();
|
||||
});
|
||||
})(jQuery);
|
||||
//]]>
|
||||
</script>
|
||||
</div>
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
<div class="navigation-links" id="navigation:<?php echo $this->escape($this->getNameInLayout())?>">
|
||||
<?php foreach ($this->getAllPartials() as $name => $partial):?>
|
||||
<?php echo $partial->render()?>
|
||||
<?php endforeach?>
|
||||
</div>
|
||||
|
|
@ -1,44 +0,0 @@
|
|||
<tr>
|
||||
<th colspan="2">
|
||||
<br><?php echo $this->getData('ins_tx_acc1')?><br>
|
||||
<?php echo $this->getData('ins_tx_acc2')?><br><br>
|
||||
<table width="270" border="0" align="center" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td><?php echo $this->getData('ins_acc_user')?>:</td>
|
||||
<td><input name="adm_user" size="20" maxlength="20" type="text" onKeypress="
|
||||
if (event.keyCode==60 || event.keyCode==62) event.returnValue = false;
|
||||
if (event.which==60 || event.which==62) return false;"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $this->getData('ins_acc_pass')?>:</td>
|
||||
<td><input name="adm_pass" size="20" maxlength="20" type="password" onKeypress="
|
||||
if (event.keyCode==60 || event.keyCode==62) event.returnValue = false;
|
||||
if (event.which==60 || event.which==62) return false;"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $this->getData('ins_acc_email')?>:</td>
|
||||
<td><input name="adm_email" size="20" maxlength="40" type="text" onKeypress="
|
||||
if (event.keyCode==60 || event.keyCode==62) event.returnValue = false;
|
||||
if (event.which==60 || event.which==62) return false;"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $this->getData('ins_acc_planet')?>:</td>
|
||||
<td><input name="adm_planet" size="20" maxlength="20" type="text" onKeypress="
|
||||
if (event.keyCode==60 || event.keyCode==62) event.returnValue = false;
|
||||
if (event.which==60 || event.which==62) return false;"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $this->getData('ins_acc_sex')?>:</td>
|
||||
<td><select name="adm_sex">
|
||||
<option value=""><?php echo $this->getData('ins_acc_sex0')?></option>
|
||||
<option value="M"><?php echo $this->getData('ins_acc_sex1')?></option>
|
||||
<option value="F"><?php echo $this->getData('ins_acc_sex2')?></option>
|
||||
</select></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2"><input type="button" name="next" onclick="submit();" value="<?php echo $this->getData('ins_btn_creat')?>" ></th>
|
||||
</tr>
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
<tr>
|
||||
<th colspan="2">
|
||||
<br><?php echo $this->getData('ins_tx_done2')?><br>
|
||||
<?php echo $this->getData('ins_tx_done3')?><br><br>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2"><input type="button" name="next" onclick="self.location.href='../'" value="<?php echo $this->getData('ins_btn_login')?>" ></th>
|
||||
</tr>
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
<br><br>
|
||||
<table width="700">
|
||||
<tbody><tr>
|
||||
<td width="120px" class="c" align="left"><font size="2px"><?php echo $this->getData('ins_appname')?></font></td>
|
||||
<td width="580px" rowspan="2" class="c" align="right"><font size="2px"><?php echo $this->getData('ins_tx_sys')?></font><br /><?php echo $this->getData('ins_tx_state')?> <?php echo $this->getData('ins_state')?></td>
|
||||
</tr><tr>
|
||||
<th rowspan="4"><table border="0" align="center" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td width="124" align="center"><a href="index.php?mode=intro" accesskey="i"><?php echo $this->getData('ins_mnu_intro')?></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><a href="index.php?mode=ins&page=1" accesskey="i"><?php echo $this->getData('ins_mnu_inst')?></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><a href="index.php?mode=goto&page=1" accesskey="b"><?php echo $this->getData('ins_mnu_goto')?></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><a href="index.php?mode=upg" accesskey="u"><?php echo $this->getData('ins_mnu_upgr')?></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><a href="index.php?mode=bye" accesskey="b"><?php echo $this->getData('ins_mnu_quit')?></a></td>
|
||||
</tr>
|
||||
</table></th>
|
||||
</tr>
|
||||
<form action="<?php echo $this->getData('dis_ins_btn')?>" method="post">
|
||||
<?php echo $this->getData('ins_page')?>
|
||||
</form>
|
||||
</table>
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
<tr>
|
||||
<th colspan="2">
|
||||
<br><?php echo $this->getData('ins_tx_inst1')?><br>
|
||||
<?php echo $this->getData('ins_tx_inst2')?><br>
|
||||
<?php echo $this->getData('ins_tx_inst3')?><br><br>
|
||||
<table width="270" border="0" align="center" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td><?php echo $this->getData('ins_form_server')?>:</td>
|
||||
<td><input type="text" name="host" value="localhost" size="20"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $this->getData('ins_form_db')?>:</td>
|
||||
<td><input type="text" name="db" value="" size="20"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $this->getData('ins_form_prefix')?>:</td>
|
||||
<td><input type="text" name="prefix" value="game_" size="20"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $this->getData('ins_form_login')?>:</td>
|
||||
<td><input type="text" name="user" value="" size="20"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $this->getData('ins_form_pass')?>:</td>
|
||||
<td><input type="password" name="passwort" value="" size="20"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2"><input type="button" name="next" onclick="submit();" value="<?php echo $this->getData('ins_btn_inst')?>" ></th>
|
||||
</tr>
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
<tr>
|
||||
<th colspan="2">
|
||||
<br><br><?php echo $this->getData('ins_tx_done1')?><br><br>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2"><input type="button" name="next" onclick="submit();" value="<?php echo $this->getData('ins_btn_next')?>" ></th>
|
||||
</tr>
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
<tr>
|
||||
<th colspan="2">
|
||||
<br><?php echo $this->getData('ins_tx_done4')?><br>
|
||||
<?php echo $this->getData('ins_tx_done3')?><br><br>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2"><input type="button" name="next" onclick="self.location.href='../'" value="<?php echo $this->getData('ins_btn_login')?>" ></th>
|
||||
</tr>
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
<tr>
|
||||
<th colspan="2">
|
||||
<br><?php echo $this->getData('ins_tx_inst1')?><br>
|
||||
<?php echo $this->getData('ins_tx_goto4')?><br>
|
||||
<?php echo $this->getData('ins_tx_goto5')?><br><br>
|
||||
<table width="270" border="0" align="center" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td><?php echo $this->getData('ins_form_server')?>:</td>
|
||||
<td><input type="text" name="host" value="localhost" size="20"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $this->getData('ins_form_db')?>:</td>
|
||||
<td><input type="text" name="db" value="" size="20"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $this->getData('ins_form_prefix')?>:</td>
|
||||
<td><input type="text" name="prefix" value="game_" size="20"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $this->getData('ins_form_login')?>:</td>
|
||||
<td><input type="text" name="user" value="" size="20"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo $this->getData('ins_form_pass')?>:</td>
|
||||
<td><input type="password" name="passwort" value="" size="20"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2"><input type="button" name="next" onclick="submit();" value="<?php echo $this->getData('ins_btn_inst')?>" ></th>
|
||||
</tr>
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
<tr>
|
||||
<th colspan="2">
|
||||
<br><?php echo $this->getData('ins_tx_goto1')?><br>
|
||||
<?php echo $this->getData('ins_tx_goto2')?><br>
|
||||
<?php echo $this->getData('ins_tx_goto3')?><br><br>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2"><input type="button" name="next" onclick="submit();" value="<?php echo $this->getData('ins_btn_next')?>" ></th>
|
||||
</tr>
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
<tr>
|
||||
<th colspan="2">
|
||||
<br><?php echo $this->getData('ins_tx_welco')?><br>
|
||||
<?php echo $this->getData('ins_tx_intr1')?><br>
|
||||
<?php echo $this->getData('ins_tx_intr2')?><br>
|
||||
<?php echo $this->getData('ins_tx_intr3')?><br><br>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2"><input type="button" name="next" onclick="self.location.href='index.php?mode=ins&page=1'" value="<?php echo $this->getData('ins_btn_next')?>" ></th>
|
||||
</tr>
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
<div class="buildings item-list">
|
||||
<h1><?php echo $this->__('Buildings')?></h1>
|
||||
<?php echo $this->getPartial('item-list.items')->render()?>
|
||||
</div>
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
<?php /** @var Legacies_Core_Block_Template $this */?>
|
||||
<div class="item title">
|
||||
<h2><a href="<?php echo $this->getItemInfoUrl()?>"><?php echo $this->escape($this->getName())?></a> (<?php echo $this->renderNumber($this->getLevel())?>)</h2>
|
||||
</div>
|
||||
<div class="item details">
|
||||
<a href="<?php echo $this->getItemInfoUrl()?>" class="image"><img src="<?php echo $this->getItemImageUrl()?>" alt="" width="120" height="120" /></a>
|
||||
<div class="details">
|
||||
<p><?php echo $this->getDescription()?></p>
|
||||
<ul>
|
||||
<?php foreach ($this->getResourcesConfigForNextLevel() as $resourceId => $resourceConfig):?>
|
||||
<li class="resource">
|
||||
<span class="label"><?php echo $this->getResourceName($resourceId)?></span>
|
||||
<span class="cost<?php if ($resourceConfig->hasData('requirement')):?> capped<?php endif?>"><?php echo $this->renderNumber($resourceConfig->getData('value'))?></span>
|
||||
<?php if ($resourceConfig->hasData('requirement')):?>
|
||||
<span class="requirement">(<?php echo $this->renderNumber($resourceConfig->getData('requirement'))?>)</span>
|
||||
<?php else:?>
|
||||
<span class="overflow">(<?php echo $this->renderNumber($resourceConfig->getData('overflow'))?>)</span>
|
||||
<?php endif?>
|
||||
</li>
|
||||
<?php endforeach?>
|
||||
</ul>
|
||||
<p><?php echo $this->__('Building time: %s', $this->renderTime($this->getBuildingTimeForNextLevel(), true))?>
|
||||
</div>
|
||||
<div class="buy">
|
||||
<p><a class="build" href="<?php echo $this->getUrl('buildings.php', array('building' => $this->getItemId()))?>"><?php echo $this->__('Build next level (%s)', $this->renderNumber($this->getNextLevel()))?></a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
<div class="shipyard item-list">
|
||||
<h1><?php echo $this->__('Research Laboratory')?></h1>
|
||||
<?php echo $this->getPartial('item-list.items')->render()?>
|
||||
</div>
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
<?php /** @var Legacies_Core_Block_Template $this */?>
|
||||
<div class="item title">
|
||||
<h2><a href="<?php echo $this->getItemInfoUrl()?>"><?php echo $this->escape($this->getName())?></a> (<?php echo $this->renderNumber($this->getLevel())?>)</h2>
|
||||
</div>
|
||||
<div class="item details">
|
||||
<a href="<?php echo $this->getItemInfoUrl()?>" class="image"><img src="<?php echo $this->getItemImageUrl()?>" alt="" width="120" height="120" /></a>
|
||||
<div class="details">
|
||||
<p><?php echo $this->getDescription()?></p>
|
||||
<ul>
|
||||
<?php foreach ($this->getResourcesConfigForNextLevel() as $resourceId => $resourceConfig):?>
|
||||
<li class="resource">
|
||||
<span class="label"><?php echo $this->getResourceName($resourceId)?></span>
|
||||
<span class="cost<?php if ($resourceConfig->hasData('requirement')):?> capped<?php endif?>"><?php echo $this->renderNumber($resourceConfig->getData('value'))?></span>
|
||||
<?php if ($resourceConfig->hasData('requirement')):?>
|
||||
<span class="requirement">(<?php echo $this->renderNumber($resourceConfig->getData('requirement'))?>)</span>
|
||||
<?php else:?>
|
||||
<span class="overflow">(<?php echo $this->renderNumber($resourceConfig->getData('overflow'))?>)</span>
|
||||
<?php endif?>
|
||||
</li>
|
||||
<?php endforeach?>
|
||||
</ul>
|
||||
<p><?php echo $this->__('Building time: %s', $this->renderTime($this->getBuildingTime(1), false))?>
|
||||
</div>
|
||||
<div class="buy">
|
||||
<p><a class="build" href="<?php echo $this->getUrl('buildings.php', array('building' => $this->getItemId(), 'mode' => 'research'))?>"><?php echo $this->__('Build next level (%s)', $this->renderNumber($this->getNextLevel()))?></a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
<div class="shipyard item-list">
|
||||
<h1><?php echo $this->__('Shipyard')?></h1>
|
||||
<form action="<?php echo $this->getUrl('buildings.php', array('mode' => 'fleet'))?>" method="post">
|
||||
<dl>
|
||||
<?php echo $this->getPartial('item-list.items')->render()?>
|
||||
</dl>
|
||||
<input type="submit" value="<?php echo $this->__('Build')?>">
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
/*<![CDATA[*/
|
||||
(function($){
|
||||
$(document).ready(function(){
|
||||
$('.shipyard .buy .max').click(function(){
|
||||
$('#' + this.rel).val($('#' + this.rel + ':max').val());
|
||||
});
|
||||
});
|
||||
})(jQuery);
|
||||
/*]]>*/
|
||||
</script>
|
||||
</div>
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
<?php /** @var Legacies_Core_Block_Template $this */?>
|
||||
<div class="item title">
|
||||
<h2><a href="<?php echo $this->getItemInfoUrl()?>"><?php echo $this->escape($this->getName())?></a> (<?php echo $this->renderNumber($this->getQty())?>)</h2>
|
||||
</div>
|
||||
<div class="item details">
|
||||
<a href="<?php echo $this->getItemInfoUrl()?>" class="image"><img src="<?php echo $this->getItemImageUrl()?>" alt="" width="120" height="120" /></a>
|
||||
<div class="details">
|
||||
<p><?php echo $this->getDescription()?></p>
|
||||
<ul>
|
||||
<?php foreach ($this->getResourcesConfigForQty(1) as $resourceId => $resourceConfig):?>
|
||||
<li class="resource">
|
||||
<span class="label"><?php echo $this->getResourceName($resourceId)?></span>
|
||||
<span class="cost<?php if ($resourceConfig->hasData('requirement')):?> capped<?php endif?>"><?php echo $this->renderNumber($resourceConfig->getData('value'))?></span>
|
||||
<?php if ($resourceConfig->hasData('requirement')):?>
|
||||
<span class="requirement">(<?php echo $this->renderNumber($resourceConfig->getData('requirement'))?>)</span>
|
||||
<?php else:?>
|
||||
<span class="overflow">(<?php echo $this->renderNumber($resourceConfig->getData('overflow'))?>)</span>
|
||||
<?php endif?>
|
||||
</li>
|
||||
<?php endforeach?>
|
||||
</ul>
|
||||
<p><?php echo $this->__('Building time: %s', $this->renderTime($this->getBuildingTime(1), false))?>
|
||||
</div>
|
||||
<div class="buy">
|
||||
<p><input type="text" name="ship[<?php echo $this->getItemId()?>]" id="ship:<?php echo $this->getItemId()?>" /></p>
|
||||
<input type="hidden" id="ship:<?php echo $this->getItemId()?>:max" value="<?php echo $this->escape($this->getMaximumBuildableElementsCount())?>" />
|
||||
<p><a class="max" rel="ship:<?php echo $this->getItemId()?>"><?php echo $this->__('Max (%s)', $this->renderNumber($this->getMaximumBuildableElementsCount()))?></a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1,94 +0,0 @@
|
|||
<?php $currentPlanet = $this->getCurrentPlanet();?>
|
||||
<div class="planet-carrousel">
|
||||
<div class="arrow left"><!--⇦--></div>
|
||||
<div class="items">
|
||||
<?php foreach ($this->getPlanetCollection() as $planet):?>
|
||||
<?php if ($planet->getId() != $currentPlanet->getId()):?>
|
||||
<div class="planet item">
|
||||
<p class="planet-name"><a href="<?php echo $this->getUrl('overview.php', array('cp' => $planet->getId()))?>"><?php echo $this->escape($planet->getName())?></a></p>
|
||||
<div class="planet-image">
|
||||
<?php if (false && ($moon = $planet->getMoon()) !== null): ?>
|
||||
<a href="<?php echo $this->getUrl('overview.php', array('cp' => $moon->getId()))?>" class="moon">
|
||||
<img src="<?php echo $this->getSkinUrl($moon->getImage())?>" width="20" height="20"/>
|
||||
</a>
|
||||
<?php endif?>
|
||||
<a href="<?php echo $this->getUrl('overview.php', array('cp' => $planet->getId()))?>" class="planet">
|
||||
<img src="<?php echo $this->getSkinUrl($planet->getImage())?>" width="50" height="50"/>
|
||||
</a>
|
||||
</div>
|
||||
<p class="planet-position"><a href="<?php echo $this->getUrl('overview.php', array('cp' => $planet->getId()))?>">[<?php echo $this->escape($planet->getCoords())?>]</a></p>
|
||||
</div>
|
||||
<?php else:?>
|
||||
<div class="planet item selected">
|
||||
<p class="planet-name"><?php echo $this->escape($planet->getName())?></p>
|
||||
<div class="planet-image">
|
||||
<?php if (false && ($moon = $planet->getMoon()) !== null): ?>
|
||||
<span class="moon">
|
||||
<img src="<?php echo $this->getSkinUrl($moon->getImage())?>" width="20" height="20"/>
|
||||
</span>
|
||||
<?php endif?>
|
||||
<span class="planet">
|
||||
<img src="<?php echo $this->getSkinUrl($planet->getImage())?>" width="50" height="50"/>
|
||||
</span>
|
||||
</div>
|
||||
<p class="planet-position">[<?php echo $this->escape($planet->getCoords())?>]</p>
|
||||
</div>
|
||||
<?php endif?>
|
||||
<?php endforeach?>
|
||||
</div>
|
||||
<div class="arrow right"><!--⇨--></div>
|
||||
</div>
|
||||
<div class="resources-display">
|
||||
<div class="resource metal">
|
||||
<img src="<?php echo $this->getSkinUrl('graphics/images/metall.gif')?>" border="0" height="22" width="42" alt="<?php echo $this->__('Metal')?>" title="<?php echo $this->__('Metal')?>" />
|
||||
<p>
|
||||
<?php if ($this->getCurrentPlanet()->isResourceCapped(Legacies_Empire::RESOURCE_METAL)):?>
|
||||
<span class="resource-capped"><?php echo $this->renderNumber($this->getCurrentPlanet()->getResourceAmount(Legacies_Empire::RESOURCE_METAL))?></span>
|
||||
<?php else:?>
|
||||
<?php echo $this->renderNumber($this->getCurrentPlanet()->getResourceAmount(Legacies_Empire::RESOURCE_METAL))?>
|
||||
<?php endif?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="resource cristal">
|
||||
<img src="<?php echo $this->getSkinUrl('graphics/images/kristall.gif')?>" border="0" height="22" width="42" alt="<?php echo $this->__('Cristal')?>" title="<?php echo $this->__('Cristal')?>" />
|
||||
<p>
|
||||
<?php if ($this->getCurrentPlanet()->isResourceCapped(Legacies_Empire::RESOURCE_CRISTAL)):?>
|
||||
<span class="resource-capped"><?php echo $this->renderNumber($this->getCurrentPlanet()->getResourceAmount(Legacies_Empire::RESOURCE_CRISTAL))?></span>
|
||||
<?php else:?>
|
||||
<?php echo $this->renderNumber($this->getCurrentPlanet()->getResourceAmount(Legacies_Empire::RESOURCE_CRISTAL))?>
|
||||
<?php endif?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="resource deuterium">
|
||||
<img src="<?php echo $this->getSkinUrl('graphics/images/deuterium.gif')?>" border="0" height="22" width="42" alt="<?php echo $this->__('Deuterium')?>" title="<?php echo $this->__('Deuterium')?>" />
|
||||
<p>
|
||||
<?php if ($this->getCurrentPlanet()->isResourceCapped(Legacies_Empire::RESOURCE_DEUTERIUM)):?>
|
||||
<span class="resource-capped"><?php echo $this->renderNumber($this->getCurrentPlanet()->getResourceAmount(Legacies_Empire::RESOURCE_DEUTERIUM))?></span>
|
||||
<?php else:?>
|
||||
<?php echo $this->renderNumber($this->getCurrentPlanet()->getResourceAmount(Legacies_Empire::RESOURCE_DEUTERIUM))?>
|
||||
<?php endif?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="resource energy">
|
||||
<img src="<?php echo $this->getSkinUrl('graphics/images/energie.gif')?>" border="0" height="22" width="42" alt="<?php echo $this->__('Energy')?>" title="<?php echo $this->__('Energy')?>" />
|
||||
<p>
|
||||
<?php if ($this->getCurrentPlanet()->isResourceCapped(Legacies_Empire::RESOURCE_ENERGY)):?>
|
||||
<span class="resource-capped"><?php echo $this->renderNumber($this->getCurrentPlanet()->getResourceAmount(Legacies_Empire::RESOURCE_ENERGY))?> / <?php echo $this->renderNumber($this->getCurrentPlanet()->getResourceCap(Legacies_Empire::RESOURCE_ENERGY))?></span>
|
||||
<?php else:?>
|
||||
<?php echo $this->renderNumber($this->getCurrentPlanet()->getResourceAmount(Legacies_Empire::RESOURCE_ENERGY))?> / <?php echo $this->renderNumber($this->getCurrentPlanet()->getResourceCap(Legacies_Empire::RESOURCE_ENERGY))?>
|
||||
<?php endif?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="messages">
|
||||
<img src="<?php echo $this->getSkinUrl('graphics/images/message.gif')?>" border="0" height="22" width="42" alt="<?php echo $this->__('Messages')?>" title="<?php echo $this->__('Messages')?>" />
|
||||
<p>
|
||||
<?php if (($count = $this->getCurrentUser()->getNewMessagesCount()) > 1):?>
|
||||
<a href="<?php echo $this->getUrl('messages.php')?>" title="<?php echo $this->__('You have %1$d new messages.', $count)?>"><?php echo $this->__('%1$d messages.', $count)?></a>
|
||||
<?php elseif ($count == 1):?>
|
||||
<a href="<?php echo $this->getUrl('messages.php')?>" title="<?php echo $this->__('You have 1 new message.')?>"><?php echo $this->__('1 message.')?></a>
|
||||
<?php else:?>
|
||||
<a href="<?php echo $this->getUrl('messages.php')?>" title="<?php echo $this->__('You have no new message.')?>"><?php echo $this->__('No message.')?></a>
|
||||
<?php endif?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
'empire' => array(
|
||||
'update' => '1column',
|
||||
'reference' => array(
|
||||
'content' => array(
|
||||
'header' => array(
|
||||
'children' => array(
|
||||
'navigation' => array(
|
||||
'type' => 'core/html.navigation',
|
||||
|
|
@ -11,14 +11,14 @@
|
|||
array(
|
||||
'method' => 'setNodeTitle',
|
||||
'params' => array(
|
||||
'path' => 'development',
|
||||
'title' => 'Development'
|
||||
'path' => 'planet',
|
||||
'title' => 'Planet'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'development/overview',
|
||||
'name' => 'planet/overview',
|
||||
'label' => 'Overview',
|
||||
'title' => 'Overview',
|
||||
'uri' => 'overview.php'
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'development/buildings',
|
||||
'name' => 'planet/buildings',
|
||||
'label' => 'Buildings',
|
||||
'title' => 'Buildings',
|
||||
'uri' => 'buildings.php'
|
||||
|
|
@ -36,7 +36,7 @@
|
|||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'development/research-lab',
|
||||
'name' => 'planet/research-lab',
|
||||
'label' => 'Research Lab',
|
||||
'title' => 'Research Lab',
|
||||
'uri' => 'buildings.php',
|
||||
|
|
@ -48,7 +48,7 @@
|
|||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'development/shipyard',
|
||||
'name' => 'planet/shipyard',
|
||||
'label' => 'Shipyard',
|
||||
'title' => 'Shipyard',
|
||||
'uri' => 'buildings.php',
|
||||
|
|
@ -60,7 +60,7 @@
|
|||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'development/defenses',
|
||||
'name' => 'planet/defenses',
|
||||
'label' => 'Defenses',
|
||||
'title' => 'Defenses',
|
||||
'uri' => 'buildings.php',
|
||||
|
|
@ -69,71 +69,35 @@
|
|||
)
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'development/officers',
|
||||
'label' => 'Officers',
|
||||
'title' => 'Officers',
|
||||
'uri' => 'officier.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'setNodeTitle',
|
||||
'params' => array(
|
||||
'path' => 'navigation',
|
||||
'title' => 'Navigation'
|
||||
'path' => 'universe',
|
||||
'title' => 'Universe'
|
||||
)
|
||||
),
|
||||
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',
|
||||
'name' => 'universe/galaxy',
|
||||
'label' => 'Check out the Galaxy',
|
||||
'title' => 'Check out the Galaxy',
|
||||
'uri' => 'galaxy.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'navigation/empire',
|
||||
'label' => 'Empire',
|
||||
'title' => 'Empire',
|
||||
'uri' => 'imperium.php'
|
||||
'name' => 'universe/fleet',
|
||||
'label' => 'Send a Fleet',
|
||||
'title' => 'Send a Fleet',
|
||||
'uri' => 'fleet.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',
|
||||
'name' => 'universe/retailer',
|
||||
'label' => 'Retailer',
|
||||
'title' => 'Retailer',
|
||||
'uri' => 'marchand.php'
|
||||
|
|
@ -142,7 +106,86 @@
|
|||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'navigation/tech-tree',
|
||||
'name' => 'universe/records',
|
||||
'label' => 'All Records',
|
||||
'title' => 'All Records',
|
||||
'uri' => 'records.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'universe/statistics',
|
||||
'label' => 'My Stats',
|
||||
'title' => 'My Stats',
|
||||
'uri' => 'stat.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'universe/search-player',
|
||||
'label' => 'Search a Player',
|
||||
'title' => 'Search a Player',
|
||||
'uri' => 'search.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'setNodeTitle',
|
||||
'params' => array(
|
||||
'path' => 'account',
|
||||
'title' => 'My Account'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'account/empire',
|
||||
'label' => 'Empire',
|
||||
'title' => 'Empire',
|
||||
'uri' => 'imperium.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'account/officers',
|
||||
'label' => 'Officers',
|
||||
'title' => 'Officers',
|
||||
'uri' => 'officier.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'account/alliance',
|
||||
'label' => 'My Alliance',
|
||||
'title' => 'My Alliance',
|
||||
'uri' => 'alliance.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'account/messages',
|
||||
'label' => 'My Messages',
|
||||
'title' => 'My Messages',
|
||||
'uri' => 'messages.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'account/resources',
|
||||
'label' => 'My Resources Production',
|
||||
'title' => 'My Resources Production',
|
||||
'uri' => 'resources.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'account/tech-tree',
|
||||
'label' => 'Technology Tree',
|
||||
'title' => 'Technology Tree',
|
||||
'uri' => 'techtree.php'
|
||||
|
|
@ -155,51 +198,6 @@
|
|||
'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(
|
||||
|
|
@ -246,19 +244,19 @@
|
|||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'community/search-player',
|
||||
'label' => 'Search Player',
|
||||
'title' => 'Search Player',
|
||||
'uri' => 'search.php'
|
||||
'name' => 'community/chat',
|
||||
'label' => 'Chat',
|
||||
'title' => 'Chat',
|
||||
'uri' => 'chat.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'community/chat',
|
||||
'label' => 'Chat',
|
||||
'title' => 'Chat',
|
||||
'uri' => 'chat.php'
|
||||
'name' => 'community/announcement',
|
||||
'label' => 'Announcements',
|
||||
'title' => 'Announcements',
|
||||
'uri' => 'annonce.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
|
|
@ -287,9 +285,22 @@
|
|||
'title' => 'Contact Admin',
|
||||
'uri' => 'contact.php'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'method' => 'addLink',
|
||||
'params' => array(
|
||||
'name' => 'community/banned',
|
||||
'label' => 'Banned Players',
|
||||
'title' => 'Banned Players',
|
||||
'uri' => 'banned.php'
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
),
|
||||
'topnav' => array(
|
||||
'type' => 'empire/topnav',
|
||||
'template' => 'empire/topnav.phtml',
|
||||
),
|
||||
)
|
||||
)
|
||||
)
|
||||
|
|
@ -347,10 +358,6 @@
|
|||
'reference' => array(
|
||||
'content' => array(
|
||||
'children' => array(
|
||||
'topnav' => array(
|
||||
'type' => 'empire/topnav',
|
||||
'template' => 'empire/topnav.phtml',
|
||||
),
|
||||
'queue' => array(
|
||||
'type' => 'empire/planet.buildings.queue',
|
||||
'template' => 'empire/planet/buildings/queue.phtml',
|
||||
|
|
@ -402,10 +409,6 @@
|
|||
'reference' => array(
|
||||
'content' => array(
|
||||
'children' => array(
|
||||
'topnav' => array(
|
||||
'type' => 'empire/topnav',
|
||||
'template' => 'empire/topnav.phtml',
|
||||
),
|
||||
'item-list' => array(
|
||||
'type' => 'legacies_empire/planet.shipyard',
|
||||
'template' => 'empire/planet/shipyard.phtml',
|
||||
|
|
@ -473,10 +476,6 @@
|
|||
'reference' => array(
|
||||
'content' => array(
|
||||
'children' => array(
|
||||
'topnav' => array(
|
||||
'type' => 'empire/topnav',
|
||||
'template' => 'empire/topnav.phtml',
|
||||
),
|
||||
'item-list' => array(
|
||||
'type' => 'legacies_empire/planet.research-lab',
|
||||
'template' => 'empire/planet/research-lab.phtml',
|
||||
|
|
@ -71,7 +71,7 @@
|
|||
array(
|
||||
'method' => 'addCss',
|
||||
'params' => array(
|
||||
'stylesheet' => 'css/legacies.css'
|
||||
'stylesheet' => 'css/base.css'
|
||||
)
|
||||
),
|
||||
array(
|
||||
|
|
@ -83,8 +83,7 @@
|
|||
)
|
||||
),
|
||||
'header' => array(
|
||||
'type' => 'core/template',
|
||||
'template' => 'page/html/header.phtml'
|
||||
'type' => 'core/concat'
|
||||
),
|
||||
'footer' => array(
|
||||
'type' => 'core/template',
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue