Beispiel #1
0
<div id="gdsr-img-custom[<?php 
echo $wpnm;
?>
]" style="display: <?php 
echo $wpno['image_from'] == 'custom' ? 'block' : 'none';
?>
">
<table border="0" cellpadding="2" cellspacing="0" width="100%">
  <tr>
    <td width="100" valign="top"></td>
    <td width="100" nowrap="nowrap"><?php 
_e("Custom Field", "gd-star-rating");
?>
:</td>
    <td align="right"><?php 
GDSRHelper::render_custom_fields($wpfn . "[image_custom]", $wpno['image_custom'], 200);
?>
</td>
  </tr>
</table>
</div>
<div id="gdsr-img-content[<?php 
echo $wpnm;
?>
]" style="display: <?php 
echo $wpno['image_from'] == 'content' ? 'block' : 'none';
?>
">
<table border="0" cellpadding="2" cellspacing="0" width="100%">
  <tr>
    <td width="100" valign="top"></td>
Beispiel #2
0
?>

        </td>
      </tr>
    </table>
    </div>
    <div id="gdsr-pi-custom[tinymce]" style="display: none">
    <table border="0" cellpadding="2" cellspacing="0" width="100%">
      <tr>
        <td class="gdsrleft"><?php 
_e("Custom Field", "gd-star-rating");
?>
:</td>
        <td class="gdsrright">
            <?php 
GDSRHelper::render_custom_fields("srImageCustom", "", 200);
?>

        </td>
      </tr>
    </table>
    </div>
    <div id="gdsr-pi-content[tinymce]" style="display: none">
    <table border="0" cellpadding="2" cellspacing="0" width="100%">
      <tr>
        <td>
            <?php 
_e("First image from post content will be used for %IMAGE% tag.", "gd-star-rating");
?>

        </td>
Beispiel #3
0
<div id="<?php 
echo $this->get_field_id('image_from');
?>
-custom" style="display: <?php 
echo $instance['image_from'] == 'custom' ? 'block' : 'none';
?>
">
<table border="0" cellpadding="2" cellspacing="0" width="100%">
  <tr>
    <td width="100" valign="top"></td>
    <td width="100" nowrap="nowrap"><?php 
_e("Custom Field", "gd-star-rating");
?>
:</td>
    <td align="right"><?php 
GDSRHelper::render_custom_fields($this->get_field_name('image_custom'), $instance['image_custom'], 200);
?>
</td>
  </tr>
</table>
</div>
<div id="<?php 
echo $this->get_field_id('image_from');
?>
-content" style="display: <?php 
echo $instance['image_from'] == 'content' ? 'block' : 'none';
?>
">
<table border="0" cellpadding="2" cellspacing="0" width="100%">
  <tr>
    <td width="100" valign="top"></td>