Uhrzeit unter jeden Post

Hier können Probleme und alles andere in Deutscher Sprache gelöst werden.
Post Reply
polydream
Regular
Posts: 12
Joined: Thu Jun 10, 2010 12:17 am

Uhrzeit unter jeden Post

Post by polydream »

Hallo,

ich möchte die Uhrzeit des Postings unter dem Post haben.
Derzeit steht da lediglich "Geschrieben von [Autor]". Was ich gerne hätte wäre "Geschrieben von [Autor] um [Uhrzeit].

Das Datum wird bei diesem Template oben angezeigt.

Habe es im Code nicht wirklich verstehen können:

Code: Select all

<!-- ENTRIES START -->
    {serendipity_hookPlugin hook="entries_header" addData="$entry_id"}
    {foreach from=$entries item="dategroup"}
    {foreach from=$dategroup.entries item="entry"}
        <div id="post-{$entry.id}" class="post">
            <div class="date">
                <span>{$entry.timestamp|@formatTime:'%b'}</span> 
                      {$entry.timestamp|@formatTime:'%e'}
            </div><!-- /.date -->

            <div class="title">
                <h2><a href="{$entry.link}" rel="bookmark" title="{$entry.title}" >{$entry.title}</a></h2>
                <div class="postdata">
                    <span class="category">{if $entry.categories}{foreach from=$entry.categories item="entry_category" name="categories"}<a href="{$entry_category.category_link}">{$entry_category.category_name|@escape}</a>{if not $smarty.foreach.categories.last}, {/if}{/foreach}{/if}</span> 
                    <span class="comments">{if $entry.has_comments}{if $use_popups}<a href="{$entry.link_popup_comments}" onclick="window.open(this.href, 'comments', 'width=480,height=480,scrollbars=yes'); return false;">{if $entry.comments == 0}{$CONST.NO_COMMENTS}{else}{$entry.comments} {$entry.label_comments}{/if}&nbsp;&raquo;</a>{else}<a href="{$entry.link}#comments">{if $entry.comments == 0}{$CONST.NO_COMMENTS}{else}{$entry.comments} {$entry.label_comments}{/if}&nbsp;&raquo;</a>{/if}{/if}</span>
                </div><!-- /.postdata -->
            </div><!-- /.title -->

            <div class="entry">
            {if $entry.categories}
            <span class="serendipity_entryIcon">
            {foreach from=$entry.categories item="entry_category"}
                {if $entry_category.category_icon}
                    <a href="{$entry_category.category_link}"><img class="serendipity_entryIcon" title="{$entry_category.category_name|@escape}{$entry_category.category_description|@emptyPrefix}" alt="{$entry_category.category_name|@escape}" src="{$entry_category.category_icon}" /></a>
                {/if}
            {/foreach}
            </span>
            {/if}
            {$entry.body}

            {if $entry.is_extended}
            <div class="serendipity_entry_extended"><a id="extended"></a>{$entry.extended}</div>
            {/if}

            {if $entry.has_extended and not $is_single_entry and not $entry.is_extended}
            <p><a class="more-link" href="{$entry.link}#extended">{$CONST.VIEW_EXTENDED_ENTRY|@sprintf:$entry.title}</a></p>
            {/if}

            <p class="submeta">
                {$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a>
                {if $entry.is_entry_owner and not $is_preview}&bull; <a href="{$entry.link_edit}">{$CONST.EDIT_ENTRY}</a>{/if}
            </p>
            {$entry.add_footer}
            {$entry.plugin_display_dat}
            </div><!-- /.entry -->
        </div><!-- /.post -->

        <!--
        <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
                 xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
                 xmlns:dc="http://purl.org/dc/elements/1.1/">
        <rdf:Description
                 rdf:about="{$entry.link_rdf}"
                 trackback:ping="{$entry.link_trackback}"
                 dc:title="{$entry.title_rdf|@default:$entry.title}"
                 dc:identifier="{$entry.rdf_ident}" />
        </rdf:RDF>
        -->

        {if $is_single_entry and not $use_popups and not $is_preview}
            {if $CONST.DATA_UNSUBSCRIBED}
                <div class="serendipity_center serendipity_msg_notice">{$CONST.DATA_UNSUBSCRIBED|@sprintf:$CONST.UNSUBSCRIBE_OK}</div>
            {/if}
            {if $CONST.DATA_TRACKBACK_DELETED}
                <div class="serendipity_center serendipity_msg_notice">{$CONST.DATA_TRACKBACK_DELETED|@sprintf:$CONST.TRACKBACK_DELETED}</div>
            {/if}
            {if $CONST.DATA_TRACKBACK_APPROVED}
                <div class="serendipity_center serendipity_msg_notice">{$CONST.DATA_TRACKBACK_APPROVED|@sprintf:$CONST.TRACKBACK_APPROVED}</div>
            {/if}
            {if $CONST.DATA_COMMENT_DELETED}
                <div class="serendipity_center serendipity_msg_notice">{$CONST.DATA_COMMENT_DELETED|@sprintf:$CONST.COMMENT_DELETED}</div>
            {/if}
            {if $CONST.DATA_COMMENT_APPROVED}
                <div class="serendipity_center serendipity_msg_notice">{$CONST.DATA_COMMENT_APPROVED|@sprintf:$CONST.COMMENT_APPROVED}</div>
            {/if}

            <div class="serendipity_comments serendipity_section_trackbacks">
                <a id="trackbacks"></a>
                <h3 id="trackbacks_h3">{$entry.trackbacks} {$CONST.TRACKBACKS}</h3>

                <div class="serendipity_center"><a rel="nofollow" style="font-weight: normal" href="{$entry.link_trackback}" onclick="alert('{$CONST.TRACKBACK_SPECIFIC_ON_CLICK|@escape:html}'); return false;" title="{$CONST.TRACKBACK_SPECIFIC_ON_CLICK|@escape}">{$CONST.TRACKBACK_SPECIFIC}</a></div>
                    
                {serendipity_printTrackbacks entry=$entry.id}
            </div>
        {/if}

        {if $is_single_entry and not $is_preview}
            <div class="serendipity_comments serendipity_section_comments">
                <a id="comments"></a>
                <h3 id="comments_h3">{$entry.comments} {$CONST.COMMENTS}</h3>

                <div class="serendipity_center">{$CONST.DISPLAY_COMMENTS_AS}{if $entry.viewmode eq $CONST.VIEWMODE_LINEAR} ({$CONST.COMMENTS_VIEWMODE_LINEAR} | <a href="{$entry.link_viewmode_threaded}#comments" rel="nofollow">{$CONST.COMMENTS_VIEWMODE_THREADED}</a>){else}(<a rel="nofollow" href="{$entry.link_viewmode_linear}#comments">{$CONST.COMMENTS_VIEWMODE_LINEAR}</a> | {$CONST.COMMENTS_VIEWMODE_THREADED}){/if}</div>
                
                {serendipity_printComments entry=$entry.id mode=$entry.viewmode}

                {if $entry.is_entry_owner}
                    {if $entry.allow_comments}
                    <div class="serendipity_center">(<a href="{$entry.link_deny_comments}">{$CONST.COMMENTS_DISABLE}</a>)</div>
                    {else}
                    <div class="serendipity_center">(<a href="{$entry.link_allow_comments}">{$CONST.COMMENTS_ENABLE}</a>)</div>
                    {/if}
                {/if}
                <a id="feedback"></a>

                {foreach from=$comments_messagestack item="message"}
                <div class="serendipity_center serendipity_msg_important">{$message}</div>
                {/foreach}

                {if $is_comment_added}
                <div class="serendipity_center serendipity_msg_notice">{$CONST.COMMENT_ADDED}</div>
                {elseif $is_comment_moderate}
                <div class="serendipity_center serendipity_msg_notice">{$CONST.COMMENT_ADDED}<br />{$CONST.THIS_COMMENT_NEEDS_REVIEW}</div>
                {elseif not $entry.allow_comments}
                <div class="serendipity_center serendipity_msg_important">{$CONST.COMMENTS_CLOSED}</div>
                {else}
                <div class="serendipity_section_commentform">
                    <h3 id="respond">{$CONST.ADD_COMMENT}</h3>
                    {$COMMENTFORM}
        </div>
                {/if}
            </div>
        {/if}

        {$entry.backend_preview}
        {/foreach}
    {foreachelse}
    {if not $plugin_clean_page}
        {$CONST.NO_ENTRIES_TO_PRINT}
    {/if}
    {/foreach}

    {if $footer_prev_page || $footer_next_page}
    <div class="page-nav">
    {if $footer_prev_page}
        <span class="previous-entries"><a href="{$footer_prev_page}">{$CONST.PREVIOUS_PAGE}</a></span>
    {/if}
    {if $footer_next_page}
        <span class="next-entries"><a href="{$footer_next_page}">{$CONST.NEXT_PAGE}</a></span>
    {/if}
    {serendipity_hookPlugin hook="entries_footer"}
    </div><!-- /.page-nav -->

    <p style="text-align: center">{if $footer_info}({$footer_info}){/if}</p>
    {/if}
<!-- ENTRIES END -->
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Uhrzeit unter jeden Post

Post by yellowled »

polydream wrote:<p class="submeta">
{$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {$CONST.AT} {$entry.timestamp|@formatTime:'%H:%M'}
{if $entry.is_entry_owner and not $is_preview}&bull; <a href="{$entry.link_edit}">{$CONST.EDIT_ENTRY}</a>{/if}
</p>
Der rot markierte Teil muss an dieser Stelle (in einer Zeile, das wird nur hier im Forum umgebrochen) eingefügt werden, alles andere bleibt, wie es ist.

YL
polydream
Regular
Posts: 12
Joined: Thu Jun 10, 2010 12:17 am

Re: Uhrzeit unter jeden Post

Post by polydream »

yellowled wrote:
polydream wrote:<p class="submeta">
{$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {$CONST.AT} {$entry.timestamp|@formatTime:'%H:%M'}
{if $entry.is_entry_owner and not $is_preview}&bull; <a href="{$entry.link_edit}">{$CONST.EDIT_ENTRY}</a>{/if}
</p>
Der rot markierte Teil muss an dieser Stelle (in einer Zeile, das wird nur hier im Forum umgebrochen) eingefügt werden, alles andere bleibt, wie es ist.

YL
Vielen Dank es hat prima funktioniert!
Jetzt habe ich noch eine Frage. Ich habe Dein PlugIn "serendipity_event_entrylastmodified" aktiviert und es funktioniert perfekt. Jedoch würde ich die Schriftgröße bzw. den Stil gerne genauso haben wie es bei der Information über den Autor und die Uhrzeit ist. Derzeit ist es leider etwas zu groß...

Code: Select all

body {
    background: #42afdc url({TEMPLATE_PATH}img/html-bg.gif) repeat-x;
    font: 75%/170% Arial, Helvetica, sans-serif;
    padding: 0px;
    margin: 0px;
    color: #333333;
}
a {
    color: #44a1d0;
    text-decoration: none;
}
a:visited {
    color: #5EAFD7;
}
a:hover {
    text-decoration: underline;
}
p {
    margin: 0px 0px 15px;
}
img {
    border: none;
}
ul {
    margin: 5px 0px 15px;
    padding-left: 10px;
}
ul li {
    margin: 0px;
    list-style: none;
    background: url({TEMPLATE_PATH}img/bullet-orange.gif) no-repeat;
    padding-left: 20px;
}
ol {
    margin: 5px 0px 15px;
    padding-left: 20px;
}
ol li {
    margin: 0px;
}
form {
    margin: 0px;
    padding: 0px;
}
small {
    font-size: 90%;
}
blockquote{
    background: url({TEMPLATE_PATH}img/blockquote.gif) no-repeat left top;
    color: #777;
    font-style: italic;
    padding: 10px 5px 5px 36px;
}
#page {
    background: url({TEMPLATE_PATH}img/main-bg.jpg) no-repeat center top;
}
#wrapper {
    width: 985px;
    margin: 0px auto;
    position: relative;
}

/* ------------------------------------- header area  */
#header {
    height: 120px;
}
/* site title */
h1 {
    position: absolute;
    top: 40px;
    left: 25px;
    color: #FFFFFF;
    margin: 0px;
    padding: 0px;
    font: normal 30px/100% "Trebuchet MS", Arial, sans-serif;
}
h1 a, h1 a:visited {
    color: #FFFFFF;
    text-decoration: none;
}
h1 a:hover {
    color: #000000;
    text-decoration: none;
}
.description {
    position: absolute;
    top: 77px;
    left: 25px;
    color: #000000;
    font: 12px Arial, Helvetica, sans-serif;
}
/* search form */
#searchform {
    position: absolute;
    top: 0px;
    right: 0px;
    background: url({TEMPLATE_PATH}img/searchform-bg.png) no-repeat right bottom;
    height: 37px;
    width: 210px;
}
#searchform #s{
    background: #ffffff url({TEMPLATE_PATH}img/form-field-bg.gif) no-repeat ;
    height: 17px;
    width: 148px;
    margin: 6px 5px 0px 10px;
    padding: 3px 7px 2px 5px;
    color: #999999;
    border: none;
}
#searchform #searchsubmit { 
    background: url({TEMPLATE_PATH}img/search-btn.png) no-repeat left top;
    height: 24px;
    width: 24px;
    border: none;
    text-indent: -999%;
    line-height: 1px;
    margin-top: 6px;
}

