| Variables of the file inc_features.php
Hello,
I like to know what is the variable of the title of the pictures shown in the vBulletin home.
In the file inc_features.php are already available:
$pid,$puser,$puserid,$pcat,$photo,$height,$width,$catname,$cphotos,$cposts
// One box for each feature
$featured .= <<<PPPRINT
<td align="center" class="alt1">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td style="background: url({$data_dir}{$pcat}/thumbs/$photo); background-color: #000000; background-repeat: no-repeat; background-position: center;"><a href="{$url_path}/showphoto.php?photo={$pid}">$mthumb</a></td>
</tr>
</table>
<font size="1" face="verdana,arial">by {$puser}<br />
· · ·<br />
<a href="{$url_path}/showgallery.php?cat={$pcat}">$catname</a><br />
$cphotos photos<br />$cposts comments<br /></font>
</td>
PPPRINT;
--------------------------------------------------------------------
I would like to display also the title of the pictures.
Question: What could be the variable of the title of the photos using in $featured?
Second question: Can I define a vBulletin phrase for the title in $photopostfeature?
I like to have a translation for "Featured photos" into spanisch.
|