e107 Styles

Fórumok

BBcode segitség

15 évvel ezelőtt
Hy.
Lenne 1 olyen kérdésem hogy a hozzá szólásoknál megjelennek a BBcode gombjai. felette pedig a segitség, hogy hogyan is kell a kiválasztott kódot használni.
Na én azt a segitséget szeretném eltüntentni.
Ezt hogy lehetne megcisnálni ?
Előre is köszi.
15 évvel ezelőtt
Az alapkódokból kell kivenni a help kódrészletet (renhelp).
15 évvel ezelőtt
2008. Sep 09. Tue, 17:39
köszi, sikerült.
És esetleg arra van lehetőség hogy csak 1 bizonyos zhem nél ne legyen ott ?
15 évvel ezelőtt
Ha átírod a kódokat, akkor mindent lehet. Alapesetben nem.
15 évvel ezelőtt
Úgy érzem erre én még nem vagyok képes, inkább hanyagolom.
De azért thx.
15 évvel ezelőtt
2008. Sep 14. Sun, 02:27
a ren_help.php-t hogy lehet hozzá rendelni a theme hez ? Bemásoltam a theme mappámba, modosítotam és semmi, valamit kell írni a theme.php ba ?
15 évvel ezelőtt
Ismét 1 téma, amire nem érkezett válasz ... /cry
15 évvel ezelőtt
Át kell, de látni kellene a theme.php fájlt ahoz hogy tudjuk hogy hová és mit, mivel (nehogy sértésnek vedd, én sem vagyok belőle profi) nem nagyon értesz hozzá!
15 évvel ezelőtt
2008. Oct 13. Mon, 16:17
Nem veszem sértésnek, és igazad van nem értek hozza, azért tetem fel ezt a kérdést is. És köszönöm hogy végre valaki írt nekem valamit. Itt a theme.php:
<?php

require_once(THEME."gc_custom_login.php");

if (!defined('e107_INIT')) { exit; }
if (!defined("USER_WIDTH")){ define("USER_WIDTH","width:100%"); }

@include_once(e_THEME."fct_theme2/languages/".e_LANGUAGE.".php"); 
@include_once(e_THEME."fct_theme2/languages/Hungarian.php");

// [theme]
$themename = ".:FcT:. Theme 2";
$themeversion = "2.0";
$themeauthor = "NuDL!";
$themeemail = "fctclan@extra.hu";
$themewebsite = "http://fctclan.extra.hu";
$themedate = "2008-08-13";
$themeinfo = ".:FcT:. Clan Theme";
$xhtmlcompliant = TRUE;
$csscompliant = TRUE;
$no_core_css = TRUE;
define("STANDARDS_MODE", "");
define("IMODE", "dark");

//[layout]
$layout = "_default";

// [mydate]
$register_sc[]= 'MYDATE';

// if the following pages then use the header and footer that follow

$HEADER = "
<br>
<table style='width:95%' cellspacing='0' cellpadding='0' align='center'>
<tr>
<center>".GC_CUSTOM_LOGIN."   </center>


</tr>
</table>

<table style='width:95%' cellspacing='0' cellpadding='0' align='center'>
<tr>

<td class='r2c2'><img src='".THEME."images/blank.gif' width='955' height='123' alt='' class='ffimgfix' /></td>

</tr>
</table>

<table style='width:95%' cellspacing='0' cellpadding='0' align='center'>
<tr>
<td class='r3c1'><img src='".THEME."images/blank.gif' width='245' height='26' alt='' class='ffimgfix' /></td>
<td class='r3c2' style='width:100%;white-space:nowrap'>
{SITELINKS=flat}
<td class='r3c3'><img src='".THEME."images/blank.gif' width='25' height='26' alt='' class='ffimgfix' /></td>
</tr>
</table>

<table style='width:95%' cellspacing='0' cellpadding='0' align='center'>
<tr>
<td class='r4c1'><img src='".THEME."images/blank.gif' width='14' height='11' alt='' class='ffimgfix' /></td>
<td class='r4c2' style='width:100%;white-space:nowrap'>
<td class='r4c3'><img src='".THEME."images/blank.gif' width='25' height='11' alt='' class='ffimgfix' /></td>
</tr>
</table>

<table style='width:95%' cellspacing='0' cellpadding='0' align='center' bgcolor='#555343'>
<tr>
<td class='r5cleft'><img src='".THEME."images/blank.gif' width='14' alt='' class='ffimgfix' />
</td>
<td class='' style='width:0%; vertical-align:top;' class='ffimgfix' />
{SETSTYLE=leftmenu}
</td>
{SETSTYLE=default}
<td style='width:100%; vertical-align:top;'>
";

$FOOTER = "
</td>
<td style='width:0%; vertical-align:top'>
</td>
<td class='r5cright'><img src='".THEME."images/blank.gif' width='14' alt='' class='ffimgfix' />
</td>
</tr>
</table>

