diff --git a/system/pages/account/change_email.php b/system/pages/account/change_email.php index 811cebb4..954d596b 100644 --- a/system/pages/account/change_email.php +++ b/system/pages/account/change_email.php @@ -106,7 +106,7 @@ else -
+ ' . csrf(true) . ' ' . $twig->render('buttons.back.html.twig') . '
@@ -164,7 +164,7 @@ if(isset($_POST['emailchangecancel']) && $_POST['emailchangecancel'] == 1) { $account_logged->setCustomField("email_new", ""); $account_logged->setCustomField("email_new_time", 0); - $custom_buttons = '
' . $twig->render('buttons.back.html.twig') . '
'; + $custom_buttons = '
' . $twig->render('buttons.back.html.twig') . '
'; $twig->display('success.html.twig', array( 'title' => 'Email Address Change Cancelled', diff --git a/system/pages/account/lost.php b/system/pages/account/lost.php index 031bc529..5cd17325 100644 --- a/system/pages/account/lost.php +++ b/system/pages/account/lost.php @@ -304,7 +304,7 @@ elseif($action == 'step3') $account->setCustomField('salt', $salt); echo 'Your account name, new password and new e-mail.
-
+ @@ -518,7 +518,7 @@ elseif($action == 'setnewpassword')
Your account name, new password and new e-mail

- +
'; } diff --git a/system/pages/forum/edit_post.php b/system/pages/forum/edit_post.php index bc99d84a..f42b743f 100644 --- a/system/pages/forum/edit_post.php +++ b/system/pages/forum/edit_post.php @@ -19,7 +19,7 @@ if ($ret === false) { } if(!$logged) { - echo 'You are not logged in. Log in to post on the forum.

'; + echo 'You are not logged in. Log in to post on the forum.

'; return; } diff --git a/system/pages/forum/move_thread.php b/system/pages/forum/move_thread.php index 75e9da18..86305b4d 100644 --- a/system/pages/forum/move_thread.php +++ b/system/pages/forum/move_thread.php @@ -19,7 +19,7 @@ if ($ret === false) { } if(!$logged) { - echo 'You are not logged in. Log in to post on the forum.

'; + echo 'You are not logged in. Log in to post on the forum.

'; return; } diff --git a/system/pages/forum/new_post.php b/system/pages/forum/new_post.php index 7a9f35e4..659b4037 100644 --- a/system/pages/forum/new_post.php +++ b/system/pages/forum/new_post.php @@ -21,10 +21,10 @@ if ($ret === false) { if(!$logged) { $extra_url = ''; if(isset($_GET['thread_id'])) { - $extra_url = '&action=new_post&thread_id=' . $_GET['thread_id']; + $extra_url = '?action=new_post&thread_id=' . $_GET['thread_id']; } - echo 'You are not logged in. Log in to post on the forum.

'; + echo 'You are not logged in. Log in to post on the forum.

'; return; } diff --git a/system/pages/forum/new_thread.php b/system/pages/forum/new_thread.php index dff7da12..7b97f30e 100644 --- a/system/pages/forum/new_thread.php +++ b/system/pages/forum/new_thread.php @@ -21,10 +21,10 @@ if ($ret === false) { if(!$logged) { $extra_url = ''; if(isset($_GET['section_id'])) { - $extra_url = '&action=new_thread§ion_id=' . $_GET['section_id']; + $extra_url = '?action=new_thread§ion_id=' . $_GET['section_id']; } - echo 'You are not logged in. Log in to post on the forum.

'; + echo 'You are not logged in. Log in to post on the forum.

'; return; } diff --git a/system/pages/forum/remove_post.php b/system/pages/forum/remove_post.php index d4926099..3e234e6f 100644 --- a/system/pages/forum/remove_post.php +++ b/system/pages/forum/remove_post.php @@ -19,7 +19,7 @@ if ($ret === false) { } if(!$logged) { - echo 'You are not logged in. Log in to post on the forum.

'; + echo 'You are not logged in. Log in to post on the forum.

'; return; } diff --git a/system/pages/forum/show_board.php b/system/pages/forum/show_board.php index 710a0f05..5d61690a 100644 --- a/system/pages/forum/show_board.php +++ b/system/pages/forum/show_board.php @@ -46,7 +46,7 @@ echo 'Boards >> '.$sections[$section_i if(!$sections[$section_id]['closed'] || Forum::isModerator()) { echo '

- '; + '; } echo '

