Вход Регистрация
Файл: forsoc.ru/cache/twig/f8/f8af3bb714cf70b775e7b69c7704c2e01835151644ada7c36cba2ffa35210ed2.php
Строк: 353
<?php

/* notification_dropdown.html */
class __TwigTemplate_9b270bd4685257c58194a927eaa6d33a1392636deda51d97794153b156b2aef9 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 id="notification_list" class="dropdown dropdown-extended notification_list">
t<div class="
pointer"><div class="pointer-inner"></div></div>
t<div class="
dropdown-contents">
tt<div class="
header">
ttt"
;
        
// line 5
        
echo $this->env->getExtension('phpbb')->lang("NOTIFICATIONS");
        echo 
"
ttt<span class="
header_settings">
tttt<a href="";
        // line 7
        echo (isset(
$context["U_NOTIFICATION_SETTINGS"]) ? $context["U_NOTIFICATION_SETTINGS"] : null);
        echo "">"
;
        echo 
$this->env->getExtension('phpbb')->lang("SETTINGS");
        echo 
"</a>
tttt"
;
        
// line 8
        
if ((isset($context["NOTIFICATIONS_COUNT"]) ? $context["NOTIFICATIONS_COUNT"] : null)) {
            
// line 9
            
echo "ttttt<span id="mark_all_notifications"> &bull; <a href="";
            echo (isset(
$context["U_MARK_ALL_NOTIFICATIONS"]) ? $context["U_MARK_ALL_NOTIFICATIONS"] : null);
            echo "" data-ajax="
notification.mark_all_read">";
            echo 
$this->env->getExtension('phpbb')->lang("MARK_ALL_READ");
            echo 
"</a></span>
tttt"
;
        }
        
// line 11
        
echo "ttt</span>
tt</div>

tt<ul>
ttt"
;
        
// line 15
        
if ( !twig_length_filter($this->env$this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "notifications", array()))) {
            
// line 16
            
echo "tttt<li class="no_notifications">
ttttt"
;
            
// line 17
            
echo $this->env->getExtension('phpbb')->lang("NO_NOTIFICATIONS");
            echo 
"
tttt</li>
ttt"
;
        }
        
// line 20
        
echo "ttt";
        
$context['_parent'] = $context;
        
$context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["loops"]) ? $context["loops"] : null), "notifications", array()));
        foreach (
$context['_seq'] as $context["_key"] => $context["notifications"]) {
            
// line 21
            
echo "tttt<li class="";
            if (
$this->getAttribute($context["notifications"], "UNREAD", array())) {
                echo " 
bg2";
            }
            if (
$this->getAttribute($context["notifications"], "STYLING", array())) {
                echo " ";
                echo 
$this->getAttribute($context["notifications"], "STYLING", array());
            }
            if ( !
$this->getAttribute($context["notifications"], "URL", array())) {
                echo " 
no-url";
            }
            echo "">
ttttt"
;
            
// line 22
            
if ($this->getAttribute($context["notifications"], "URL", array())) {
                
// line 23
                
echo "tttttt<a class="notification-block" href="";
                if (
$this->getAttribute($context["notifications"], "UNREAD", array())) {
                    echo 
$this->getAttribute($context["notifications"], "U_MARK_READ", array());
                    echo "" data-real-url="";
                    echo 
$this->getAttribute($context["notifications"], "URL", array());
                } else {
                    echo 
$this->getAttribute($context["notifications"], "URL", array());
                }
                echo "">
ttttt"
;
            }
            
// line 25
            
echo "tttttt";
            if (
$this->getAttribute($context["notifications"], "AVATAR", array())) {
                echo 
$this->getAttribute($context["notifications"], "AVATAR", array());
            } else {
                echo 
"<img src="";
                echo (isset(
$context["T_THEME_PATH"]) ? $context["T_THEME_PATH"] : null);
                echo "
/images/no_avatar.gif" alt="" />";
            }
            
// line 26
            
echo "tttttt<div class="notification_text">
ttttttt<p class="
notification-title">";
            
// line 27
            
echo $this->getAttribute($context["notifications"], "FORMATTED_TITLE", array());
            echo 
"</p>
ttttttt"
;
            
// line 28
            
if ($this->getAttribute($context["notifications"], "REFERENCE", array())) {
                echo 
"<p class="notification-reference">";
                echo 
$this->getAttribute($context["notifications"], "REFERENCE", array());
                echo 
"</p>";
            }
            
// line 29
            
echo "ttttttt";
            if (
$this->getAttribute($context["notifications"], "FORUM", array())) {
                echo 
"<p class="notification-forum">";
                echo 
$this->getAttribute($context["notifications"], "FORUM", array());
                echo 
"</p>";
            }
            
// line 30
            
echo "ttttttt";
            if (
$this->getAttribute($context["notifications"], "REASON", array())) {
                echo 
"<p class="notification-reason">";
                echo 
$this->getAttribute($context["notifications"], "REASON", array());
                echo 
"</p>";
            }
            
// line 31
            
echo "ttttttt<p class="notification-time">";
            echo 
$this->getAttribute($context["notifications"], "TIME", array());
            echo 
"</p>
tttttt</div>
ttttt"
;
            
// line 33
            
if ($this->getAttribute($context["notifications"], "URL", array())) {
                echo 
"</a>";
            }
            
// line 34
            
echo "ttttt";
            if (
$this->getAttribute($context["notifications"], "UNREAD", array())) {
                
// line 35
                
echo "tttttt<a href="";
                echo 
$this->getAttribute($context["notifications"], "U_MARK_READ", array());
                echo "" class="
mark_read icon-mark" data-ajax="notification.mark_read" title="";
                echo 
$this->env->getExtension('phpbb')->lang("MARK_READ");
                echo ""></a>
ttttt"
;
            }
            
// line 37
            
echo "tttt</li>
ttt"
;
        }
        
