当前位置: 首页>>代码示例>>PHP>>正文


PHP smarty_function_translation函数代码示例

本文整理汇总了PHP中smarty_function_translation函数的典型用法代码示例。如果您正苦于以下问题:PHP smarty_function_translation函数的具体用法?PHP smarty_function_translation怎么用?PHP smarty_function_translation使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了smarty_function_translation函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: content_568e99c0be3000_90055224

    function content_568e99c0be3000_90055224($_smarty_tpl)
    {
        $_smarty_tpl->properties['nocache_hash'] = '1461421447568e99c0bb7c30_00651020';
        ?>
<section class="jumbotron" id="test"> <h2><?php 
        echo smarty_function_translation(array('langId' => "83"), $_smarty_tpl);
        ?>
<h2> <hr> <?php 
        $_from = $_smarty_tpl->tpl_vars['test']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $foreach_item_Sav = $_smarty_tpl->tpl_vars['item'];
            ?>
 <?php 
            echo $_smarty_tpl->tpl_vars['item']->value[$_smarty_tpl->tpl_vars['lang']->value];
            ?>
 <?php 
            $_smarty_tpl->tpl_vars['item'] = $foreach_item_Sav;
        }
        ?>
  </section><?php 
    }
开发者ID:GulbickijPavel,项目名称:Portfolio_recovered,代码行数:28,代码来源:2e4f8855acd865f8390ad3f9991c359c9f624b12_0.file.test.tpl.php

示例2: content_5693fa20d5f683_88999472

    function content_5693fa20d5f683_88999472($_smarty_tpl)
    {
        $_smarty_tpl->properties['nocache_hash'] = '13263650635693fa20d4afd9_80237546';
        ?>
<section class="jumbotron newItem" id="gynimas"> <h2><?php 
        echo smarty_function_translation(array('langId' => "82"), $_smarty_tpl);
        ?>
<h2> <hr> <?php 
        $_from = $_smarty_tpl->tpl_vars['gynimas']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $foreach_item_Sav = $_smarty_tpl->tpl_vars['item'];
            ?>
 <?php 
            echo $_smarty_tpl->tpl_vars['item']->value[$_smarty_tpl->tpl_vars['lang']->value];
            ?>
 <?php 
            $_smarty_tpl->tpl_vars['item'] = $foreach_item_Sav;
        }
        ?>
  </section><?php 
    }
开发者ID:GulbickijPavel,项目名称:Portfolio_recovered,代码行数:28,代码来源:5ddb225d81bfb2e1221a9f7d477271c91a49d446_0.file.gynimas.tpl.php

示例3: content_56919c62d9a5f6_67422444

    function content_56919c62d9a5f6_67422444($_smarty_tpl)
    {
        $_smarty_tpl->properties['nocache_hash'] = '100598296556919c62d87172_92905893';
        ?>
<section class="jumbotron" id="test2"> <h2><?php 
        echo smarty_function_translation(array('langId' => "81"), $_smarty_tpl);
        ?>
<h2> <hr> <?php 
        $_from = $_smarty_tpl->tpl_vars['test2']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $foreach_item_Sav = $_smarty_tpl->tpl_vars['item'];
            ?>
 <?php 
            echo $_smarty_tpl->tpl_vars['item']->value[$_smarty_tpl->tpl_vars['lang']->value];
            ?>
 <?php 
            $_smarty_tpl->tpl_vars['item'] = $foreach_item_Sav;
        }
        ?>
  </section><?php 
    }
开发者ID:GulbickijPavel,项目名称:Portfolio_recovered,代码行数:28,代码来源:8160ccc015e6dce84b7d6d321ed0b2ab94ae6f26_0.file.test2.tpl.php