<table style='width:95%' cellspacing='0' cellpadding='0' align='center'>
<tr>
<td class='r6c1'><a href='http://www.mozilla-europe.org/hu/firefox/'><img src='".THEME."images/blank.gif' width='83' height='121' alt='' class='ffimgfix' /></a></td>
<td class='r6c2' style='width:100%;white-space:nowrap'>
{SITEDISCLAIMER}   
<td class='r6c3'><img src='".THEME."images/blank.gif' width='377' height='121' alt='' class='ffimgfix' /></td>
</tr>
</table>

";
// otherwise, use the following default header and footer

// Default Header and Footer -----------------------------------------------------------
$HEADER = "
  <br>
<table style='width:95%' cellspacing='0' cellpadding='0' align='center'>
<tr>

<center>".GC_CUSTOM_LOGIN."   </center>


</tr>
</table>

<table style='width:95%' cellspacing='0' cellpadding='0' align='center'>
<tr>

<td class='r2c2'><img src='".THEME."images/blank.gif' width='955' height='123' alt='' class='ffimgfix' /></td>

</tr>
</table>

<table style='width:95%' cellspacing='0' cellpadding='0' align='center'>
<tr>
<td class='r3c1'><img src='".THEME."images/blank.gif' width='245' height='26' alt='' class='ffimgfix' /></td>
<td class='r3c2' style='width:100%;white-space:nowrap'>
{SITELINKS=flat}
<td class='r3c3'><img src='".THEME."images/blank.gif' width='25' height='26' alt='' class='ffimgfix' /></td>
</tr>
</table>

<table style='width:95%' cellspacing='0' cellpadding='0' align='center'>
<tr>
<td class='r4c1'><img src='".THEME."images/blank.gif' width='14' height='11' alt='' class='ffimgfix' /></td>
<td class='r4c2' style='width:100%;white-space:nowrap'>
<td class='r4c3'><img src='".THEME."images/blank.gif' width='25' height='11' alt='' class='ffimgfix' /></td>
</tr>
</table>

<table style='width:95%' cellspacing='0' cellpadding='0' align='center' bgcolor='#555343'>
<tr>
<td class='r5cleft'><img src='".THEME."images/blank.gif' width='14' alt='' class='ffimgfix' />
</td>
<td class='' style='width:20%; vertical-align:top;' class='ffimgfix' />

{MENU=1}
</td><td style='width:60%; vertical-align: top;'>";

$FOOTER =
"</td><td style='width:20%; vertical-align:top'>
{MENU=2}
</td>
<td class='r5cright'><img src='".THEME."images/blank.gif' width='14' alt='' class='ffimgfix' />
</td>
</tr>
</table>

<table style='width:95%' cellspacing='0' cellpadding='0' align='center'>
<tr>
<td class='r6c1'><a href='http://www.mozilla-europe.org/hu/firefox/'><img src='".THEME."images/blank.gif' width='83' height='121' alt='' class='ffimgfix' /></a></td>
<td class='r6c2' style='width:100%;white-space:nowrap'>
{SITEDISCLAIMER}
<td class='r6c3'><img src='".THEME."images/blank.gif' width='377' height='121' alt='' class='ffimgfix' /></td>
</tr>
</table>";


//[newsstyle]

$NEWSSTYLE = "

	       
    <table cellpadding='0' cellspacing='0' border='0'>
	    <tr>              
	        <td class='mt1'><img src='".THEME."images/blank.gif' width='8' height='41' alt='' class='ffimgfix' /></td>
			<td class='mtbg' style='width:100%;white-space:nowrap'>
   
			  {NEWSTITLE}  
				</td>   
			<td class='mt2'><img src='".THEME."images/blank.gif' width='30' height='40' alt='' class='ffimgfix' /></td>
	    </tr>
	</table>
	</div>

	<div id='exp_news_{NEWSID}'>
	<table cellpadding='0' cellspacing='0' border='0'>
		<tr>
			<td class='mleft'><img src='".THEME."images/blank.gif' width='12' alt='' />
			</td>
			<td class='middlemiddle' style='width:100%'>
				{NEWSBODY}
{EXTENDED}

				<br />
				<div style='width:100%;white-space:nowrap'>
					<img src='".THEME."images/blank.gif' width='11' height='12' />
				</div>     
				<div class='newscomments' style='text-align:center'>  
					
     <span class='options'>{EMAILICON}  {PRINTICON}  {PDFICON}  {ADMINOPTIONS}<br>{MYDATE}<br>{NEWSCOMMENTS}</span> 
                                        

				</div>
			</td>           
			<td class='mright'><img src='".THEME."images/blank.gif' width='12' alt='' />
			</td>
		</tr>
	</table>
	</div>
	
	<table style='width:100%' cellspacing='0' cellpadding='0' align='center'> 
		<tr>
			<td class='md1'><img src='".THEME."images/blank.gif' width='63' height='41' alt='' class='ffimgfix' /></td>
			<td class='mdbg' style='width:100%'> 
			<td class='md2'><img src='".THEME."images/blank.gif' width='62' height='41' alt='' class='ffimgfix' /></td>
		</tr>
	</table>
