VLA un petit hack pour ceux qui aimerais mettre l'image de ca catégorie dans la description du torrent.
~~~~~~~~~~~~~~//
VLA a little hack for those who like to put image of AC class in describing the torrent.
Open torrents-details.php search:
Ouvrir torrents-details.php et chercher:
AS cat_name,
follows:
après:
Search:
Chercher:
Replace:
Remplacer:
FONCTIONNE AVEC V2.06, 07, 08
@+
~~~~~~~~~~~~~~//
VLA a little hack for those who like to put image of AC class in describing the torrent.
Open torrents-details.php search:
Ouvrir torrents-details.php et chercher:
AS cat_name,
follows:
après:
categories.image AS cat_pic,Search:
Chercher:
print("<tr><td align='left'><b>" .T_("CATEGORY"). ":</b></td><td>" . $row["cat_parent"] . " > " . $row["cat_name"] . "</td></tr>n");Replace:
Remplacer:
print("<tr><td align=left><b>" .T_("CATEGORY"). ":</b></td><td><a href="torrents.php?cat=" . $row["category"] . ""><img border="0"src="" . $site_config['SITEURL'] . "/images/categories/" . $row["cat_pic"] . "" alt="" . $row["cat_name"] . "" /></td></tr>n");FONCTIONNE AVEC V2.06, 07, 08
@+

