BBCodeBox3

prosilver | subsilver2

Willkommen und Guten Morgen, Guest  Beim nächsten Piep ist es zwischen 5:00 und 6:00 Uhr

It is currently Sun 23. Feb 2025, 06:05

All times are UTC + 1 hour [ DST ]




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
PostPosted: Wed 17. Feb 2010, 02:41 
Administrator
User avatar

Posts: 427

Last 3 Topics:
Tabmenu Test
[Snippet] Avatar Ev...
[DEV] Zero and X-P...

Joined:
Sun 13. Jan 2008, 23:44

Username vs. Attachments

Mit diesem Snippet wird bei Outline-Attachments statt "Dateianhänge" der Username incl. beliebigem Text angezeigt

Anleitung

öffne

styles/prosilver/template/viewtopic.html

finde

Code:
         <!-- IF postrow.S_HAS_ATTACHMENTS -->
            <dl class="attachbox">
               <dt>{L_ATTACHMENTS}</dt>
               <!-- BEGIN attachment -->
                  <dd>{postrow.attachment.DISPLAY_ATTACHMENT}</dd>
               <!-- END attachment -->
            </dl>
         <!-- ENDIF -->


ersetze mit

Code:
         <!-- IF postrow.S_HAS_ATTACHMENTS -->
            <dl class="attachbox">
               <dt>{postrow.POST_AUTHOR_FULL}{L_USER_ATTACHMENTS}</dt>
               <!-- BEGIN attachment -->
                  <dd>{postrow.attachment.DISPLAY_ATTACHMENT}</dd>
               <!-- END attachment -->
            </dl>
         <!-- ENDIF -->   


öffne

styles/prosilver/theme/content.css

finde

Code:
.attachbox dt {
   font-family: Arial, Helvetica, sans-serif;
   text-transform: uppercase;
}


ersetze mit

Code:
.attachbox dt {
   font-family: Arial, Helvetica, sans-serif;
   font-size: 12px;
   /*text-transform: uppercase;*/
}


öffne

language/de/common.php

finde

Code:
   'ATTACHMENTS'               => 'Dateianhänge',


dahinter füge ein

Code:
   'USER_ATTACHMENTS'            => ' hat folgende Dateien angehängt',      


alle board- und browser-caches leeren




Attachments:
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
POWERED_BY
[ Time : 0.015s | 18 Queries | GZIP : Off | Board-Version: 3.0.7 PL1 ]