Ошибка ServerName
Ошибка : AH00558 : apache2 : Could not reliably determine the server 's fully qualified domain name...
<?php /** * @file * File description */ ?>
{# /** * @file * File description */ #}
<div class="content"><?php print $content; ?></div>
<div class="content">{{ content }}</div>
<?php print $item['#item']['alt']; ?>
{{ item['#item'].alt }}
<?php $custom_var = $content->comments; ?>
{% set custom_var = content.comments %}
<?php $args = array('!author' => $author, '!date' => $created); ?>
{% set args = {'!author': author, '!date': created} %}
<?php if ($content->comments): endif; ?>
{% if content.comments %} {% endif %}
<?php if (!empty($content->comments)): endif; ?>
{% if content.comments is not empty %} {% endif %}
<?php if (isset($content->comments)): endif; ?>
{% if content.comments is defined %} {% endif %}
<?php if ($count > 0): endif; ?>
{% if count > 0 %} {% endif %}
<?php foreach ($users as $user) {} ?>
{% for user in users %} {% endfor %}
<?php print check_plain($title); ?>
{{ title|striptags }}
<?php print t('Home'); ?>
{{ 'Home'|t }}
{% trans %} Submitted by {{ author.name }} on {{ node.date }} {% endtrans %} {# Ниже пример с опциями #} {% trans with {'context': 'My translate', 'langcode': 'fr'} %} Home {% endtrans %}
<?php print t('Welcome, @username', array('@username' => $user->name)); ?>
{{ 'Welcome, @username'|t({ '@username': user.name }) }}
<?php echo implode(', ', $usernames); ?>
{{ usernames | join(', ') }}
<?php echo check_plain($title); ?>
{{ title|e }}
{{ title }}
<?php print render($title_prefix); ?> <?php if (!$page): ?> <h2<?php print $title_attributes; ?>> <a href="/<?php print $node_url; ?>"><?php print $title; ?></a> </h2> <?php endif; ?> <?php print render($title_suffix); ?>
{{ title_prefix }} {% if not page %} <h2{{ title_attributes }}> <a href="/{{ node_url }}">{{ label }}</a> </h2> {% endif %} {{ title_suffix }}