This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "::base.html.twig" %} | |
{% block title %} | |
Les news | |
{% endblock %} | |
{% block body %} | |
{% for news in news_list %} | |
{% embed "::content.html.twig" %} | |
{% block content_title news.title %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "::base.html.twig" %} | |
{% block title %} | |
{{ 'pages.admin_index.title'|trans }} | |
{% endblock %} | |
{% block content %} | |
<table> | |
<thead> | |
<tr> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="content"> | |
<div class="title"> | |
{% block content_title %} | |
{% endblock %} | |
</div> | |
<div class="body"> | |
{% block content_body %} | |
{% endblock %} | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>{{ server_name }} | {% block title %}{% endblock %}</title> | |
<link rel="shortcut icon" href="{{ asset('favicon.ico') }}" /> | |
<link type="text/css" href="{{ asset('css/ui-lightness/jquery-ui-1.8.21.custom.css') }}" rel="stylesheet" /> | |
{% block stylesheets %}{% endblock %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.shivas.server.core.commands.Command | |
import org.shivas.server.core.commands.types.PlayerType | |
import org.shivas.common.params.Conditions | |
import org.shivas.common.params.Types | |
class GiveKamasCommand < Command | |
def name | |
"give_kamas" | |
end | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.shivas.data.entity.ItemTemplate | |
import org.shivas.data.entity.ItemAction | |
import org.shivas.server.database.model.Player | |
import org.shivas.protocol.formatters.ItemGameMessageFormatter | |
class GiveItemAction < ItemAction | |
TYPE = 4 | |
def self.make(parameters, datas) | |
raw = parameters.get("item") |
NewerOlder