#5
Re: Galeriemenü entfernen/kürzen
12.05.2007 17:17 Hier mal der code aus myalbum_photo.html.
Diese Ordnerbilder heißen folder16.gif.
--------------------------------------
<{strip}>
<table width="100%" cellspacing="0" class="outer">
<tr>
<td class="even">
<br />
<{include file="db:myalbum_header.html"}>
<table border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='left'>
<span style="font-weight:bold;"><a href='index.php'><{$lang_album_main}></a> : <{$album_sub_title}> <{$photo.title}></span>
</td>
<td align='right'>
<{if $lang_add_photo}><a href="submit.php"><{$lang_add_photo}><img src="<{$mod_url}>/images/pictadd.gif" border="0" alt="<{$lang_add_photo}>" title="<{$lang_add_photo}>" /></a><{/if}>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
<p align='center'>
<{$photo_nav}>
</p>
<table width="100%" cellspacing="0" cellpadding="10" border="0">
<tr>
<td align="center">
<a href="<{$photo.ahref_photo}>" target="_blank" onClick="window.open('<{$photo.ahref_photo}>','','width=<{$photo.window_x}>,height=<{$photo.window_y}>');return(false);"><img src="<{$photo.imgsrc_photo}>" border="0" align="center" vspace="3" hspace="7" alt="<{$photo.title}>" title="<{$photo.title}>" <{$photo.width_height}> /></a>
<br />
<table width="100%" cellspacing="0" cellpadding="10" border="0">
<tr>
<td align="left">
<{* 1ST LINE OF INFORMATION *}>
<{* EDIT ICON *}>
<{if $photo.can_edit}>
<a href='<{$mod_url}>/editphoto.php?lid=<{$photo.lid}>'><img src='<{$mod_url}>/images/editicon.gif' border='0' alt='<{$lang_editthisphoto}>' title='<{$lang_editthisphoto}>' /></a>
<{/if}>
<{* PHOTO'S SUBJECT *}>
<a name='<{$photo.lid}>'></a><a href='<{$mod_url}>/photo.php?lid=<{$photo.lid}>&cid=<{$photo.cid}>'><b><{$photo.title}></b></a>
<{* NEW ICON *}>
<{if $photo.is_newphoto}>
<img src='<{$mod_url}>/images/newred.gif' border='0' alt='<{$lang_new}>' title='<{$lang_new}>' />
<{/if}>
<{* UPDATE ICON *}>
<{if $photo.is_updatedphoto}>
<img src='<{$mod_url}>/images/update.gif' border='0' alt='<{$lang_updated}>' title='<{$lang_updated}>' />
<{/if}>
<{* POPULAR ICON *}>
<{if $photo.is_popularphoto}>
<img src='<{$mod_url}>/images/pop.gif' border='0' alt='<{$lang_popular}>' title='<{$lang_popular}>' />
<{/if}>
<br />
<{* 2ND LINE OF INFORMATION *}>
<{* SUBMITTER *}>
<{if $photo.submitter > 0}>
<a href='<{$xoops_url}>/userinfo.php?uid=<{$photo.submitter}>'>
<img src='<{$mod_url}>/images/submitter.gif' width='16' height='16' alt='<{$lang_submitter}>' title='<{$lang_submitter}>' border='0' />
</a>
<{$photo.submitter_name}>
<a href='<{$mod_url}>/viewcat.php?uid=<{$photo.submitter}>'><img src='<{$mod_url}>/images/myphotos.gif' width='16' height='16' alt='<{$photo.info_morephotos}>' title='<{$photo.info_morephotos}>' border='0' /></a>
<{else}>
<img src='<{$mod_url}>/images/submitter.gif' width='16' height='16' alt='<{$lang_submitter}>' title='<{$lang_submitter}>' />
<{$photo.submitter_name}>
<{/if}>
<{* CATEGORY *}>
<{if $photo.cat_title}>
<a href='<{$mod_url}>/viewcat.php?cid=<{$photo.cid}>'><img src='<{$mod_url}>/images/folder16.gif' width='16' height='16' alt='<{$lang_category}>' title='<{$lang_category}>' border='0' /><{$photo.cat_title}></a>
<{/if}>
<{* LAST UPDATED *}>
<img src='<{$mod_url}>/images/clock.gif' width='16' height='16' alt='<{$lang_lastupdatec}>' title='<{$lang_lastupdatec}>' /><{$photo.datetime}>
<{* TELL A FRIEND *}>
<{if $cantellafriend}>
<a href='<{$xoops_url}>/modules/tellafriend/index.php?target_uri=<{$mod_url|escape:"url"}>/photo.php%3Flid%3D<{$photo.lid}>&subject=<{$lang_subject4taf|escape:"url"}>'><img src='<{$mod_url}>/images/tellafriend.gif' width='24' height='16' alt='<{$lang_tellafriend}>' title='<{$lang_tellafriend}>' /><{$lang_tellafriend}></a>
<{/if}>
<br />
<{* 3RD LINE OF INFORMATION *}>
<{* HIT COUNTS *}>
<img src='<{$mod_url}>/images/hits.gif' width='16' height='16' alt='<{$lang_hitsc}>' title='<{$lang_hitsc}>' /><{$photo.hits}>
<{* COMMENT COUNTS *}>
<img src='<{$mod_url}>/images/comments.gif' width='16' height='16' alt='<{$lang_commentsc}>' title='<{$lang_commentsc}>' /><{$photo.comments}>
<{* RANK & RATING *}>
<{if $canrateview}>
<{if $photo.rating > 0}>
<img src='<{$mod_url}>/images/rank<{$photo.rank}>.gif' alt='<{$photo.rating}>' title='<{$photo.rating}>' border='0' /><{$photo.info_votes}>
<{else}>
<img src='<{$mod_url}>/images/rank_none.gif' alt='<{$photo.info_votes}>' title='<{$photo.info_votes}>' border='0' /><{$photo.info_votes}>
<{/if}>
<{/if}>
<{* VOTE BUTTON *}>
<{if $canratevote}>
<a href='<{$mod_url}>/ratephoto.php?lid=<{$photo.lid}>'><img src='<{$mod_url}>/images/vote.gif' alt='<{$lang_ratethisphoto}>' title='<{$lang_ratethisphoto}>' border='0' /><{$lang_ratethisphoto}></a>
<{/if}>
<br />
<{* DESCRIPTION *}>
<{if $photo.description}>
<table border='0' cellpadding='0' cellspacing='0' width='100%' class='outer'>
<tr>
<td class='odd'>
<{$photo.description}>
</td>
</tr>
</table>
<{/if}>
</td>
</tr>
</table>
</td>
</tr>
</table>
<p align='center'>
<{$photo_nav}>
</p>
<div style="text-align: center; padding: 3px; margin: 3px;">
<{$commentsnav}>
<{$lang_notice}>
</div>
<div style="margin: 3px; padding: 3px;">
<!-- start comments loop -->
<{if $comment_mode == "flat"}>
<{include file="db:system_comments_flat.html"}>
<{elseif $comment_mode == "thread"}>
<{include file="db:system_comments_thread.html"}>
<{elseif $comment_mode == "nest"}>
<{include file="db:system_comments_nest.html"}>
<{/if}>
<!-- end comments loop -->
</div>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center">
<br />
<{include file='db:system_notification_select.html'}>
<br />
<{include file="db:myalbum_footer.html"}>
</td>
</tr>
</table>
<{/strip}>
Sorry für den langen Post aber ich kann leider nicht so gut php das ich sowas auskommentieren kann!
Bitte um Hilfe