/* ------------------------------------- main content area  */
#left-col {
    width: 545px;
    float: left;
    margin-top: 11px;
}
/* main menu */
#nav {
    background: url({TEMPLATE_PATH}img/content-top-bg.png) no-repeat left top;
    height: 26px;
}
#nav ul{
    list-style: none;
    margin: 0px 0px 0px 25px;
    padding: 0px;
    font: bold 12px/100% Arial, Helvetica, sans-serif;
}
#nav ul li{
    margin: 0px 1px 0px 0px;
    padding: 0px;
    float: left;
    background: none;
}
#nav ul li a{
    padding: 5px 7px 6px 7px;
    text-decoration: none;
    color: #000000;
    display: block;
}
#nav li a:visited{
    text-decoration: none;
    color: #000000;
}
#nav li a:hover, #nav .current_page_item a, #nav .current_page_item a:visited{
    text-decoration: none;
    background: #2e91c6 url({TEMPLATE_PATH}img/nav-item-hover.gif) repeat-x;
    color: #ffffff;
}
/* sub menu */
#subnav {
    background: #ecebeb;

}
#subnav ul {
    margin: 0px;
    padding: 3px 5px 5px 5px;
    list-style: none;
    font: 11px/100% Arial, Helvetica, sans-serif;
}
#subnav li {
    border-right: 1px solid #D8D8D8;
    padding: 0px 7px;
    margin: 0 0 5px;
    display:inline;
    line-height: 18px;
    background: none;
}
#subnav li a, #subnav li a:visited, #subnav .page_item {
    text-decoration: none;
    color: #333333;
}
#subnav .current_page_item a, #subnav .current_page_item a:visited {
    color: #3b9acc;
}
#subnav li a:hover {
    text-decoration: none;
    color: #3b9acc;
}