";


//[newsbits]

define("ICONSTYLE", "float: left; border:0");
define('COMMENTLINK', LAN_THEME_1);
define('COMMENTOFFSTRING', LAN_THEME_2);
define("PRE_EXTENDEDSTRING", "<br /><br />[ ");
define('EXTENDEDSTRING', LAN_THEME_3);
define("POST_EXTENDEDSTRING", " ]<br />");
define('TRACKBACKSTRING', LAN_THEME_7);
define('TRACKBACKBEFORESTRING', ' | ');
define("ICONMAIL", "email.png");
define("ICONPRINT", "printer.png");
define('ICONPRINTPDF', 'pdf.png');


//[mainlinkstyle]

function linkstyle($linkstyle){
global $style;

define('PRELINK', ""); // the html to use before the links are displayed 
define('POSTLINK', "</div>"); // the html to use before the links are displayed
// define('linkclass', ""); // the css class to apply to each link
// define('linkclass_hilite', ""); // the css class to apply to the currently selected link
define('LINKSTART', "<img style='margin-top: auto; margin-bottom: -4px;' width='13' height='15' src='".THEME."images/star.png' />"); // the html used before each link
// define('LINKSTART_HILITE', " "); // Current page highlights the corresponding menu-item
// define(LINKEND', ""); // the html used after each link 
define('LINKEND', "<font color='#000'> "); // the html used after each link 
define('LINKDISPLAY', 1); // the link display mode
define('LINKALIGN', "center");
// define('linkseperator', " ");
}
define('BULLET', "bullet2.gif");
define('bullet', "bullet2.gif");


//[menustyle]

function tablestyle($caption, $text)
{
  global $expand_menu_counter;
  $expand_menu_counter += 1;

  $expand_autohide_list = array("Select Theme");
  if (in_array($caption, $expand_autohide_list)) { $expand_autohide = "display:none"; } else { unset($expand_autohide); }

  echo "
	
	<table cellpadding='0' cellspacing='0'>
	  <tr>
	    <td class='mt1'><img src='".THEME."images/blank.gif' width='30' height='41' alt='' class='ffimgfix' /></td>
			<td class='mtbg' style='width:100%; white-space:nowrap'>".$caption."</td>
			<td class='mt2'><img src='".THEME."images/blank.gif' width='30' height='41' alt='' class='ffimgfix' /></td>
	  </tr>
	</table>
	</div>
	
	
	<table cellpadding='0' cellspacing='0'>
		<tr>
			<td class='mleft'><img src='".THEME."images/blank.gif' width='12' alt='' /></td>
			<td class='middlemiddle' style='width:100%'>".$text."</td>
			<td class='mright'><img src='".THEME."images/blank.gif' width='12' alt='' /></td>
		</tr>
	</table>
	</div>

	<table style='width:100%' cellspacing='0' cellpadding='0' align='center'>
		<tr>
			<td class='md1'><img src='".THEME."images/blank.gif' width='63' height='41' alt='' class='ffimgfix' /></td>
			<td class='mdbg' style='width:100%'><img src='".THEME."images/blank.gif' width='31' height='41' alt='' class='ffimgfix' /></td>
			<td class='md2'><img src='".THEME."images/blank.gif' width='62' height='41' alt='' class='ffimgfix' /></td>
		</tr>
	</table>
	
	";
}


//[pollstyle]
 
$POLLSTYLE = <<< EOF
<b> {QUESTION} </b>
<br /><br />
{OPTIONS=<span class='alttd'>OPTION</span><br />BAR<br /><span class='smalltext'>PERCENTAGE VOTES</span><br /><br />\n}
<div style='text-align:center' class='smalltext'>{VOTE_TOTAL} {COMMENTS}
<br />
</div>
EOF;

//	[chatboxstyle]

$CHATBOXSTYLE = "
<div class='spacer'>
<div class='forumheader3'>

<b>{USERNAME}</b>
<span class='smalltext'>{TIMEDATE}</span><br /><br />
{MESSAGE}
</div>
</div>";


//[commentstyle]

$COMMENTSTYLE = "
	<div style='text-align:center'>
		<table style='width:100%'>
			<tr>
				<td colspan='2' class='alttd'>
					{SUBJECT}
					<b>
						{USERNAME}
					</b>
 					| 
 					{TIMEDATE}
				</td>
			</tr>
			<tr>
				<td style='width:30%; vertical-align:top'>
					<div class='spacer'>
						{AVATAR}
					</div>
					<span class='smalltext'>
						{LEVEL}
						{COMMENTS}
						<br />
						{JOINED}
						<br />
						{REPLY}
					</span>
				</td>
				<td style='width:100%; vertical-align:top'>
					{COMMENT}
				</td>
			</tr>
		</table>
	</div>
<br />";

?>
15 évvel ezelőtt
Eleve, nem lehet egy theme-ben 2 header és footer.
Moderátorok: fizi