[ Index ] |
|
Code source de e107 0.7.8 |
1 <?php 2 /* 3 +---------------------------------------------------------------+ 4 | e107 website system 5 | 6 | ©Steve Dunstan 2001-2005 7 | http://e107.org 8 | jalist@e107.org 9 | 10 | Released under the terms and conditions of the 11 | GNU General Public License (http://gnu.org). 12 | 13 | $Revision: 1.20 $ 14 | $Date: 2006/01/27 02:30:59 $ 15 | $Author: qnome $ 16 +---------------------------------------------------------------+ 17 */ 18 19 if (!defined('e107_INIT')) { exit; } 20 21 // [multilanguage] 22 23 @include_once(e_THEME."kubrick/languages/".e_LANGUAGE.".php"); 24 @include_once(e_THEME."kubrick/languages/English.php"); 25 26 // [theme] 27 $themename = "kubrick"; 28 $themeversion = "1.0"; 29 $themeauthor = "Steve Dunstan [jalist] & William Moffett [Que]"; 30 $themeemail = "jalist@e107.org"; 31 $themewebsite = "http://e107.org"; 32 $themedate = "29/01/2005"; 33 $themeinfo = "Based on 'kubrick' by Michael Heilemann (http://binarybonsai.com/kubrick/).<br />This theme is intended for minimilist blog sites."; 34 define("STANDARDS_MODE", TRUE); 35 $xhtmlcompliant = TRUE; 36 $csscompliant = TRUE; 37 define("IMODE", "lite"); 38 define("THEME_DISCLAIMER", "<br /><i>".LAN_THEME_1."</i>"); 39 40 if(!defined("e_THEME")){ exit; } 41 $page=substr(strrchr($_SERVER['PHP_SELF'], "/"), 1); 42 define("e_PAGE", $page); 43 44 $register_sc[]= "UL"; // register shortcode ul.sc for inclusion. 45 46 // [layout] 47 48 $layout = "_default"; 49 50 $HEADER = "<div id='page'> 51 <div id='header'> 52 <h1><a href='".SITEURL."' title='{SITENAME}'>{SITENAME}</a></h1> 53 <h2>{SITETAG}</h2> 54 {UL} 55 </div> 56 <div id='content' class='narrowcolumn'>"; 57 58 $FOOTER = " 59 </div> 60 <div id='sidebar'> 61 {MENU=1} 62 {MENU=2} 63 </div> 64 <hr /> 65 <div id='footer'> 66 <p> 67 {SITEDISCLAIMER}<br />{THEMEDISCLAIMER} 68 </p> 69 </div> 70 </div> 71 "; 72 73 $CUSTOMHEADER = "<div id='page2'> 74 <div id='header'> 75 <h1><a href='".SITEURL."' title='{SITENAME}'>{SITENAME}</a></h1> 76 <h2>{SITETAG}</h2> 77 {UL} 78 </div> 79 <div id='content' class='widecolumn'>"; 80 81 82 $CUSTOMFOOTER = " 83 </div> 84 <hr /> 85 <div id='footer'> 86 <p> 87 {SITEDISCLAIMER}<br />{THEMEDISCLAIMER} 88 </p> 89 </div> 90 </div> 91 "; 92 93 $CUSTOMPAGES = "forum.php forum_post.php forum_viewforum.php forum_viewtopic.php user.php submitnews.php download.php links.php stats.php usersettings.php signup.php"; 94 95 $NEWSSTYLE = " 96 <h2>{NEWSTITLE}</h2> 97 <small>on {NEWSDATE} | by {NEWSAUTHOR}</small> 98 <div class='entry' style='text-align:left'> 99 {NEWSBODY} 100 {EXTENDED} 101 </div> 102 <div style='text-align:right' class='smalltext'> 103 {NEWSCOMMENTS}{TRACKBACK} 104 </div> 105 <br />"; 106 define("ICONSTYLE", "float: left; border:0"); 107 define("COMMENTLINK", LAN_THEME_3); 108 define("COMMENTOFFSTRING", LAN_THEME_2); 109 define("PRE_EXTENDEDSTRING", "<br /><br />[ "); 110 define("EXTENDEDSTRING", LAN_THEME_4); 111 define("POST_EXTENDEDSTRING", " ]<br />"); 112 define("TRACKBACKSTRING", LAN_THEME_5); 113 define("TRACKBACKBEFORESTRING", " | "); 114 115 116 // [linkstyle] 117 118 define('PRELINK', ""); 119 define('POSTLINK', ""); 120 define('LINKSTART', ""); 121 define('LINKEND', ""); 122 define('LINKDISPLAY', 1); 123 define('LINKALIGN', "left"); 124 define('LINKCLASS', ""); 125 126 // [tablestyle] 127 128 function tablestyle($caption, $text, $mode) 129 { 130 echo "<h3>$caption</h3>\n<div>$text</div><br />\n"; 131 } 132 133 $COMMENTSTYLE = " 134 <table style='width: 450px;'> 135 <tr> 136 <td style='width: 30%; vertical-align: top;'><span class='mediumtext'>{USERNAME}</span><br /><span class='smalltext'>{TIMEDATE}</span><br />{AVATAR}{REPLY}</td> 137 <td style='width: 70%; vertical-align: top;'><span class='mediumtext'>{COMMENT} {COMMENTEDIT}</span></td> 138 </tr> 139 </table>"; 140 141 142 $CHATBOXSTYLE = " 143 <img src='".e_IMAGE."admin_images/chatbox_16.png' alt='' style='vertical-align: middle;' /> 144 <b>{USERNAME}</b> 145 <div class='smalltext'> 146 {MESSAGE} 147 </div> 148 <br />"; 149 150 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Apr 1 01:23:32 2007 | par Balluche grâce à PHPXref 0.7 |