index.html 1.5 KB
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="description" content="ThinkCMF插件演示首页">
    <meta name="keywords" content="ThinkCMF插件演示首页">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>ThinkCMF插件演示首页</title>

    <!-- Set render engine for 360 browser -->
    <meta name="renderer" content="webkit">

    <!-- No Baidu Siteapp-->
    <meta http-equiv="Cache-Control" content="no-siteapp"/>

    <link rel="shortcut icon" href="__PLUGIN_TMPL__/assets/images/favicon.ico" type="image/x-icon">

    <!-- SEO: If your mobile URL is different from the desktop URL, add a canonical link to the desktop page https://developers.google.com/webmasters/smartphone-sites/feature-phones -->
    <!--
    <link rel="canonical" href="http://www.example.com/">
    -->

</head>
<body>
<div class="well well-warning" style="display: inline-block;">
    <h2>ThinkCMF插件演示</h2>
    {:lang('plugin_demo_hello_world')}
    <p>
        <b>插件根目录:</b>__PLUGIN_ROOT__
    </p>

    <p>
        <b>插件模板根目录:</b>__PLUGIN_TMPL__
    </p>

    <p>
        <b>生成插件控制器 URL:</b>{:cmf_plugin_url('Demo://Index/index',['id'=>1])}
    </p>

    <p>
        <b>foreach:</b>
    </p>
    <ol>
        <foreach name="users" item="vo">
            <li>{$vo.user_login} {:date('Y-m-d H:i:s',$vo['create_time'])}</li>

        </foreach>
    </ol>


</div>
</body>
</html>