This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Ajouter les méta spécifiques aux Devices Apples | |
| * */ | |
| function THEME_NAME_preprocess_html(&$variables) { | |
| //regular apple-touch-icon | |
| $apple = array( | |
| '#tag' => 'link', // The #tag is the html tag - <link /> | |
| '#attributes' => array( // Set up an array of attributes inside the tag | |
| 'rel' => 'apple-touch-icon', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Implements hook_enable() | |
| * @link https://api.drupal.org/api/drupal/modules%21system%21system.api.php/function/hook_enable/7 | |
| */ | |
| function cirpack_extranet_user_account_enable() { | |
| db_update('system') | |
| ->fields(array('weight' => 10)) | |
| ->condition('type', 'module') | |
| ->condition('name', 'cirpack_extranet_user_account') | |
| ->execute(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| toto |