Page: '.$links_to_pages.'
'; @@ -67,8 +67,8 @@ if(isset($last_threads[0])) { foreach($last_threads as $thread) { echo ''; if(Forum::isModerator()) { - echo '[MOVE]'; - echo '[REMOVE] '; + echo '[MOVE]'; + echo '[REMOVE] '; } $player->load($thread['player_id']); @@ -95,7 +95,7 @@ if(isset($last_threads[0])) { echo ''; if(!$sections[$section_id]['closed'] || Forum::isModerator()) { - echo '
'; + echo '
'; } } else { diff --git a/system/pages/guilds/add_rank.php b/system/pages/guilds/add_rank.php index 0c510bb1..e66ba49e 100644 --- a/system/pages/guilds/add_rank.php +++ b/system/pages/guilds/add_rank.php @@ -49,7 +49,7 @@ if(empty($errors)) { $new_rank->setLevel(1); $new_rank->setName($rank_name); $new_rank->save(); - header("Location: ?subtopic=guilds&guild=".$guild->getName()."&action=manager"); + header("Location: " . getLink('guilds') . "?guild=".$guild->getName()."&action=manager"); echo 'New rank added. Redirecting...'; } else { @@ -61,7 +61,7 @@ if(empty($errors)) { $twig->display('guilds.back_button.html.twig', array( 'new_line' => true, - 'action' => '?subtopic=guilds&guild='.$guild_name.'&action=show' + 'action' => getLink('guilds') . '?guild='.$guild_name.'&action=show' )); } } diff --git a/system/pages/guilds/change_description.php b/system/pages/guilds/change_description.php index a1e7b1d7..765665bf 100644 --- a/system/pages/guilds/change_description.php +++ b/system/pages/guilds/change_description.php @@ -69,6 +69,6 @@ if(!empty($errors)) { $twig->display('guilds.back_button.html.twig', array( 'new_line' => true, - 'action' => '?subtopic=guilds' + 'action' => getLink('guilds') )); } diff --git a/system/pages/guilds/change_logo.php b/system/pages/guilds/change_logo.php index eee33582..d8257e66 100644 --- a/system/pages/guilds/change_logo.php +++ b/system/pages/guilds/change_logo.php @@ -121,7 +121,7 @@ if(!empty($errors)) { $twig->display('guilds.back_button.html.twig', array( 'new_line' => true, - 'action' => '?subtopic=guilds' + 'action' => getLink('guilds') )); } ?> diff --git a/system/pages/guilds/change_motd.php b/system/pages/guilds/change_motd.php index 7d546670..babb806c 100644 --- a/system/pages/guilds/change_motd.php +++ b/system/pages/guilds/change_motd.php @@ -72,6 +72,6 @@ if(!empty($errors)) { $twig->display('guilds.back_button.html.twig', array( 'new_line' => true, - 'action' => '?subtopic=guilds' + 'action' => getLink('guilds') )); } diff --git a/system/pages/guilds/delete_by_admin.php b/system/pages/guilds/delete_by_admin.php index 7da54aea..e403cbda 100644 --- a/system/pages/guilds/delete_by_admin.php +++ b/system/pages/guilds/delete_by_admin.php @@ -45,7 +45,7 @@ if(empty($errors)) { $twig->display('success.html.twig', array( 'title' => 'Delete Guild', 'description' => 'Are you sure you want delete guild ' . $guild_name . '?
-
', +
', 'custom_buttons' => $twig->render('guilds.back_button.html.twig') )); } @@ -63,6 +63,6 @@ if(!empty($errors)) { $twig->display('guilds.back_button.html.twig', array( 'new_line' => true, - 'action' => '?subtopic=guilds' + 'action' => getLink('guilds') )); } diff --git a/system/pages/guilds/delete_invite.php b/system/pages/guilds/delete_invite.php index 1bf5f730..7bf4067a 100644 --- a/system/pages/guilds/delete_invite.php +++ b/system/pages/guilds/delete_invite.php @@ -96,7 +96,7 @@ if(!empty($errors)) { $twig->display('error_box.html.twig', array('errors' => $errors)); - $twig->display('guilds.back_button.html.twig', array('action' => '?subtopic=guilds&action=show&guild=' . $guild_name)); + $twig->display('guilds.back_button.html.twig', array('action' => getLink('guilds') . '?action=show&guild=' . $guild_name)); } else { @@ -106,7 +106,7 @@ else $twig->display('success.html.twig', array( 'title' => 'Deleted player invitation', 'description' => 'Player with name ' . $player->getName() . ' has been deleted from invites list.', - 'custom_buttons' => $twig->render('guilds.back_button.html.twig', array('action' => '?subtopic=guilds&action=show&guild=' . $guild_name)) + 'custom_buttons' => $twig->render('guilds.back_button.html.twig', array('action' => getLink('guilds') . '?action=show&guild=' . $guild_name)) )); } else { diff --git a/system/pages/guilds/delete_rank.php b/system/pages/guilds/delete_rank.php index 48eeba4d..56322cd9 100644 --- a/system/pages/guilds/delete_rank.php +++ b/system/pages/guilds/delete_rank.php @@ -104,7 +104,7 @@ if(empty($guild_errors)) { $twig->display('guilds.back_button.html.twig', array( 'new_line' => true, - 'action' => '?subtopic=guilds&guild='.$guild->getName().'&action=manager' + 'action' => getLink('guilds') . '?guild='.$guild->getName().'&action=manager' )); } else @@ -122,6 +122,6 @@ if(!empty($guild_errors)) { $twig->display('guilds.back_button.html.twig', array( 'new_line' => true, - 'action' => '?subtopic=guilds' + 'action' => getLink('guilds') )); } diff --git a/system/pages/guilds/pass_leadership.php b/system/pages/guilds/pass_leadership.php index 065e4c3b..c09b4285 100644 --- a/system/pages/guilds/pass_leadership.php +++ b/system/pages/guilds/pass_leadership.php @@ -109,7 +109,7 @@ if(empty($guild_errors) && empty($guild_errors2)) { if(empty($guild_errors) && !empty($guild_errors2)) { $twig->display('error_box.html.twig', array('errors' => $guild_errors2)); - echo '
' . $twig->render('buttons.back.html.twig') . '
'; + echo '
' . $twig->render('buttons.back.html.twig') . '
'; } if(!empty($guild_errors)) { if(!empty($guild_errors2)) { @@ -117,5 +117,5 @@ if(!empty($guild_errors)) { } $twig->display('error_box.html.twig', array('errors' => $guild_errors)); - echo '
' . $twig->render('buttons.back.html.twig') . '
'; + echo '
' . $twig->render('buttons.back.html.twig') . '
'; } diff --git a/system/pages/guilds/save_ranks.php b/system/pages/guilds/save_ranks.php index 65e047bb..e1483659 100644 --- a/system/pages/guilds/save_ranks.php +++ b/system/pages/guilds/save_ranks.php @@ -63,7 +63,7 @@ if(empty($errors)) { } //show errors or redirect if(empty($errors)) { - header("Location: ?subtopic=guilds&action=manager&guild=".$guild->getName()); + header("Location: " . getLink('guilds') . "?action=manager&guild=".$guild->getName()); } } else diff --git a/system/pages/polls.php b/system/pages/polls.php index b7bc0ba1..21549891 100644 --- a/system/pages/polls.php +++ b/system/pages/polls.php @@ -26,7 +26,7 @@ function getColorByPercent($percent) } $number_of_rows = 0; $showed = false; - $link = "polls"; // your link to polls in index.php + $link = getLink('polls'); // your link to polls in index.php $dark = $config['darkborder']; $light = $config['lightborder']; $time = time(); @@ -49,9 +49,9 @@ function getColorByPercent($percent) '.$poll['question'] . ' @@ -78,9 +78,9 @@ function getColorByPercent($percent) '.$poll['question'] . ' @@ -178,12 +178,12 @@ function getColorByPercent($percent) $account_logged->setCustomField("vote", $vote); $UPDATE_poll = $db->query('UPDATE `z_polls` SET `votes_all` = `votes_all` + 1 where `id` = '.addslashes(htmlspecialchars(trim($_REQUEST['id']))).''); $UPDATE_answer = $db->query('UPDATE `z_polls_answers` SET `votes` = `votes` + 1 where `answer_id` = '.addslashes(htmlspecialchars($_POST['answer'])).' and`poll_id` = '.addslashes(htmlspecialchars(trim($_REQUEST['id']))).''); - header('Location: ?subtopic='.$link.'&id='.$_REQUEST['id'].''); + header('Location: ' . $link.'?id='.$_REQUEST['id'].''); } } else { - header('Location: ?subtopic='.$link.'&id='.$_REQUEST['id'].''); + header('Location: ' . $link.'?id='.$_REQUEST['id'].''); } } @@ -191,7 +191,7 @@ function getColorByPercent($percent) { echo ''; echo ' - '; + '; $ANSWERS_input = $db->query('SELECT * FROM '.$db->tableName('z_polls_answers').' where `poll_id` = '.$_REQUEST['id'].' order by `answer_id`'); $i=1; foreach($ANSWERS_input as $answer) @@ -282,14 +282,14 @@ function getColorByPercent($percent) } $showed=true; - echo '
Go to list of polls'; + echo '
Go to list of polls'; } } } if(admin() && (!isset($_REQUEST['control']) || $_REQUEST['control'] != "true")) { - echo '
Panel Control