示例4: content_568af96ddbc879_69779870

    function content_568af96ddbc879_69779870($_smarty_tpl)
    {
        $_smarty_tpl->properties['nocache_hash'] = '1044395213568af96dd5db25_03913040';
        ?>
<section class="jumbotron" id="gynimas"> <h2><?php 
        echo smarty_function_translation(array('langEn' => "Gynimas"), $_smarty_tpl);
        ?>
<h2> <hr> <?php 
        $_from = $_smarty_tpl->tpl_vars['gynimas']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $foreach_item_Sav = $_smarty_tpl->tpl_vars['item'];
            ?>
 <?php 
            echo $_smarty_tpl->tpl_vars['item']->value[$_smarty_tpl->tpl_vars['lang']->value];
            ?>
 <?php 
            $_smarty_tpl->tpl_vars['item'] = $foreach_item_Sav;
        }
        ?>
  </section><?php 
    }
开发者ID:GulbickijPavel,项目名称:Portfolio_recovered,代码行数:28,代码来源:0ec0c98ea8df0e4a9514c9248fd38af627dd78f8_0.file.gynimas.tpl.php

示例5: content_568e9de11fc0f4_98517974

    function content_568e9de11fc0f4_98517974($_smarty_tpl)
    {
        $_smarty_tpl->properties['nocache_hash'] = '79157586568e9de11e4488_37108751';
        ?>
<section class="jumbotron" id="test2qweqwe"> <h2><?php 
        echo smarty_function_translation(array('langId' => "86"), $_smarty_tpl);
        ?>
<h2> <hr> <?php 
        $_from = $_smarty_tpl->tpl_vars['test2qweqwe']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $foreach_item_Sav = $_smarty_tpl->tpl_vars['item'];
            ?>
 <?php 
            echo $_smarty_tpl->tpl_vars['item']->value[$_smarty_tpl->tpl_vars['lang']->value];
            ?>
 <?php 
            $_smarty_tpl->tpl_vars['item'] = $foreach_item_Sav;
        }
        ?>
  </section><?php 
    }
开发者ID:GulbickijPavel,项目名称:Portfolio_recovered,代码行数:28,代码来源:6cff15f86f5855735ebf7b2df371e31cc0b56d00_0.file.test2qweqwe.tpl.php

示例6: content_568f044b2913e2_22884690

    function content_568f044b2913e2_22884690($_smarty_tpl)
    {
        $_smarty_tpl->properties['nocache_hash'] = '1255879327568f044b27cd42_58824012';
        ?>
<section class="jumbotron" id="testjustone"> <h2><?php 
        echo smarty_function_translation(array('langId' => "89"), $_smarty_tpl);
        ?>
<h2> <hr> <?php 
        $_from = $_smarty_tpl->tpl_vars['testjustone']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $foreach_item_Sav = $_smarty_tpl->tpl_vars['item'];
            ?>
 <?php 
            echo $_smarty_tpl->tpl_vars['item']->value[$_smarty_tpl->tpl_vars['lang']->value];
            ?>
 <?php 
            $_smarty_tpl->tpl_vars['item'] = $foreach_item_Sav;
        }
        ?>
  </section><?php 
    }
开发者ID:GulbickijPavel,项目名称:Portfolio_recovered,代码行数:28,代码来源:1ff4ed1e1b05c2c172bcd0eb092564f06cf2697b_0.file.testjustone.tpl.php

示例7: content_563224a78910d0_96458524

    function content_563224a78910d0_96458524($_smarty_tpl)
    {
        $_smarty_tpl->properties['nocache_hash'] = '3302563224a78140b5_98064755';
        ?>
 <!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>40fff4</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <link type="text/css" rel="stylesheet" href="/portfolio/portfolio.lt/css/styles.css">
  </head>
    <body class="not-found-main">
        <img class="not-found-image-container" src="images/404.png" alt="404">
        <span class="main-text"><strong><?php 
        echo smarty_function_translation(array('langId' => "71"), $_smarty_tpl);
        ?>
</strong></span>
        <span class="explanation"><?php 
        echo smarty_function_translation(array('langId' => "72"), $_smarty_tpl);
        ?>
</span>
        <a href="en"><?php 
        echo smarty_function_translation(array('langId' => "73"), $_smarty_tpl);
        ?>
</a>
    </body>
</html><?php 
    }
