where can change the background colour for put the same of the Theme? thanks.
The ecard template is part of the theme system. Copy it from themes/sample/theme.php into your theme and modify it.
Quote from: Nibbler on April 27, 2006, 03:34:42 PM
The ecard template is part of the theme system. Copy it from themes/sample/theme.php into your theme and modify it.
copy to my theme? or also modify the sample?
Just copy.
but.. the theme.php of sample is more very long that the of theme used by me!
could anyone put me the code of need change?
thanks
regards
Just copy the ecard template as suggested.
// HTML template for e-cards
$template_ecard = <<<EOT
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="{LANG_DIR}">
<head>
<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
<title>{TITLE}</title>
</head>
<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">
<br />
<p align="center"><a href="{VIEW_ECARD_TGT}"><b>{VIEW_ECARD_LNK}</b></a></p>
<table border="0px" cellspacing="0px" cellpadding="1px" align="center">
<tr>
<td bgcolor="#000000">
<table border="0px" cellspacing="0px" cellpadding="10px" bgcolor="#ffffff">
<tr>
<td valign="top">
<a href="{VIEW_MORE_TGT}/displayimage.php?pos=-{PID}">
<img src="{PIC_URL}" border="1px" alt="" /></a>
<br />
<div align="center">
<h2>{PIC_TITLE}</h2>
</div>
</td>
<td valign="top" width="300px">
<div align="right"><img src="{URL_PREFIX}images/stamp.gif" border="0px" alt="" /></div>
<br />
<b><font face="arial" color="#000000" size="4">{GREETINGS}</font></b>
<br />
<br />
<font face="arial" color="#000000" size="2">{MESSAGE}</font>
<br />
<br />
<font face="arial" color="#000000" size="2">{SENDER_NAME}</font>
(<a href="mailto:{SENDER_EMAIL}"><font face="arial" color="#000000" size="2">{SENDER_EMAIL}</font></a>)
</td>
</tr>
<tr>
<td colspan="2">
{PIC_CAPTION}
</td>
</tr>
</table>
</td>
</tr>
</table>
<p align="center"><a href="{VIEW_MORE_TGT}"><b>{VIEW_MORE_LNK}</b></a></p>
</body>
</html>
EOT;
thanks.