'; + echo '
Panel Control

'; } /* Control Panel - Only Add Poll Function */ @@ -361,11 +361,11 @@ function getColorByPercent($percent) } } $showed=true; - echo '
Go to list of polls'; + echo '
Go to list of polls'; } if(!$showed) { echo 'This poll doesn\'t exist.
'; - echo '
Go to list of polls'; + echo '
Go to list of polls'; } diff --git a/system/templates/forum.boards.html.twig b/system/templates/forum.boards.html.twig index fe32c3d1..82da2320 100644 --- a/system/templates/forum.boards.html.twig +++ b/system/templates/forum.boards.html.twig @@ -37,22 +37,22 @@ {% if canEdit %}
Vote
'.$POLL['question'].'
' . $POLL['description'] . '
- + Edit - + Delete - + {% if board.hide != 1 %}Hide{% else %}Show{% endif %} {% if i != 1 %} - + Move up {% endif %} {% if i != last %} - + Move down {% endif %} diff --git a/system/templates/forum.show_thread.html.twig b/system/templates/forum.show_thread.html.twig index ddcb3be5..2626c2de 100644 --- a/system/templates/forum.show_thread.html.twig +++ b/system/templates/forum.show_thread.html.twig @@ -1,6 +1,6 @@ Boards >> {{ section.name }} >> {{ thread_starter.post_topic }}

