/[drupal]/contributions/modules/dashboard/dashboard.defaults.inc
ViewVC logotype

Diff of /contributions/modules/dashboard/dashboard.defaults.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.6, Fri Sep 4 11:19:46 2009 UTC revision 1.7, Wed Sep 9 06:09:08 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: dashboard.defaults.inc,v 1.5 2009/09/01 15:03:31 drumm Exp $  // $Id: dashboard.defaults.inc,v 1.6 2009/09/04 11:19:46 drumm Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 19  function dashboard_defaults($uid) { Line 19  function dashboard_defaults($uid) {
19    $widgets = array(    $widgets = array(
20      array(      array(
21        'page_id' => $page['page_id'],        'page_id' => $page['page_id'],
22        'module' => 'drupalorg_news',        'type' => 'block',
23        'name' => 'news',        'subtype' => 'comment-0',
24        'col' => 0,        'col' => 0,
25        'weight' => 1,        'weight' => 1,
26      ),      ),
     array(  
       'page_id' => $page['page_id'],  
       'module' => 'dashboard',  
       'name' => 'example',  
       'col' => 1,  
       'weight' => 0,  
     ),  
     array(  
       'page_id' => $page['page_id'],  
       'module' => 'dashboard',  
       'name' => 'example',  
       'col' => 2,  
       'weight' => 0,  
     ),  
27    );    );
28    
29    foreach ($widgets as $widget) {    foreach ($widgets as $widget) {

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.2