Updated install

Added Form manager
Added session messages display

Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
Gregory PLANCHAT 2011-11-18 08:05:42 +01:00
commit 5acde87794
220 changed files with 1962 additions and 1134 deletions

View file

@ -8,63 +8,64 @@
<br>
<form action="alliance.php?mode=admin&edit=rights&add=name" method=POST>
<form action="<?php echo $this->getUrl('alliance.php', array('mode' => 'admin', 'edit' => 'rights', 'add' => 'name'))?>" method="POST">
<table width=519>
<tr>
<td class=c colspan=2><?php echo $this->getData('Range_make')?></td>
</tr>
<tr>
<th><?php echo $this->getData('Range_name')?></th>
<th><input type=text name="newrangname" size=20 maxlength=30></th>
</tr>
<tr>
<th colspan=2><input type=submit value="<?php echo $this->getData('Make')?>"></th>
</tr>
</form>
<tr>
<td class="c" colspan="2"><?php echo $this->getData('Range_make')?></td>
</tr>
<tr>
<th><?php echo $this->getData('Range_name')?></th>
<th><input type="text" name="newrangname" size="20" maxlength="30"></th>
</tr>
<tr>
<th colspan="2"><input type="submit" value="<?php echo $this->getData('Make')?>"></th>
</tr>
</table>
</form>
<form action="alliance.php?mode=admin&edit=rights" method=POST>
<table width=519>
<tr>
<td class=c colspan=2><?php echo $this->getData('Law_leyends')?></td>
</tr>
<tr>
<th><img src=images/r1.png></th>
<th><?php echo $this->getData('Alliance_dissolve')?></th>
</tr>
<tr>
<th><img src=images/r2.png></th>
<th><?php echo $this->getData('Expel_users')?></th>
</tr>
<tr>
<th><img src=images/r3.png></th>
<th><?php echo $this->getData('See_the_requests')?></th>
</tr>
<tr>
<th><img src=images/r4.png></th>
<th><?php echo $this->getData('See_the_list_members')?></th>
</tr>
<tr>
<th><img src=images/r5.png></th>
<th><?php echo $this->getData('Check_the_requests')?></th>
</tr>
<tr>
<th><img src=images/r6.png></th>
<th><?php echo $this->getData('Alliance_admin')?></th>
</tr>
<tr>
<th><img src=images/r7.png></th>
<th><?php echo $this->getData('See_the_online_list_member')?></th>
</tr>
<tr>
<th><img src=images/r8.png></th><th><?php echo $this->getData('Make_a_circular_message')?></th>
</tr>
<tr>
<th><img src=images/r9.png></th><th><?php echo $this->getData('Left_hand_text')?></th>
</tr>
<tr>
<td class="c" colspan="2"><a href="alliance.php?mode=admin&edit=ally"><?php echo $this->getData('Return_to_overview')?></a></td>
</tr>
<form action="<?php echo $this->getUrl('alliance.php', array('mode' => 'admin', 'edit' => 'rights'))?>" method="POST">
<table width="519">
<tr>
<td class="c" colspan="2"><?php echo $this->getData('Law_leyends')?></td>
</tr>
<tr>
<th><img src="<?php echo $this->getSkinUrl('graphics/images/r1.png')?>"></th>
<th><?php echo $this->getData('Alliance_dissolve')?></th>
</tr>
<tr>
<th><img src="<?php echo $this->getSkinUrl('graphics/images/r2.png')?>"></th>
<th><?php echo $this->getData('Expel_users')?></th>
</tr>
<tr>
<th><img src="<?php echo $this->getSkinUrl('graphics/images/r3.png')?>"></th>
<th><?php echo $this->getData('See_the_requests')?></th>
</tr>
<tr>
<th><img src="<?php echo $this->getSkinUrl('graphics/images/r4.png')?>"></th>
<th><?php echo $this->getData('See_the_list_members')?></th>
</tr>
<tr>
<th><img src="<?php echo $this->getSkinUrl('graphics/images/r5.png')?>"></th>
<th><?php echo $this->getData('Check_the_requests')?></th>
</tr>
<tr>
<th><img src="<?php echo $this->getSkinUrl('graphics/images/r6.png')?>"></th>
<th><?php echo $this->getData('Alliance_admin')?></th>
</tr>
<tr>
<th><img src="<?php echo $this->getSkinUrl('graphics/images/r7.png')?>"></th>
<th><?php echo $this->getData('See_the_online_list_member')?></th>
</tr>
<tr>
<th><img src="<?php echo $this->getSkinUrl('graphics/images/r8.png')?>"></th>
<th><?php echo $this->getData('Make_a_circular_message')?></th>
</tr>
<tr>
<th><img src="<?php echo $this->getSkinUrl('graphics/images/r9.png')?>"></th>
<th><?php echo $this->getData('Left_hand_text')?></th>
</tr>
<tr>
<td class="c" colspan="2"><a href="alliance.php?mode=admin&edit=ally"><?php echo $this->getData('Return_to_overview')?></a></td>
</tr>
</table>
</form>
</table>

