[ 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 */ 14 15 if (!defined('e107_INIT')) { exit; } 16 17 // [multilanguage] 18 @include_once(e_THEME."vekna_blue/languages/".e_LANGUAGE.".php"); 19 @include_once(e_THEME."vekna_blue/languages/English.php"); 20 21 // [theme] 22 $themename = "vekna blue"; 23 $themeversion = "1.0"; 24 $themeauthor = "Steve Dunstan [jalist]"; 25 $themeemail = "jalist@e107.org"; 26 $themewebsite = "http://e107.org"; 27 $themedate = "09/03/2005"; 28 $themeinfo = "Based on, and with permission from Arach's site, http://e107.vekna.com"; 29 define("STANDARDS_MODE", TRUE); 30 define("IMODE", "lite"); 31 $xhtmlcompliant = TRUE; 32 $csscompliant = TRUE; 33 34 define("THEME_DISCLAIMER", "<br /><i>".LAN_THEME_1."</i>"); 35 36 function theme_head() { 37 return "<link rel='stylesheet' href='".THEME_ABS."nav_menu.css' />\n"; 38 } 39 40 // [layout] 41 42 $layout = "_default"; 43 44 /* 45 to use an icon image next to links, add the following line ... 46 {SITELINKS_ALT=".e_IMAGE."blah.png} 47 instead of 48 {SITELINKS_ALT=no_icons} 49 then make change to nav_menu.css (documented in that file) 50 */ 51 52 $HEADER = " 53 <table id='wrapptable' cellspacing='2' cellpadding='2' style='width: 800'> 54 <tr> 55 <td colspan='2'> 56 <div>{SITELINKS_ALT=no_icons}</div> 57 </td> 58 </tr> 59 <tr> 60 <td colspan='2'> 61 <div id='logo'> 62 ... {SITENAME} 63 </div> 64 </td> 65 </tr> 66 <tr> 67 <td style='width: 600px; vertical-align: top;'> 68 {SETSTYLE=main} 69 "; 70 71 $FOOTER = " 72 </td> 73 <td style='width:200px; vertical-align: top;'> 74 {SETSTYLE=menu} 75 {MENU=1} 76 </td> 77 </tr> 78 <tr> 79 <td class='infobar' colspan='2' style='text-align: center;'>{SITEDISCLAIMER}<br />{THEMEDISCLAIMER}</td> 80 </tr> 81 </table> 82 "; 83 84 $CUSTOMHEADER = " 85 <table id='wrapptable' cellspacing='2' cellpadding='2' style='width: 800'> 86 <tr> 87 <td colspan='2'> 88 <div>{SITELINKS_ALT=no_icons}</div> 89 </td> 90 </tr> 91 <tr> 92 <td colspan='2'> 93 <div id='logo'> 94 ... {SITENAME} 95 </div> 96 </td> 97 </tr> 98 <tr> 99 <td style='width: 800px; vertical-align: top;'> 100 {SETSTYLE=main} 101 "; 102 103 $CUSTOMFOOTER = " 104 </td> 105 </tr> 106 <tr> 107 <td class='infobar' colspan='2' style='text-align: center;'>{SITEDISCLAIMER}<br />{THEMEDISCLAIMER}</td> 108 </tr> 109 </table> 110 "; 111 112 $CUSTOMPAGES = "forum.php forum_post.php forum_viewforum.php forum_viewtopic.php user.php submitnews.php download.php links.php comment.php stats.php usersettings.php documentation"; 113 114 $NEWSSTYLE = " 115 <div class='spacer'> 116 <div class='borderx'><div class='line2'>{NEWSTITLE}</div> 117 <div class='incontent'>{NEWSBODY}{EXTENDED}</div> 118 <div class='infobar'>{NEWSAUTHOR} on {NEWSDATE} | {NEWSCOMMENTS}{TRACKBACK}</div> 119 </div> 120 </div> 121 "; 122 123 define("ICONSTYLE", ""); 124 define("COMMENTLINK", LAN_THEME_2); 125 define("COMMENTOFFSTRING", LAN_THEME_3); 126 define("PRE_EXTENDEDSTRING", "<br /><br />[ "); 127 define("EXTENDEDSTRING", LAN_THEME_4); 128 define("POST_EXTENDEDSTRING", " ]<br />"); 129 define("TRACKBACKSTRING", LAN_THEME_5); 130 define("TRACKBACKBEFORESTRING", " | "); 131 132 133 // [linkstyle] 134 135 136 137 138 define('PRELINK', "<ul>"); 139 define('POSTLINK', "</ul>"); 140 define('LINKSTART', "<li>"); 141 define("LINKSTART_HILITE", ""); 142 define('LINKEND', "</li>"); 143 define('LINKDISPLAY', 1); 144 define('LINKALIGN', "left"); 145 146 147 // [tablestyle] 148 149 function tablestyle($caption, $text, $mode) 150 { 151 global $style; 152 if($style == "menu") 153 { 154 echo "<div class='spacer'><div class='caption'><div class='captionpadder'><h4>{$caption}</h4></div></div><div class='menubody'><div class='menupadder'>{$text}</div></div><div class='menubottom'></div></div>"; 155 } 156 else 157 { 158 if($caption) 159 { 160 echo "<div class='spacer'>\n<div class='borderx'><div class='line2'>{$caption}</div>\n<div class='incontent'>{$text}</div>\n</div>\n"; 161 } 162 else 163 { 164 echo "<div class='spacer'>\n<div class='borderx'>\n<div class='incontent'>{$text}</div>\n</div>\n"; 165 } 166 } 167 } 168 169 $COMMENTSTYLE = " 170 <table style='width: 100%;' cellspacing='10'> 171 <tr> 172 <td style='width: 30%; text-align: right; vertical-align: top;'><span class='mediumtext'><b>{USERNAME}</b></span><br /><span class='smalltext'>{TIMEDATE}</span><br />{AVATAR}<span class='smalltext'>{REPLY}</span></td> 173 <td style='width: 70%;'> 174 {COMMENT} {COMMENTEDIT} 175 </td> 176 </tr> 177 </table> 178 "; 179 180 $CHATBOXSTYLE = " 181 <img src='".THEME_ABS."images/bullet2.gif' alt='' style='vertical-align: middle;' /> 182 <b>{USERNAME}</b> 183 <div class='smalltext'> 184 {MESSAGE} 185 </div> 186 <br />"; 187 188 ?>
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 |