Ejemplo n.º 1
0
        <?php 
echo $this->get_label('content');
?>
: </label><br/>
      <select class="iw<?php 
echo $is_widget ? '-widget' : '';
?>
-control" id="<?php 
echo $widgetobj->get_field_id('content');
?>
" name="<?php 
echo $widgetobj->get_field_name('content');
?>
" autocomplete="off">
        <?php 
foreach (IntelliWidgetStrings::get_menu('content') as $value => $label) {
    ?>
        <option value="<?php 
    echo $value;
    ?>
" <?php 
    selected($instance['content'], $value);
    ?>
><?php 
    echo $label;
    ?>
</option>
        <?php 
}
?>
      </select><?php 
Ejemplo n.º 2
0
print $widgetobj->get_field_id('image_size');
?>
" class="aligned">
        <?php 
echo $this->get_label('image_size');
?>
: </label>
      <select id="<?php 
echo $widgetobj->get_field_id('image_size');
?>
" name="<?php 
echo $widgetobj->get_field_name('image_size');
?>
">
        <?php 
foreach (IntelliWidgetStrings::get_menu('image_size') as $value => $label) {
    ?>
        <option value="<?php 
    echo $value;
    ?>
" <?php 
    selected($instance['image_size'], $value);
    ?>
><?php 
    echo $label;
    ?>
</option>
        <?php 
}
?>
        <?php 
Ejemplo n.º 3
0
 function get_nav_menu()
 {
     $defaults = IntelliWidgetStrings::get_menu('default_nav');
     return $defaults + $this->menus;
 }
Ejemplo n.º 4
0
  <input class="intelliwidget-input" type="text" id="intelliwidget_link_classes" name="intelliwidget_link_classes" value="<?php 
echo $fields['intelliwidget_link_classes'];
?>
" autocomplete="off" />
</p>
<p>
  <label title="<?php 
echo $this->get_tip('link_target');
?>
" for="intelliwidget_link_target"> <?php 
echo $this->get_label('link_target');
?>
:</label>
  <select class="intelliwidget-input" id="intelliwidget_link_target" name="intelliwidget_link_target" autocomplete="off" >
    <?php 
foreach (IntelliWidgetStrings::get_menu('link_target') as $value => $label) {
    ?>
    <option value="<?php 
    echo $value;
    ?>
" <?php 
    selected($fields['intelliwidget_link_target'], $value);
    ?>
><?php 
    echo $label;
    ?>
</option>
    <?php 
}
?>
  </select>
Ejemplo n.º 5
0
echo $this->get_tip('sortby_terms');
?>
"> <?php 
echo $this->get_label('sortby_terms');
?>
: </label>
      <br/>
      <select name="<?php 
echo $widgetobj->get_field_name('sortby');
?>
" id="<?php 
echo $widgetobj->get_field_id('sortby');
?>
">
        <?php 
foreach (IntelliWidgetStrings::get_menu('tax_sortby') as $value => $label) {
    ?>
        <option value="<?php 
    echo $value;
    ?>
" <?php 
    selected($instance['sortby'], $value);
    ?>
><?php 
    echo $label;
    ?>
</option>
        <?php 
}
?>
      </select>
Ejemplo n.º 6
0
echo $widgetobj->get_field_id('text_position');
?>
">
        <?php 
echo $this->get_label('text_position');
?>
: </label>
      <select name="<?php 
echo $widgetobj->get_field_name('text_position');
?>
" id="<?php 
echo $widgetobj->get_field_id('text_position');
?>
">
        <?php 
foreach (IntelliWidgetStrings::get_menu('text_position') as $value => $label) {
    ?>
        <option value="<?php 
    echo $value;
    ?>
" <?php 
    selected($instance['text_position'], $value);
    ?>
><?php 
    echo $label;
    ?>
</option>
        <?php 
}
?>
      </select>