source: extensions/skeleton/trunk/template/skeleton_page.tpl @ 23395

Last change on this file since 23395 was 23395, checked in by mistic100, 11 years ago

corrections and example of {html_style}, {html_options}, API info

File size: 1.4 KB
Line 
1{combine_css path=$SKELETON_PATH|@cat:"template/style.css"}
2
3
4{* <!-- add scripts here --> *}
5{footer_script require='jquery'}{literal}
6var reverse=0;
7$("#test").click(function() {
8  if (!reverse) {
9    $("body").css('-moz-transform','rotate(180deg)');
10    $("body").css('-webkit-transform','rotate(180deg)');
11    $("body").css('-o-transform','rotate(180deg)');
12    reverse=1;
13  } else {
14    $("body").css('-moz-transform','rotate(0deg)');
15    $("body").css('-webkit-transform','rotate(0deg)');
16    $("body").css('-o-transform','rotate(0deg)');
17    reverse=0;
18  }
19});
20{/literal}{/footer_script}
21
22
23{* <!-- Menubar & titrePage --> *}
24{if $themeconf.name == "stripped" or $themeconf.parent == "stripped"}
25  {include file=$SKELETON_ABS_PATH|@cat:'template/themes/stripped.tpl'}
26  {assign var="clear" value="true"}
27{elseif $themeconf.name == "simple-grey" or $themeconf.parent == "simple"}
28  {include file=$SKELETON_ABS_PATH|@cat:'template/themes/simple.tpl'}
29  {assign var="clear" value="true"}
30{else}
31  {include file=$SKELETON_ABS_PATH|@cat:'template/themes/default.tpl'}
32{/if}
33
34{if isset($errors) or not empty($infos)}
35{include file='infos_errors.tpl'}
36{/if}
37
38
39{* <!-- add page content here --> *}
40<h1>{'What Skeleton can do for me?'|@translate}</h1>
41<blockquote>
42  {$INTRO_CONTENT}
43</blockquote>
44
45<div id="test">Click for fun</div>
46
47
48{if isset($clear)}<div style="clear: both;"></div>
49</div>{/if}
50</div>{* <!-- content --> *}
Note: See TracBrowser for help on using the repository browser.