开发者ID:GulbickijPavel,项目名称:portfolio_source,代码行数:30,代码来源:e911c15ff013870fd9355fbd4783a39287935d20_0.file.404.tpl.php

示例8: content_568ea361e7fc69_70109733

    function content_568ea361e7fc69_70109733($_smarty_tpl)
    {
        $_smarty_tpl->properties['nocache_hash'] = '1709120471568ea361e6c7d0_18113049';
        ?>
<section class="jumbotron" id="Gynimasastestuoju"> <h2><?php 
        echo smarty_function_translation(array('langId' => "87"), $_smarty_tpl);
        ?>
<h2> <hr> <?php 
        $_from = $_smarty_tpl->tpl_vars['Gynimasastestuoju']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $foreach_item_Sav = $_smarty_tpl->tpl_vars['item'];
            ?>
 <?php 
            echo $_smarty_tpl->tpl_vars['item']->value[$_smarty_tpl->tpl_vars['lang']->value];
            ?>
 <?php 
            $_smarty_tpl->tpl_vars['item'] = $foreach_item_Sav;
        }
        ?>
  </section><?php 
    }
开发者ID:GulbickijPavel,项目名称:Portfolio_recovered,代码行数:28,代码来源:daa3d2d47330d8ada0c386f90cfde88bb125ca62_0.file.gynimasastestuoju.tpl.php

示例9: content_56913451eb3824_03190458

    function content_56913451eb3824_03190458($_smarty_tpl)
    {
        $_smarty_tpl->properties['nocache_hash'] = '124944932856913451e9f239_67306460';
        ?>
<section class="jumbotron" id="test5"> <h2><?php 
        echo smarty_function_translation(array('langId' => "86"), $_smarty_tpl);
        ?>
<h2> <hr> <?php 
        $_from = $_smarty_tpl->tpl_vars['test5']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $foreach_item_Sav = $_smarty_tpl->tpl_vars['item'];
            ?>
 <?php 
            echo $_smarty_tpl->tpl_vars['item']->value[$_smarty_tpl->tpl_vars['lang']->value];
            ?>
 <?php 
            $_smarty_tpl->tpl_vars['item'] = $foreach_item_Sav;
        }
        ?>
  </section><?php 
    }
开发者ID:GulbickijPavel,项目名称:Portfolio_recovered,代码行数:28,代码来源:2836168500414930a86c86a9f811ef620e391014_0.file.test5.tpl.php

示例10: content_568f0443b856f8_92034582

    function content_568f0443b856f8_92034582($_smarty_tpl)
    {
        $_smarty_tpl->properties['nocache_hash'] = '1187616355568f0443b70f72_14814451';
        ?>
<section class="jumbotron" id="test5asda"> <h2><?php 
        echo smarty_function_translation(array('langId' => "91"), $_smarty_tpl);
        ?>
<h2> <hr> <?php 
        $_from = $_smarty_tpl->tpl_vars['test5asda']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['item']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['item']->value) {
            $_smarty_tpl->tpl_vars['item']->_loop = true;
            $foreach_item_Sav = $_smarty_tpl->tpl_vars['item'];
            ?>
 <?php 
            echo $_smarty_tpl->tpl_vars['item']->value[$_smarty_tpl->tpl_vars['lang']->value];
            ?>
 <?php 
            $_smarty_tpl->tpl_vars['item'] = $foreach_item_Sav;
        }
        ?>
  </section><?php 
    }
开发者ID:GulbickijPavel,项目名称:Portfolio_recovered,代码行数:28,代码来源:56d42c9c5401c22460ea2cff6d3791638550a9f6_0.file.test5asda.tpl.php