/* content */
#content {
    padding: 25px 25px 15px 25px;
    width: 495px;
    background: #ffffff;
    clear: both;
    overflow: hidden;
}
.post {
    padding: 0px;
    clear: both;
    overflow: hidden;
}
.post .date {
    height: 50px;
    width: 45px;
    background: url({TEMPLATE_PATH}img/calendar.gif) no-repeat;
    font: normal 22px Arial, Helvetica, sans-serif;
    color: #666666;
    text-align: center;
    padding: 0px 2px 0 0;
    line-height: 100%;
    float: left;
}
.post .date span {
    height: 16px;
    display: block;
    font: normal 11px Arial, Helvetica, sans-serif;
    color: #ffffff;
    text-align: center;
    padding-top: 5px;
}
.post .title {
    float: left;
    margin-left: 10px;
    width: 438px;
}
.postdata {
    font-size: 90%;
    color: #999999;
}
.postdata a, .postdata a:visited {
    color: #999999;
    text-decoration: none;
}
.postdata a:hover {
    color: #44a1d0;
    text-decoration: none;
}
.postdata .category{
    background: url({TEMPLATE_PATH}img/mini-category.gif) no-repeat;
    padding-left: 18px;
    float: left;
}
.postdata .comments{
    background: url({TEMPLATE_PATH}img/mini-comment.gif) no-repeat;
    padding-left: 18px;
    float: right;
}
.mini-add-comment {
    background: url({TEMPLATE_PATH}img/mini-down-arrow.gif) no-repeat left center;
    padding-left: 12px;
    float: right;
}
.entry {
    padding: 10px 0px 5px;
    clear: both;
}
.entry p.submeta{
    font-size: 11px;
}