$_parent $context['_parent'];
        unset(
$context['_seq'], $context['_iterated'], $context['_key'], $context['notifications'], $context['_parent'], $context['loop']);
        
$context array_intersect_key($context$_parent) + $_parent;
        
// line 39
        
echo "tt</ul>

tt<div class="
footer">
ttt<a href="";
        // line 42
        echo (isset(
$context["U_VIEW_ALL_NOTIFICATIONS"]) ? $context["U_VIEW_ALL_NOTIFICATIONS"] : null);
        echo ""><span>"
;
        echo 
$this->env->getExtension('phpbb')->lang("SEE_ALL");
        echo 
"</span></a>
tt</div>
t</div>
</div>
"
;
    }

    public function 
getTemplateName()
    {
        return 
"notification_dropdown.html";
    }

    public function 
isTraitable()
    {
        return 
false;
    }

    public function 
getDebugInfo()
    {
        return array (  
165 => 42,  160 => 39,  153 => 37,  145 => 35,  142 => 34,  138 => 33,  132 => 31,  125 => 30,  118 => 29,  112 => 28,  108 => 27,  105 => 26,  96 => 25,  84 => 23,  82 => 22,  68 => 21,  63 => 20,  57 => 17,  54 => 16,  52 => 15,  46 => 11,  38 => 9,  36 => 8,  30 => 7,  25 => 5,  19 => 1,);
    }
}
/* <div id="notification_list" class="dropdown dropdown-extended notification_list">*/
/*     <div class="pointer"><div class="pointer-inner"></div></div>*/
/*     <div class="dropdown-contents">*/
/*         <div class="header">*/
/*             {L_NOTIFICATIONS}*/
/*             <span class="header_settings">*/
/*                 <a href="{U_NOTIFICATION_SETTINGS}">{L_SETTINGS}</a>*/
/*                 <!-- IF NOTIFICATIONS_COUNT -->*/
/*                     <span id="mark_all_notifications"> &bull; <a href="{U_MARK_ALL_NOTIFICATIONS}" data-ajax="notification.mark_all_read">{L_MARK_ALL_READ}</a></span>*/
/*                 <!-- ENDIF -->*/
/*             </span>*/
/*         </div>*/
/* */
/*         <ul>*/
/*             <!-- IF not .notifications -->*/
/*                 <li class="no_notifications">*/
/*                     {L_NO_NOTIFICATIONS}*/
/*                 </li>*/
/*             <!-- ENDIF -->*/
/*             <!-- BEGIN notifications -->*/
/*                 <li class="<!-- IF notifications.UNREAD --> bg2<!-- ENDIF --><!-- IF notifications.STYLING --> {notifications.STYLING}<!-- ENDIF --><!-- IF not notifications.URL --> no-url<!-- ENDIF -->">*/
/*                     <!-- IF notifications.URL -->*/
/*                         <a class="notification-block" href="<!-- IF notifications.UNREAD -->{notifications.U_MARK_READ}" data-real-url="{notifications.URL}<!-- ELSE -->{notifications.URL}<!-- ENDIF -->">*/
/*                     <!-- ENDIF -->*/
/*                         <!-- IF notifications.AVATAR -->{notifications.AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" alt="" /><!-- ENDIF -->*/
/*                         <div class="notification_text">*/
/*                             <p class="notification-title">{notifications.FORMATTED_TITLE}</p>*/
/*                             <!-- IF notifications.REFERENCE --><p class="notification-reference">{notifications.REFERENCE}</p><!-- ENDIF -->*/
/*                             <!-- IF notifications.FORUM --><p class="notification-forum">{notifications.FORUM}</p><!-- ENDIF -->*/
/*                             <!-- IF notifications.REASON --><p class="notification-reason">{notifications.REASON}</p><!-- ENDIF -->*/
/*                             <p class="notification-time">{notifications.TIME}</p>*/
/*                         </div>*/
/*                     <!-- IF notifications.URL --></a><!-- ENDIF -->*/
/*                     <!-- IF notifications.UNREAD -->*/
/*                         <a href="{notifications.U_MARK_READ}" class="mark_read icon-mark" data-ajax="notification.mark_read" title="{L_MARK_READ}"></a>*/
/*                     <!-- ENDIF -->*/
/*                 </li>*/
/*             <!-- END notifications -->*/
/*         </ul>*/
/* */
/*         <div class="footer">*/
/*             <a href="{U_VIEW_ALL_NOTIFICATIONS}"><span>{L_SEE_ALL}</span></a>*/
/*         </div>*/
/*     </div>*/
/* </div>*/
/* */
Онлайн: 2
Реклама