-
+

Page: {{ links_to_pages|raw }}
@@ -53,18 +53,18 @@ Page: {{ links_to_pages|raw }}
@@ -72,4 +72,4 @@ Page: {{ links_to_pages|raw }}
{% endfor %}
{% if is_moderator %} {% if post.first_post != post.id %} - + {% else %} - - + + {% endif %} {% endif %} {% if logged and (post.player.getAccount().getId() == account_logged.getId() or is_moderator) %} - + {% endif %} {% if logged %} - + {% endif %}

- + diff --git a/system/templates/guilds.accept_invite.html.twig b/system/templates/guilds.accept_invite.html.twig index c3fde96c..0c2d0dc3 100644 --- a/system/templates/guilds.accept_invite.html.twig +++ b/system/templates/guilds.accept_invite.html.twig @@ -7,7 +7,7 @@
- + {{ csrf() }} {% set i = 0 %} {% for player in invited_players %} diff --git a/system/templates/guilds.change_description.html.twig b/system/templates/guilds.change_description.html.twig index c9abc5dc..4576ae0a 100644 --- a/system/templates/guilds.change_description.html.twig +++ b/system/templates/guilds.change_description.html.twig @@ -1,13 +1,13 @@

Change guild description

Here you can change description of your guild.
- + {{ csrf() }}
(max. {{ setting('core.guild_description_lines_limit') }} lines, max. {{ setting('core.guild_description_chars_limit') }} chars)

-
+ {{ csrf() }} {{ include('buttons.back.html.twig') }}
diff --git a/system/templates/guilds.change_logo.html.twig b/system/templates/guilds.change_logo.html.twig index 9577b175..016c13c9 100644 --- a/system/templates/guilds.change_logo.html.twig +++ b/system/templates/guilds.change_logo.html.twig @@ -1,6 +1,6 @@

Change guild logo

Here you can change logo of your guild.
Actuall logo:

