MyXoops Forum

Forum - myXOOPS German Support

3 + 3 = ?  
Geben Sie das Ergebnis der Berechnung ein
Sie haben max. 10 Versuche.
 
* = Erforderlich

Aw: Problem beim update von 2.5.5 auf 2.5.6

Betreff: Aw: Problem beim update von 2.5.5 auf 2.5.6
von Bleekk am 13.01.2014 16:12:31

PROB 1: Die Templates der letzten Version dieses Moduls sind total verpfuscht. In dem Template myalbum_photo.html gibt es auch einen Fehler. Bitte den HTML Code dieses Templates durch diesen hier ersetzen
<{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>&nbsp;:&nbsp;<{$album_sub_title}>&nbsp;<{$photo.title}>
                        </
span>
                    </
td>
                    <
td align='right'>
                        <{if 
$lang_add_photo}>
                         <
a href="submit.php">
                         <{
$lang_add_photo}>
                         <
img src="<{xoModuleIcons16 add.png}>" 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='<{xoModuleIcons16 edit.png}>' border='0' alt='<{$lang_editthisphoto}>' title='<{$lang_editthisphoto}>'/>
                        </
a>
                        <{/if}>

                        <{* 
DELETE ICON *}>
                        <{if 
$photo.can_delete}>
                        <
a href='<{$mod_url}>/photo.php?lid=<{$photo.lid}>&op=delete'>
                          <
img src='<{xoModuleIcons16 delete.png}>' border='0' alt='<{$lang_deletethisphoto}>' title='<{$lang_deletethisphoto}>'/>
                        </
a>
                        <{/if}>


                        <{* 
PHOTO'S SUBJECT *}>
                        <a name='
<{$photo.lid}>'></a>
                          <a href='
<{$mod_url}>/photo.php?lid=<{$photo.lid}>&amp;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}>
                        &nbsp; &nbsp;

                        <{* CATEGORY *}>
                        <{if $photo.cat_title}>
                        <a href='
<{$mod_url}>/viewcat.php?cid=<{$photo.cid}>'>
                          <img src='
<{xoModuleIcons16 topic.png}>' width='16' height='16' alt='<{$lang_category}>' title='<{$lang_category}>' border='0'/>
                            <{$photo.cat_title}>
                        </a>
                        &nbsp; &nbsp;
                        <{/if}>

                        <{* LAST UPDATED *}>
                        <img src='
<{$mod_url}>/images/clock.gif' width='16' height='16' alt='<{$lang_lastupdatec}>' title='<{$lang_lastupdatec}>'/>
                        <{$photo.datetime}>

                        <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}>
                        &nbsp;

                        <{* COMMENT COUNTS *}>
                        <img src='
<{$mod_url}>/images/comments.gif' width='16' height='16' alt='<{$lang_commentsc}>' title='<{$lang_commentsc}>'/><{$photo.comments}>
                        &nbsp; &nbsp;

                        <{* 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 || $photo.tagbar}>
                        <table border='
0' cellpadding='0' cellspacing='0' width='100%' class='outer'>
                            <{if $photo.description}>
                            <tr>
                                <td class='
odd'>
                                    <{$photo.description}>
                                </td>
                            </tr>
                            <{/if}>
                            <{if $photo.tagbar}>
                            <tr>
                                <td class='
even'>
                                    <{include file="db:tag_bar.html" tagbar=$photo.tagbar}>
                                </td>
                            </tr>
                            <{/if}>
                        </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}>
PROB 2: Füge das hinzu #mainmenu a, #usermenu a{display:block; padding: 3px 0 3px 5px; border-bottom: 1px dotted #C3C3C3} PS: pozdrav iz 3.Bez :)

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
Modulentwicklung New Xoops Xcreate Module 0 5332 26.11.2025 15:22
efkan Gehe zum letzten Beitrag
Modulentwicklung XOOPS Custom Field Module 1 1818 24.11.2025 11:21
Goffy Gehe zum letzten Beitrag