diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-28 18:06:19 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-28 18:06:19 +0000 |
commit | 0f1ff71fa5959301b92cd4a69ebcf425272bf553 (patch) | |
tree | 7d8a82b3d59466209e24fb79613f8d2e0ec0ffeb /mod/updateclient/views/default | |
parent | a700dd2819264fd22e7aa4e3c0e912d9cda44bd5 (diff) | |
download | elgg-0f1ff71fa5959301b92cd4a69ebcf425272bf553.tar.gz elgg-0f1ff71fa5959301b92cd4a69ebcf425272bf553.tar.bz2 |
Added configuration to client.
git-svn-id: https://code.elgg.org/elgg/trunk@1564 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/updateclient/views/default')
-rw-r--r-- | mod/updateclient/views/default/settings/updateclient/edit.php | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/mod/updateclient/views/default/settings/updateclient/edit.php b/mod/updateclient/views/default/settings/updateclient/edit.php index e01c14487..3cd64b448 100644 --- a/mod/updateclient/views/default/settings/updateclient/edit.php +++ b/mod/updateclient/views/default/settings/updateclient/edit.php @@ -10,7 +10,24 @@ */ - // update server - - // notifcation period -?>
\ No newline at end of file +?> + +<p> + <h3><?php echo elgg_echo('updateclient:settings:server'); ?>: </h3> + <?php + $server = ($vars['entity']->updateserver ? $vars['entity']->updateserver : 'http://updates.elgg.org/services/api/rest.php'); + echo elgg_view('input/text', array('internalname' => 'params[updateserver]', 'value' => $server)); + ?> +</p> +<p> + <?php echo elgg_echo('updateclient:settings:days'); ?> + + <select name="params[days]"> + <option value="7" <?php if ($vars['entity']->days == 7) echo " selected=\"yes\" "; ?>>7</option> + <option value="14" <?php if ((!$vars['entity']->days) || ($vars['entity']->days == 14)) echo " selected=\"yes\" "; ?>>14</option> + <option value="21" <?php if ($vars['entity']->days == 21) echo " selected=\"yes\" "; ?>>21</option> + <option value="28" <?php if ($vars['entity']->days == 28) echo " selected=\"yes\" "; ?>>28</option> + </select> + + <?php echo elgg_echo('updateclient:days'); ?>. +</p>
\ No newline at end of file |