|
Revision 7470, 1.4 kB
(checked in by mickecarlsson, 4 years ago)
|
Added missing GPL text, corrected license version
|
- Property svn:mime-type set to
text/plain
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
//This file is part of FreePBX. |
|---|
| 3 |
// |
|---|
| 4 |
// FreePBX is free software: you can redistribute it and/or modify |
|---|
| 5 |
// it under the terms of the GNU General Public License as published by |
|---|
| 6 |
// the Free Software Foundation, either version 2 of the License, or |
|---|
| 7 |
// (at your option) any later version. |
|---|
| 8 |
// |
|---|
| 9 |
// FreePBX is distributed in the hope that it will be useful, |
|---|
| 10 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 11 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 12 |
// GNU General Public License for more details. |
|---|
| 13 |
// |
|---|
| 14 |
// You should have received a copy of the GNU General Public License |
|---|
| 15 |
// along with FreePBX. If not, see <http://www.gnu.org/licenses/>. |
|---|
| 16 |
// |
|---|
| 17 |
// Copyright (C) 2006 Magnus Ullberg (magnus@ullberg.us) |
|---|
| 18 |
// |
|---|
| 19 |
// For translations |
|---|
| 20 |
if (false) { |
|---|
| 21 |
_("Blacklist a number"); |
|---|
| 22 |
_("Remove a number from the blacklist"); |
|---|
| 23 |
_("Blacklist the last caller"); |
|---|
| 24 |
_("Blacklist"); |
|---|
| 25 |
} |
|---|
| 26 |
|
|---|
| 27 |
$fcc = new featurecode('blacklist', 'blacklist_add'); |
|---|
| 28 |
$fcc->setDescription('Blacklist a number'); |
|---|
| 29 |
$fcc->setDefault('*30'); |
|---|
| 30 |
$fcc->update(); |
|---|
| 31 |
unset($fcc); |
|---|
| 32 |
|
|---|
| 33 |
$fcc = new featurecode('blacklist', 'blacklist_remove'); |
|---|
| 34 |
$fcc->setDescription('Remove a number from the blacklist'); |
|---|
| 35 |
$fcc->setDefault('*31'); |
|---|
| 36 |
$fcc->update(); |
|---|
| 37 |
unset($fcc); |
|---|
| 38 |
|
|---|
| 39 |
$fcc = new featurecode('blacklist', 'blacklist_last'); |
|---|
| 40 |
$fcc->setDescription('Blacklist the last caller'); |
|---|
| 41 |
$fcc->setDefault('*32'); |
|---|
| 42 |
$fcc->update(); |
|---|
| 43 |
unset($fcc); |
|---|
| 44 |
?> |
|---|