Textpattern PHP Cross Reference Content Management Systems

Source: /textpattern/setup/themes/four-point-eight/forms/file/files.txp - 69 lines - 2220 bytes - Text - Print

   1  <div itemscope itemtype="https://schema.org/DataDownload">
   2  
   3      <!-- ...if exists, use the file title, otherwise use file name -->
   4      <a href="<txp:file_download_link />" itemprop="url contentUrl">
   5          <strong itemprop="name">
   6              <txp:evaluate>
   7                  <txp:file_download_name title />
   8              <txp:else />
   9                  <txp:file_download_name />
  10              </txp:evaluate>
  11          </strong>
  12      </a>
  13  
  14      <!-- ...if exists, use the file description, otherwise omit that line -->
  15      <txp:evaluate test>
  16          <div itemprop="description">
  17              <txp:file_download_description />
  18          </div>
  19      </txp:evaluate>
  20  
  21      <div class="footnote">
  22  
  23          <!-- ...if exists, use the file category, otherwise omit that line -->
  24          <txp:evaluate test="file_download_category">
  25              <strong>
  26                  <txp:text item="category" />
  27              </strong>
  28              <span itemprop="keywords">
  29                  <txp:file_download_category title />
  30              </span>
  31              &#183;
  32          </txp:evaluate>
  33  
  34          <strong>
  35              <txp:text item="author" />
  36          </strong>
  37          <span itemprop="author" itemscope itemtype="https://schema.org/Person">
  38              <span itemprop="name">
  39                  <txp:file_download_author link />
  40              </span>
  41          </span>
  42          &#183;
  43          <strong>
  44              <txp:text item="file_size" />
  45          </strong>
  46          <span itemprop="contentSize">
  47              <txp:file_download_size />
  48          </span>
  49          &#183;
  50          <strong>
  51              <txp:text item="last_modified" />
  52          </strong>
  53          <time datetime="<txp:file_download_modified format="iso8601" />" itemprop="dateModified">
  54              <txp:file_download_modified />
  55          </time>
  56          &#183;
  57          <strong>
  58              <txp:text item="download_count" />
  59          </strong>
  60          <span itemprop="interactionStatistic" itemscope itemtype="https://schema.org/InteractionCounter">
  61              <meta itemprop="interactionType" content="https://schema.org/DownloadAction" />
  62              <span itemprop="userInteractionCount">
  63                  <txp:file_download_downloads />
  64              </span>
  65          </span>
  66  
  67      </div>
  68  
  69  </div>

title

Description

title

Description

title

Description

title

title

Body