|
Revision 5074, 1.1 kB
(checked in by p_lindheimer, 6 years ago)
|
#1209 add cdrcost to contributed module repository
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
//Copyright (C) 2006 Lenux Inc. (info@lenux.eu) |
|---|
| 3 |
// |
|---|
| 4 |
//This program is free software; you can redistribute it and/or |
|---|
| 5 |
//modify it under the terms of the GNU General Public License |
|---|
| 6 |
//as published by the Free Software Foundation; either version 2 |
|---|
| 7 |
//of the License, or (at your option) any later version. |
|---|
| 8 |
// |
|---|
| 9 |
//This program 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 |
|
|---|
| 15 |
<div class="rnav"> |
|---|
| 16 |
</div> |
|---|
| 17 |
|
|---|
| 18 |
<?php |
|---|
| 19 |
echo "<h2>" . _("Call Cost Administration") . "</h2>"; |
|---|
| 20 |
|
|---|
| 21 |
echo "<form name=\"generate\" action=\"config.php\" method=\"post\">\n"; |
|---|
| 22 |
echo "<input type=\"hidden\" name=\"display\" value=\"".$display."\" />\n"; |
|---|
| 23 |
echo "<input type=\"hidden\" name=\"type\" value=\"".$type."\" />\n"; |
|---|
| 24 |
|
|---|
| 25 |
echo "Generate the cdrcost database: "; |
|---|
| 26 |
echo "<input type=\"hidden\" name=\"extdisplay\" value=\"gencost\" />\n"; |
|---|
| 27 |
|
|---|
| 28 |
echo "<input type=\"submit\" name=\"process\" value=\"Run\" />\n"; |
|---|
| 29 |
|
|---|
| 30 |
switch($extdisplay) { |
|---|
| 31 |
case 'gencost': |
|---|
| 32 |
fill_cdrcost(); |
|---|
| 33 |
break; |
|---|
| 34 |
} |
|---|
| 35 |
|
|---|
| 36 |
?> |
|---|
| 37 |
|
|---|