Está en la página 1de 3

<div id="comments">

{relatedstories}
{if $relatedstories}
<h3 class="titulocomentarios" title="Artículos relacionados:
{$relatedstoriesWords}">Artículos relacionados</h3>
<ul class="listado">
{foreach from=$relatedstories key=key item=story}
<li><a href="{get_permalink id=$story->ID}" >{$story->post_title}</a></li>
{/foreach}
</ul>
{/if}

<h3 class="titulocomentarios">Opciones de discusión</h3>


<ul class="listado">
<li id="addcomentario"><a href="#comentar" title="Deja un comentario">Deja un
comentario</a></li>
<li id="trackback"><a href="{trackback_url}">{_e text='URL para hacer trackBack a
este post'}</a></li>
<li id="rsscomentarios">{comments_rss_link link_text='Canal <abbr title="Really
Simple Syndication">RSS</abbr> para seguir los comentarios de este post.'}</li>
</ul>

<div class="publipost">
<script type="text/javascript"><!--
google_ad_client = "pub-7326065367639759";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel = "";

//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>

<h3 class="titulocomentarios"> Hay {comments_number zero="0 comentarios" one="1


comentario" more="% Comentarios"}
{if $post->comment_status == 'open'}
{/if}
</h3>
{if $post->ping_status}

{/if}

{if $comments != ''}


{capture name=author}{the_author_email}{/capture}
<ul id="listacomentarios">
{foreach from=$comments key=key item=comment}
{globalvar var='comment' value=$comment}
{capture name=reader}{comment_author_email}{/capture}
{if $smarty.capture.reader == $smarty.capture.author}
<li class="autor" id="comentario-{comment_ID}">
{else}
<li class="alt" id="comentario-{comment_ID}">
{/if}

<div class="gravatar">{$comment->comment_author_email|
gravatar:"":"40":"":""}</div>
<div class="textocomentario">{comment_text}</div>
<div class="datoscomentario">
<span class="autorcomentario">{comment_author_link}</span>
{capture name=fecha_comentario}{comment_date}{/capture}
{$smarty.capture.fecha_comentario|replace:"January":"Enero"|
replace:"February":"Febrero"|replace:"March":"Marzo"|replace:"April":"Abril"|
replace:"May":"Mayo"|replace:"June":"Junio"|replace:"July":"Julio"|
replace:"August":"Agosto"|replace:"September":"Septiembre"|
replace:"October":"Octubre"|replace:"November":"Noviembre"|
replace:"December":"Diciembre"}
{comment_time}
<a href="#comentario-{comment_ID}">Enlace</a>
</div>

</li>

{/foreach}
</ul>
{else} <!-- this is displayed if there are no comments so far -->
<p>{_e text="No hay comentarios aún. Anímate a participar."}</p>
{/if}

<h3 id="comentar">{_e text="Deja un comentario"}</h3>


{if 'open' == $post->comment_status}
<form action="{$siteurl}/wp-comments-post.php" method="post" id="commentform">
<p>
<input type="text" name="author" id="author" class="caja" value="{insert
name=var var=comment_author}" size="28" tabindex="1" />
<label for="author">Nombre</label> {if $req != ''} {_e text='(required)'}
{/if}
<input type="hidden" name="comment_post_ID" value="{$post->ID}" />
<input type="hidden" name="redirect_to" value="{$redirect_to}" />
</p>

<p>
<input type="text" name="email" id="email" class="caja" value="{insert
name=var var=comment_author_email}" size="28" tabindex="2" />
<label for="email">Correo</label> {if $req != ''} {_e
text='(obligatorio)'}{/if}
</p>

<p>
<input type="text" name="url" id="url" class="caja" value="{insert
name=var var=comment_author_url}" size="28" tabindex="3" />
<label for="url">Web</label>
</p>

<p>
<script src="http://juglar103.blogsome.com/images/quicktags.jpg"
type="text/javascript"></script>
<script type="text/javascript">edToolbar();</script>

<textarea name="comment" id="comment" class="caja" cols="60" rows="4"


tabindex="4">

{else}

{/if}

También podría gustarte