game/onyx2/modules/templates_anc/compile/%%62^620^620A3143%%rename.tpl.php

36 lines
2.4 KiB
PHP

<?php /* Smarty version 2.6.22, created on 2009-10-31 21:47:04
compiled from game/rename.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/rename.tpl', 7, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<h2>Abandonner la planète</h2>
<?php if ($this->_tpl_vars['abandonH']): ?><b>Attention, cette action est irréversible ; vous perdrez tous les batiments, vaisseaux et unités présents sur cette planète, les flottes ayant une mision qui a pour origine votre planète se perdront dans l'espace.</b><br /><br />Si vous êtes sur de vouloir abandonner cette planète : <a href="?p=rename&amp;a=<?php echo $this->_tpl_vars['abandonH']; ?>
&amp;i=<?php echo $this->_tpl_vars['planete']->id; ?>
" onclick="return confirm('Êtes-vous sûr de vouloir abandonner cette planète ?');">cliquez sur ce lien</a>.<br /><br />
<?php else: ?>Vous ne pouvez pas abandonner cette planète car vous n'en avez pas d'autre.<br /><br /><?php endif; ?>
<h2>Renommer la planète</h2>
<dl id="about">
<dt><img src="<?php echo $this->_tpl_vars['url_images']; ?>
images/planetes/<?php echo $this->_tpl_vars['planete']->image; ?>
.jpg" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->nom_planete)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" /></dt>
<dd>
<form action="?p=rename" method="post"><fieldset class="form">
<label for="rename">Nom de la planète (<?php echo $this->_tpl_vars['planete']->galaxie; ?>
:<?php echo $this->_tpl_vars['planete']->ss; ?>
:<?php echo $this->_tpl_vars['planete']->position; ?>
) : <input type="text" class="text" name="planete" id="rename" maxlength="18" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->nom_planete)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" /></label><br />
<input type="submit" class="submit" value="OK" />
</fieldset></form>
</dd>
</dl>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>