From: David Thompson Date: Mon, 3 Nov 2014 17:33:23 +0000 (-0500) Subject: Initial commit. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;p=agpl_compliance.git Initial commit. --- b0a20581e4ddd91355e18ed742a846eabf9997f4 diff --git a/README.md b/README.md new file mode 100644 index 0000000..5a455c1 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +FSF CiviCRM AGPL Compliance +=========================== + +This module adds a block that shows a link to download the complete +source code to our modified version of CiviCRM. diff --git a/agpl_compliance.info b/agpl_compliance.info new file mode 100644 index 0000000..b37e2fc --- /dev/null +++ b/agpl_compliance.info @@ -0,0 +1,3 @@ +name = AGPL Compliance +description = A block to provide source code download links for AGPL compliance. +core = 7.x \ No newline at end of file diff --git a/agpl_compliance.module b/agpl_compliance.module new file mode 100644 index 0000000..a6d48ca --- /dev/null +++ b/agpl_compliance.module @@ -0,0 +1,22 @@ + t('AGPL Compliance'), + ); + return $retval; +} + +function agpl_compliance_block_view($delta='') { + switch($delta) { + case 'agpl_compliance': + $block['content'] = '

This version of CiviCRM contains modifications made by the Free Software Foundation, Inc. Complete source code

'; + return $block; + } +} + +?> \ No newline at end of file