blob: 3e524c2c0bdb67bf42fe5b3d029b7ddbe5141b05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<% c++ #include "intro_content.hpp" %>
<% skin view %>
<% view intro uses content::intro extends master %>
<% template title() %>
<% include master::title() %> :: Intro
<% end %>
<% template page_content() %>
<div>
Welcome to "StrusCms".
</div>
<div>
<% if not empty username %>
After you have finished editing pages, please log out
<a href="<%= logout_link %>">here</a>.
<% else %>
If you want to edit pages, please log in
<a href="<%= login_link %>">here</a>.
<br/>
If you don't have an account yet, you can register for
a new one <a href="<%= register_link %>">here</a>.
<% end %>
</div>
<% end template %>
<% end view %>
<% end skin %>
|