diff options
Diffstat (limited to 'mod/twitterservice/views/default')
-rw-r--r-- | mod/twitterservice/views/default/usersettings/twitterservice/edit.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mod/twitterservice/views/default/usersettings/twitterservice/edit.php b/mod/twitterservice/views/default/usersettings/twitterservice/edit.php new file mode 100644 index 000000000..eb4896756 --- /dev/null +++ b/mod/twitterservice/views/default/usersettings/twitterservice/edit.php @@ -0,0 +1,17 @@ +<p> + <?php echo elgg_echo('twitterservice:twittername'); ?> <?php echo elgg_view('input/text', array('internalname' => 'params[twittername]', 'value' => $vars['entity']->twittername)); ?> +</p> +<p> + <?php echo elgg_echo('twitterservice:twitterpass'); ?> <?php echo elgg_view('input/password', array('internalname' => 'params[twitterpass]', 'value' => $vars['entity']->twitterpass)); ?> +</p> +<?php if (is_plugin_enabled('thewire')) { ?> +<p> + <?php echo elgg_echo('twitterservice:postwire'); ?> + + <select name="params[sendtowire]"> + <option value="yes" <?php if ($vars['entity']->sendtowire == 'yes') echo " selected=\"yes\" "; ?>><?php echo elgg_echo('option:yes'); ?></option> + <option value="no" <?php if ($vars['entity']->sendtowire != 'yes') echo " selected=\"yes\" "; ?>><?php echo elgg_echo('option:no'); ?></option> + </select> + +</p> +<?php } ?>
\ No newline at end of file |