comparison modules/system/system.install @ 7:fff6d4c8c043 6.3

Drupal 6.3
author Franck Deroche <webmaster@defr.org>
date Tue, 23 Dec 2008 14:30:28 +0100
parents c1f4ac30525a
children 589fb7c02327
comparison
equal deleted inserted replaced
6:2cfdc3c92142 7:fff6d4c8c043
1 <?php 1 <?php
2 // $Id: system.install,v 1.238.2.1 2008/02/08 17:07:55 goba Exp $ 2 // $Id: system.install,v 1.238.2.3 2008/04/25 21:24:20 goba Exp $
3 3
4 /** 4 /**
5 * Test and report Drupal installation requirements. 5 * Test and report Drupal installation requirements.
6 * 6 *
7 * @param $phase 7 * @param $phase
679 'type' => 'varchar', 679 'type' => 'varchar',
680 'length' => 255, 680 'length' => 255,
681 'not null' => TRUE, 681 'not null' => TRUE,
682 'default' => ''), 682 'default' => ''),
683 'to_arg_functions' => array( 683 'to_arg_functions' => array(
684 'description' => t('A serialized array of function names (like user_current_to_arg) to be called to replace a part of the router path with another string.'), 684 'description' => t('A serialized array of function names (like user_uid_optional_to_arg) to be called to replace a part of the router path with another string.'),
685 'type' => 'varchar', 685 'type' => 'varchar',
686 'length' => 255, 686 'length' => 255,
687 'not null' => TRUE, 687 'not null' => TRUE,
688 'default' => ''), 688 'default' => ''),
689 'access_callback' => array( 689 'access_callback' => array(
1715 'description' => 'Primary links are often used at the theme layer to show the major sections of a site. A typical representation for primary links would be tabs along the top.', 1715 'description' => 'Primary links are often used at the theme layer to show the major sections of a site. A typical representation for primary links would be tabs along the top.',
1716 ), 1716 ),
1717 'secondary-links' => array( 1717 'secondary-links' => array(
1718 'menu_name' => 'secondary-links', 1718 'menu_name' => 'secondary-links',
1719 'title' => 'Secondary links', 1719 'title' => 'Secondary links',
1720 'description' => 'Secondary links are often used for pages like legal notices, contact details, and other secondary navigation items that play a lesser role than primary links', 1720 'description' => 'Secondary links are often used for pages like legal notices, contact details, and other secondary navigation items that play a lesser role than primary links.',
1721 ), 1721 ),
1722 ); 1722 );
1723 // Multi-part update 1723 // Multi-part update
1724 if (!isset($_SESSION['system_update_6021'])) { 1724 if (!isset($_SESSION['system_update_6021'])) {
1725 db_add_field($ret, 'menu', 'converted', array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0, 'size' => 'tiny')); 1725 db_add_field($ret, 'menu', 'converted', array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0, 'size' => 'tiny'));