1. Список говнокодов пользователя isage

    Всего: 1

  2. PHP / Говнокод #2069

    +150.6

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    {if eq($view_parameters.affichage,'avis')} 
        <!-- complete comment -->
        <script type="text/javascript">
            var object_id = {$next_prev.object.id};
            var url_alias = {$next_prev.url_alias|ezurl()};
        </script> 
        {include uri="design:inc/esi/esi_complete_comment.tpl" object_id=$node.object.id class_identifier=$next_prev.object.class_identifier}
    {else}
        <!-- full comment --> 
        <script type="text/javascript">
            var object_id = {$next_prev.object.id};
            var url_alias = {$next_prev.url_alias|ezurl()};
        </script> 
        {include uri="design:inc/esi/esi_full_comment.tpl" object_id=$next_prev.object.id class_identifier=$next_prev.object.class_identifier}
    {/if}

    Комментарии французов в шаблоне eZ Publish понятны как никогда.

    isage, 29 Октября 2009

    Комментарии (1)