View file

@ -3,13 +3,13 @@
<tr>
<th></th>
<th><?php echo $this->getData('Range_name')?></th>
<th><img src=images/r1.png></th>
<th><img src=images/r2.png></th>
<th><img src=images/r3.png></th>
<th><img src=images/r4.png></th>
<th><img src=images/r5.png></th>
<th><img src=images/r6.png></th>
<th><img src=images/r7.png></th>
<th><img src=images/r8.png></th>
<th><img src=images/r9.png></th>
<th><img src="<?php echo $this->getSkinUrl('graphics/images/r1.png')?>"></th>
<th><img src="<?php echo $this->getSkinUrl('graphics/images/r2.png')?>"></th>
<th><img src="<?php echo $this->getSkinUrl('graphics/images/r3.png')?>"></th>
<th><img src="<?php echo $this->getSkinUrl('graphics/images/r4.png')?>"></th>
<th><img src="<?php echo $this->getSkinUrl('graphics/images/r5.png')?>"></th>
<th><img src="<?php echo $this->getSkinUrl('graphics/images/r6.png')?>"></th>
<th><img src="<?php echo $this->getSkinUrl('graphics/images/r7.png')?>"></th>
<th><img src="<?php echo $this->getSkinUrl('graphics/images/r8.png')?>"></th>
<th><img src="<?php echo $this->getSkinUrl('graphics/images/r9.png')?>"></th>
</tr>

View file

@ -1,16 +1,21 @@
<br>
<tr>
<th><?php echo $this->getData('delete')?></th>
<th>&nbsp;<?php echo $this->getData('r0')?>&nbsp;</th>
<input type="hidden" name="id[]" value="<?php echo $this->getData('a')?>">
<th><?php echo $this->getData('r1')?></th>
<th><?php echo $this->getData('r2')?></th>
<th><?php echo $this->getData('r3')?></th>
<th><?php echo $this->getData('r4')?></th>
<th><?php echo $this->getData('r5')?></th>
<th><?php echo $this->getData('r6')?></th>
<th><?php echo $this->getData('r7')?></th>
<th><?php echo $this->getData('r8')?></th>
<th><?php echo $this->getData('r9')?></th>
</tr>
<tr>
<tr>
<th>
<?php if ($this->getData('a') > 0):?>
<a href="<?php echo $this->getUrl('alliance.php', array('mode' => 'admin', 'edit' => 'rights', 'd' => $this->getData('a')))?>">
<img src="<?php echo $this->getSkinUrl('graphics/pic/abort.gif')?>" alt="<?php echo $this->__('Remove rank')?>" border="0" />
</a>
<?php endif?>
<input type="hidden" name="id[]" value="<?php echo $this->getData('a')?>">
</th>
<th><?php echo $this->getData('r0')?></th>
<th><?php echo $this->getData('r1')?></th>
<th><?php echo $this->getData('r2')?></th>
<th><?php echo $this->getData('r3')?></th>
<th><?php echo $this->getData('r4')?></th>
<th><?php echo $this->getData('r5')?></th>
<th><?php echo $this->getData('r6')?></th>
<th><?php echo $this->getData('r7')?></th>
<th><?php echo $this->getData('r8')?></th>
<th><?php echo $this->getData('r9')?></th>
</tr>
<tr>