home | career | drupal | java | mac | mysql | perl | php | scala | uml | unix

Drupal example source code file (views-ui-list-views.tpl.php)

This example Drupal source code file (views-ui-list-views.tpl.php) is included in the DevDaily.com "Drupal Source Code Warehouse" project. The intent of this project is to help you "Learn Drupal by Example".

PHP - Drupal tags/keywords

class, description, endforeach, endif, foreach, if, isset, php, table, tbody, td, tr, variable, view

The views-ui-list-views.tpl.php Drupal example source code

// $Id: views-ui-list-views.tpl.php,v 2010/01/20 23:24:24 dereine Exp $
 * @file
 * Displays the list of views on the administration screen.
<p><?php print $help; ?></p>
<?php print $widgets; ?>
<?php foreach ($views as $view): ?>
  <table class="views-entry <?php print $view->classes; ?>">
        <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 endif; ?>
        <td class="view-ops"><?php print $view->ops ?></td>
          <?php if ($view->title): ?>
            <?php print t('Title: @title', array('@title' => $view->title)); ?> <br />
          <?php endif; ?>
          <?php if (isset($view->path)): ?>
            <?php print t('Path: !path', array('!path' => $view->path)); ?> <br />
          <?php endif; ?>
          <?php if ($view->displays): ?>
            <em><?php print $view->displays; ?> </em><br />
          <?php endif; ?>
        <td colspan="2" class="description">
          <?php print $view->description; ?>
<?php endforeach; ?>

Other Drupal examples (source code examples)

Here is a short list of links related to this Drupal views-ui-list-views.tpl.php source code file:

new blog posts

"Drupal" is a registered trademark of Dries Buytaert.

my drupal tutorials and examples  

Copyright 1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.

Beginning in 2016, a portion of the proceeds from pages under the '/drupal-code-examples/' URI will be donated to charity.