Commit 775a2a91 by 牛晓林

mrege

parent 6bb28e48
<?php
/* @users/partials/users-send-message-modal.twig */
class __TwigTemplate_48b99120d1e68130b40ae72b702631e9b2709dfcb905a097f6f6a029d6bd899b extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
echo "<div class=\"ui small modal\" id=\"send-message-modal\">
<i class=\"close icon\"></i>
<div class=\"header\">
";
// line 4
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Send message to")), "html", null, true);
echo " <span class=\"recipient-name\"></span>
</div>
<div class=\"content\">
<div class=\"ui form\">
<div class=\"field\">
<label>";
// line 9
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Message")), "html", null, true);
echo "</label>
<textarea rows=\"5\"></textarea>
</div>
</div>
\t\t";
// line 13
if ((($context["useAttachment"] ?? null) == 1)) {
// line 14
echo "\t\t\t<div class=\"mbs-all-attachment-list\"></div>
\t\t";
}
// line 16
echo "\t</div>
<div class=\"actions\">
\t\t";
// line 18
if ((($context["useAttachment"] ?? null) == 1)) {
// line 19
echo "\t\t\t<button class=\"mbs-add-attachment ui button mini\"><span class=\"mbs-invisible\">_</span><i class=\"icon attach\"></i></button>
\t\t";
}
// line 21
echo " <button class=\"ui button mini secondary cancel\">";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Cancel")), "html", null, true);
echo "</button>
<button class=\"ui positive mini primary button mbsAttMessSendBtn\">";
// line 22
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Send")), "html", null, true);
echo "</button>
</div>
</div>
";
// line 25
if ((($context["useAttachment"] ?? null) == 1)) {
// line 26
echo "\t";
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["environment"] ?? null), "dispatcher", array()), "dispatch", array(0 => "users.send.message.attachment.template"), "method"), "html", null, true);
echo "
";
}
}
public function getTemplateName()
{
return "@users/partials/users-send-message-modal.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 68 => 26, 66 => 25, 60 => 22, 55 => 21, 51 => 19, 49 => 18, 45 => 16, 41 => 14, 39 => 13, 32 => 9, 24 => 4, 19 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("<div class=\"ui small modal\" id=\"send-message-modal\">
<i class=\"close icon\"></i>
<div class=\"header\">
{{ translate('Send message to') }} <span class=\"recipient-name\"></span>
</div>
<div class=\"content\">
<div class=\"ui form\">
<div class=\"field\">
<label>{{ translate('Message') }}</label>
<textarea rows=\"5\"></textarea>
</div>
</div>
\t\t{% if useAttachment == 1 %}
\t\t\t<div class=\"mbs-all-attachment-list\"></div>
\t\t{% endif %}
\t</div>
<div class=\"actions\">
\t\t{% if useAttachment == 1 %}
\t\t\t<button class=\"mbs-add-attachment ui button mini\"><span class=\"mbs-invisible\">_</span><i class=\"icon attach\"></i></button>
\t\t{% endif %}
<button class=\"ui button mini secondary cancel\">{{ translate('Cancel') }}</button>
<button class=\"ui positive mini primary button mbsAttMessSendBtn\">{{ translate('Send') }}</button>
</div>
</div>
{% if useAttachment == 1 %}
\t{{ environment.dispatcher.dispatch('users.send.message.attachment.template') }}
{% endif %}", "@users/partials/users-send-message-modal.twig", "D:\\projects\\htdocs\\wordpress\\wp-content\\plugins\\membership-by-supsystic\\src\\Membership\\Users\\views\\partials\\users-send-message-modal.twig");
}
}
<?php
/* @users/partials/users-send-message-attachment-template.twig */
class __TwigTemplate_d98f46f84954420adb230b72ddece4ad22dd38ea37d53077aac93e62546306e4 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
echo "<script class=\"mbs-all-attachment-template\" type=\"text/html\">
\t<div class=\"mbs-one-any-attachment\" title=\"\">
\t\t<img class=\"ui image mbs-att-image\" src=\"";
// line 3
echo twig_escape_filter($this->env, ($context["attachmentIcon"] ?? null), "html", null, true);
echo "\">
\t\t<span class=\"mbs-image-caption\"></span>
\t\t<div class=\"mbs-attachment-image-overlay\"></div>
\t\t<div class=\"mbs-progress-bar\">
\t\t\t<div class=\"ui tiny indicating progress active\">
\t\t\t\t<div class=\"bar\" style=\"width: 1%; transition-duration: 300ms;\"></div>
\t\t\t</div>
\t\t</div>
\t\t<i class=\"close icon\"></i>
\t</div>
</script>";
}
public function getTemplateName()
{
return "@users/partials/users-send-message-attachment-template.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 23 => 3, 19 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("<script class=\"mbs-all-attachment-template\" type=\"text/html\">
\t<div class=\"mbs-one-any-attachment\" title=\"\">
\t\t<img class=\"ui image mbs-att-image\" src=\"{{ attachmentIcon }}\">
\t\t<span class=\"mbs-image-caption\"></span>
\t\t<div class=\"mbs-attachment-image-overlay\"></div>
\t\t<div class=\"mbs-progress-bar\">
\t\t\t<div class=\"ui tiny indicating progress active\">
\t\t\t\t<div class=\"bar\" style=\"width: 1%; transition-duration: 300ms;\"></div>
\t\t\t</div>
\t\t</div>
\t\t<i class=\"close icon\"></i>
\t</div>
</script>", "@users/partials/users-send-message-attachment-template.twig", "D:\\projects\\htdocs\\wordpress\\wp-content\\plugins\\membership-by-supsystic\\src\\Membership\\Users\\views\\partials\\users-send-message-attachment-template.twig");
}
}
<?php
/* @users/partials/users-report-modal.twig */
class __TwigTemplate_6cd6d0bf73e16bb2fd384d5c858abd4c8e141964c90120449aa11a68d8601576 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
echo "<div class=\"ui small modal\" id=\"report-user-modal\">
<i class=\"close icon\"></i>
<div class=\"header\">";
// line 3
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Report")), "html", null, true);
echo " <span class=\"recipient-name\"></span>
</div>
<div class=\"content\">
<div class=\"ui form\">
<div class=\"field\">
<label>";
// line 8
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Message")), "html", null, true);
echo "</label>
<textarea rows=\"5\"></textarea>
</div>
</div>
</div>
<div class=\"actions\">
<button class=\"ui button mini secondary cancel\">";
// line 14
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Cancel")), "html", null, true);
echo "</button>
<button class=\"ui positive mini primary button\">";
// line 15
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Send")), "html", null, true);
echo "</button>
</div>
</div>";
}
public function getTemplateName()
{
return "@users/partials/users-report-modal.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 44 => 15, 40 => 14, 31 => 8, 23 => 3, 19 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("<div class=\"ui small modal\" id=\"report-user-modal\">
<i class=\"close icon\"></i>
<div class=\"header\">{{ translate('Report') }} <span class=\"recipient-name\"></span>
</div>
<div class=\"content\">
<div class=\"ui form\">
<div class=\"field\">
<label>{{ translate('Message') }}</label>
<textarea rows=\"5\"></textarea>
</div>
</div>
</div>
<div class=\"actions\">
<button class=\"ui button mini secondary cancel\">{{ translate('Cancel') }}</button>
<button class=\"ui positive mini primary button\">{{ translate('Send') }}</button>
</div>
</div>", "@users/partials/users-report-modal.twig", "D:\\projects\\htdocs\\wordpress\\wp-content\\plugins\\membership-by-supsystic\\src\\Membership\\Users\\views\\partials\\users-report-modal.twig");
}
}
<?php
/* @users/posts.twig */
class __TwigTemplate_2c996870025e2ee93d8b962dd1d937190810f7a3965aaaed77de9ea4489b3ccb extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("@users/profile.twig", "@users/posts.twig", 1);
$this->blocks = array(
'content' => array($this, 'block_content'),
);
}
protected function doGetParent(array $context)
{
return "@users/profile.twig";
}
protected function doDisplay(array $context, array $blocks = array())
{
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_content($context, array $blocks = array())
{
// line 4
echo "\t<div id=\"mp-posts\" class=\"ui basic vertical segment\">
\t\t";
// line 5
if (((($this->env->getExtension('Membership_Users_Twig')->isCurrentUser(($context["requestedUser"] ?? null)) && (($context["createNewPostUrl"] ?? null) != null)) && ($context["canUserCreatePost"] ?? null)) && ($this->getAttribute($this->getAttribute(($context["requestedUser"] ?? null), "permissions", array(), "array"), "can-access-wp-admin", array(), "array") == "true"))) {
// line 6
echo "\t\t\t<a href=\"";
echo twig_escape_filter($this->env, ($context["createNewPostUrl"] ?? null), "html", null, true);
echo "\" class=\"ui primary button\">";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Add new post")), "html", null, true);
echo "</a>
\t\t";
}
// line 8
echo "\t\t";
if (($context["posts"] ?? null)) {
// line 9
echo "\t\t\t<div class=\"ui divided items\">
\t\t\t\t";
// line 10
$this->loadTemplate("@users/partials/posts.twig", "@users/posts.twig", 10)->display(array_merge($context, array("posts" => ($context["posts"] ?? null))));
// line 11
echo "\t\t\t</div>
\t\t\t<div class=\"ui basic vertical segment posts-loader\" style=\"display: none\">
\t\t\t\t<div class=\"ui active centered inline loader\"></div>
\t\t\t</div>
\t\t";
} else {
// line 16
echo "\t\t\t<div class=\"ui message\">
\t\t\t\t<p>";
// line 17
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("No posts to show.")), "html", null, true);
echo "</p>
\t\t\t</div>
\t\t";
}
// line 20
echo "\t</div>
";
}
public function getTemplateName()
{
return "@users/posts.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 68 => 20, 62 => 17, 59 => 16, 52 => 11, 50 => 10, 47 => 9, 44 => 8, 36 => 6, 34 => 5, 31 => 4, 28 => 3, 11 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("{% extends '@users/profile.twig' %}
{% block content %}
\t<div id=\"mp-posts\" class=\"ui basic vertical segment\">
\t\t{% if isCurrentUser(requestedUser) and createNewPostUrl != null and canUserCreatePost and requestedUser['permissions']['can-access-wp-admin'] == 'true' %}
\t\t\t<a href=\"{{ createNewPostUrl }}\" class=\"ui primary button\">{{ translate('Add new post') }}</a>
\t\t{% endif %}
\t\t{% if posts %}
\t\t\t<div class=\"ui divided items\">
\t\t\t\t{% include '@users/partials/posts.twig' with {'posts': posts} %}
\t\t\t</div>
\t\t\t<div class=\"ui basic vertical segment posts-loader\" style=\"display: none\">
\t\t\t\t<div class=\"ui active centered inline loader\"></div>
\t\t\t</div>
\t\t{% else %}
\t\t\t<div class=\"ui message\">
\t\t\t\t<p>{{ translate('No posts to show.') }}</p>
\t\t\t</div>
\t\t{% endif %}
\t</div>
{% endblock %}", "@users/posts.twig", "D:\\projects\\htdocs\\wordpress\\wp-content\\plugins\\membership-by-supsystic\\src\\Membership\\Users\\views\\posts.twig");
}
}
<?php
/* @activity/partials/activities-container.twig */
class __TwigTemplate_d46a358a6c68a397160a64d849fbdbb9e1ec1d7608ffb9f7fb4b4fd5337fe6d7 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
echo "<div class=\"ui segment vertical basic mp-activity-container\" data-activity-context=\"";
echo twig_escape_filter($this->env, ($context["context"] ?? null), "html", null, true);
echo "\" data-single=\"";
if (array_key_exists("singleView", $context)) {
echo "1";
} else {
echo "0";
}
echo "\">
\t";
// line 3
if ((($context["userLoggedIn"] ?? null) && !($context["disablePostForm"] ?? null))) {
// line 4
echo "\t\t";
$this->loadTemplate("@activity/partials/activity-post-form.twig", "@activity/partials/activities-container.twig", 4)->display($context);
// line 5
echo "\t";
}
// line 6
echo "\t
\t<div class=\"mp-activity-list \">
\t\t";
// line 8
$this->loadTemplate("@activity/partials/activities.twig", "@activity/partials/activities-container.twig", 8)->display(array_merge($context, array("activities" => ($context["activities"] ?? null), "settings" => ($context["settings"] ?? null))));
// line 9
echo "\t</div>
\t
\t<div class=\"ui message no-activities\" ";
// line 11
if (($context["activities"] ?? null)) {
echo "style=\"display: none\"";
}
echo ">";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("There's no any activity yet")), "html", null, true);
echo "</div>
\t<div class=\"ui basic segment activity-loader\" style=\"display: none\">
\t\t<div class=\"ui active loader\"></div>
\t</div>
\t
\t";
// line 17
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["environment"] ?? null), "dispatcher", array()), "dispatch", array(0 => "activity.view.actachmentTemplate"), "method"), "html", null, true);
echo "
</div>
";
// line 21
$this->loadTemplate("@activity/partials/activity-gallery-modal.twig", "@activity/partials/activities-container.twig", 21)->display($context);
// line 22
$this->loadTemplate("@activity/partials/activity-report-modal.twig", "@activity/partials/activities-container.twig", 22)->display($context);
// line 23
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["environment"] ?? null), "dispatcher", array()), "dispatch", array(0 => "activity.view.galleryModal"), "method"), "html", null, true);
echo "
";
// line 24
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["environment"] ?? null), "dispatcher", array()), "dispatch", array(0 => "activity.view.sliderModal"), "method"), "html", null, true);
echo "
";
// line 25
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["environment"] ?? null), "dispatcher", array()), "dispatch", array(0 => "activity.view.googleMapsModal"), "method"), "html", null, true);
}
public function getTemplateName()
{
return "@activity/partials/activities-container.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 81 => 25, 77 => 24, 73 => 23, 71 => 22, 69 => 21, 62 => 17, 49 => 11, 45 => 9, 43 => 8, 39 => 6, 36 => 5, 33 => 4, 31 => 3, 19 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("<div class=\"ui segment vertical basic mp-activity-container\" data-activity-context=\"{{ context }}\" data-single=\"{% if singleView is defined %}{{ \"1\" }}{% else %}{{ \"0\" }}{% endif %}\">
\t{% if userLoggedIn and not disablePostForm %}
\t\t{% include '@activity/partials/activity-post-form.twig' %}
\t{% endif %}
\t
\t<div class=\"mp-activity-list \">
\t\t{% include '@activity/partials/activities.twig' with {'activities': activities, 'settings': settings,} %}
\t</div>
\t
\t<div class=\"ui message no-activities\" {% if activities %}style=\"display: none\"{% endif %}>{{ translate('There\\'s no any activity yet') }}</div>
\t<div class=\"ui basic segment activity-loader\" style=\"display: none\">
\t\t<div class=\"ui active loader\"></div>
\t</div>
\t
\t{{ environment.dispatcher.dispatch('activity.view.actachmentTemplate') }}
</div>
{% include '@activity/partials/activity-gallery-modal.twig' %}
{% include '@activity/partials/activity-report-modal.twig' %}
{{ environment.dispatcher.dispatch('activity.view.galleryModal') }}
{{ environment.dispatcher.dispatch('activity.view.sliderModal') }}
{{ environment.dispatcher.dispatch('activity.view.googleMapsModal') }}", "@activity/partials/activities-container.twig", "D:\\projects\\htdocs\\wordpress\\wp-content\\plugins\\membership-by-supsystic\\src\\Membership\\Activity\\views\\partials\\activities-container.twig");
}
}
<?php
/* @auth/partials/login-form.twig */
class __TwigTemplate_68cedde303a6bf17d81e9417fae84a77f8a8dc4a6585656f4f766d889d736229 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
echo "<form class=\"ui form left membership-login-form\"
method=\"post\"
data-validation-rules=\"";
// line 3
echo twig_escape_filter($this->env, sprintf(twig_jsonencode_filter(array("username" => array("presence" => array("message" => "%s")), "password" => array("presence" => array("message" => "%s")))), call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Username or E-mail is required")), call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Password is required"))), "html", null, true);
// line 9
echo "\"
class=\"membership-login-form\"
>
\t
\t";
// line 13
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["environment"] ?? null), "dispatcher", array()), "dispatch", array(0 => "auth.view.loginFormBefore"), "method"), "html", null, true);
echo "
\t";
// line 14
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["environment"] ?? null), "dispatcher", array()), "dispatch", array(0 => "loginFormBefore"), "method"), "html", null, true);
echo "
\t
\t<div class=\"field ui left\" data-name=\"username\">
\t\t<label>";
// line 17
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Username or E-mail")), "html", null, true);
echo "</label>
\t\t<input type=\"text\" name=\"username\">
\t</div>
\t<div class=\"field\" data-name=\"password\">
\t\t<label>";
// line 21
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Password")), "html", null, true);
echo "</label>
\t\t<input type=\"password\" name=\"password\">
\t</div>
\t<div class=\"ui equal width grid\">
\t\t<div class=\"field left aligned column\">
\t\t\t";
// line 26
if ($this->getAttribute($this->getAttribute($this->getAttribute(($context["settings"] ?? null), "design", array()), "auth", array()), "login-show-remember-me", array(), "array")) {
// line 27
echo "\t\t\t\t<div class=\"ui checkbox\">
\t\t\t\t\t<input type=\"checkbox\" id=\"remember-user-checkbox\" value=\"true\" name=\"remember\" class=\"hidden\">
\t\t\t\t\t<label for=\"remember-user-checkbox\"><small>";
// line 29
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Remember me")), "html", null, true);
echo "</small></label>
\t\t\t\t</div>
\t\t\t";
}
// line 32
echo "\t\t</div>
\t\t<div class=\"field right aligned column\">
\t\t\t<a href=\"";
// line 34
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('getRouteUrl')->getCallable(), array("login", array("action" => "reset-password"))), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Forgot your password?")), "html", null, true);
echo "</a>
\t\t</div>
\t</div>
\t
\t";
// line 38
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["environment"] ?? null), "dispatcher", array()), "dispatch", array(0 => "auth.view.loginFormAfter"), "method"), "html", null, true);
echo "
\t
\t<div class=\"mp-login-form-action-buttons ui basic vertical clearing segment\">
\t\t<a class=\"submit ui left floated button primary mini\">";
// line 41
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["settings"] ?? null), "design", array()), "auth", array()), "login-primary-button-text", array(), "array"), "html", null, true);
echo "</a>
\t\t";
// line 43
$context["registrationButtonUrl"] = call_user_func_array($this->env->getFunction('getRouteUrl')->getCallable(), array("registration"));
// line 44
echo "\t\t";
if ((twig_length_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["settings"] ?? null), "design", array()), "auth", array()), "login-secondary-button-url", array(), "array")) && ($this->getAttribute($this->getAttribute($this->getAttribute(($context["settings"] ?? null), "design", array()), "auth", array()), "login-secondary-button-url", array(), "array") != "/registration"))) {
// line 45
echo "\t\t\t";
$context["registrationButtonUrl"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["settings"] ?? null), "design", array()), "auth", array()), "login-secondary-button-url", array(), "array");
// line 46
echo "\t\t";
}
// line 47
echo "
\t\t<a class=\"mp-login-secondary-button ui right floated button secondary mini\" href=\"";
// line 48
echo twig_escape_filter($this->env, ($context["registrationButtonUrl"] ?? null), "html", null, true);
echo "\">
\t\t\t";
// line 49
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["settings"] ?? null), "design", array()), "auth", array()), "login-secondary-button-text", array(), "array"), "html", null, true);
echo "
\t\t</a>
\t</div>
\t
\t<input type=\"submit\" style=\"display: none;\">
</form>";
}
public function getTemplateName()
{
return "@auth/partials/login-form.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 110 => 49, 106 => 48, 103 => 47, 100 => 46, 97 => 45, 94 => 44, 92 => 43, 87 => 41, 81 => 38, 72 => 34, 68 => 32, 62 => 29, 58 => 27, 56 => 26, 48 => 21, 41 => 17, 35 => 14, 31 => 13, 25 => 9, 23 => 3, 19 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("<form class=\"ui form left membership-login-form\"
method=\"post\"
data-validation-rules=\"{{
{
\t 'username': {\"presence\":{\"message\":\"%s\"}},
\t 'password': {\"presence\":{\"message\":\"%s\"}}
}
|json_encode
|format(translate('Username or E-mail is required'), translate('Password is required')) }}\"
class=\"membership-login-form\"
>
\t
\t{{ environment.dispatcher.dispatch('auth.view.loginFormBefore') }}
\t{{ environment.dispatcher.dispatch('loginFormBefore') }}
\t
\t<div class=\"field ui left\" data-name=\"username\">
\t\t<label>{{ translate('Username or E-mail') }}</label>
\t\t<input type=\"text\" name=\"username\">
\t</div>
\t<div class=\"field\" data-name=\"password\">
\t\t<label>{{ translate('Password') }}</label>
\t\t<input type=\"password\" name=\"password\">
\t</div>
\t<div class=\"ui equal width grid\">
\t\t<div class=\"field left aligned column\">
\t\t\t{% if settings.design.auth['login-show-remember-me'] %}
\t\t\t\t<div class=\"ui checkbox\">
\t\t\t\t\t<input type=\"checkbox\" id=\"remember-user-checkbox\" value=\"true\" name=\"remember\" class=\"hidden\">
\t\t\t\t\t<label for=\"remember-user-checkbox\"><small>{{ translate('Remember me') }}</small></label>
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t</div>
\t\t<div class=\"field right aligned column\">
\t\t\t<a href=\"{{ getRouteUrl('login', {'action':'reset-password'}) }}\">{{ translate('Forgot your password?') }}</a>
\t\t</div>
\t</div>
\t
\t{{ environment.dispatcher.dispatch('auth.view.loginFormAfter') }}
\t
\t<div class=\"mp-login-form-action-buttons ui basic vertical clearing segment\">
\t\t<a class=\"submit ui left floated button primary mini\">{{ settings.design.auth['login-primary-button-text'] }}</a>
\t\t{% set registrationButtonUrl = getRouteUrl('registration') %}
\t\t{% if settings.design.auth['login-secondary-button-url'] | length and settings.design.auth['login-secondary-button-url'] != '/registration' %}
\t\t\t{% set registrationButtonUrl = settings.design.auth['login-secondary-button-url'] %}
\t\t{% endif %}
\t\t<a class=\"mp-login-secondary-button ui right floated button secondary mini\" href=\"{{ registrationButtonUrl }}\">
\t\t\t{{ settings.design.auth['login-secondary-button-text'] }}
\t\t</a>
\t</div>
\t
\t<input type=\"submit\" style=\"display: none;\">
</form>", "@auth/partials/login-form.twig", "D:\\projects\\htdocs\\wordpress\\wp-content\\plugins\\membership-by-supsystic\\src\\Membership\\Auth\\views\\partials\\login-form.twig");
}
}
<?php
/* @activity/partials/activity-gallery-modal.twig */
class __TwigTemplate_33772a4b7e8adedeaaee356b25f8be3fb50c661a7e57a26022c1531b6beec255 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
echo "<div class=\" sc-membership ui basic modal mp-gallery-modal\">
\t<div class=\"ui active dimmer modal-loader\">
\t\t<div class=\"ui loader\"></div>
\t</div>
\t<div class=\"image-index\"><span class=\"current-index\"></span> ";
// line 5
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("of")), "html", null, true);
echo " <span class=\"total\"></span></div>
\t<div class=\"controls\" style=\"display: none\">
\t\t<div class=\"prev-button\">
\t\t\t<i class=\"chevron left icon\"></i>
\t\t</div>
\t\t<div class=\"next-button\">
\t\t\t<i class=\"chevron right icon\"></i>
\t\t</div>
\t</div>
\t<i class=\"close icon\"></i>
\t<div class=\"image-content\">
\t\t<div class=\"image\">
\t\t\t<img alt=\"\"/>
\t\t</div>
\t</div>
</div>
";
}
public function getTemplateName()
{
return "@activity/partials/activity-gallery-modal.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 25 => 5, 19 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("<div class=\" sc-membership ui basic modal mp-gallery-modal\">
\t<div class=\"ui active dimmer modal-loader\">
\t\t<div class=\"ui loader\"></div>
\t</div>
\t<div class=\"image-index\"><span class=\"current-index\"></span> {{ translate('of') }} <span class=\"total\"></span></div>
\t<div class=\"controls\" style=\"display: none\">
\t\t<div class=\"prev-button\">
\t\t\t<i class=\"chevron left icon\"></i>
\t\t</div>
\t\t<div class=\"next-button\">
\t\t\t<i class=\"chevron right icon\"></i>
\t\t</div>
\t</div>
\t<i class=\"close icon\"></i>
\t<div class=\"image-content\">
\t\t<div class=\"image\">
\t\t\t<img alt=\"\"/>
\t\t</div>
\t</div>
</div>
{#<script type=\"text/javascript\" src=\"{{ assets('base', '/lib/jquery.history.js') }}\"></script>#}", "@activity/partials/activity-gallery-modal.twig", "D:\\projects\\htdocs\\wordpress\\wp-content\\plugins\\membership-by-supsystic\\src\\Membership\\Activity\\views\\partials\\activity-gallery-modal.twig");
}
}
<?php
/* @activity/partials/activity-report-modal.twig */
class __TwigTemplate_e0b491b964d37f7e1640f25cd3e2ce5658d3c227d0aa2c06ffc323b997cb1ba6 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
echo "<div class=\"ui small modal\" id=\"report-activity-modal\">
\t<i class=\"close icon\"></i>
\t<div class=\"header\">
\t\t";
// line 4
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Report post")), "html", null, true);
echo "
\t</div>
\t<div class=\"content\">
\t\t<div class=\"ui form\">
\t\t\t<div class=\"field\">
\t\t\t\t<label>";
// line 9
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Message")), "html", null, true);
echo "</label>
\t\t\t\t<textarea rows=\"5\"></textarea>
\t\t\t</div>
\t\t</div>
\t</div>
\t<div class=\"actions\">
\t\t<button class=\"ui button mini secondary cancel\">";
// line 15
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Cancel")), "html", null, true);
echo "</button>
\t\t<button class=\"ui positive mini primary button\">";
// line 16
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Send")), "html", null, true);
echo "</button>
\t</div>
</div>";
}
public function getTemplateName()
{
return "@activity/partials/activity-report-modal.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 45 => 16, 41 => 15, 32 => 9, 24 => 4, 19 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("<div class=\"ui small modal\" id=\"report-activity-modal\">
\t<i class=\"close icon\"></i>
\t<div class=\"header\">
\t\t{{ translate('Report post') }}
\t</div>
\t<div class=\"content\">
\t\t<div class=\"ui form\">
\t\t\t<div class=\"field\">
\t\t\t\t<label>{{ translate('Message') }}</label>
\t\t\t\t<textarea rows=\"5\"></textarea>
\t\t\t</div>
\t\t</div>
\t</div>
\t<div class=\"actions\">
\t\t<button class=\"ui button mini secondary cancel\">{{ translate('Cancel') }}</button>
\t\t<button class=\"ui positive mini primary button\">{{ translate('Send') }}</button>
\t</div>
</div>", "@activity/partials/activity-report-modal.twig", "D:\\projects\\htdocs\\wordpress\\wp-content\\plugins\\membership-by-supsystic\\src\\Membership\\Activity\\views\\partials\\activity-report-modal.twig");
}
}
<?php
/* @users/activities.twig */
class __TwigTemplate_7eec9b7d2878d3c0570554db2c7a0ddf5d87d04d2ca635b2c876f7650affe9d4 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("@users/profile.twig", "@users/activities.twig", 1);
$this->blocks = array(
'content' => array($this, 'block_content'),
);
}
protected function doGetParent(array $context)
{
return "@users/profile.twig";
}
protected function doDisplay(array $context, array $blocks = array())
{
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_content($context, array $blocks = array())
{
// line 4
echo "\t";
$this->loadTemplate("@activity/partials/activities-container.twig", "@users/activities.twig", 4)->display(array_merge($context, array("disablePostForm" => ($context["disablePostForm"] ?? null), "activities" => ($context["activities"] ?? null), "context" => ($context["contextParam"] ?? null))));
}
public function getTemplateName()
{
return "@users/activities.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 31 => 4, 28 => 3, 11 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("{% extends '@users/profile.twig' %}
{% block content %}
\t{% include '@activity/partials/activities-container.twig' with {'disablePostForm': disablePostForm, 'activities': activities, 'context': contextParam } %}
{% endblock %}", "@users/activities.twig", "D:\\projects\\htdocs\\wordpress\\wp-content\\plugins\\membership-by-supsystic\\src\\Membership\\Users\\views\\activities.twig");
}
}
<?php
/* @activity/partials/activity-attachment-template.twig */
class __TwigTemplate_6f34d866ebaa215ea57148c505654e9e0515d5637f72cdfb68375e2b60e285b3 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
echo "<script id=\"mbsImageAttachmentTemplate\" type=\"text/html\">
\t<div class=\"mbs-one-any-attachment\" title=\"\">
\t\t<img class=\"ui image mbs-att-image\" src=\"";
// line 3
echo twig_escape_filter($this->env, ($context["attachmentIcon"] ?? null), "html", null, true);
echo "\">
\t\t<span class=\"mbs-image-caption\"></span>
\t\t<div class=\"mp-attachment-image-overlay\"></div>
\t\t<div class=\"mp-progress-bar\">
\t\t\t<div class=\"ui tiny indicating progress active\">
\t\t\t\t<div class=\"bar\" style=\"width: 1%; transition-duration: 300ms;\"></div>
\t\t\t</div>
\t\t</div>
\t\t<i class=\"close icon\"></i>
\t</div>
</script>";
}
public function getTemplateName()
{
return "@activity/partials/activity-attachment-template.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 23 => 3, 19 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("<script id=\"mbsImageAttachmentTemplate\" type=\"text/html\">
\t<div class=\"mbs-one-any-attachment\" title=\"\">
\t\t<img class=\"ui image mbs-att-image\" src=\"{{ attachmentIcon }}\">
\t\t<span class=\"mbs-image-caption\"></span>
\t\t<div class=\"mp-attachment-image-overlay\"></div>
\t\t<div class=\"mp-progress-bar\">
\t\t\t<div class=\"ui tiny indicating progress active\">
\t\t\t\t<div class=\"bar\" style=\"width: 1%; transition-duration: 300ms;\"></div>
\t\t\t</div>
\t\t</div>
\t\t<i class=\"close icon\"></i>
\t</div>
</script>", "@activity/partials/activity-attachment-template.twig", "D:\\projects\\htdocs\\wordpress\\wp-content\\plugins\\membership-by-supsystic\\src\\Membership\\Activity\\views\\partials\\activity-attachment-template.twig");
}
}
<?php
/* @auth/login.twig */
class __TwigTemplate_ce6fa280974dffea4dc1a1a690dc5389624f94cf7e7582ea09f0b414efe94bb1 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
echo "<div class=\"sc-membership\">
\t<div class=\"ui centered grid\">
\t\t<div class=\"column left aligned\">
\t\t\t";
// line 4
$this->loadTemplate("@auth/partials/login-form.twig", "@auth/login.twig", 4)->display($context);
// line 5
echo "\t\t</div>
\t</div>
</div>";
}
public function getTemplateName()
{
return "@auth/login.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 26 => 5, 24 => 4, 19 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("<div class=\"sc-membership\">
\t<div class=\"ui centered grid\">
\t\t<div class=\"column left aligned\">
\t\t\t{% include '@auth/partials/login-form.twig' %}
\t\t</div>
\t</div>
</div>", "@auth/login.twig", "D:\\projects\\htdocs\\wordpress\\wp-content\\plugins\\membership-by-supsystic\\src\\Membership\\Auth\\views\\login.twig");
}
}
2019-01-22T07:59:31+00:00 CRITICAL D:\projects\htdocs\wordpress\wp-admin\includes\class-wp-list-table-compat.php 中第 15 行的 Maximum execution time of 30 seconds exceeded
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment