mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-30 15:36:24 +01:00
Compare commits
5 Commits
feature/ph
...
feature-ta
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da18629d16 | ||
|
|
41c3d9ad21 | ||
|
|
2afe0c1185 | ||
|
|
6334f3f4fa | ||
|
|
fe7ad61abe |
47
.github/workflows/phpstan.yml
vendored
Normal file
47
.github/workflows/phpstan.yml
vendored
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
name: "PHPStan"
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: [develop]
|
||||||
|
push:
|
||||||
|
branches: [develop]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
tests:
|
||||||
|
name: PhpStan on PHP ${{ matrix.php-versions }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
php-versions: [ '8.1', '8.2', '8.3' ]
|
||||||
|
steps:
|
||||||
|
- name: "Checkout"
|
||||||
|
uses: "actions/checkout@v4"
|
||||||
|
|
||||||
|
- name: "Install PHP"
|
||||||
|
uses: "shivammathur/setup-php@v2"
|
||||||
|
with:
|
||||||
|
coverage: "none"
|
||||||
|
extensions: "intl, zip"
|
||||||
|
ini-values: "memory_limit=-1"
|
||||||
|
php-version: "${{ matrix.php-version }}"
|
||||||
|
|
||||||
|
- name: Get composer cache directory
|
||||||
|
id: composer-cache
|
||||||
|
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
- name: Cache composer dependencies
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: ${{ steps.composer-cache.outputs.dir }}
|
||||||
|
# Use composer.json for key, if composer.lock is not committed.
|
||||||
|
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
|
||||||
|
#key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
|
||||||
|
restore-keys: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
|
||||||
|
|
||||||
|
- name: "Install composer dependencies"
|
||||||
|
run: "composer install"
|
||||||
|
|
||||||
|
- name: "Run PHPStan"
|
||||||
|
run: "/usr/bin/php vendor/bin/phpstan analyse"
|
||||||
@@ -16,7 +16,7 @@ $title = 'Notepad';
|
|||||||
csrfProtect();
|
csrfProtect();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var $account_logged OTS_Account
|
* @var OTS_Account $account_logged
|
||||||
*/
|
*/
|
||||||
$_content = '';
|
$_content = '';
|
||||||
$notepad = ModelsNotepad::where('account_id', $account_logged->getId())->first();
|
$notepad = ModelsNotepad::where('account_id', $account_logged->getId())->first();
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<?php echo template_header(true); ?>
|
<?php echo template_header(true); ?>
|
||||||
<title><?php echo (isset($title) ? $title . ' - ' : '') . $config['lua']['serverName'];?></title>
|
<title><?php echo (isset($title) ? $title . ' - ' : '') . $config['lua']['serverName'];?></title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<link rel="stylesheet" href="<?php echo BASE_URL; ?>tools/ext/admin-lte/css/adminlte.min.css">
|
<link rel="stylesheet" href="<?php echo BASE_URL; ?>tools/css/adminlte.min.css">
|
||||||
<link rel="stylesheet" href="<?php echo BASE_URL; ?>tools/css/font-awesome.min.css">
|
<link rel="stylesheet" href="<?php echo BASE_URL; ?>tools/css/font-awesome.min.css">
|
||||||
<?php if (isset($use_datatable)) { ?>
|
<?php if (isset($use_datatable)) { ?>
|
||||||
<link rel="stylesheet" href="<?php echo BASE_URL; ?>tools/css/datatables.bs.min.css">
|
<link rel="stylesheet" href="<?php echo BASE_URL; ?>tools/css/datatables.bs.min.css">
|
||||||
@@ -197,7 +197,7 @@ if ($logged && admin()) {
|
|||||||
<script src="<?php echo BASE_URL; ?>tools/js/datatables.min.js"></script>
|
<script src="<?php echo BASE_URL; ?>tools/js/datatables.min.js"></script>
|
||||||
<script src="<?php echo BASE_URL; ?>tools/js/datatables.bs.min.js"></script>
|
<script src="<?php echo BASE_URL; ?>tools/js/datatables.bs.min.js"></script>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<script src="<?php echo BASE_URL; ?>tools/ext/admin-lte/js/adminlte.min.js"></script>
|
<script src="<?php echo BASE_URL; ?>tools/js/adminlte.min.js"></script>
|
||||||
<?php $hooks->trigger(HOOK_ADMIN_BODY_END); ?>
|
<?php $hooks->trigger(HOOK_ADMIN_BODY_END); ?>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -19,7 +19,8 @@
|
|||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"filp/whoops": "^2.15",
|
"filp/whoops": "^2.15",
|
||||||
"maximebf/debugbar": "dev-master"
|
"maximebf/debugbar": "dev-master",
|
||||||
|
"phpstan/phpstan": "^1.10"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ function query($query)
|
|||||||
|
|
||||||
// define php version id if its not already
|
// define php version id if its not already
|
||||||
if(!defined('PHP_VERSION_ID')) {
|
if(!defined('PHP_VERSION_ID')) {
|
||||||
$version = explode('.', PHP_VERSION);
|
$version = array_map('intval', explode('.', PHP_VERSION));
|
||||||
|
|
||||||
define('PHP_VERSION_ID', ($version[0] * 10000 + $version[1] * 100 + $version[2]));
|
define('PHP_VERSION_ID', ($version[0] * 10000 + $version[1] * 100 + $version[2]));
|
||||||
}
|
}
|
||||||
|
|||||||
13
phpstan-bootstrap.php
Normal file
13
phpstan-bootstrap.php
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
require __DIR__ . '/system/libs/pot/OTS.php';
|
||||||
|
$ots = POT::getInstance();
|
||||||
|
|
||||||
|
require __DIR__ . '/system/libs/pot/InvitesDriver.php';
|
||||||
|
require __DIR__ . '/system/libs/rfc6238.php';
|
||||||
|
require __DIR__ . '/common.php';
|
||||||
|
|
||||||
|
const ACTION = '';
|
||||||
|
const PAGE = '';
|
||||||
|
const URI = '';
|
||||||
|
define('SELF_NAME', basename(__FILE__));
|
||||||
38
phpstan.neon
Normal file
38
phpstan.neon
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
parameters:
|
||||||
|
level: 3
|
||||||
|
paths:
|
||||||
|
- .
|
||||||
|
- templates/tibiacom
|
||||||
|
- templates/kathrine
|
||||||
|
excludePaths:
|
||||||
|
- system/cache/*
|
||||||
|
- vendor/*
|
||||||
|
- plugins/*
|
||||||
|
- system/libs
|
||||||
|
- tools/signature/mango.php
|
||||||
|
- tools/signature/gd.class.php
|
||||||
|
bootstrapFiles:
|
||||||
|
- phpstan-bootstrap.php
|
||||||
|
ignoreErrors:
|
||||||
|
- '#Variable \$db might not be defined#'
|
||||||
|
- '#Variable \$twig might not be defined#'
|
||||||
|
- '#Variable \$hooks might not be defined#'
|
||||||
|
- '#Variable \$account_logged might not be defined#'
|
||||||
|
- '#Variable \$logged might not be defined#'
|
||||||
|
- '#Variable \$config might not be defined#'
|
||||||
|
- '#Variable \$action might not be defined#'
|
||||||
|
- '#Variable \$errors might not be defined#'
|
||||||
|
- '#Variable \$cache might not be defined#'
|
||||||
|
- '#Variable \$status might not be defined#'
|
||||||
|
- '#Variable \$player might not be defined#'
|
||||||
|
- '#Variable \$guild might not be defined#'
|
||||||
|
- '#Variable \$[a-zA-Z0-9\\_]+ might not be defined#'
|
||||||
|
# Eloquent models
|
||||||
|
- '#Call to an undefined static method [a-zA-Z0-9\\_]+::[a-zA-Z0-9\\_]+()#'
|
||||||
|
# system/pages/highscores.php
|
||||||
|
- '#Call to an undefined method Illuminate\\Database\\Query\\Builder::withOnlineStatus\(\)#'
|
||||||
|
- '#Access to an undefined property Illuminate\\Database\\Eloquent\\Model::\$online_status#'
|
||||||
|
- '#Access to an undefined property Illuminate\\Database\\Eloquent\\Model::\$vocation_name#'
|
||||||
|
-
|
||||||
|
message: '#Variable \$tmp in empty\(\) always exists and is always falsy#'
|
||||||
|
path: templates\kathrine\javascript.php
|
||||||
@@ -418,7 +418,10 @@ function delete_guild($id)
|
|||||||
if(count($rank_list) > 0) {
|
if(count($rank_list) > 0) {
|
||||||
$rank_list->orderBy('level');
|
$rank_list->orderBy('level');
|
||||||
|
|
||||||
global $db, $ots;
|
global $db;
|
||||||
|
/**
|
||||||
|
* @var OTS_GuildRank $rank_in_guild
|
||||||
|
*/
|
||||||
foreach($rank_list as $rank_in_guild) {
|
foreach($rank_list as $rank_in_guild) {
|
||||||
if($db->hasTable('guild_members'))
|
if($db->hasTable('guild_members'))
|
||||||
$players_with_rank = $db->query('SELECT `players`.`id` as `id`, `guild_members`.`rank_id` as `rank_id` FROM `players`, `guild_members` WHERE `guild_members`.`rank_id` = ' . $rank_in_guild->getId() . ' AND `players`.`id` = `guild_members`.`player_id` ORDER BY `name`;');
|
$players_with_rank = $db->query('SELECT `players`.`id` as `id`, `guild_members`.`rank_id` as `rank_id` FROM `players`, `guild_members` WHERE `guild_members`.`rank_id` = ' . $rank_in_guild->getId() . ' AND `players`.`id` = `guild_members`.`player_id` ORDER BY `name`;');
|
||||||
@@ -710,11 +713,8 @@ function getSkillName($skillId, $suffix = true)
|
|||||||
/**
|
/**
|
||||||
* Performs flag check on the current logged in user.
|
* Performs flag check on the current logged in user.
|
||||||
* Table in database: accounts, field: website_flags
|
* Table in database: accounts, field: website_flags
|
||||||
*
|
|
||||||
* @param int @flag Flag to be verified.
|
|
||||||
* @return bool If user got flag.
|
|
||||||
*/
|
*/
|
||||||
function hasFlag($flag) {
|
function hasFlag(int $flag): bool {
|
||||||
global $logged, $logged_flags;
|
global $logged, $logged_flags;
|
||||||
return ($logged && ($logged_flags & $flag) == $flag);
|
return ($logged && ($logged_flags & $flag) == $flag);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ elseif($action == 'step1' && $action_type == 'email')
|
|||||||
</TD></TR></FORM></TABLE></TABLE>';
|
</TD></TR></FORM></TABLE></TABLE>';
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$insec = $account->getCustomField('email_next') - time();
|
$insec = (int)$account->getCustomField('email_next') - time();
|
||||||
$minutesleft = floor($insec / 60);
|
$minutesleft = floor($insec / 60);
|
||||||
$secondsleft = $insec - ($minutesleft * 60);
|
$secondsleft = $insec - ($minutesleft * 60);
|
||||||
$timeleft = $minutesleft.' minutes '.$secondsleft.' seconds';
|
$timeleft = $minutesleft.' minutes '.$secondsleft.' seconds';
|
||||||
@@ -118,7 +118,7 @@ elseif($action == 'sendcode')
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$insec = $account->getCustomField('email_next') - time();
|
$insec = (int)$account->getCustomField('email_next') - time();
|
||||||
$minutesleft = floor($insec / 60);
|
$minutesleft = floor($insec / 60);
|
||||||
$secondsleft = $insec - ($minutesleft * 60);
|
$secondsleft = $insec - ($minutesleft * 60);
|
||||||
$timeleft = $minutesleft.' minutes '.$secondsleft.' seconds';
|
$timeleft = $minutesleft.' minutes '.$secondsleft.' seconds';
|
||||||
|
|||||||
@@ -199,7 +199,7 @@ if($player->isLoaded() && !$player->isDeleted())
|
|||||||
unset($storage);
|
unset($storage);
|
||||||
}
|
}
|
||||||
|
|
||||||
if($config['characters']['equipment'] && $db->hasTable('player_items') && $db->hasColumn('player_items', 'pid') && $db->hasColumn('player_items', 'sid') && $db->hasColumn('player_items', 'itemtype')) {
|
if($db->hasTable('player_items') && $db->hasColumn('player_items', 'pid') && $db->hasColumn('player_items', 'sid') && $db->hasColumn('player_items', 'itemtype')) {
|
||||||
$eq_sql = $db->query('SELECT `pid`, `itemtype` FROM player_items WHERE player_id = '.$player->getId().' AND (`pid` >= 1 and `pid` <= 10)');
|
$eq_sql = $db->query('SELECT `pid`, `itemtype` FROM player_items WHERE player_id = '.$player->getId().' AND (`pid` >= 1 and `pid` <= 10)');
|
||||||
$equipment = array();
|
$equipment = array();
|
||||||
foreach($eq_sql as $eq)
|
foreach($eq_sql as $eq)
|
||||||
|
|||||||
@@ -23,9 +23,15 @@ $guilds_list = new OTS_Guilds_List();
|
|||||||
$guilds_list->init();
|
$guilds_list->init();
|
||||||
if(count($guilds_list) > 0)
|
if(count($guilds_list) > 0)
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @var OTS_Guild $guild
|
||||||
|
*/
|
||||||
foreach($guilds_list as $guild)
|
foreach($guilds_list as $guild)
|
||||||
{
|
{
|
||||||
$error = 0;
|
$error = 0;
|
||||||
|
/**
|
||||||
|
* @var OTS_Player $leader
|
||||||
|
*/
|
||||||
$leader = $guild->getOwner();
|
$leader = $guild->getOwner();
|
||||||
if($leader->isLoaded())
|
if($leader->isLoaded())
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -117,6 +117,9 @@ if(isset($todo) && $todo == 'save')
|
|||||||
$ranks = $new_guild->getGuildRanksList();
|
$ranks = $new_guild->getGuildRanksList();
|
||||||
$ranks->orderBy('level', POT::ORDER_DESC);
|
$ranks->orderBy('level', POT::ORDER_DESC);
|
||||||
foreach($ranks as $rank) {
|
foreach($ranks as $rank) {
|
||||||
|
/**
|
||||||
|
* @var OTS_GuildRank $rank
|
||||||
|
*/
|
||||||
if($rank->getLevel() == 3) {
|
if($rank->getLevel() == 3) {
|
||||||
$player->setRank($rank);
|
$player->setRank($rank);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,9 @@ $guilds_list->orderBy("name");
|
|||||||
$guilds = array();
|
$guilds = array();
|
||||||
if(count($guilds_list) > 0)
|
if(count($guilds_list) > 0)
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @var OTS_Guild $guild
|
||||||
|
*/
|
||||||
foreach ($guilds_list as $guild) {
|
foreach ($guilds_list as $guild) {
|
||||||
$guild_logo = $guild->getCustomField('logo_name');
|
$guild_logo = $guild->getCustomField('logo_name');
|
||||||
if (empty($guild_logo) || !file_exists(GUILD_IMAGES_DIR . $guild_logo))
|
if (empty($guild_logo) || !file_exists(GUILD_IMAGES_DIR . $guild_logo))
|
||||||
|
|||||||
@@ -39,13 +39,13 @@ else {
|
|||||||
if($i == 1) {
|
if($i == 1) {
|
||||||
if($count <= 4)
|
if($count <= 4)
|
||||||
$killers_string .= 'killed';
|
$killers_string .= 'killed';
|
||||||
else if($count > 4 and $count < 10)
|
else if($count < 10)
|
||||||
$killers_string .= 'slain';
|
$killers_string .= 'slain';
|
||||||
else if($count > 9 and $count < 15)
|
else if($count < 15)
|
||||||
$killers_string .= 'crushed';
|
$killers_string .= 'crushed';
|
||||||
else if($count > 14 and $count < 20)
|
else if($count < 20)
|
||||||
$killers_string .= 'eliminated';
|
$killers_string .= 'eliminated';
|
||||||
else if($count > 19)
|
else
|
||||||
$killers_string .= 'annihilated';
|
$killers_string .= 'annihilated';
|
||||||
$killers_string .= ' at level <b>' . $death['level'] . '</b> ';
|
$killers_string .= ' at level <b>' . $death['level'] . '</b> ';
|
||||||
} else if($i == $count)
|
} else if($i == $count)
|
||||||
|
|||||||
@@ -236,7 +236,7 @@ else {
|
|||||||
// parse for define PAGE
|
// parse for define PAGE
|
||||||
$tmp = BASE_DIR;
|
$tmp = BASE_DIR;
|
||||||
$uri = $_SERVER['REQUEST_URI'];
|
$uri = $_SERVER['REQUEST_URI'];
|
||||||
if (!empty($tmp)) {
|
if (strlen($tmp) > 0) {
|
||||||
$uri = str_replace(BASE_DIR . '/', '', $uri);
|
$uri = str_replace(BASE_DIR . '/', '', $uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ class CsrfToken
|
|||||||
*
|
*
|
||||||
* @access public
|
* @access public
|
||||||
* @static true
|
* @static true
|
||||||
* @return void
|
* @return string
|
||||||
**/
|
**/
|
||||||
public static function create(bool $return = false): string {
|
public static function create(bool $return = false): string {
|
||||||
$input = '<input type="hidden" name="csrf_token" value="' . self::get() . '" />';
|
$input = '<input type="hidden" name="csrf_token" value="' . self::get() . '" />';
|
||||||
|
|||||||
@@ -4,6 +4,14 @@ namespace MyAAC\Models;
|
|||||||
|
|
||||||
use Illuminate\Database\Eloquent\Model;
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @property int $id
|
||||||
|
* @property int $type
|
||||||
|
* @property int $where
|
||||||
|
* @property string $body
|
||||||
|
* @property int $player_id
|
||||||
|
* @property int $date
|
||||||
|
*/
|
||||||
class Changelog extends Model {
|
class Changelog extends Model {
|
||||||
|
|
||||||
protected $table = TABLE_PREFIX . 'changelog';
|
protected $table = TABLE_PREFIX . 'changelog';
|
||||||
|
|||||||
@@ -3,6 +3,13 @@
|
|||||||
namespace MyAAC\Models;
|
namespace MyAAC\Models;
|
||||||
use Illuminate\Database\Eloquent\Model;
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @property int $id
|
||||||
|
* @property string $name
|
||||||
|
* @property string $title
|
||||||
|
* @property int $php
|
||||||
|
* @property int $hide
|
||||||
|
*/
|
||||||
class Pages extends Model {
|
class Pages extends Model {
|
||||||
|
|
||||||
protected $table = TABLE_PREFIX . 'pages';
|
protected $table = TABLE_PREFIX . 'pages';
|
||||||
|
|||||||
@@ -3,6 +3,11 @@
|
|||||||
namespace MyAAC\Models;
|
namespace MyAAC\Models;
|
||||||
use Illuminate\Database\Eloquent\Model;
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @property string $name
|
||||||
|
* @property string $key
|
||||||
|
* @property string $value
|
||||||
|
*/
|
||||||
class Settings extends Model {
|
class Settings extends Model {
|
||||||
|
|
||||||
protected $table = TABLE_PREFIX . 'settings';
|
protected $table = TABLE_PREFIX . 'settings';
|
||||||
|
|||||||
@@ -141,8 +141,8 @@ class Validator
|
|||||||
* Validate account password
|
* Validate account password
|
||||||
* Name lenght must be 3-32 chars
|
* Name lenght must be 3-32 chars
|
||||||
*
|
*
|
||||||
* @param string $name Account name to check
|
* @param string $password Password to check
|
||||||
* @return bool Is account name valid?
|
* @return bool Is password valid?
|
||||||
*/
|
*/
|
||||||
public static function password($password)
|
public static function password($password)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -102,6 +102,9 @@ if($status_interval && $status_timeout < $status_interval) {
|
|||||||
$status_timeout = $status_interval;
|
$status_timeout = $status_interval;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var int $status_timeout
|
||||||
|
*/
|
||||||
if($status['lastCheck'] + $status_timeout < time()) {
|
if($status['lastCheck'] + $status_timeout < time()) {
|
||||||
updateStatus();
|
updateStatus();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -171,8 +171,6 @@ function get_template_menus() {
|
|||||||
$new_menus = array();
|
$new_menus = array();
|
||||||
/**
|
/**
|
||||||
* @var array $configMenuCategories
|
* @var array $configMenuCategories
|
||||||
* @var int $id
|
|
||||||
* @var array $options
|
|
||||||
*/
|
*/
|
||||||
$configMenuCategories = config('menu_categories');
|
$configMenuCategories = config('menu_categories');
|
||||||
if($configMenuCategories === null) {
|
if($configMenuCategories === null) {
|
||||||
|
|||||||
@@ -1,42 +1,25 @@
|
|||||||
Here you can tell other players about yourself. This information will be displayed alongside the data of your characters. If you do not want to fill in a certain field, just leave it blank.<br/><br/>
|
Here you can tell other players about yourself. This information will be displayed alongside the data of your characters. If you do not want to fill in a certain field, just leave it blank.<br/><br/>
|
||||||
<form action="{{ getLink('account/info') }}" method="post">
|
{% set title = 'Change Public Information' %}
|
||||||
{{ csrf() }}
|
{% set background = config('darkborder') %}
|
||||||
<div class="TableContainer" >
|
{% set content %}
|
||||||
<table class="Table1" cellpadding="0" cellspacing="0" >
|
<table style="width: 100%;" >
|
||||||
<div class="CaptionContainer" >
|
|
||||||
<div class="CaptionInnerContainer" >
|
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);" /></span>
|
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);" /></span>
|
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);" ></span>
|
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);" /></span>
|
|
||||||
<div class="Text" >Change Public Information</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);" /></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);" ></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);" /></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);" /></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td class="LabelV">Real Name:</td>
|
||||||
<div class="InnerTableContainer" >
|
|
||||||
<table style="width:100%;" >
|
|
||||||
<tr>
|
|
||||||
<td class="LabelV" >Real Name:</td>
|
|
||||||
<td style="width:90%;" >
|
<td style="width:90%;" >
|
||||||
<input name="info_rlname" value="{{ account_rlname }}" size="30" maxlength="50" >
|
<input form="form" name="info_rlname" value="{{ account_rlname }}" size="30" maxlength="50" >
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="LabelV" >Location:</td>
|
<td class="LabelV" >Location:</td>
|
||||||
<td>
|
<td>
|
||||||
<input name="info_location" value="{{ account_location }}" size="30" maxlength="50" >
|
<input form="form" name="info_location" value="{{ account_location }}" size="30" maxlength="50" >
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% if setting('core.account_country') %}
|
{% if setting('core.account_country') %}
|
||||||
<tr>
|
<tr>
|
||||||
<td class="LabelV" >Country:</td>
|
<td class="LabelV">Country:</td>
|
||||||
<td>
|
<td>
|
||||||
<select name="info_country" id="account_country">
|
<select form="form" name="info_country" id="account_country">
|
||||||
{% for code, country in countries %}
|
{% for code, country in countries %}
|
||||||
<option value="{{ code}}"{% if account_country == code %} selected{% endif %}>{{ country }} </option>
|
<option value="{{ code}}"{% if account_country == code %} selected{% endif %}>{{ country }} </option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@@ -66,37 +49,36 @@ Here you can tell other players about yourself. This information will be display
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</table>
|
</table>
|
||||||
</div>
|
{% endset %}
|
||||||
</td>
|
{% include 'tables.headline.html.twig' %}
|
||||||
</tr>
|
<br/>
|
||||||
</table>
|
<table width="100%">
|
||||||
</div>
|
|
||||||
<br/>
|
|
||||||
<table width="100%">
|
|
||||||
<tr align="center">
|
<tr align="center">
|
||||||
<td>
|
<td>
|
||||||
<table border="0" cellspacing="0" cellpadding="0" >
|
<table border="0" cellspacing="0" cellpadding="0" >
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border:0px;" >
|
<td style="border:0px;" >
|
||||||
|
<form id="form" action="{{ getLink('account/info') }}" method="post">
|
||||||
|
{{ csrf() }}
|
||||||
<input type="hidden" name="changeinfosave" value="1">
|
<input type="hidden" name="changeinfosave" value="1">
|
||||||
{{ include('buttons.submit.html.twig') }}
|
{{ include('buttons.submit.html.twig') }}
|
||||||
|
</form>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
</form>
|
|
||||||
<table border="0" cellspacing="0" cellpadding="0" >
|
<table border="0" cellspacing="0" cellpadding="0" >
|
||||||
<form action="{{ getLink('account/manage') }}" method="post" >
|
|
||||||
{{ csrf() }}
|
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border:0px;" >
|
<td style="border:0px;" >
|
||||||
|
<form action="{{ getLink('account/manage') }}" method="post" >
|
||||||
|
{{ csrf() }}
|
||||||
{{ include('buttons.back.html.twig') }}
|
{{ include('buttons.back.html.twig') }}
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</form>
|
</form>
|
||||||
</table>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|||||||
@@ -1,31 +1,14 @@
|
|||||||
Please enter your password and the new email address. Make sure that you enter a valid email address which you have access to. <br/><b>For security reasons, the actual change will be finalised after a waiting period of {{ setting('core.account_mail_change') }} days.</b><br/><br/>
|
Please enter your password and the new email address. Make sure that you enter a valid email address which you have access to. <br/><b>For security reasons, the actual change will be finalised after a waiting period of {{ setting('core.account_mail_change') }} days.</b><br/><br/>
|
||||||
<form action="{{ getLink('account/email') }}" method="post">
|
{% set title = 'Change Email Address' %}
|
||||||
{{ csrf() }}
|
{% set background = config('darkborder') %}
|
||||||
<div class="TableContainer">
|
{% set content %}
|
||||||
<table class="Table1" cellpadding="0" cellspacing="0">
|
|
||||||
<div class="CaptionContainer">
|
|
||||||
<div class="CaptionInnerContainer" >
|
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<div class="Text" >Change Email Address</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<div class="InnerTableContainer">
|
|
||||||
<table style="width:100%;">
|
<table style="width:100%;">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="LabelV" >
|
<td class="LabelV" >
|
||||||
<span >New Email Address:</span>
|
<span>New Email Address:</span>
|
||||||
</td>
|
</td>
|
||||||
<td style="width:90%;">
|
<td style="width:90%;">
|
||||||
<input name="new_email" value="{% if new_email is defined %}{{ new_email }}{% endif %}" size="30" maxlength="50" autofocus/>
|
<input form="form" name="new_email" value="{% if new_email is defined %}{{ new_email }}{% endif %}" size="30" maxlength="50" autofocus/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -33,15 +16,12 @@ Please enter your password and the new email address. Make sure that you enter a
|
|||||||
<span >Password:</span>
|
<span >Password:</span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="password" name="password" size="30" maxlength="29">
|
<input form="form" type="password" name="password" size="30" maxlength="29">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
{% endset %}
|
||||||
</td>
|
{% include 'tables.headline.html.twig' %}
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<br/>
|
<br/>
|
||||||
<table style="width:100%;">
|
<table style="width:100%;">
|
||||||
<tr align="center">
|
<tr align="center">
|
||||||
@@ -49,13 +29,15 @@ Please enter your password and the new email address. Make sure that you enter a
|
|||||||
<table border="0" cellspacing="0" cellpadding="0">
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border:0px;">
|
<td style="border:0px;">
|
||||||
|
<form id="form" action="{{ getLink('account/email') }}" method="post">
|
||||||
|
{{ csrf() }}
|
||||||
<input type="hidden" name="changeemailsave" value="1"/>
|
<input type="hidden" name="changeemailsave" value="1"/>
|
||||||
{{ include('buttons.submit.html.twig') }}
|
{{ include('buttons.submit.html.twig') }}
|
||||||
|
</form>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
<tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</form>
|
|
||||||
<td>
|
<td>
|
||||||
<table border="0" cellspacing="0" cellpadding="0">
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
<form action="{{ getLink('account/manage') }}" method="post">
|
<form action="{{ getLink('account/manage') }}" method="post">
|
||||||
|
|||||||
@@ -1,31 +1,14 @@
|
|||||||
To change a name of character select player and choose a new name.<br/>
|
To change a name of character select player and choose a new name.<br/>
|
||||||
<span style="color: red">Change name cost {{ setting('core.account_change_character_name_price') }} {{ setting('core.donate_column') == 'coins' ? 'coins' : 'premium points' }}. You have {{ points }} {{ setting('core.donate_column') == 'coins' ? 'coins' : 'premium points' }}.</span><br/><br/>
|
<span style="color: red">Change name cost {{ setting('core.account_change_character_name_price') }} {{ setting('core.donate_column') == 'coins' ? 'coins' : 'premium points' }}. You have {{ points }} {{ setting('core.donate_column') == 'coins' ? 'coins' : 'premium points' }}.</span><br/><br/>
|
||||||
<form action="{{ getLink('account/character/name') }}" method="post">
|
|
||||||
{{ csrf() }}
|
{% set title = 'Change Name' %}
|
||||||
<input type="hidden" name="changenamesave" value="1">
|
{% set background = config('darkborder') %}
|
||||||
<div class="TableContainer">
|
{% set content %}
|
||||||
<table class="Table1" cellpadding="0" cellspacing="0">
|
<table style="width:100%;" >
|
||||||
<div class="CaptionContainer">
|
|
||||||
<div class="CaptionInnerContainer" >
|
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<div class="Text" >Change Name</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<div class="InnerTableContainer" >
|
|
||||||
<table style="width:100%;" >
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="LabelV" ><span>Character:</span></td>
|
<td class="LabelV" ><span>Character:</span></td>
|
||||||
<td style="width:90%;" >
|
<td style="width:90%;" >
|
||||||
<select name="player_id">
|
<select form="form" name="player_id">
|
||||||
{% for player in account_logged.getPlayersList(false) %}
|
{% for player in account_logged.getPlayersList(false) %}
|
||||||
<option value="{{ player.getId() }}">{{ player.getName() }}</option>
|
<option value="{{ player.getId() }}">{{ player.getName() }}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@@ -35,7 +18,7 @@ To change a name of character select player and choose a new name.<br/>
|
|||||||
<tr>
|
<tr>
|
||||||
<td class="LabelV" ><span>New Name:</span></td>
|
<td class="LabelV" ><span>New Name:</span></td>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" name="name" id="character_name" size="25" maxlength="25" >
|
<input form="form" type="text" name="name" id="character_name" size="25" maxlength="25" >
|
||||||
<img id="character_indicator" src="images/global/general/{% if not save or errors|length > 0 %}n{% endif %}ok.gif" />
|
<img id="character_indicator" src="images/global/general/{% if not save or errors|length > 0 %}n{% endif %}ok.gif" />
|
||||||
<br/>
|
<br/>
|
||||||
<span style="font-size: 10px">
|
<span style="font-size: 10px">
|
||||||
@@ -43,37 +26,37 @@ To change a name of character select player and choose a new name.<br/>
|
|||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
{% endset %}
|
||||||
</td>
|
{% include 'tables.headline.html.twig' %}
|
||||||
</tr>
|
<br/>
|
||||||
</table>
|
<table style="width:100%" >
|
||||||
</div>
|
|
||||||
<br/>
|
|
||||||
<table style="width:100%" >
|
|
||||||
<tr align="center">
|
<tr align="center">
|
||||||
<td>
|
<td>
|
||||||
<table border="0" cellspacing="0" cellpadding="0">
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border:0px;">
|
<td style="border:0px;">
|
||||||
|
<form id="form" action="{{ getLink('account/character/name') }}" method="post">
|
||||||
|
{{ csrf() }}
|
||||||
|
<input type="hidden" name="changenamesave" value="1">
|
||||||
{{ include('buttons.submit.html.twig') }}
|
{{ include('buttons.submit.html.twig') }}
|
||||||
|
</form>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</form>
|
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<table border="0" cellspacing="0" cellpadding="0">
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
<form action="{{ getLink('account/manage') }}" method="post">
|
|
||||||
{{ csrf() }}
|
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border:0px;">
|
<td style="border:0px;">
|
||||||
|
<form action="{{ getLink('account/manage') }}" method="post">
|
||||||
|
{{ csrf() }}
|
||||||
{{ include('buttons.back.html.twig') }}
|
{{ include('buttons.back.html.twig') }}
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</form>
|
</form>
|
||||||
</table>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
<script type="text/javascript" src="tools/check_name.js"></script>
|
<script type="text/javascript" src="tools/check_name.js"></script>
|
||||||
|
|||||||
@@ -1,32 +1,15 @@
|
|||||||
Please enter your current password and a new password. For your security, please enter the new password twice.<br/>
|
Please enter your current password and a new password. For your security, please enter the new password twice.<br/>
|
||||||
<br/>
|
<br/>
|
||||||
<form action="{{ getLink('account/password') }}" method="post">
|
{% set title = 'Change Password' %}
|
||||||
{{ csrf() }}
|
{% set background = config('darkborder') %}
|
||||||
<div class="TableContainer">
|
{% set content %}
|
||||||
<table class="Table1" cellpadding="0" cellspacing="0">
|
<table style="width:100%;">
|
||||||
<div class="CaptionContainer">
|
|
||||||
<div class="CaptionInnerContainer">
|
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<div class="Text" >Change Password</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<div class="InnerTableContainer">
|
|
||||||
<table style="width:100%;">
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="LabelV">
|
<td class="LabelV">
|
||||||
<span>New Password:</span>
|
<span>New Password:</span>
|
||||||
</td>
|
</td>
|
||||||
<td style="width:90%;">
|
<td style="width:90%;">
|
||||||
<input type="password" name="newpassword" size="30" maxlength="29">
|
<input form="form" type="password" name="newpassword" size="30" maxlength="29">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -34,7 +17,7 @@ Please enter your current password and a new password. For your security, please
|
|||||||
<span>New Password Again:</span>
|
<span>New Password Again:</span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="password" name="newpassword_confirm" size="30" maxlength="29">
|
<input form="form" type="password" name="newpassword_confirm" size="30" maxlength="29">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -42,39 +25,38 @@ Please enter your current password and a new password. For your security, please
|
|||||||
<span>Current Password:</span>
|
<span>Current Password:</span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="password" name="oldpassword" size="30" maxlength="29">
|
<input form="form" type="password" name="oldpassword" size="30" maxlength="29">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
{% endset %}
|
||||||
</td>
|
{% include 'tables.headline.html.twig' %}
|
||||||
</tr>
|
<br/>
|
||||||
</table>
|
<table style="width:100%;">
|
||||||
</div>
|
|
||||||
<br/>
|
|
||||||
<table style="width:100%;">
|
|
||||||
<tr align="center">
|
<tr align="center">
|
||||||
<td>
|
<td>
|
||||||
<table border="0" cellspacing="0" cellpadding="0">
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border:0px;">
|
<td style="border:0px;">
|
||||||
|
<form id="form" action="{{ getLink('account/password') }}" method="post">
|
||||||
|
{{ csrf() }}
|
||||||
{{ include('buttons.submit.html.twig') }}
|
{{ include('buttons.submit.html.twig') }}
|
||||||
|
</form>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
<tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</form>
|
|
||||||
<td>
|
<td>
|
||||||
<table border="0" cellspacing="0" cellpadding="0">
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
<form action="{{ getLink('account/manage') }}" method="post">
|
|
||||||
{{ csrf() }}
|
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border:0px;">
|
<td style="border:0px;">
|
||||||
|
<form action="{{ getLink('account/manage') }}" method="post">
|
||||||
|
{{ csrf() }}
|
||||||
{{ include('buttons.back.html.twig') }}
|
{{ include('buttons.back.html.twig') }}
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</form>
|
</form>
|
||||||
</table>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|||||||
@@ -1,31 +1,14 @@
|
|||||||
To change a sex of character select player and choose a new sex.<br/>
|
To change a sex of character select player and choose a new sex.<br/>
|
||||||
<span style="color: red">Change sex cost {{ setting('core.account_change_character_sex_price') }} {{ setting('core.donate_column') == 'coins' ? 'coins' : 'premium points' }}. You have {{ points }} {{ setting('core.donate_column') == 'coins' ? 'coins' : 'premium points' }}.</span><br/><br/>
|
<span style="color: red">Change sex cost {{ setting('core.account_change_character_sex_price') }} {{ setting('core.donate_column') == 'coins' ? 'coins' : 'premium points' }}. You have {{ points }} {{ setting('core.donate_column') == 'coins' ? 'coins' : 'premium points' }}.</span>
|
||||||
<form action="{{ getLink('account/character/sex') }}" method="post">
|
<br/><br/>
|
||||||
{{ csrf() }}
|
{% set title = 'Change sex' %}
|
||||||
<input type="hidden" name="changesexsave" value="1"/>
|
{% set background = config('darkborder') %}
|
||||||
<div class="TableContainer">
|
{% set content %}
|
||||||
<table class="Table1" cellpadding="0" cellspacing="0">
|
<table style="width:100%;" >
|
||||||
<div class="CaptionContainer">
|
|
||||||
<div class="CaptionInnerContainer">
|
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<div class="Text" >Change sex</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);" ></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);" /></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);" /></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td class="LabelV" ><span>Character:</span></td>
|
||||||
<div class="InnerTableContainer">
|
|
||||||
<table style="width:100%;" >
|
|
||||||
<tr>
|
|
||||||
<td class="LabelV" ><span >Character:</td>
|
|
||||||
<td style="width:90%;" >
|
<td style="width:90%;" >
|
||||||
<select name="player_id">
|
<select form="form" name="player_id">
|
||||||
{% for player in players %}
|
{% for player in players %}
|
||||||
<option value="{{ player.getId() }}">{{ player.getName() }}</option>
|
<option value="{{ player.getId() }}">{{ player.getName() }}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@@ -33,46 +16,46 @@ To change a sex of character select player and choose a new sex.<br/>
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="LabelV" ><span >New Sex:</td>
|
<td class="LabelV" ><span>New Sex:</span></td>
|
||||||
<td>
|
<td>
|
||||||
<select name="new_sex">
|
<select form="form" name="new_sex">
|
||||||
{% for id, gender in config.genders %}
|
{% for id, gender in config.genders %}
|
||||||
<option value="{{ id }}"{% if player_sex == id %} selected{% endif %}>{{ gender }}</option>
|
<option value="{{ id }}"{% if player_sex == id %} selected{% endif %}>{{ gender }}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
{% endset %}
|
||||||
</td>
|
{% include 'tables.headline.html.twig' %}
|
||||||
</tr>
|
|
||||||
</table>
|
<br/>
|
||||||
</div>
|
<table style="width:100%">
|
||||||
<br/>
|
|
||||||
<table style="width:100%">
|
|
||||||
<tr align="center">
|
<tr align="center">
|
||||||
<td>
|
<td>
|
||||||
<table border="0" cellspacing="0" cellpadding="0" >
|
<table border="0" cellspacing="0" cellpadding="0" >
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border:0px;" >
|
<td style="border:0px;">
|
||||||
|
<form id="form" action="{{ getLink('account/character/sex') }}" method="post">
|
||||||
|
{{ csrf() }}
|
||||||
|
<input type="hidden" name="changesexsave" value="1"/>
|
||||||
{{ include('buttons.submit.html.twig') }}
|
{{ include('buttons.submit.html.twig') }}
|
||||||
|
</form>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
</form>
|
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<table border="0" cellspacing="0" cellpadding="0">
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
|
<tr>
|
||||||
|
<td style="border:0px;">
|
||||||
<form action="{{ getLink('account/manage') }}" method="post">
|
<form action="{{ getLink('account/manage') }}" method="post">
|
||||||
{{ csrf() }}
|
{{ csrf() }}
|
||||||
<tr>
|
|
||||||
<td style="border:0px;" >
|
|
||||||
{{ include('buttons.back.html.twig') }}
|
{{ include('buttons.back.html.twig') }}
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</form>
|
</form>
|
||||||
</table>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|||||||
@@ -6,10 +6,7 @@ In any case the name must not violate the naming conventions stated in the <a hr
|
|||||||
<b><span style="color: red"> You have maximum number of characters per account on your account. Delete one before you make new.</span></b>
|
<b><span style="color: red"> You have maximum number of characters per account on your account. Delete one before you make new.</span></b>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
<form action="{{ getLink('account/character/create') }}" method="post">
|
<div class="TableContainer">
|
||||||
{{ csrf() }}
|
|
||||||
<input type="hidden" name="save" value="1">
|
|
||||||
<div class="TableContainer">
|
|
||||||
<table class="Table3" cellpadding="0" cellspacing="0">
|
<table class="Table3" cellpadding="0" cellspacing="0">
|
||||||
<div class="CaptionContainer">
|
<div class="CaptionContainer">
|
||||||
<div class="CaptionInnerContainer">
|
<div class="CaptionInnerContainer">
|
||||||
@@ -46,7 +43,7 @@ In any case the name must not violate the naming conventions stated in the <a hr
|
|||||||
</tr>
|
</tr>
|
||||||
<tr class="Odd">
|
<tr class="Odd">
|
||||||
<td>
|
<td>
|
||||||
<input name="name" id="character_name" value="{{ name }}" size="{{ setting('core.create_character_name_max_length') }}" maxlength="{{ setting('core.create_character_name_max_length') }}" >
|
<input form="form" name="name" id="character_name" value="{{ name }}" size="{{ setting('core.create_character_name_max_length') }}" maxlength="{{ setting('core.create_character_name_max_length') }}" >
|
||||||
<img id="character_indicator" src="images/global/general/{% if not save or errors.name is defined %}n{% endif %}ok.gif" />
|
<img id="character_indicator" src="images/global/general/{% if not save or errors.name is defined %}n{% endif %}ok.gif" />
|
||||||
<br/>
|
<br/>
|
||||||
<span style="font-size: 10px">
|
<span style="font-size: 10px">
|
||||||
@@ -57,7 +54,7 @@ In any case the name must not violate the naming conventions stated in the <a hr
|
|||||||
{% set i = 0 %}
|
{% set i = 0 %}
|
||||||
{% for id, gender in config.genders|reverse(true) %}
|
{% for id, gender in config.genders|reverse(true) %}
|
||||||
{% set i = i + 1 %}
|
{% set i = i + 1 %}
|
||||||
<input type="radio" name="sex" id="sex{{ i }}" value="{{ id }}"{% if sex is not null and sex == id %} checked="checked"{% endif %}
|
<input form="form" type="radio" name="sex" id="sex{{ i }}" value="{{ id }}"{% if sex is not null and sex == id %} checked="checked"{% endif %}
|
||||||
><label for="sex{{ i }}">{{ gender|lower }}</label><br/>
|
><label for="sex{{ i }}">{{ gender|lower }}</label><br/>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</td>
|
</td>
|
||||||
@@ -80,7 +77,7 @@ In any case the name must not violate the naming conventions stated in the <a hr
|
|||||||
{% for key, sample_char in config.character_samples %}
|
{% for key, sample_char in config.character_samples %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<input type="radio" name="vocation" id="vocation{{ key }}" value="{{ key }}"
|
<input form="form" type="radio" name="vocation" id="vocation{{ key }}" value="{{ key }}"
|
||||||
{% if vocation is not null and vocation == key %} checked="checked"{% endif %}>
|
{% if vocation is not null and vocation == key %} checked="checked"{% endif %}>
|
||||||
<label for="vocation{{ key }}">{{ config['vocations'][key] }}</label>
|
<label for="vocation{{ key }}">{{ config['vocations'][key] }}</label>
|
||||||
</td>
|
</td>
|
||||||
@@ -101,7 +98,7 @@ In any case the name must not violate the naming conventions stated in the <a hr
|
|||||||
{% for town_id in config.character_towns %}
|
{% for town_id in config.character_towns %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<input type="radio" name="town" id="town{{ town_id }}" value="{{ town_id }}"
|
<input form="form" type="radio" name="town" id="town{{ town_id }}" value="{{ town_id }}"
|
||||||
{% if town is not null and town == town_id %} checked="checked"{% endif %}>
|
{% if town is not null and town == town_id %} checked="checked"{% endif %}>
|
||||||
<label for="town{{ town_id }}">{{ config.towns[town_id] }}</label>
|
<label for="town{{ town_id }}">{{ config.towns[town_id] }}</label>
|
||||||
</td>
|
</td>
|
||||||
@@ -119,32 +116,35 @@ In any case the name must not violate the naming conventions stated in the <a hr
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<br/>
|
<br/>
|
||||||
<table style="width:100%;">
|
<table style="width:100%;">
|
||||||
<tr align="center">
|
<tr align="center">
|
||||||
<td>
|
<td>
|
||||||
<table border="0" cellspacing="0" cellpadding="0">
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border:0px;">
|
<td style="border:0px;">
|
||||||
|
<form id="form" action="{{ getLink('account/character/create') }}" method="post">
|
||||||
|
{{ csrf() }}
|
||||||
|
<input type="hidden" name="save" value="1">
|
||||||
{{ include('buttons.submit.html.twig') }}
|
{{ include('buttons.submit.html.twig') }}
|
||||||
|
</form>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</form>
|
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<table border="0" cellspacing="0" cellpadding="0">
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
<form action="{{ getLink('account/manage') }}" method="post">
|
|
||||||
{{ csrf() }}
|
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border:0px;">
|
<td style="border:0px;">
|
||||||
|
<form action="{{ getLink('account/manage') }}" method="post">
|
||||||
|
{{ csrf() }}
|
||||||
{{ include('buttons.back.html.twig') }}
|
{{ include('buttons.back.html.twig') }}
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</form>
|
</form>
|
||||||
</table>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
<script type="text/javascript" src="tools/check_name.js"></script>
|
<script type="text/javascript" src="tools/check_name.js"></script>
|
||||||
|
|||||||
@@ -1,55 +1,37 @@
|
|||||||
To delete a character enter the name of the character and your password.<br/><br/>
|
To delete a character enter the name of the character and your password.<br/><br/>
|
||||||
<form action="{{ getLink('account/character/delete') }}" method="post">
|
{% set title = 'Delete Character' %}
|
||||||
{{ csrf() }}
|
{% set background = config('darkborder') %}
|
||||||
<input type="hidden" name="deletecharactersave" value="1"/>
|
{% set content %}
|
||||||
<div class="TableContainer">
|
<table style="width:100%;">
|
||||||
<table class="Table1" cellpadding="0" cellspacing="0" >
|
|
||||||
<div class="CaptionContainer">
|
|
||||||
<div class="CaptionInnerContainer">
|
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<div class="Text" >Delete Character</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<div class="InnerTableContainer">
|
|
||||||
<table style="width:100%;">
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="LabelV" ><span>Character Name:</span></td>
|
<td class="LabelV" ><span>Character Name:</span></td>
|
||||||
<td style="width:90%;">
|
<td style="width:90%;">
|
||||||
<input name="delete_name" value="" size="30" maxlength="29"/>
|
<input form="form" name="delete_name" value="" size="30" maxlength="29"/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="LabelV" ><span>Password:</span></td>
|
<td class="LabelV" ><span>Password:</span></td>
|
||||||
<td>
|
<td>
|
||||||
<input type="password" name="delete_password" size="30" maxlength="29"/>
|
<input form="form" type="password" name="delete_password" size="30" maxlength="29"/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
{% endset %}
|
||||||
</td>
|
{% include 'tables.headline.html.twig' %}
|
||||||
</tr>
|
<br/>
|
||||||
</table>
|
<table style="width:100%">
|
||||||
</div>
|
|
||||||
<br/>
|
|
||||||
<table style="width:100%">
|
|
||||||
<tr align="center">
|
<tr align="center">
|
||||||
<td>
|
<td>
|
||||||
<table border="0" cellspacing="0" cellpadding="0">
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border:0px;">
|
<td style="border:0px;">
|
||||||
|
<form id="form" action="{{ getLink('account/character/delete') }}" method="post">
|
||||||
|
{{ csrf() }}
|
||||||
|
<input type="hidden" name="deletecharactersave" value="1"/>
|
||||||
{{ include('buttons.submit.html.twig') }}
|
{{ include('buttons.submit.html.twig') }}
|
||||||
|
</form>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
</form>
|
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
@@ -65,4 +47,4 @@ To delete a character enter the name of the character and your password.<br/><br
|
|||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -1,61 +1,44 @@
|
|||||||
To generate new recovery key for your account please enter your password.<br/>
|
To generate new recovery key for your account please enter your password.<br/>
|
||||||
<span style="color: red"><b>New recovery key cost {{ setting('core.account_generate_new_reckey_price') }} Premium Points.</span> You have {{ points }} premium points. You will receive e-mail with this recovery key.</b><br/>
|
<span style="color: red"><b>New recovery key cost {{ setting('core.account_generate_new_reckey_price') }} Premium Points</b>.</span> You have {{ points }} premium points. You will receive e-mail with this recovery key.
|
||||||
<form action="{{ getLink('account/register/new') }}" method="post">
|
<br/>
|
||||||
{{ csrf() }}
|
{% set title = 'Generate recovery key' %}
|
||||||
<input type="hidden" name="registeraccountsave" value="1">
|
{% set background = config('darkborder') %}
|
||||||
<div class="TableContainer" >
|
{% set content %}
|
||||||
<table class="Table1" cellpadding="0" cellspacing="0">
|
<table style="width:100%;">
|
||||||
<div class="CaptionContainer">
|
|
||||||
<div class="CaptionInnerContainer">
|
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<div class="Text" >Generate recovery key</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td class="LabelV"><span>Password:</span></td>
|
||||||
<div class="InnerTableContainer">
|
<td><input form="form" type="password" name="reg_password" size="30" maxlength="29" ></td>
|
||||||
<table style="width:100%;">
|
|
||||||
<tr>
|
|
||||||
<td class="LabelV" ><span>Password:</span></td>
|
|
||||||
<td><input type="password" name="reg_password" size="30" maxlength="29" ></td>
|
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
{% endset %}
|
||||||
</td>
|
{% include 'tables.headline.html.twig' %}
|
||||||
</tr>
|
<br/>
|
||||||
</table>
|
<table style="width:100%">
|
||||||
</div>
|
|
||||||
<br/>
|
|
||||||
<table style="width:100%">
|
|
||||||
<tr align="center">
|
<tr align="center">
|
||||||
<td>
|
<td>
|
||||||
<table border="0" cellspacing="0" cellpadding="0">
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border:0px;">
|
<td style="border:0px;">
|
||||||
|
<form id="form" action="{{ getLink('account/register/new') }}" method="post">
|
||||||
|
{{ csrf() }}
|
||||||
|
<input type="hidden" name="registeraccountsave" value="1">
|
||||||
{{ include('buttons.submit.html.twig') }}
|
{{ include('buttons.submit.html.twig') }}
|
||||||
|
</form>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</form>
|
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<table border="0" cellspacing="0" cellpadding="0">
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
<form action="{{ getLink('account/manage') }}" method="post">
|
|
||||||
{{ csrf() }}
|
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border:0px;">
|
<td style="border:0px;">
|
||||||
|
<form action="{{ getLink('account/manage') }}" method="post">
|
||||||
|
{{ csrf() }}
|
||||||
{{ include('buttons.back.html.twig') }}
|
{{ include('buttons.back.html.twig') }}
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</form>
|
</form>
|
||||||
</table>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|||||||
@@ -1,40 +1,18 @@
|
|||||||
To generate recovery key for your account please enter your password.<br/><br/>
|
To generate recovery key for your account please enter your password.<br/><br/>
|
||||||
<form action="{{ getLink('account/register') }}" method="post">
|
{% set title = 'Generate recovery key' %}
|
||||||
{{ csrf() }}
|
{% set content %}
|
||||||
<input type="hidden" name="registeraccountsave" value="1"/>
|
<table style="width:100%;" >
|
||||||
<div class="TableContainer">
|
|
||||||
<table class="Table1" cellpadding="0" cellspacing="0">
|
|
||||||
<div class="CaptionContainer">
|
|
||||||
<div class="CaptionInnerContainer">
|
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<div class="Text" >Generate recovery key</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<div class="InnerTableContainer">
|
|
||||||
<table style="width:100%;" >
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="LabelV">
|
<td class="LabelV">
|
||||||
<span>Password:</span>
|
<span>Password:</span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="password" name="reg_password" size="30" maxlength="29" autofocus/>
|
<input form="form" type="password" name="reg_password" size="30" maxlength="29" autofocus/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
{% endset %}
|
||||||
</td>
|
{% include 'tables.headline.html.twig' %}
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<br/>
|
<br/>
|
||||||
<table style="width:100%">
|
<table style="width:100%">
|
||||||
<tr align="center">
|
<tr align="center">
|
||||||
@@ -42,12 +20,15 @@ To generate recovery key for your account please enter your password.<br/><br/>
|
|||||||
<table border="0" cellspacing="0" cellpadding="0" >
|
<table border="0" cellspacing="0" cellpadding="0" >
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border:0px;">
|
<td style="border:0px;">
|
||||||
|
<form id="form" action="{{ getLink('account/register') }}" method="post">
|
||||||
|
{{ csrf() }}
|
||||||
|
<input type="hidden" name="registeraccountsave" value="1"/>
|
||||||
{{ include('buttons.submit.html.twig') }}
|
{{ include('buttons.submit.html.twig') }}
|
||||||
|
</form>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
<tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</form>
|
|
||||||
<td>
|
<td>
|
||||||
<table border="0" cellspacing="0" cellpadding="0">
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
<form action="{{ getLink('account/manage') }}" method="post">
|
<form action="{{ getLink('account/manage') }}" method="post">
|
||||||
|
|||||||
@@ -1,28 +1,10 @@
|
|||||||
<div class="TableContainer">
|
{% set title = 'Logout Successful' %}
|
||||||
<table class="Table1" cellpadding="0" cellspacing="0" >
|
{% set background = config('darkborder') %}
|
||||||
<div class="CaptionContainer">
|
{% set content %}
|
||||||
<div class="CaptionInnerContainer" >
|
<table style="width:100%;">
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"/></span>
|
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"/></span>
|
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);" ></span>
|
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"/></span>
|
|
||||||
<div class="Text">Logout Successful</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"/></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);" ></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"/></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"/></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<div class="InnerTableContainer">
|
|
||||||
<table style="width:100%;">
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>You have logged out of your {{ config.serverName }} account. In order to view your account you need to <a href="{{ getLink('account/manage') }}" >log in</a> again.</td>
|
<td>You have logged out of your {{ config.serverName }} account. In order to view your account you need to <a href="{{ getLink('account/manage') }}" >log in</a> again.</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
{% endset %}
|
||||||
</td>
|
{% include 'tables.headline.html.twig' %}
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
|
|||||||
@@ -1,14 +1,24 @@
|
|||||||
<div style="text-align:center"><h2>Change guild description</h2></div>
|
{% set title = 'Change guild description' %}
|
||||||
Here you can change description of your guild.<br/>
|
{% set background = config('darkborder') %}
|
||||||
<form enctype="multipart/form-data" action="{{ getLink('guilds') }}?guild={{ guild.getName() }}&action=change_description" method="post">
|
{% set content %}
|
||||||
|
<table style="width:100%;" >
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
Here you can change description of your guild.<br/>
|
||||||
|
<form enctype="multipart/form-data" action="{{ getLink('guilds') }}?guild={{ guild.getName() }}&action=change_description" method="post">
|
||||||
{{ csrf() }}
|
{{ csrf() }}
|
||||||
<input type="hidden" name="todo" value="save"/>
|
<input type="hidden" name="todo" value="save"/>
|
||||||
<textarea name="description" cols="60" rows="{{ setting('core.guild_description_lines_limit') - 1 }}">{{ guild.getCustomField('description')|raw }}</textarea><br>
|
<textarea name="description" cols="60" rows="{{ setting('core.guild_description_lines_limit') - 1 }}">{{ guild.getCustomField('description')|raw }}</textarea><br>
|
||||||
(max. {{ setting('core.guild_description_lines_limit') }} lines, max. {{ setting('core.guild_description_chars_limit') }} chars) <input type="submit" value="Save description"/></form><br/>
|
(max. {{ setting('core.guild_description_lines_limit') }} lines, max. {{ setting('core.guild_description_chars_limit') }} chars) <input type="submit" value="Save description"/></form><br/>
|
||||||
<br/>
|
<br/>
|
||||||
<div style="text-align:center">
|
<div style="text-align:center">
|
||||||
<form action="{{ getLink('guilds') }}?guild={{ guild.getName() }}&action=manager" method="post">
|
<form action="{{ getLink('guilds') }}?guild={{ guild.getName() }}&action=manager" method="post">
|
||||||
{{ csrf() }}
|
{{ csrf() }}
|
||||||
{{ include('buttons.back.html.twig') }}
|
{{ include('buttons.back.html.twig') }}
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
{% endset %}
|
||||||
|
{% include 'tables.headline.html.twig' %}
|
||||||
|
|||||||
@@ -1,20 +1,32 @@
|
|||||||
<div style="text-align:center"><h2>Change guild logo</h2></div>
|
{% set title = 'Change guild logo' %}
|
||||||
Here you can change logo of your guild.<br/>Actuall logo: <img src="{{ constant('GUILD_IMAGES_DIR') }}{{ guild_logo }}" height="64" width="64"><br/><br/>
|
{% set background = config('darkborder') %}
|
||||||
<form enctype="multipart/form-data" action="{{ getLink('guilds') }}?guild={{ guild.getName() }}&action=change_logo" method="post" id="upload_form">
|
{% set content %}
|
||||||
|
<table style="width:100%;" >
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
Here you can change logo of your guild.<br/>Actuall logo: <img src="{{ constant('GUILD_IMAGES_DIR') }}{{ guild_logo }}" height="64" width="64"><br/><br/>
|
||||||
|
<form enctype="multipart/form-data" action="{{ getLink('guilds') }}?guild={{ guild.getName() }}&action=change_logo" method="post" id="upload_form">
|
||||||
{{ csrf() }}
|
{{ csrf() }}
|
||||||
<input type="hidden" name="todo" value="save" />
|
<input type="hidden" name="todo" value="save" />
|
||||||
<input type="hidden" name="MAX_FILE_SIZE" value="{{ max_image_size_b }}" />
|
<input type="hidden" name="MAX_FILE_SIZE" value="{{ max_image_size_b }}" />
|
||||||
Select new logo: <input name="newlogo" id="newlogo" type="file" />
|
Select new logo: <input name="newlogo" id="newlogo" type="file" />
|
||||||
<input type="submit" value="Send new logo" />
|
<input type="submit" value="Send new logo" />
|
||||||
</form>
|
</form>
|
||||||
Only <b>jpg, gif, png, bmp</b> pictures. Max. size: <b>{{ setting('core.guild_image_size_kb') }} KB</b><br>
|
Only <b>jpg, gif, png, bmp</b> pictures. Max. size: <b>{{ setting('core.guild_image_size_kb') }} KB</b><br>
|
||||||
<br/>
|
<br/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
{% endset %}
|
||||||
|
{% include 'tables.headline.html.twig' %}
|
||||||
|
|
||||||
<div style="text-align:center">
|
<div style="text-align:center">
|
||||||
<form action="{{ getLink('guilds') }}?guild={{ guild.getName() }}&action=manager" method="post">
|
<form action="{{ getLink('guilds') }}?guild={{ guild.getName() }}&action=manager" method="post">
|
||||||
{{ csrf() }}
|
{{ csrf() }}
|
||||||
{{ include('buttons.back.html.twig') }}
|
{{ include('buttons.back.html.twig') }}
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function() {
|
$(function() {
|
||||||
$('#upload_form').submit(function (event) {
|
$('#upload_form').submit(function (event) {
|
||||||
|
|||||||
@@ -1,11 +1,22 @@
|
|||||||
<div style="text-align:center"><h2>Change guild MOTD</h2></div>
|
{% set title = 'Change guild MOTD' %}
|
||||||
Here you can change MOTD (Message of the Day, showed in game!) of your guild.<br/>
|
{% set background = config('darkborder') %}
|
||||||
<form enctype="multipart/form-data" action="{{ getLink('guilds') }}?guild={{ guild.getName() }}&action=change_motd" method="post">
|
{% set content %}
|
||||||
|
<table style="width:100%;" >
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
Here you can change MOTD (Message of the Day, showed in game!) of your guild.<br/>
|
||||||
|
<form enctype="multipart/form-data" action="{{ getLink('guilds') }}?guild={{ guild.getName() }}&action=change_motd" method="post">
|
||||||
{{ csrf() }}
|
{{ csrf() }}
|
||||||
<input type="hidden" name="todo" value="save"/>
|
<input type="hidden" name="todo" value="save"/>
|
||||||
<textarea name="motd" cols="60" rows="3">{{ guild.getCustomField('motd')|raw }}</textarea><br/>
|
<textarea name="motd" cols="60" rows="3">{{ guild.getCustomField('motd')|raw }}</textarea><br/>
|
||||||
(max. {{ setting('core.guild_motd_chars_limit') }} chars) <input type="submit" value="Save MOTD" /></form><br/>
|
(max. {{ setting('core.guild_motd_chars_limit') }} chars) <input type="submit" value="Save MOTD" />
|
||||||
<br/>
|
</form>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
{% endset %}
|
||||||
|
{% include 'tables.headline.html.twig' %}
|
||||||
|
|
||||||
<div style="text-align:center">
|
<div style="text-align:center">
|
||||||
<form action="{{ getLink('guilds') }}?guild={{ guild.getName() }}&action=manager" method="post">
|
<form action="{{ getLink('guilds') }}?guild={{ guild.getName() }}&action=manager" method="post">
|
||||||
{{ csrf() }}
|
{{ csrf() }}
|
||||||
|
|||||||
@@ -1,22 +1,7 @@
|
|||||||
<div class="TableContainer">
|
{% set title = 'Delete Guild' %}
|
||||||
<table class="Table1" cellpadding="0" cellspacing="0">
|
{% set background = config('darkborder') %}
|
||||||
<div class="CaptionContainer" >
|
{% set content %}
|
||||||
<div class="CaptionInnerContainer" >
|
<table style="width:100%;" >
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<div class="Text" >Delete Guild</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<div class="InnerTableContainer">
|
|
||||||
<table style="width:100%;" >
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>Are you sure you want delete guild <b>{{ guild.getName() }}</b>?<br/>
|
<td>Are you sure you want delete guild <b>{{ guild.getName() }}</b>?<br/>
|
||||||
<form action="{{ getLink('guilds') }}?guild={{ guild.getName() }}&action=delete_guild" method="post">
|
<form action="{{ getLink('guilds') }}?guild={{ guild.getName() }}&action=delete_guild" method="post">
|
||||||
@@ -26,12 +11,9 @@
|
|||||||
</form>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
{% endset %}
|
||||||
</td>
|
{% include 'tables.headline.html.twig' %}
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<br/>
|
<br/>
|
||||||
<div style="text-align:center">
|
<div style="text-align:center">
|
||||||
<form action="{{ getLink('guilds') }}?guild={{ guild.getName() }}&action=manager" method="post">
|
<form action="{{ getLink('guilds') }}?guild={{ guild.getName() }}&action=manager" method="post">
|
||||||
|
|||||||
@@ -1,24 +1,6 @@
|
|||||||
<div class="TableContainer">
|
{% set title = 'Active Guilds on ' ~ config.lua.serverName %}
|
||||||
<div class="CaptionContainer">
|
{% set content %}
|
||||||
<div class="CaptionInnerContainer">
|
<table style="width:100%;">
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<div class="Text">Active Guilds on {{ config.lua.serverName }}</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<table class="Table3">
|
|
||||||
<tbody>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<div class="InnerTableContainer">
|
|
||||||
<table style="width:100%;">
|
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@@ -106,13 +88,9 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
{% endset %}
|
||||||
</td>
|
{% include 'tables.headline.html.twig' %}
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<table border="0" cellspacing="1" cellpadding="4" width="100%">
|
<table border="0" cellspacing="1" cellpadding="4" width="100%">
|
||||||
|
|||||||
@@ -54,24 +54,9 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<br/>
|
<br/>
|
||||||
<div class="TableContainer">
|
{% set title = 'Add new rank' %}
|
||||||
<table class="Table1" cellpadding="0" cellspacing="0">
|
{% set content %}
|
||||||
<div class="CaptionContainer">
|
<table style="width:100%;">
|
||||||
<div class="CaptionInnerContainer">
|
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);" ></span> <span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<div class="Text" >Add new rank</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);" ></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<div class="InnerTableContainer">
|
|
||||||
<table style="width:100%;">
|
|
||||||
<tr>
|
<tr>
|
||||||
<td width="120" valign="top">New rank name:</td>
|
<td width="120" valign="top">New rank name:</td>
|
||||||
<td>
|
<td>
|
||||||
@@ -82,13 +67,12 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth
|
|||||||
</form>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
{% endset %}
|
||||||
</td>
|
{% include 'tables.headline.html.twig' %}
|
||||||
</tr>
|
|
||||||
</table>
|
{% set title = 'Change rank names and levels' %}
|
||||||
</div>
|
{% set content %}
|
||||||
<div style="text-align:center"><h3>Change rank names and levels</h3></div>
|
|
||||||
<form action="{{ getLink('guilds') }}?action=save_ranks&guild={{ guild.getName() }}" method="post">
|
<form action="{{ getLink('guilds') }}?action=save_ranks&guild={{ guild.getName() }}" method="post">
|
||||||
{{ csrf() }}
|
{{ csrf() }}
|
||||||
<table style="clear:both" border="0" cellpadding="0" cellspacing="0" width="100%">
|
<table style="clear:both" border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||||
@@ -146,6 +130,7 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<h3>Ranks info:</h3>
|
<h3>Ranks info:</h3>
|
||||||
<b>0. Owner of guild</b> - it's highest rank, only one player in guild may has this rank. Player with this rank can:
|
<b>0. Owner of guild</b> - it's highest rank, only one player in guild may has this rank. Player with this rank can:
|
||||||
<li>Invite/Cancel Invitation/Kick Player from guild</li>
|
<li>Invite/Cancel Invitation/Kick Player from guild</li>
|
||||||
@@ -155,15 +140,19 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth
|
|||||||
<li>Change {% if constant('MOTD_EXISTS') %}MOTD, {% endif %}logo and description of guild</li>
|
<li>Change {% if constant('MOTD_EXISTS') %}MOTD, {% endif %}logo and description of guild</li>
|
||||||
<hr/>
|
<hr/>
|
||||||
<b>1. Leader</b> - it's second rank in guild. Player with this rank can:
|
<b>1. Leader</b> - it's second rank in guild. Player with this rank can:
|
||||||
<li>Invite/Cancel Invitation/Kick Player from guild (only with lower rank than his)
|
<li>Invite/Cancel Invitation/Kick Player from guild (only with lower rank than his)</li>
|
||||||
<li>Change ranks of players with lower rank level ("vice leader", "member") in guild<hr>
|
<li>Change ranks of players with lower rank level ("vice leader", "member") in guild</li>
|
||||||
|
<hr>
|
||||||
<b>2. Vice Leader</b> - it's third rank in guild. Player with this rank can:
|
<b>2. Vice Leader</b> - it's third rank in guild. Player with this rank can:
|
||||||
<li>Invite/Cancel Invitation
|
<li>Invite/Cancel Invitation</li>
|
||||||
<li>Change ranks of players with lower rank level ("member") in guild<hr>
|
<li>Change ranks of players with lower rank level ("member") in guild</li>
|
||||||
|
<hr>
|
||||||
<b>3. Member</b> - it's lowest rank in guild. Player with this rank can:
|
<b>3. Member</b> - it's lowest rank in guild. Player with this rank can:
|
||||||
<li>Be a member of guild
|
<li>Be a member of guild</li>
|
||||||
<br/>
|
<br/>
|
||||||
<div style="text-align:center">
|
{% endset %}
|
||||||
|
{% include 'tables.headline.html.twig' %}
|
||||||
|
<div style="text-align:center">
|
||||||
<form action="{{ getLink('guilds') }}?action=show&guild={{ guild.getName() }}" method="post">
|
<form action="{{ getLink('guilds') }}?action=show&guild={{ guild.getName() }}" method="post">
|
||||||
{{ csrf() }}
|
{{ csrf() }}
|
||||||
{{ include('buttons.back.html.twig') }}
|
{{ include('buttons.back.html.twig') }}
|
||||||
|
|||||||
@@ -1,24 +1,9 @@
|
|||||||
<div class="TableContainer">
|
{% set title = 'Pass leadership' %}
|
||||||
<table class="Table1" cellpadding="0" cellspacing="0">
|
{% set background = config('darkborder') %}
|
||||||
<div class="CaptionContainer">
|
{% set content %}
|
||||||
<div class="CaptionInnerContainer">
|
<table style="width:100%;">
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<div class="Text" >Pass leadership</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td><strong>Pass leadership to: </strong><br>
|
||||||
<div class="InnerTableContainer" >
|
|
||||||
<table style="width:100%;">
|
|
||||||
<tr>
|
|
||||||
<td>Pass leadership to: </b><br>
|
|
||||||
<form action="{{ getLink('guilds') }}?guild={{ guild.getName() }}&action=pass_leadership" method="post">
|
<form action="{{ getLink('guilds') }}?guild={{ guild.getName() }}&action=pass_leadership" method="post">
|
||||||
{{ csrf() }}
|
{{ csrf() }}
|
||||||
<input type="hidden" name="todo" value="save"/>
|
<input type="hidden" name="todo" value="save"/>
|
||||||
@@ -27,12 +12,9 @@
|
|||||||
</form>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
{% endset %}
|
||||||
</td>
|
{% include 'tables.headline.html.twig' %}
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<br/>
|
<br/>
|
||||||
<div style="text-align:center">
|
<div style="text-align:center">
|
||||||
<form action="{{ getLink('guilds') }}?guild={{ guild.getName() }}&action=manager" method="post">
|
<form action="{{ getLink('guilds') }}?guild={{ guild.getName() }}&action=manager" method="post">
|
||||||
|
|||||||
@@ -21,32 +21,9 @@
|
|||||||
|
|
||||||
{{ hook('HOOK_GUILDS_AFTER_GUILD_HEADER') }}
|
{{ hook('HOOK_GUILDS_AFTER_GUILD_HEADER') }}
|
||||||
|
|
||||||
<table width="100%">
|
{% set title = 'Guild Information' %}
|
||||||
<tbody>
|
{% set background = config('darkborder') %}
|
||||||
<tr>
|
{% set content %}
|
||||||
<td style="vertical-align:top;">
|
|
||||||
<div class="TableContainer">
|
|
||||||
<div class="TableContainer">
|
|
||||||
<div class="CaptionContainer">
|
|
||||||
<div class="CaptionInnerContainer">
|
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<div class="Text">Guild Information</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<table class="Table1" cellpadding="0" cellspacing="0">
|
|
||||||
<tbody>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<div class="InnerTableContainer">
|
|
||||||
<table style="width:100%;">
|
<table style="width:100%;">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -68,7 +45,8 @@
|
|||||||
The guild was founded on {{ config.lua.serverName }} on {{ guild_creation_date|date("j F Y") }}.
|
The guild was founded on {{ config.lua.serverName }} on {{ guild_creation_date|date("j F Y") }}.
|
||||||
{% if isLeader %}
|
{% if isLeader %}
|
||||||
<a href="{{ getLink('guilds') }}?action=manager&guild={{ guild_name }}" style="float: right;">
|
<a href="{{ getLink('guilds') }}?action=manager&guild={{ guild_name }}" style="float: right;">
|
||||||
<img src="{{ template_path }}/images/global/buttons/sbutton_manageguild.png" style="width: 120px; height: 20px;" alt="Manage Guild">
|
{% set button_name = 'Manage Guild' %}
|
||||||
|
{% include('buttons.base.html.twig') %}
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
@@ -76,42 +54,14 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
{% endset %}
|
||||||
</td>
|
{% include 'tables.headline.html.twig' %}
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
{{ hook('HOOK_GUILDS_AFTER_GUILD_INFORMATION') }}
|
{{ hook('HOOK_GUILDS_AFTER_GUILD_INFORMATION') }}
|
||||||
|
|
||||||
<div class="TableContainer">
|
{% set title = 'Guild Members' %}
|
||||||
<div class="TableContainer">
|
{% set content %}
|
||||||
<div class="CaptionContainer">
|
|
||||||
<div class="CaptionInnerContainer">
|
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<div class="Text">Guild Members</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<table class="Table3" cellpadding="0" cellspacing="0">
|
|
||||||
<tbody>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<div class="InnerTableContainer">
|
|
||||||
<table style="width:100%;">
|
<table style="width:100%;">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -193,36 +143,13 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
{% endset %}
|
||||||
</td>
|
{% include 'tables.headline.html.twig' %}
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
{{ hook('HOOK_GUILDS_AFTER_GUILD_MEMBERS') }}
|
{{ hook('HOOK_GUILDS_AFTER_GUILD_MEMBERS') }}
|
||||||
|
{% set title = 'Invited Characters' %}
|
||||||
<div class="TableContainer">
|
{% set content %}
|
||||||
<div class="CaptionContainer">
|
|
||||||
<div class="CaptionInnerContainer">
|
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<div class="Text">Invited Characters</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<table class="Table3" cellpadding="0" cellspacing="0">
|
|
||||||
<tbody>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<div class="InnerTableContainer">
|
|
||||||
<table style="width:100%;">
|
<table style="width:100%;">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -265,12 +192,8 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
{% endset %}
|
||||||
</td>
|
{% include 'tables.headline.html.twig' %}
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
{{ hook('HOOK_GUILDS_AFTER_INVITED_CHARACTERS', { 'guild': guild, 'isLeader': isLeader }) }}
|
{{ hook('HOOK_GUILDS_AFTER_INVITED_CHARACTERS', { 'guild': guild, 'isLeader': isLeader }) }}
|
||||||
|
|||||||
@@ -1,38 +1,21 @@
|
|||||||
<div class="TableContainer">
|
{% set title = 'House Search' %}
|
||||||
{% if errors is not empty %}
|
{% set content %}
|
||||||
|
{% if errors is not empty %}
|
||||||
{% for error in errors %}
|
{% for error in errors %}
|
||||||
<p class="error">{{ error }}</p>
|
<p class="error">{{ error }}</p>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<table class="Table1" cellpadding="0" cellspacing="0" style="background-color: {{ config.lightborder }}">
|
Here you can see the list of all available houses, flats{{ guildString }}.
|
||||||
<div class="CaptionContainer">
|
Click on any view button to get more information about a house or adjust
|
||||||
<div class="CaptionInnerContainer">
|
the search criteria and start a new search.
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
<br><br>
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
{% if cleanOldHouse is not empty or rentType != 'never' %}
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<div class="Text" >House Search</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<div class="InnerTableContainer">
|
|
||||||
Here you can see the list of all available houses, flats{{ guildString }}.
|
|
||||||
Click on any view button to get more information about a house or adjust
|
|
||||||
the search criteria and start a new search.
|
|
||||||
<br><br>
|
|
||||||
{% if cleanOldHouse is not empty or rentType != 'never' %}
|
|
||||||
Every morning during global server save there is automatic house cleaning. Server delete house owners who have not logged in last {{ cleanOldHouse }} days{% if rentType != 'never' %} or have not paid {{ rentType }} house rent. Remember to leave money for a rent in {% if config.lua.bankSystem is not empty %}your house bank or {% else %}depo in same city where you have house!{% endif %}{% else %}.{% endif %}
|
Every morning during global server save there is automatic house cleaning. Server delete house owners who have not logged in last {{ cleanOldHouse }} days{% if rentType != 'never' %} or have not paid {{ rentType }} house rent. Remember to leave money for a rent in {% if config.lua.bankSystem is not empty %}your house bank or {% else %}depo in same city where you have house!{% endif %}{% else %}.{% endif %}
|
||||||
<br><br>
|
<br><br>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if houses is not empty or housesSearch %}
|
{% if houses is not empty or housesSearch %}
|
||||||
<table border="0" cellspacing="1" cellpadding="4" width="100%">
|
<table border="0" cellspacing="1" cellpadding="4" width="100%">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr bgcolor="{{ config.vdarkborder }}">
|
<tr bgcolor="{{ config.vdarkborder }}">
|
||||||
<td colspan="6" class="white"><b>Available {{ houseType }}{% if townName is not empty %} in {{ townName }}{% endif %} on <b>{{ config.lua.serverName }}</b></b></td>
|
<td colspan="6" class="white"><b>Available {{ houseType }}{% if townName is not empty %} in {{ townName }}{% endif %} on <b>{{ config.lua.serverName }}</b></b></td>
|
||||||
@@ -82,11 +65,11 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<br>
|
<br>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<form action="{{ getLink('houses') }}" method="post">
|
<form action="{{ getLink('houses') }}" method="post">
|
||||||
<table border="0" cellspacing="1" cellpadding="4" width="100%">
|
<table border="0" cellspacing="1" cellpadding="4" width="100%">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr bgcolor="{{ config.vdarkborder }}">
|
<tr bgcolor="{{ config.vdarkborder }}">
|
||||||
@@ -162,10 +145,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
{% endif %}
|
||||||
</td>
|
{% endset %}
|
||||||
</tr>
|
{% include 'tables.headline.html.twig' %}
|
||||||
</table>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|||||||
@@ -1,28 +1,12 @@
|
|||||||
<div class="TableContainer">
|
{% set title = houseName %}
|
||||||
{% if errors is not empty %}
|
{% set content %}
|
||||||
|
|
||||||
|
{% if errors is not empty %}
|
||||||
{% for error in errors %}
|
{% for error in errors %}
|
||||||
<p class="error">{{ error }}</p>
|
<p class="error">{{ error }}</p>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<table class="Table1" cellpadding="0" cellspacing="0" style="background-color: {{ config.lightborder }}">
|
<table border="0" cellpadding="4" cellspacing="1" width="100%">
|
||||||
<div class="CaptionContainer">
|
|
||||||
<div class="CaptionInnerContainer">
|
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<div class="Text" >{{ houseName }}</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<div class="InnerTableContainer">
|
|
||||||
<table border="0" cellpadding="4" cellspacing="1" width="100%">
|
|
||||||
<tr style="display: inline-flex;">
|
<tr style="display: inline-flex;">
|
||||||
<td><img src="{{ imgPath }}"></td>
|
<td><img src="{{ imgPath }}"></td>
|
||||||
<td>
|
<td>
|
||||||
@@ -40,12 +24,9 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
{% endif %}
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
</div>
|
{% endset %}
|
||||||
|
{% include 'tables.headline.html.twig' %}
|
||||||
<br><br>
|
<br><br>
|
||||||
|
|||||||
@@ -1,22 +1,6 @@
|
|||||||
<div class="TableContainer" >
|
{% set title = 'Last Kills' %}
|
||||||
<table class="Table3">
|
{% set content %}
|
||||||
<div class="CaptionContainer" >
|
<table style="width:100%;">
|
||||||
<div class="CaptionInnerContainer" >
|
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);" ></span>
|
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);" ></span>
|
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);" ></span>
|
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);" ></span>
|
|
||||||
<div class="Text" >Last Kills</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);" ></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);" ></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);" ></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);" ></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<div class="InnerTableContainer" >
|
|
||||||
<table style="width:100%;">
|
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@@ -64,9 +48,6 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
{% endset %}
|
||||||
</td>
|
{% include 'tables.headline.html.twig' %}
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
|
|||||||
@@ -1,24 +1,14 @@
|
|||||||
<div class="TableContainer">
|
<table border="0" cellspacing="1" cellpadding="4" width="100%">
|
||||||
<div class="CaptionContainer">
|
<thead>
|
||||||
<div class="CaptionInnerContainer">
|
<tr bgcolor="{{ config.vdarkborder }}">
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
<td colspan="3" class="white"><b>{{ title|raw }}</b></td>
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
</tr>
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
</thead>
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
<tbody>
|
||||||
<div class="Text" >{{ title|raw }}</div>
|
<tr style="background-color: {% if background is not null %}{{ background }}{% else %}{{ config.lightborder }}{% endif %}">
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<table class="Table5" cellpadding="0" cellspacing="0" style="background-color: {{ config.lightborder }}">
|
|
||||||
<tr>
|
|
||||||
<td>
|
<td>
|
||||||
<div class="InnerTableContainer">
|
|
||||||
{{ content|raw }}
|
{{ content|raw }}
|
||||||
</div>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</tbody>
|
||||||
</div>
|
</table>
|
||||||
|
|||||||
@@ -1,24 +1,8 @@
|
|||||||
<div class="TableContainer">
|
{% set title = 'Support in game' %}
|
||||||
<div class="CaptionContainer">
|
{% set content %}
|
||||||
<div class="CaptionInnerContainer">
|
{% set i = 0 %}
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<div class="Text" >Support in game</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<table class="Table1" cellpadding="0" cellspacing="0" style="background-color: {{ config.darkborder }}">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<div class="InnerTableContainer">
|
|
||||||
{% set i = 0 %}
|
|
||||||
{% if setting('core.team_style') == 1 %}
|
|
||||||
|
|
||||||
|
{% if setting('core.team_style') == 1 %}
|
||||||
<table border="0" cellpadding="4" cellspacing="1" width="100%">
|
<table border="0" cellpadding="4" cellspacing="1" width="100%">
|
||||||
<tr bgcolor="{{ config.vdarkborder }}">
|
<tr bgcolor="{{ config.vdarkborder }}">
|
||||||
<td width="10%" class="white">
|
<td width="10%" class="white">
|
||||||
@@ -100,7 +84,9 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
{% elseif setting('core.team_style') == 2 %}
|
{% elseif setting('core.team_style') == 2 %}
|
||||||
|
|
||||||
{% for group in groupmember|reverse %}
|
{% for group in groupmember|reverse %}
|
||||||
{% if group.members is not empty %}
|
{% if group.members is not empty %}
|
||||||
<div style="text-align:center"><h2>{{ group.group_name|capitalize }}</h2></div>
|
<div style="text-align:center"><h2>{{ group.group_name|capitalize }}</h2></div>
|
||||||
@@ -178,9 +164,7 @@
|
|||||||
</table>
|
</table>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
|
||||||
</td>
|
{% endset %}
|
||||||
</tr>
|
{% include 'tables.headline.html.twig' %}
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
|
|||||||
@@ -119,25 +119,10 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="TableContainer">
|
{% set title = 'General Information' %}
|
||||||
<table class="Table3" cellpadding="0" cellspacing="0">
|
{% set tableClass = 'Table3' %}
|
||||||
<div class="CaptionContainer">
|
{% set content %}
|
||||||
<div class="CaptionInnerContainer">
|
<table style="width:100%;" >
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<div class="Text" >General Information</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<div class="InnerTableContainer">
|
|
||||||
<table style="width:100%;" >
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<div class="TableShadowContainerRightTop">
|
<div class="TableShadowContainerRightTop">
|
||||||
@@ -165,7 +150,7 @@
|
|||||||
<td>{{ "now"|date("j F Y, G:i:s") }}</td>
|
<td>{{ "now"|date("j F Y, G:i:s") }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% autoescape false %}
|
{% autoescape false %}
|
||||||
<tr style="background-color: {{ config.lightborder }};" >
|
<tr style="background-color: {{ config.lightborder }};">
|
||||||
<td class="LabelV" >Account Status:</td>
|
<td class="LabelV" >Account Status:</td>
|
||||||
<td>{{ account_status }}</td>
|
<td>{{ account_status }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -180,7 +165,8 @@
|
|||||||
<div class="TableShadowContainer">
|
<div class="TableShadowContainer">
|
||||||
<div class="TableBottomShadow" style="background-image:url({{ template_path }}/images/content/table-shadow-bm.gif);" >
|
<div class="TableBottomShadow" style="background-image:url({{ template_path }}/images/content/table-shadow-bm.gif);" >
|
||||||
<div class="TableBottomLeftShadow" style="background-image:url({{ template_path }}/images/content/table-shadow-bl.gif);"></div>
|
<div class="TableBottomLeftShadow" style="background-image:url({{ template_path }}/images/content/table-shadow-bl.gif);"></div>
|
||||||
<div class="TableBottomRightShadow" style="background-image:url({{ template_path }}/images/content/table-shadow-br.gif);"></div> </div>
|
<div class="TableBottomRightShadow" style="background-image:url({{ template_path }}/images/content/table-shadow-br.gif);"></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -231,12 +217,9 @@
|
|||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
{% endset %}
|
||||||
</td>
|
{% include 'tables.headline.html.twig' %}
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<br/>
|
<br/>
|
||||||
<a name="Public+Information"></a>
|
<a name="Public+Information"></a>
|
||||||
<div class="TopButtonContainer">
|
<div class="TopButtonContainer">
|
||||||
@@ -246,25 +229,10 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="TableContainer">
|
{% set title = 'Public Information' %}
|
||||||
<table class="Table5" cellpadding="0" cellspacing="0">
|
{% set tableClass = 'Table5' %}
|
||||||
<div class="CaptionContainer">
|
{% set content %}
|
||||||
<div class="CaptionInnerContainer">
|
<table style="width:100%;">
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<div class="Text" >Public Information</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<div class="InnerTableContainer">
|
|
||||||
<table style="width:100%;">
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<div class="TableShadowContainerRightTop">
|
<div class="TableShadowContainerRightTop">
|
||||||
@@ -308,12 +276,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
{% endset %}
|
||||||
</td>
|
{% include 'tables.headline.html.twig' %}
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<br/>
|
<br/>
|
||||||
<a name="Account+Logs" ></a>
|
<a name="Account+Logs" ></a>
|
||||||
<div class="TopButtonContainer">
|
<div class="TopButtonContainer">
|
||||||
@@ -323,25 +288,10 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="TableContainer">
|
{% set title = 'Account logs' %}
|
||||||
<table class="Table5" cellpadding="0" cellspacing="0">
|
{% set tableClass = 'Table3' %}
|
||||||
<div class="CaptionContainer">
|
{% set content %}
|
||||||
<div class="CaptionInnerContainer">
|
<table style="width:100%;">
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<div class="Text" >Account logs</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<div class="InnerTableContainer">
|
|
||||||
<table style="width:100%;">
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<div class="TableShadowContainerRightTop">
|
<div class="TableShadowContainerRightTop">
|
||||||
@@ -379,12 +329,9 @@
|
|||||||
<td align=right>
|
<td align=right>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
{% endset %}
|
||||||
</td>
|
{% include 'tables.headline.html.twig' %}
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<br/>
|
<br/>
|
||||||
<a name="Characters" ></a>
|
<a name="Characters" ></a>
|
||||||
<div class="TopButtonContainer">
|
<div class="TopButtonContainer">
|
||||||
@@ -394,25 +341,9 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="TableContainer">
|
{% set title = 'Characters' %}
|
||||||
<table class="Table5" cellpadding="0" cellspacing="0">
|
{% set content %}
|
||||||
<div class="CaptionContainer" >
|
<table style="width:100%;">
|
||||||
<div class="CaptionInnerContainer">
|
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<div class="Text">Characters</div>
|
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<div class="InnerTableContainer">
|
|
||||||
<table style="width:100%;">
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<div class="TableShadowContainerRightTop">
|
<div class="TableShadowContainerRightTop">
|
||||||
@@ -449,9 +380,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="TableShadowContainer">
|
<div class="TableShadowContainer">
|
||||||
<div class="TableBottomShadow" style="background-image:url('.$template_path.'/images/content/table-shadow-bm.gif);" >
|
<div class="TableBottomShadow" style="background-image:url({{ template_path }}/images/content/table-shadow-bm.gif);" >
|
||||||
<div class="TableBottomLeftShadow" style="background-image:url({{ template_path }}/images/content/table-shadow-bl.gif);"></div>
|
<div class="TableBottomLeftShadow" style="background-image:url({{ template_path }}/images/content/table-shadow-bl.gif);"></div>
|
||||||
<div class="TableBottomRightShadow" style="background-image:url({{ template_path }}/images/content/table-shadow-br.gif);"></div> </div>
|
<div class="TableBottomRightShadow" style="background-image:url({{ template_path }}/images/content/table-shadow-br.gif);"></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -461,61 +393,58 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<table border="0" cellspacing="0" cellpadding="0" >
|
<table border="0" cellspacing="0" cellpadding="0" >
|
||||||
<form action="{{ getLink('account/character/create') }}" method="post" >
|
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border:0px;" >
|
<td style="border:0px;">
|
||||||
|
<form action="{{ getLink('account/character/create') }}" method="post" >
|
||||||
{{ include('buttons.create_character.html.twig') }}
|
{{ include('buttons.create_character.html.twig') }}
|
||||||
|
</form>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</form>
|
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
{% if setting('core.account_change_character_name') %}
|
{% if setting('core.account_change_character_name') %}
|
||||||
<td>
|
<td>
|
||||||
<table border="0" cellspacing="0" cellpadding="0" >
|
<table border="0" cellspacing="0" cellpadding="0" >
|
||||||
<form action="{{ getLink('account/character/name') }}" method="post" >
|
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border:0px;" >
|
<td style="border:0px;">
|
||||||
|
<form action="{{ getLink('account/character/name') }}" method="post" >
|
||||||
{{ include('buttons.change_name.html.twig') }}
|
{{ include('buttons.change_name.html.twig') }}
|
||||||
|
</form>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</form>
|
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if setting('core.account_change_character_sex') %}
|
{% if setting('core.account_change_character_sex') %}
|
||||||
<td>
|
<td>
|
||||||
<table border="0" cellspacing="0" cellpadding="0" >
|
<table border="0" cellspacing="0" cellpadding="0" >
|
||||||
<form action="{{ getLink('account/character/sex') }}" method="post" >
|
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border:0px;" >
|
<td style="border:0px;">
|
||||||
|
<form action="{{ getLink('account/character/sex') }}" method="post">
|
||||||
{{ include('buttons.change_sex.html.twig') }}
|
{{ include('buttons.change_sex.html.twig') }}
|
||||||
|
</form>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</form>
|
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<td style="width:100%;" ></td>
|
<td style="width:100%;" ></td>
|
||||||
<td>
|
<td>
|
||||||
<table border="0" cellspacing="0" cellpadding="0">
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
<form action="{{ getLink('account/character/delete') }}" method="post">
|
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border:0px;">
|
<td style="border: 0px;">
|
||||||
|
<form action="{{ getLink('account/character/delete') }}" method="post">
|
||||||
{{ include('buttons.delete_character.html.twig') }}
|
{{ include('buttons.delete_character.html.twig') }}
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</form>
|
</form>
|
||||||
</table>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
{% endset %}
|
||||||
|
{% include 'tables.headline.html.twig' %}
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
|
|||||||
24
templates/tibiacom/tables.headline.html.twig
Normal file
24
templates/tibiacom/tables.headline.html.twig
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
<div class="TableContainer">
|
||||||
|
<div class="CaptionContainer">
|
||||||
|
<div class="CaptionInnerContainer">
|
||||||
|
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
||||||
|
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
||||||
|
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
||||||
|
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
||||||
|
<div class="Text" >{{ title|raw }}</div>
|
||||||
|
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
||||||
|
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
||||||
|
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
||||||
|
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<table class="{% if tableClass is not null %}{{ tableClass }}{% else %}Table3{% endif %}" cellpadding="0" cellspacing="0" style="background-color: {% if background is not null %}{{ background }}{% else %}{{ config.lightborder }}{% endif %}">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<div class="InnerTableContainer">
|
||||||
|
{{ content|raw }}
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
@@ -67,6 +67,9 @@ if(isset($_GET['title'], $_GET['body'], $_GET['player_id'], $_GET['category'], $
|
|||||||
);
|
);
|
||||||
|
|
||||||
foreach($tickers as &$ticker) {
|
foreach($tickers as &$ticker) {
|
||||||
|
/**
|
||||||
|
* @var array $ticker
|
||||||
|
*/
|
||||||
$ticker['icon'] = $categories[$ticker['category']]['icon_id'];
|
$ticker['icon'] = $categories[$ticker['category']]['icon_id'];
|
||||||
$ticker['body_short'] = short_text(strip_tags($ticker['body']), 100);
|
$ticker['body_short'] = short_text(strip_tags($ticker['body']), 100);
|
||||||
$ticker['hidden'] = $ticker['hide'];
|
$ticker['hidden'] = $ticker['hide'];
|
||||||
|
|||||||
Reference in New Issue
Block a user