aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics/admin/settings.php
blob: e1d20f95316de3b98f9ec4c4dc6e03730839eefd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
 * Tidypics admin settings tab
 */

$form_body = elgg_view('forms/tidypics/admin/settings', $vars);

$server_analysis_link = elgg_view('output/url', array(
	'href' => "{$vars['url']}mod/tidypics/pages/server_analysis.php",
	'text' => elgg_echo('tidypics:settings:server:analysis'),
));

echo elgg_view('output/longtext', array('value' => elgg_echo('tidypics:admin:instructions')));

echo '<p>';
echo elgg_view('tidypics/admin/upgrade');
echo $server_analysis_link;
echo '</p>';

echo elgg_view('input/form', array(
	'body' => $form_body,
	'action' => $vars['url'] . 'action/tidypics/admin/settings',
));