demo1.html 1.0 KB
<!-- Page Content -->
    <div class="container">

        <!-- Page Heading/Breadcrumbs -->
        <div class="row">
            <div class="col-lg-12">
                <h1 class="page-header">无需登录页面
                    <small>开发者示例</small>
                </h1>
                <ol class="breadcrumb">
                    <li><a href="{:addon_url('example/index/index')}">插件首页</a>
                    </li>
                    <li class="active">无需登录页面</li>
                </ol>
            </div>
        </div>
        <!-- /.row -->

        <!-- Content Row -->
        <div class="row">
            <div class="col-lg-12">
                <p class="well">当前登录页面无需登录即可查看,当前请求的name值为:{$Request.param.name}</p>
                {if $user}
                <p class="well text-danger">但是如果你登录后可以浏览到这段隐藏的信息</p>
                {/if}
            </div>
        </div>
        <!-- /.row -->

        <hr>

    </div>
    <!-- /.container -->