Revize 1513
Přidáno uživatelem David Raška před více než 12 roky(ů)
freenetis/branches/testing/application/helpers/module_state.php | ||
---|---|---|
{
|
||
$add_text = FALSE;
|
||
}
|
||
|
||
$result = html::image(array
|
||
(
|
||
'src' => 'media/images/states/inactive.png',
|
freenetis/branches/testing/application/controllers/web_interface.php | ||
---|---|---|
}
|
||
|
||
/**
|
||
* Returns IP addresses of the most traffic-active members
|
||
*
|
||
* @author Michal Kliment
|
||
*/
|
||
public function active_traffic_members_ip_addresses()
|
||
{
|
||
$ips = ORM::factory('member')->get_active_traffic_members_ip_addresses();
|
||
|
||
foreach ($ips as $ip)
|
||
{
|
||
echo "$ip->ip_address\n";
|
||
}
|
||
}
|
||
|
||
/**
|
||
* Generates authorized keys to device
|
||
*
|
||
* @author Michal Kliment
|
freenetis/branches/testing/application/controllers/email.php | ||
---|---|---|
url::redirect(url::base());
|
||
}
|
||
|
||
$fn_version = '-';
|
||
|
||
if (defined('FREENETIS_VERSION'))
|
||
{
|
||
$fn_version = FREENETIS_VERSION;
|
||
}
|
||
|
||
// Build content
|
||
$subject = __('FreenetIS bug report: ' . (empty($ename) ? $url : $ename));
|
||
$message_body = nl2br($description);
|
||
$attachment = '<html><body>' .
|
||
'<h1>' . __('Bug report from') . ": . $url (file: $file, line: $line)</h1>" .
|
||
'<p>FreenetIS ' . __('version') . ': ' . $fn_version . '</p>' .
|
||
'<p>' . __('Reported by') . ': ' . $uname . '</p>' .
|
||
'<p>' . __('Description') . ': ' . nl2br($description) . '</p>' .
|
||
'<h2>' . $error . '</h2>' .
|
Také k dispozici: Unified diff
Upravy:
- #213: Pridano zobrazeni verze v chybovem hlaseni