1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
<?php $this->load->view('js_sms_to_wordpress');?>
<!-- Add Wordpress dialog -->
<div id="wp-dialog" title="Add Wordpress Blog" class="dialog">
<p id="validateTips">All form fields are required.</p>
<?php echo form_open('plugin/sms_to_wordpress/add', array('class' => 'addwpblogform')); ?>
<fieldset>
<label for="wp_url">Wordpress URL</label>
<input type="text" name="wp_url" id="wp_url" class="text ui-widget-content ui-corner-all" />
<label for="wp_username">Wordpress Username</label>
<input type="text" name="wp_username" id="wp_username" value="" class="text ui-widget-content ui-corner-all" />
<label for="wp_password">Wordpress Password</label>
<input type="password" name="wp_password" id="wp_password" value="" class="text ui-widget-content ui-corner-all" />
</fieldset>
<?php echo form_close(); ?>
</div>
<div id="window_container">
<div id="window_title"><?php echo $title; ?></div>
<div id="window_content">
<?php if ( ! $status):?>
<a href="javascript:void(0);" class="nicebutton" id="addwpblogbutton">+ Add Wordpress blog</a>
<?php else:?>
<a href="javascript:void(0);" class="nicebutton delete">+ Delete Wordpress blog</a>
<?php endif;?>
<?php if ( ! empty($wp)):?>
<h4>Blog URL:</h4>
<p><?php echo htmlentities($wp['wp_url'], ENT_QUOTES);?></p>
<?php endif;?>
</div>
</div>
|