source\lib\gtpublisher\styles\l-phtml\default.g
1 /******************************************************************************
2 *
3 * Copyright (C) 2006, The Gentee Group. All rights reserved.
4 * This file is part of the Gentee open source project - http://www.gentee.com.
5 *
6 * THIS FILE IS PROVIDED UNDER THE TERMS OF THE GENTEE LICENSE ("AGREEMENT").
7 * ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE CONSTITUTES RECIPIENTS
8 * ACCEPTANCE OF THE AGREEMENT.
9 *
10 * ID: default 17.11.06 0.0.A.
11 *
12 * Author: Alexey Krivonogov ( gentee )
13 *
14 ******************************************************************************/
15
16 text L_default( gtitem gti )
17 \{
18 str desc title lang prjname url
19
20 _gtp.prj.get("project/lang", lang )
21 _gtp.prj.get("project/name", prjname )
22
23 gti.getsubitem( "desc", desc )
24 if !*desc : desc = "#/title#"
25
26 title = "\( prjname ): #/title#"
27 _gtp.geturl( gti, url )
28
29 }<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd"><html>
30 <head>
31 <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
32 <meta http-equiv="Content-Language" content="\( lang )">
33 <meta NAME="KEYWORDS" CONTENT="#/keywords#">
34 <meta NAME="DESCRIPTION" CONTENT="\( desc )">
35 <link rel="icon" href="/favicon.ico" type="image/x-icon">
36 <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
37 <link rel="stylesheet" type="text/css" href="/css/default/styles.css">
38 <script language="JavaScript1.2" src="/css/ddnmenu.js" type="text/javascript"></script>
39 <title>\( title )</title></head>
40 <body>
41 \@header( gti, "" )
42
43 <div id="center" >
44 <div class="left-column">
45 \{
46 str info
47 gti.getsubitem( "info", info )
48 if *info : @info
49
50 @navmenu( gti )
51 }
52 <?php require( '../adv.php' ) ?>
53 </div>
54 <div class="content">
55 <div class="box"><!--EDIT-->\@content( gti )<!--EDIT-->
56 </div>
57 <a href="/admin/edit.phtml?url=\(url)">#lng/edit#</a>
58 </div>
59 <br style="clear:left">
60 </div>
61 <?php require( '../footer.html' ) ?>
62 </body></html>
63 \!
64
65