/* post title */
h2 {
    color: #333333;
    margin: 3px 0 2px;
    padding-bottom: 4px;
    font: normal 150%/100% "Lucida Grande", Arial, sans-serif;
    border-bottom: dotted 1px #CCCCCC;
}
h2 a, h2 a:visited {
    color: #333333;
    text-decoration: none;
}
h2 a:hover {
    color: #44a1d0;
    text-decoration: none;
}
h3 {
    color: #666666;
    margin: 5px 0px 5px;
    font: bold 110%/110% "Lucida Grande", Arial, sans-serif;
}

/* next & previous page navigation */
.page-nav {
    clear: both;
    background: url({TEMPLATE_PATH}img/navigation-bg.gif) no-repeat left center;
    height: 21px;
}
.page-nav a, .page-nav a:visited {
    color: #ffffff;
    text-decoration: none;
}
.page-nav a:hover {
    color: #000000;
    text-decoration: none;
}
.previous-entries a {
    float: left;
    padding-left: 10px;
    margin-left: 10px;
    background: url({TEMPLATE_PATH}img/navigation-left.gif) no-repeat left center;
}
.next-entries a {
    float: right;
    padding-right: 10px;
    margin-right: 10px;
    background: url({TEMPLATE_PATH}img/navigation-right.gif) no-repeat right center;
}