-
+ {{ csrf() }} @@ -10,7 +10,7 @@ Here you can change logo of your guild.
Actuall logo: - + {{ csrf() }} {{ include('buttons.back.html.twig') }}
diff --git a/system/templates/guilds.change_motd.html.twig b/system/templates/guilds.change_motd.html.twig index ab91f67d..91ac3128 100644 --- a/system/templates/guilds.change_motd.html.twig +++ b/system/templates/guilds.change_motd.html.twig @@ -1,13 +1,13 @@

Change guild MOTD

Here you can change MOTD (Message of the Day, showed in game!) of your guild.
-
+ {{ csrf() }}
(max. {{ setting('core.guild_motd_chars_limit') }} chars)


-
+ {{ csrf() }} {{ include('buttons.back.html.twig') }}
diff --git a/system/templates/guilds.change_rank.html.twig b/system/templates/guilds.change_rank.html.twig index ee28bf3f..13ad7cf4 100644 --- a/system/templates/guilds.change_rank.html.twig +++ b/system/templates/guilds.change_rank.html.twig @@ -1,4 +1,4 @@ -
+ {{ csrf() }} @@ -29,7 +29,7 @@
Change Rank
- + {{ csrf() }} {{ include('buttons.back.html.twig') }} diff --git a/system/templates/guilds.create.html.twig b/system/templates/guilds.create.html.twig index 5def076b..c2326416 100644 --- a/system/templates/guilds.create.html.twig +++ b/system/templates/guilds.create.html.twig @@ -1,4 +1,4 @@ -
+ {{ csrf() }} @@ -47,7 +47,7 @@
-
+ {{ csrf() }} {{ include('buttons.back.html.twig') }}
diff --git a/system/templates/guilds.delete_guild.html.twig b/system/templates/guilds.delete_guild.html.twig index bd40f1e1..85febcb1 100644 --- a/system/templates/guilds.delete_guild.html.twig +++ b/system/templates/guilds.delete_guild.html.twig @@ -19,7 +19,7 @@
Are you sure you want delete guild {{ guild.getName() }}?
-
+ {{ csrf() }} @@ -34,7 +34,7 @@
- + {{ csrf() }} {{ include('buttons.back.html.twig') }} diff --git a/system/templates/guilds.delete_invite.html.twig b/system/templates/guilds.delete_invite.html.twig index 833086db..012f7d46 100644 --- a/system/templates/guilds.delete_invite.html.twig +++ b/system/templates/guilds.delete_invite.html.twig @@ -7,14 +7,14 @@
-
+ {{ csrf() }} {{ include('buttons.submit.html.twig') }}
-
+ {{ csrf() }} {{ include('buttons.back.html.twig') }}
diff --git a/system/templates/guilds.invite.html.twig b/system/templates/guilds.invite.html.twig index 9b10bf4e..b0a35ac7 100644 --- a/system/templates/guilds.invite.html.twig +++ b/system/templates/guilds.invite.html.twig @@ -1,4 +1,4 @@ -
+ {{ csrf() }} Invite player with name:       {{ include('buttons.submit.html.twig') }} diff --git a/system/templates/guilds.kick_player.html.twig b/system/templates/guilds.kick_player.html.twig index 00c02b25..ded31cc8 100644 --- a/system/templates/guilds.kick_player.html.twig +++ b/system/templates/guilds.kick_player.html.twig @@ -7,7 +7,7 @@
- + {{ csrf() }} {{ include('buttons.submit.html.twig') }} diff --git a/system/templates/guilds.leave_guild.html.twig b/system/templates/guilds.leave_guild.html.twig index 70bc8650..86642156 100644 --- a/system/templates/guilds.leave_guild.html.twig +++ b/system/templates/guilds.leave_guild.html.twig @@ -1,4 +1,4 @@ -
+ {{ csrf() }} @@ -27,7 +27,7 @@ {% endif %}
-
+ {{ csrf() }} {{ include('buttons.back.html.twig') }}
diff --git a/system/templates/guilds.list.html.twig b/system/templates/guilds.list.html.twig index a95a2750..d56655f6 100644 --- a/system/templates/guilds.list.html.twig +++ b/system/templates/guilds.list.html.twig @@ -46,7 +46,7 @@
- {{ guild.name }}{% if isAdmin %} - Delete this guild (for ADMIN only!){% endif %} + {{ guild.name }}{% if isAdmin %} - Delete this guild (for ADMIN only!){% endif %} {% if guild.description is not empty %} @@ -82,7 +82,7 @@ {% if logged %} - + {{ csrf() }} {% set button_name = 'Found Guild' %} {% set button_image = '_sbutton_foundguild' %} @@ -127,7 +127,7 @@ {% if logged %} No guild found that suits your needs? - + {{ csrf() }} {% set button_name = 'Found Guild' %} {% set button_image = '_sbutton_foundguild' %} @@ -148,9 +148,9 @@
If you have any problem with guilds try:
- Cleanup players - can't join guild/be invited? Can't create guild? Try cleanup players. + Cleanup players - can't join guild/be invited? Can't create guild? Try cleanup players.
- Cleanup guilds - made guild, you are a leader, but you are not on players list? Cleanup guilds! + Cleanup guilds - made guild, you are a leader, but you are not on players list? Cleanup guilds! {% endif %} diff --git a/system/templates/guilds.manager.html.twig b/system/templates/guilds.manager.html.twig index 16dc6082..42e53944 100644 --- a/system/templates/guilds.manager.html.twig +++ b/system/templates/guilds.manager.html.twig @@ -12,7 +12,7 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth
- Pass Leadership + Pass Leadership Pass leadership of guild to other guild member. @@ -20,7 +20,7 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth
- Delete Guild + Delete Guild Delete guild, kick all members. @@ -28,7 +28,7 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth
- Change Description + Change Description Change description of guild. @@ -37,7 +37,7 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth {% if constant('MOTD_EXISTS') %}
- Change MOTD + Change MOTD Change MOTD of guild. @@ -46,7 +46,7 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth {% endif %}
- Change guild logo + Change guild logo Upload new guild logo. @@ -75,7 +75,7 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth
New rank name: - + {{ csrf() }} @@ -89,7 +89,7 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth

Change rank names and levels

- + {{ csrf() }} @@ -117,7 +117,7 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth {% set i = 0 %} {% for rank in rank_list %} -
{{ rank.getId() }} // Delete Rank + {{ rank.getId() }} // Delete Rank @@ -164,7 +164,7 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth
  • Be a member of guild
    - + {{ csrf() }} {{ include('buttons.back.html.twig') }} diff --git a/system/templates/guilds.pass_leadership.html.twig b/system/templates/guilds.pass_leadership.html.twig index 0524835d..f45da181 100644 --- a/system/templates/guilds.pass_leadership.html.twig +++ b/system/templates/guilds.pass_leadership.html.twig @@ -19,7 +19,7 @@ @@ -298,7 +298,7 @@ {% else %} {% if show_accept_invite > 0 %} - + {{ csrf() }} - + {{ csrf() }}
    Pass leadership to:
    -
    + {{ csrf() }} @@ -35,7 +35,7 @@
    - + {{ csrf() }} {{ include('buttons.back.html.twig') }} diff --git a/system/templates/guilds.view.html.twig b/system/templates/guilds.view.html.twig index f6993ab1..b8032447 100644 --- a/system/templates/guilds.view.html.twig +++ b/system/templates/guilds.view.html.twig @@ -67,7 +67,7 @@ The guild was founded on {{ config.lua.serverName }} on {{ guild_creation_date|date("j F Y") }}. {% if isLeader %} - + Manage Guild {% endif %} @@ -141,7 +141,7 @@
    {% set playerName = player.getName() %} -
    + {{ csrf() }} {{ getPlayerLink(playerName, true)|raw }} @@ -161,7 +161,7 @@ {% if level_in_guild > rank.rank_level or isLeader %} {% if guildOwnerName != playerName %} - {KICK} + {KICK} {% endif %} {% endif %} @@ -245,7 +245,7 @@ {% if isVice %} {% endif %}
    @@ -307,7 +307,7 @@ {% endif %} {% if isVice %} - + {{ csrf() }} {% set button_name = 'Invite Character' %} @@ -316,7 +316,7 @@
    {% set button_name = 'Edit Ranks' %} @@ -327,7 +327,7 @@ {% endif %} {% if players_from_account_in_guild|length > 0 %} - + {{ csrf() }} {% set button_name = 'Leave Guild' %}