<!DOCTYPE html>
<html>
<head>
<title>Block hiding</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap core CSS -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet" media="screen">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<h1>Web MVC Framework</h1>
<h2>Block example</h2>
<br />
<h3>This example shows controller inheritance , GUI replacement, data repetition and block hiding</h3>
<h3>{Message}</h3>
<a href="{SITEURL}/examples/cms/block_extended/disallowUsers" class="btn btn-warning">Disallow users list</a>
<a href="{SITEURL}/examples/cms/block_extended/hideUsers" class="btn btn-danger">Hide</a>
<a href="{SITEURL}/examples/cms/block_extended" class="btn btn-info">Show</a>
<a href="{SITEURL}/examples/" class="btn btn-primary">Examples TOC</a>
<br /><br />
<!-- BEGIN DisallowMessage -->
<div class="well h3">
You are not allowed to view users list
</div>
<!-- END DisallowMessage -->
<!-- BEGIN ContentUsers -->
<div class="table-responsive">
<table class="table table-bordered table-hover table-striped">
<tr>
<th>First name</th>
<th>Last name</th>
</tr>
<!-- BEGIN Users -->
<tr>
<td>{FirstName}</td>
<td>{LastName}</td>
</tr>
<!-- END Users -->
</table>
</div>
<!-- END ContentUsers -->
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/js/bootstrap.min.js"></script>
</body>
</html>
|