/* next & previous post navigation */
.post-nav {
    clear: both;
    padding-bottom: 35px;
    margin-top: -15px;
    font-size: 95%;
}
.post-nav a, .post-nav a:visited {
    color: #999999;
    text-decoration: none;
}
.post-nav a:hover {
    color: #000000;
    text-decoration: none;
}
.post-nav .previous a {
    float: left;
    padding-left: 20px;
    background: url({TEMPLATE_PATH}img/post-nav-previous.gif) no-repeat left center;
}
.post-nav .next a {
    float: right;
    padding-right: 20px;
    text-align: right;
    background: url({TEMPLATE_PATH}img/post-nav-next.gif) no-repeat right center;
}

/* ------------------------------------- comment area  */
/*h3#comments {
    background: url({TEMPLATE_PATH}img/comments.gif) no-repeat;
    padding-left: 22px;
    font: normal 140%/120% Arial, Helvetica, sans-serif;
    clear: both;
}*/
h3#respond {
    background: url({TEMPLATE_PATH}img/respond.gif) no-repeat;
    padding-left: 22px;
    font: normal 140%/120% Arial, Helvetica, sans-serif;
    margin: 20px 0px 0px;
    clear: both;
}
/* commentform */
#commentform {
    margin-top: 10px;
}
#commentform label {
    font-weight: bold;
    color:#666;
    font-size: 100%;
    padding-left: 5px;
}
#commentform small {
    color: #999999;
    font-size: 90%;
}
#commentform input {
    font: 110% Arial, Helvetica, sans-serif;
    width: 220px;
    padding: 5px 3px 3px 7px;
    background: url({TEMPLATE_PATH}img/form-field-bg.gif) no-repeat;
    border-top: 1px solid #e6e6e6;
    border-right: 1px solid #E2E2E2;
    border-bottom: 1px solid #E2E2E2;
    border-left: 1px solid #e6e6e6;
}
#commentform textarea {
    font: 110% Arial, Helvetica, sans-serif;
    width: 480px;
    height: 140px;
    background:url({TEMPLATE_PATH}img/form-field-bg.gif) no-repeat;
    border: solid 1px #e6e6e6;
    padding: 5px 3px 3px 7px;
}
#commentform #submit {
    font: 12px/100% Arial, Helvetica, sans-serif;
    color: #000000;
    background: url({TEMPLATE_PATH}img/submit-btn.gif) no-repeat top left;
    border: none;
    width: 135px;
    height: 25px;
    padding-bottom: 6px;
    margin-left: 355px;
}
#commentform #submit:hover {
    background: url({TEMPLATE_PATH}img/submit-btn.gif) no-repeat bottom left;
}
#commentform textarea:focus, #commentform input[type="text"]:focus {
    border: solid 1px #3b9acc;
}

/* comment list */
.commentlist {
    margin: 10px 0px;
    padding-left: 45px;
    line-height: 130%;
}
.commentlist li{
    padding: 5px 10px;
}
.commentlist .alt {
    background: #F4F4F4;
}
.commentlist cite {
    font-weight: bold;
    font-style: normal;
    font-size: 110%;
    color: #669900;
}
.commentlist cite a, .commentlist cite a:visited {
    color: #669900;
}
.commentlist small {
    margin-bottom: 5px;
    display: block;
    font-size: 87%;
}
.commentlist small a, .commentlist small a:visited{
    color: #999999;
}

/* ------------------------------------- footer area  */
#footer {
    background: url({TEMPLATE_PATH}img/content-bottom-bg.png) no-repeat;
    padding: 12px 0px 0px 10px;
    font-size: 87%;
    color: #282828;
    line-height: 15px;
}
#footer a, #footer a:visited {
    text-decoration: none;
    color: #000000;
}
#footer a:hover {
    text-decoration: underline;
}

/* ------------------------------------- sidebar area  */
/* sidebar */
#sidebar-right{
    float:right;
    margin-left: 10px;
}
#sidebar-left {
    float: left;
    margin-right: 10px;
}
#sidebar-right,
#sidebar-left {
    width: 210px;
    color: #666666;
    line-height: 160%;    
}
#sidebar-right p, 
#sidebar-left p  {
    margin: 0px 0px 15px;
}
#sidebar-right h3, 
#sidebar-left h3 {
    font: bold 12px/100% Arial, Helvetica, sans-serif;
    color: #666666;
}
#sidebar-right h3 a, #sidebar-right h3 a:visited, 
#sidebar-left h3 a, #sidebar-left h3 a:visited {
    color: #666666;
}
#sidebar-right h3 img, 
#sidebar-left h3 img  {
    vertical-align: middle;
}
#sidebar-right a, #sidebar-right a:visited, 
#sidebar-left a, #sidebar-left a:visited  {
    color: #000000;
    text-decoration:none;
}
#sidebar-right a:hover, #sidebar-right a:focus, #sidebar-right a:active, 
#sidebar-left a:hover, #sidebar-left a:focus, #sidebar-left a:active  {
    text-decoration:underline;
}
#sidebar-right ul, 
#sidebar-left ul {
    list-style: none;
    margin: 0 ;
    padding: 0 ;
}
#sidebar-right ul li, 
#sidebar-left ul li {
    background: url({TEMPLATE_PATH}img/bullet-orange.gif) no-repeat;
    padding-left: 18px ;
}
#sidebar-right ul li ul li, 
#sidebar-left ul li ul li {
    background: url({TEMPLATE_PATH}img/bullet-grey.gif) no-repeat;
    padding-left: 12px ;
}

