Betreff: Re: WF-Downloads von frankblack am 06.05.2006 10:02:37
Geh in die Administration / Systemmodul / Templatesmanager und pick dir aus dem gerade aktiven Templateset bei wfdownloads die Datei wfdownloads_download.html heraus und bearbeite sie.
Der Text der dort steht gegen folgenden ersetzen:
<{if $show_categort_title == true}>
<div style="margin-bottom: 4px;"><b><{$smarty.const._MD_WFD_CATEGORYC}></b><{$down.category}></div>
<{/if}>
<table width="100%" cellspacing="1" cellpadding="2">
<tr>
<td width="82%" align="left">
<{if $xoops_isuser == 1}><a href="<{$xoops_url}>/modules/wfdownloads/visit.php?cid=<{$down.cid}>&lid=<{$down.id}>"><span class="itemTitle"><{$down.title}> </span></a> <{$down.icons}><{/if}>
</td>
<td width="18%" align="right" nowrap="nowrap">
<a href="<{$xoops_url}>/modules/wfdownloads/singlefile.php?cid=<{$down.cid}>&lid=<{$down.id}>">
<span class="itemTitle"><{$smarty.const._MD_WFD_VIEWDETAILS}></span></a>
</td>
</tr>
<tr>
<td height="1" colspan="2" bgcolor="#000000"></td>
</tr>
<tr>
<td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class="even" style="line-height: 10px;">
<td width="50%"><small><strong><{$smarty.const._MD_WFD_SUBMITTER}>:</strong> <{$down.submitter}>
<{$down.adminlink}></small></td>
<td><div align="right" style="margin-right: 2px;"><small><b><{$lang_subdate}>:</b>
<{$down.updated}></small></div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" style="line-height: 12px;" > </td>
</tr>
<tr>
<td width="65%" height = "133" valign="top">
<{if $show_screenshot == true}>
<{if $down.screenshot_full != ''}>
<div >
<a href="<{$xoops_url}>/<{$shots_dir}>/<{$down.screenshot_full}>" target="_blank">
<img src="<{$down.screenshot_thumb}>" width="<{$shotwidth}>" height="<{$shotheight}>" alt="" vspace="3" hspace="7" align="right" style='border: 1px solid black' />
</a>
</div>
<{/if}>
<{/if}>
<{if $xoops_isuser == 1}><div style="margin-left: 6px;" align="justify"><a href="<{$xoops_url}>/modules/wfdownloads/visit.php?cid=<{$down.cid}>&lid=<{$down.id}>">
<img src="<{$xoops_url}>/modules/wfdownloads/images/icon/downloads.gif" alt="" align="absmiddle" />
<{$smarty.const._MD_WFD_DOWNLOADNOW}></a></div><br /><{/if}>
<div style="margin-left: 6px;" align="justify"><{$down.description}></div>
</td>
<td width="35%">
<div style="margin-left: 10px; margin-right: 10px; padding: 4px; background-color:#E6E6E6; border-color:#999999;" class="outer">
<small>
<div><b><{$smarty.const._MD_WFD_VERSION}>:</b> <{$down.version}></div>
<div>
<div><b><{$smarty.const._MD_WFD_DOWNLOADHITS}></b> <{$down.hits}></div>
<div><b><{$smarty.const._MD_WFD_FILESIZE}>:</b> <{$down.size}></div>
<div><b><{$smarty.const._MD_WFD_HOMEPAGE}>:</b> <{$down.homepage|wordwrap:50:"n":true}></div>
<div><b><{$smarty.const._MD_WFD_MIRROR}>:</b> <{$down.mirror|wordwrap:50:"n":true}></div>
</div>
</small>
</div>
<br />
<div style="margin-left: 10px; margin-right: 10px; padding: 4px;" class = "outer">
<small><b><{$smarty.const._MD_WFD_RATINGC}></b> <img src="<{$xoops_url}>/modules/wfdownloads/images/icon/<{$down.rateimg}>" alt="" align="absmiddle" /> (<{$down.votes}>)</small>
</div><br />
<div style="margin-left: 10px; margin-right: 10px; padding: 4px;" class = "outer">
<small><b><{$smarty.const._MD_WFD_REVIEWS}></b> <img src="<{$xoops_url}>/modules/wfdownloads/images/icon/<{$down.review_rateimg}>" alt="" align="absmiddle" /> (<{$down.reviews_num}>)</small>
</div>
</td>
</tr>
<tr>
<td colspan="2" style="line-height: 12px;"> </td>
</tr>
<tr>
<td colspan="2">
<div align = "center" style="margin-bottom: 3px; "><small>
<b><{$smarty.const._MD_WFD_PRICE}>:</b> <{$down.price}> |
<b><{$smarty.const._MD_WFD_SUPPORTEDPLAT}>:</b> <{$down.platform}> |
<b><{$smarty.const._MD_WFD_DOWNLICENSE}>:</b> <{$down.license}> |
<b><{$smarty.const._MD_WFD_LIMITS}>:</b> <{$down.limitations}></small></div>
</td>
</tr>
<tr>
<td colspan="2" class="even" style="line-height: 12px;">
<div align="center"><small>
<a href="<{$xoops_url}>/modules/wfdownloads/review.php?cid=<{$down.cid}>&lid=<{$down.id}>">
<{$smarty.const._MD_WFD_REVIEWTHISFILE}></a> |
<a href="<{$xoops_url}>/modules/wfdownloads/ratefile.php?cid=<{$down.cid}>&lid=<{$down.id}>">
<{$smarty.const._MD_WFD_RATETHISFILE}></a> |
<{if $down.useradminlink == true}>
<a href="<{$xoops_url}>/modules/wfdownloads/submit.php?lid=<{$down.id}>">
<{$smarty.const._MD_WFD_MODIFY}></a> |
<{/if}>
<a href="<{$xoops_url}>/modules/wfdownloads/brokenfile.php?lid=<{$down.id}>">
<{$smarty.const._MD_WFD_REPORTBROKEN}></a> |
<a target="_top" href="mailto:?subject=<{$down.mail_subject}>&body=<{$down.mail_body}>">
<{$smarty.const._MD_WFD_TELLAFRIEND}></a> |
<a href="<{$xoops_url}>/modules/wfdownloads/singlefile.php?cid=<{$down.cid}>&lid=<{$down.id}>">
<{$smarty.const._COMMENTS}> (<{$down.comments}>)</a>
</small></div>
</td>
</tr>
</table>
</tr>
</table>
<br />
Dann sollte das eigentlich funktionieren. Dieser Template-Code gilt für wfdownloads 2.05. Sollte sich nichts geändert haben wenn du als Gast den Download besuchst, überprüfe ob in den Systemvoreinstellungen Themes und Templates aktualisieren auf Nein steht. In diesem Fall auf Ja stellen.
|