{# begin {templatelocation} #}

<div class="archivestorytext">
  {# In topic view use h2 for article title. In full article view use h1. n = Full display of article. p = 'Preview' mode. Else y = introtext only. #}
  {!!if {display_type} == 'n' OR {display_type} == 'p' !!}
  <h1 class="story_title">{story_title_link}</h1>
  {!else}
  <h2 class="story_title">{story_title_link}</h2>
  {!endif}	

  <ul class="icon">
    <li>{email_icon}</li>
    <li>{print_icon}</li>
    <li>{edit_icon}</li>
  </ul>

  <div style="clear:both"></div>

  <span class="story_image">{story_anchortag_and_image}</span>

  <ul class="status">
    <li>{story_date}</li>
    <li>
      <dl>
        <dt>{lang_contributed_by}</dt>
        <dd>{start_contributedby_anchortag}{contributedby_author}{end_contributedby_anchortag}</dd>
      </dl>
    </li>
    <li>
     <dl>
        <dt>{lang_views}</dt>
        <dd>{story_hits}</dd>
      </dl>
    </li>
  </ul>

  <div style="clear:both"></div>

  <div class="story_introtext">
    {story_text_no_br}
  </div>

  {# story_display_type: n = full display of article, p = preview in editor, y = topic summary display. #}
  {# page_number: current page number - page_total: total page count - comments_on_page: if comments will appear on page #}
  {!if story_footer}
      {!if comments_on_page}
          {related_topics}

          {!if likes_control}
            {!!if {story_display_type} == 'n' !!}
            <div class="aligncenter">{likes_control}</div>
            {!endif}
          {!endif}

          {related_articles_by_keyword}

          {whats_related}

          {story_options}

          {trackback}
      {!endif}
      {!if navi_list}
          <ul class="navi">
            {!if page_selector}<li>{page_selector}</li>{!endif}
            {!if readmore_link}<li>{readmore_link}</li>{!endif}
            {!if post_comment_link}<li>{post_comment_link}</li>{!endif}
          </ul>
      {!endif}

      {!if feedback_list}
          <ul class="feedback">
            {!if plugin_itemdisplay}<li>{plugin_itemdisplay}</li>{!endif}
            {!if comments_with_count}<li>{comments_with_count}</li>{!endif}
            {!if trackbacks_with_count}<li>{trackbacks_with_count}</li>{!endif}
          </ul>
      {!endif}
  {!endif}
</div>

<!-- BEGIN image_noalign -->
{!if link_url}
<div class="gl-article-figure">
  <div class="gl-align-none">
    <a class="gl-thumbnail" href="{link_url}" title="{link_title}" target="_blank">
      <img {sizeAttributes} src="{imgSrc}" alt=""{xhtml}>
    </a>
  </div>
</div>
{!else}
<div class="gl-article-figure">
  <div class="gl-align-none">
    <div class="gl-thumbnail">
      <img {sizeAttributes} src="{imgSrc}" alt=""{xhtml}>
    </div>
  </div>
</div>
{!endif}
<!-- END image_noalign -->

<!-- BEGIN image_leftalign -->
{!if link_url}
<div class="gl-article-figure">
  <div class="gl-align-left">
    <a class="gl-thumbnail" href="{link_url}" title="{link_title}" target="_blank">
      <img {sizeAttributes} src="{imgSrc}" alt=""{xhtml}>
    </a>
  </div>
</div>
{!else}
<div class="gl-article-figure">
  <div class="gl-align-left">
    <div class="gl-thumbnail">
      <img {sizeAttributes} src="{imgSrc}" alt=""{xhtml}>
    </div>
  </div>
</div>
{!endif}
<!-- END image_leftalign -->

<!-- BEGIN image_rightalign -->
{!if link_url}
<div class="gl-article-figure">
  <div class="gl-align-right">
    <a class="gl-thumbnail" href="{link_url}" title="{link_title}" target="_blank">
      <img {sizeAttributes} src="{imgSrc}" alt=""{xhtml}>
    </a>
  </div>
</div>
{!else}
<div class="gl-article-figure">
  <div class="gl-align-right">
    <div class="gl-thumbnail">
      <img {sizeAttributes} src="{imgSrc}" alt=""{xhtml}>
    </div>
  </div>
</div>
{!endif}
<!-- END image_rightalign -->

<!-- BEGIN image_centeralign -->
{!if link_url}
<div class="gl-article-figure-center">
  <div class="gl-align-center">
    <a class="gl-thumbnail" href="{link_url}" title="{link_title}" target="_blank">
      <img {sizeAttributes} src="{imgSrc}" alt=""{xhtml}>
    </a>
  </div>
</div>
{!else}
<div class="gl-article-figure-center">
  <div class="gl-align-center">
    <div class="gl-thumbnail">
      <img {sizeAttributes} src="{imgSrc}" alt=""{xhtml}>
    </div>
  </div>
</div>
{!endif}
<!-- END image_centeralign -->

{# end {templatelocation} #}