/* ------------------------------------- widget styles  */
/* archives widget */
#archives ul li {
    background: url({TEMPLATE_PATH}img/mini-archive.gif) no-repeat;
}
/* recent comments widget */
#recent-comments ul li {
    background: url({TEMPLATE_PATH}img/mini-comment.gif) no-repeat;
}
/* category widget */
#categories ul li,
#categories-1 ul li,
#categories-2 ul li,
#categories-3 ul li,
#categories-4 ul li,
#categories-5 ul li,
#categories-6 ul li,
#categories-7 ul li,
#categories-8 ul li,
#categories-9 ul li {
    background: url({TEMPLATE_PATH}img/mini-category.gif) no-repeat;
}
/* recent posts widget */
#recent-posts ul li {
    background: url({TEMPLATE_PATH}img/mini-page.gif) no-repeat;
}
/* links widget */
#links ul li {
    background: url({TEMPLATE_PATH}img/mini-blogroll.gif) no-repeat;
}
/* meta */
#meta .site_admin {
    background: url({TEMPLATE_PATH}img/cog.gif) no-repeat;
}
#meta .rss {
    background: url({TEMPLATE_PATH}img/mini-rss.gif) no-repeat;
}
#meta .login {
    background: url({TEMPLATE_PATH}img/mini-user.gif) no-repeat;
}
#meta .check {
    background: url({TEMPLATE_PATH}img/mini-check.gif) no-repeat;
}
#meta .wordpress {
    background: url({TEMPLATE_PATH}img/mini-wp.gif) no-repeat;
}
/* calendar */
#calendar table {
    margin: 0px auto;
}
#calendar td {
    padding: 0px 4px;
}

/* alignments */
.center {
    text-align: center;
}
img.center, img[align="center"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.left {
    float: left;
}
img.left, img[align="left"] {
    float:left;
    margin: 2px 10px 5px 0px;
}
.right {
    float: right;
}
img.right, img[align="right"] {
    float:right;
    margin: 2px 0px 5px 10px;
}
.clear {
    clear:both;
}
hr.clear {
    clear:both;
    visibility: hidden;
    margin: 0px;
    padding: 0px;
}
.hidden {
    clear: both;
    visibility: hidden;
}

/* MangoOrange.com footer (must be included, but can be modified) */
div#footer span.mangoorange{
    color: #fff;
    }
    
div#footer span.mangoorange a, 
div#footer span.mangoorange a:visited{
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    }
    
div#footer span.mangoorange a:hover{
    text-decoration: underline;
    }    
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Uhrzeit unter jeden Post

Post by garvinhicking »

Hi!

Deine URL würde helfen, Dir den entsprechenden CSS-Code zu nennen.

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
polydream
Regular
Posts: 12
Joined: Thu Jun 10, 2010 12:17 am

Re: Uhrzeit unter jeden Post

Post by polydream »

Hi,

ich habe nun gemerkt, dass dieses PlugIn nicht nur die Änderungen wahrnimmt, sondern auch einen Kommentar als Änderung deklariert und einen entsprechend kommentierten Eintrag als editiert anzeigt.

Daher verwende ich es nicht mehr.

Vielen Dank für eure Hilfe!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Uhrzeit unter jeden Post

Post by garvinhicking »

Hi!

Das Verhalten liegt nicht am Plugin sondern am s9y Kern. Es gibt eine PHP-Variable mit der man festlegen kann wie alt ein Eintrag sein darf. Wenn Du also

Code: Select all

$serendipity['max_last_modified'] = 1;
in der serendipity_config_local.inc.php oder serendipity_config.inc.php auf 1 setzt, dann werden Kommentare das Änderungsdatum nicht beeinflussen...

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply