aboutsummaryrefslogtreecommitdiff
path: root/mod/twitterservice/views/default/usersettings/twitterservice/edit.php
blob: e2d8b8785b4e5c26a0df352bac4a1211266429e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<p class="twitter_username"><label>
	<?php echo elgg_echo('twitterservice:twittername'); ?> <?php echo elgg_view('input/text', array('internalname' => 'params[twittername]', 'value' => $vars['entity']->twittername)); ?>
</label></p>
<p><label>
	<?php echo elgg_echo('twitterservice:twitterpass'); ?> <?php echo elgg_view('input/password', array('internalname' => 'params[twitterpass]', 'value' => $vars['entity']->twitterpass)); ?>
</label></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 } ?>