| Server IP : 85.158.181.41 / Your IP : 216.73.217.12 Web Server : Apache System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64 User : moncbefd ( 1024) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/moncbefd/www.moneta.at/admin/includes/modules/mediafinanz/config/ |
Upload File : |
<?php
/* -----------------------------------------------------------------------------------------
Copyright (c) 2011 mediafinanz AG
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.
---------------------------------------------------------------------------------------
* @author Marcel Kirsch
*/
if ($store)
{
$config->storeValue('person.active', (int)($_POST['active']));
$config->storeValue('buergel.score', (double)(str_replace(',', '.', $_POST['score'])));
$msg = '<strong style="font-size:14px;">##data_saved</strong>';
}
?>
<tr>
<td id="configtitle" colspan="2"><br />##person_credit_ratings_options</td>
</tr>
<tr>
<td class="smallText"><b>##use_person_check</b></td>
<td class="smallText">
<?php
if ($config->getValue('person.active') == 1)
{
echo '<input type="radio" name="active" value="1" checked>##active</input><br />
<input type="radio" name="active" value="0">##inactive</input>';
}
else
{
echo '<input type="radio" name="active" value="1">##active</input><br />
<input type="radio" name="active" value="0" checked>##inactive</input>';
}
?>
</td>
</tr>
<tr>
<td class="smallText"><b>##person_min_score_to_hide_payments</b></td>
<td class="smallText"><input type="text" name="score" value="<?php echo $config->getValue('buergel.score'); ?>"/></td>
</tr>