commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / librejslinks / librejslinks.module
1 <?php
2 /**
3 * @file
4 * A block module that displays the links to the weblabels table for LibreJS compliance.
5 */
6
7 /**
8 * Implements hook_block_info().
9 */
10 function librejslinks_block_info() {
11 $retval['librejslinks'] = array(
12 'info' => t('LibreJS Links'),
13 'cache' => DRUPAL_NO_CACHE // DRUPAL_CACHE_GLOBAL
14 );
15 return $retval;
16 }
17 /**
18 * Custom block view.
19 *
20 * Populates our block with the links to our weblabels table.
21 */
22 function librejslinks_block_view($delta='') {
23 $block['content'] = '<div class="content"><a rel="jslicense" href="https://weblabels.fsf.org/crm.fsf.org/CURRENT/">JavaScript license information</a></div>';
24 return $block;
25 }
26
27 ?>