Implemented role and permission storage.
Introduced the CMS_PARTIAL_NODE and CMS_PARTIAL_USER.
Added support for node storage extension
- storage of data specific to each node content type,
- in addition to the core CMS_NODE)
- For now, only implemented for SQL storage.
Note: in current version, CMS_PAGE support is hard coded in the core,
(as opposed to be only supported by the node module.)
Commented/removed for now, the Web API code to update node summary, title, via REST request.
77 lines
2.3 KiB
Smarty
77 lines
2.3 KiB
Smarty
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<!-- EWF CMS -->
|
|
<link rel="stylesheet" href="{$site_url/}/theme/css/style.css">
|
|
<link rel="stylesheet" href="{$site_url/}/theme/css/node.css">
|
|
<!-- bootstrap framework -->
|
|
<!-- Latest compiled and minified CSS -->
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
|
|
<!-- Optional theme -->
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css">
|
|
|
|
<title>{$head_title/}</title>
|
|
</head>
|
|
<body>
|
|
<!-- Page Top -->
|
|
{if isset="$region_top"}
|
|
{$region_top/}
|
|
{/if}
|
|
<!-- Body -->
|
|
<div class='container-fluid'>
|
|
|
|
<!-- Page Header -->
|
|
<div id="header">
|
|
{if isset="$page.primary_nav"}
|
|
{$page.primary_nav/}
|
|
{/if}
|
|
</div>
|
|
|
|
<!-- General Page Content -->
|
|
<div id='content' class='row-fluid'>
|
|
<!-- Left Sidebar sidebar_first -->
|
|
{unless isempty="$page.region_sidebar_first"}
|
|
<div id="sidebar_first" class="sidebar">{$page.region_sidebar_first/}</div>
|
|
{/unless}
|
|
<!-- Right Sidebar sidebar_second-->
|
|
{unless isempty="$page.region_sidebar_second"}
|
|
<div id="sidebar_second" class="sidebar">{$page.region_sidebar_second/}</div>
|
|
{/unless}
|
|
|
|
<!-- Highlighted, Help, Content -->
|
|
<div class='span8 main'>
|
|
<!-- Highlighted Section -->
|
|
{unless isempty="$page.region_highlighted"}
|
|
<div id="highlighted">{$page.region_highlighted/}</div>
|
|
{/unless}
|
|
<!-- Help Section -->
|
|
{unless isempty="$page.region_help"}
|
|
<div id="help">{$page.region_help/}</div>
|
|
{/unless}
|
|
|
|
<!-- Main Content Section -->
|
|
{unless isempty="$page_title"}<h1 class="page-title">{$page_title/}</h1>{/unless}
|
|
{$page.region_content/}
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<!--Page footer -->
|
|
{$page.region_footer/}
|
|
|
|
<!-- Page Bottom -->
|
|
{$page.region_bottom/}
|
|
|
|
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
|
|
<!-- Latest compiled and minified JavaScript -->
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
|
|
|
|
{include file="debug.tpl"/}
|
|
</body>
|
|
</html>
|