示例11: content_565327d28b2125_71046672

    function content_565327d28b2125_71046672($_smarty_tpl)
    {
        $_smarty_tpl->properties['nocache_hash'] = '7418565327d2802483_39157258';
        ?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>40fff4</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <link type="text/css" rel="stylesheet" href="/portfolio/portfolio.lt/css/styles.css">
  </head>
    <body class="not-found-main">
        <img class="not-found-image-container" src="images/404.png" alt="404">
        <span class="main-text"><strong><?php 
        echo smarty_function_translation(array('langId' => "71"), $_smarty_tpl);
        ?>
</strong></span>
        <span class="explanation"><?php 
        echo smarty_function_translation(array('langId' => "72"), $_smarty_tpl);
        ?>
</span>
        <a href="<?php 
        echo $_smarty_tpl->tpl_vars['lang']->value;
        ?>
"><?php 
        echo smarty_function_translation(array('langId' => "73"), $_smarty_tpl);
        ?>
</a>
    </body>
</html><?php 
    }
开发者ID:GulbickijPavel,项目名称:portfolio_old,代码行数:33,代码来源:72f80f5067d8d5c50a14f34d151e369544da57b5_0.file.404.tpl.php

示例12: content_5696e7462cf9b3_82920353

    function content_5696e7462cf9b3_82920353($_smarty_tpl)
    {
        $_smarty_tpl->properties['nocache_hash'] = '13587927625696e7462890c2_92603967';
        ?>
 <!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>404</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <link type="text/css" rel="stylesheet" href="/css/styles.min.css">
  </head>
    <body class="not-found-main">
        <img class="not-found-image-container" src="/images/404.png" alt="404">
        <span class="main-text"><strong><?php 
        echo smarty_function_translation(array('langId' => "73"), $_smarty_tpl);
        ?>
</strong></span>
        <span class="explanation"><?php 
        echo smarty_function_translation(array('langId' => "74"), $_smarty_tpl);
        ?>
</span>
        <a href="/<?php 
        echo $_smarty_tpl->tpl_vars['lang']->value;
        ?>
"><?php 
        echo smarty_function_translation(array('langId' => "75"), $_smarty_tpl);
        ?>
</a>
    </body>
</html><?php 
    }
开发者ID:GulbickijPavel,项目名称:Portfolio_recovered,代码行数:33,代码来源:48aa89d15d656c383214e42c54c3e82cae00a94a_0.file.404.tpl.php

示例13: content_563756e3b7f162_91414156

    function content_563756e3b7f162_91414156($_smarty_tpl)
    {
        $_smarty_tpl->properties['nocache_hash'] = '18969563756e3adb045_53572075';
        ?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Portfolio</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?php 
        ob_start();
        echo smarty_function_translation(array('langEn' => "Junior full stack web developer personal portfolio"), $_smarty_tpl);
        $_tmp1 = ob_get_clean();
        $_smarty_tpl->tpl_vars["desc"] = new Smarty_Variable($_tmp1, null, 0);
        ?>
    <?php 
        echo $_smarty_tpl->tpl_vars['desc']->value;
        ?>

    <?php 
        echo smarty_function_translation(array('langEn' => "Junior full stack web developer"), $_smarty_tpl);
        ?>
 
    <meta name="description" content="<?php 
        echo smarty_function_translation(array('langEn' => "Junior full stack web developer"), $_smarty_tpl);
        ?>
,<?php 
        echo smarty_function_translation(array('langEn' => "personal portfolio website"), $_smarty_tpl);
        ?>
">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <link type="text/css" rel="stylesheet" href="/portfolio/portfolio.lt/css/bootstrap.css" media="screen">
    <link type="text/css" rel="stylesheet" href="/portfolio/portfolio.lt/css/styles.css">
    <link type="text/css" rel="stylesheet" href="/portfolio/portfolio.lt/css/bootstrap-gallery.css">
    <link type="text/css" rel="stylesheet" href="/portfolio/portfolio.lt/css/magicsuggest-min.css">
    <link type="text/css" rel="stylesheet" href="/portfolio/portfolio.lt/slider/jquery.bxslider.css">
  </head>
    <body>
        <?php 
        if ($_smarty_tpl->tpl_vars['showMenu']->value == 'true') {
            ?>
 
            <?php 
            echo $_smarty_tpl->getSubTemplate('smarty/templates/menu.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
            ?>

        <?php 
        }
        ?>
        <div class="container">
            <div class="main" id="main">
                 <span class="cms"><?php 
        echo $_smarty_tpl->tpl_vars['cms']->value;
        ?>
</span>
    <?php 
    }
开发者ID:GulbickijPavel,项目名称:portfolio_source,代码行数:58,代码来源:ffe40f2ceeda5f5d767b58ecfa9c4e26a3dddf92_0.file.header.tpl.php

示例14: content_5631fbe4472e55_87948747

    function content_5631fbe4472e55_87948747($_smarty_tpl)
    {
        $_smarty_tpl->properties['nocache_hash'] = '170395631fbe4405842_20085603';
        ?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Portfolio</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content='<?php 
        echo smarty_function_translation(array('langEn' => "Junior full stack web developer"), $_smarty_tpl);
        ?>
,<?php 
        echo smarty_function_translation(array('langEn' => "personal portfolio website"), $_smarty_tpl);
        ?>
'>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <link type="text/css" rel="stylesheet" href="/portfolio/portfolio.lt/css/bootstrap.css" media="screen">
    <link type="text/css" rel="stylesheet" href="/portfolio/portfolio.lt/css/styles.css">
    <link type="text/css" rel="stylesheet" href="/portfolio/portfolio.lt/css/magicsuggest-min.css">
    <link type="text/css" rel="stylesheet" href="/portfolio/portfolio.lt/slider/jquery.bxslider.css">
  </head>
    <body>
        <?php 
        if ($_smarty_tpl->tpl_vars['showMenu']->value == 'true') {
            ?>
 
            <?php 
            echo $_smarty_tpl->getSubTemplate('menu.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
            ?>

            <?php 
            echo $_smarty_tpl->getSubTemplate('sections/contacts/contacts.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
            ?>

        <?php 
        }
        ?>
        <div class="container">
            <?php 
        if ($_smarty_tpl->tpl_vars['showMenu']->value == 'true') {
            ?>
            <div id="floating" class="floating-contacts">
            </div>
            <?php 
        }
        ?>
            <div class="main" id="main">
                 <span class="cms"><?php 
        echo $_smarty_tpl->tpl_vars['cms']->value;
        ?>
</span>
                <?php 
    }
开发者ID:GulbickijPavel,项目名称:portfolio_source,代码行数:55,代码来源:19a13eaf9f97324f70b25d93c2be686b9b3504d3_0.file.header.tpl.php

示例15: content_565329fdd83e42_68990826

    function content_565329fdd83e42_68990826($_smarty_tpl)
    {
        $_smarty_tpl->properties['nocache_hash'] = '24231565329fdb3dd88_84112810';
        ?>
 
        <section class="jumbotron" id="skills"> 
            <h2><?php 
        echo smarty_function_translation(array('langEn' => "Skills"), $_smarty_tpl);
        ?>

                <?php 
        if ($_smarty_tpl->tpl_vars['is_admin']->value) {
            ?>
                <a class="btn btn-primary right control" id="skil-button"><?php 
            echo smarty_function_translation(array('langEn' => "Control"), $_smarty_tpl);
            ?>
</a>
                <?php 
        }
        ?>
            </h2>
            <hr>
            <div class="content">
                <h3><?php 
        echo smarty_function_translation(array('langEn' => "Main"), $_smarty_tpl);
        ?>
</h3>
                <?php 
        echo smarty_function_skills(array('cat' => 1), $_smarty_tpl);
        ?>

                <h3><?php 
        echo smarty_function_translation(array('langEn' => "Secondary"), $_smarty_tpl);
        ?>
</h3>
                <?php 
        echo smarty_function_skills(array('cat' => 2), $_smarty_tpl);
        ?>

                <h3><?php 
        echo smarty_function_translation(array('langEn' => "Other"), $_smarty_tpl);
        ?>
</h3>
                <?php 
        echo smarty_function_skills(array('cat' => 3), $_smarty_tpl);
        ?>

            </div> 
        </section><?php 
    }
开发者ID:GulbickijPavel,项目名称:portfolio_old,代码行数:50,代码来源:412e0de03b9c38ef0ba89dadb693af4e463b558d_0.file.skills.tpl.php


注:本文中的smarty_function_translation函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。