views-ui-list-views.tpl.php

Displays the list of views on the administration screen.

1 theme call to views-ui-list-views.tpl.php
views_ui_list_views in includes/admin.inc
Page callback to list views in the system.

File

theme/views-ui-list-views.tpl.php

View source
<?php


/**
 * @file
 *
 * Displays the list of views on the administration screen.
 */
?>
<p><?php

print $help;
?></p>
<?php

print $widgets;
foreach ($views as $view) {
    ?>
  <table class="views-entry <?php

    print $view->classes;
    ?>">
    <tbody>
      <tr>
        <td class="view-name">
          <?php

    print $help_type_icon;
    ?>
          <?php

    print t('<em>@type</em> @base view: <strong>@view</strong>', array(
        '@type' => $view->type,
        '@view' => $view->name,
        '@base' => $view->base,
    ));
    ?>
          <?php

    if (!empty($view->tag)) {
        ?>
            &nbsp;(<?php

        print $view->tag;
        ?>)
          <?php

    }
    ?>
        </td>
        <td class="view-ops"><?php

    print $view->ops;
    ?></td>
      </tr>
      <tr>
        <td>
          <?php

    if ($view->title) {
        ?>
            <?php

        print t('Title: @title', array(
            '@title' => $view->title,
        ));
        ?> <br />
          <?php

    }
    ?>
          <?php

    if ($view->path) {
        ?>
            <?php

        print t('Path: !path', array(
            '!path' => $view->path,
        ));
        ?> <br />
          <?php

    }
    ?>
          <?php

    if ($view->displays) {
        ?>
            <em><?php

        print $view->displays;
        ?> </em><br />
          <?php

    }
    ?>
        </td>
        <td colspan="1" class="description">
          <?php

    print $view->description;
    ?>
        </td>
      </tr>
    </tbody>
  </table>
<?php

}