20 lines
1.5 KiB
PHP
20 lines
1.5 KiB
PHP
|
|
<input type="hidden" id="<?php echo $this->get_field_id('div_image'); ?>" name="<?php echo $this->get_field_name('div_image'); ?>" value="<?php echo $instance['div_image'] ?>" />
|
||
|
|
<div id="<?php echo $this->get_field_id('div_image'); ?>-off" style="display: <?php echo $instance['div_image'] == '1' ? 'none' : 'block' ?>">
|
||
|
|
<table border="0" cellpadding="2" cellspacing="0" width="100%">
|
||
|
|
<tr>
|
||
|
|
<td width="100" valign="top"><strong><a style="text-decoration: none" href="javascript:gdsrShowHidePreview('<?php echo $this->get_field_id('div_image'); ?>')"><?php _e("Avatar", "gd-star-rating"); ?></a></strong></td>
|
||
|
|
<td align="right"><?php _e("Click on the header title to display the options.", "gd-star-rating"); ?></td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</div>
|
||
|
|
<div id="<?php echo $this->get_field_id('div_image'); ?>-on" style="display: <?php echo $instance['div_image'] == '1' ? 'block' : 'none' ?>">
|
||
|
|
<table border="0" cellpadding="2" cellspacing="0" width="100%">
|
||
|
|
<tr>
|
||
|
|
<td width="100" valign="top"><strong><a style="text-decoration: none" href="javascript:gdsrShowHidePreview('<?php echo $this->get_field_id('div_image'); ?>')"><?php _e("Avatar", "gd-star-rating"); ?></a></strong></td>
|
||
|
|
<td width="150" nowrap="nowrap"><?php _e("Size", "gd-star-rating"); ?>:</td>
|
||
|
|
<td align="right"><input class="widefat" style="text-align: right; width: 40px" type="text" name="<?php echo $this->get_field_name('avatar'); ?>" id="<?php echo $this->get_field_id('avatar'); ?>" value="<?php echo $instance["avatar"]; ?>" /></td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</div>
|
||
|
|
<div class="gdsr-table-split"></div>
|