Example #1
0
?>
        <?php 
echo render_form_row($form['menu_title']);
?>
      </tbody>
    </table>
  </div>

  <div class="rt-admin-toggle-panel">
    <h2><?php 
echo __('Location and Referencing');
?>
</h2>
    <table class="rt-admin-toggle-panel-content">
      <tbody>
        <?php 
echo render_form_row($form['slug']);
?>
        <?php 
if (isset($form['site_id'])) {
    ?>
          <?php 
    echo render_form_row($form['site_id']);
    ?>
        <?php 
}
?>
      </tbody>
    </table>
  </div>
</form>
echo $form->renderHiddenFields(false);
if (!$form->getObject()->isNew()) {
    ?>
<input type="hidden" name="sf_method" value="put" />
<?php 
}
?>
  <table>
    <tbody>
      <?php 
echo $form->renderGlobalErrors();
?>
      <?php 
echo render_form_row($form['batchsize']);
?>
      <?php 
echo render_form_row($form['title']);
?>
      <?php 
echo render_form_row($form['reduction_type']);
?>
      <?php 
echo render_form_row($form['reduction_value']);
?>
    </tbody>
  </table>

  <?php 
include_partial('form_main', array('form' => $form));
?>
</form>
echo render_form_row($form['town']);
?>
    <?php 
echo render_form_row($form['country']);
?>
    <?php 
echo render_form_row($form['state']);
?>
    <?php 
echo render_form_row($form['postcode']);
?>
    <?php 
echo render_form_row($form['phone']);
?>
    <?php 
echo render_form_row($form['instructions']);
?>
  </tbody>
</table>
<script type="text/javascript">
  $(function() {
    $('#rt_site_<?php 
echo $form->getName();
?>
_country').change(function() {

      var holder =  $('#rt_site_<?php 
echo $form->getName();
?>
_state').parent();
Example #4
0
    <table class="rt-admin-toggle-panel-content">
      <tbody>
        <?php 
echo render_form_row($form['position']);
?>
        <?php 
echo render_form_row($form['display_in_menu']);
?>
        <?php 
echo render_form_row($form['menu_title']);
?>
      </tbody>
    </table>
  </div>

  <div class="rt-admin-toggle-panel">
    <h2><?php 
echo __('Location and Referencing');
?>
</h2>
    <table class="rt-admin-toggle-panel-content">
      <tbody>
        <?php 
echo render_form_row($form['slug']);
?>
      </tbody>
    </table>
  </div>

</form>
Example #5
0
      <?php 
//echo render_form_row($form['quantity_from']);
?>
      <?php 
//echo render_form_row($form['quantity_to']);
?>
      <?php 
echo render_form_row($form['total_from']);
?>
      <?php 
echo render_form_row($form['total_to']);
?>
      </tbody>
    </table>
  </div>

  <div class="rt-admin-toggle-panel">
    <h2><?php 
echo __('Adminstration Notes');
?>
</h2>
    <table class="rt-admin-toggle-panel-content">
      <tbody>
      <?php 
echo render_form_row($form['comment']);
?>
      </tbody>
    </table>
  </div>
</form>
Example #6
0
  <table>
    <tbody>
      <?php 
echo render_form_row($form['title']);
?>
      <?php 
echo render_form_row($form['display_title']);
?>
      <?php 
echo render_form_row($form['description']);
?>
      <?php 
echo render_form_row($form['display_image']);
?>
      <?php 
echo render_form_row($form['display_label']);
?>
    </tbody>
  </table>

  <?php 
if (!$form->isNew()) {
    ?>
  <div class="rt-admin-toggle-panel-plain">
    <h2><?php 
    echo __('Current Variations');
    ?>
</h2>
    <table class="">
      <thead>
        <tr>
Example #7
0
</div>
            <div id="rt-shop-product-product-search">
              <label for="rt_shop_product_product_search">Add another product:</label>
              <input type="text" id="rt_shop_product_product_search" name="rt_shop_product_product_search" />
              <div class="help"><?php 
echo __('Type in the title of a product. If a product is found it will be shown in a dropdown selection.');
?>
</div>
            </div>
          </td>
        </tr>
        <?php 
echo render_form_row($form['rt_shop_related_categories_list']);
?>
        <?php 
echo render_form_row($form['rt_shop_categories_list']);
?>
      </tbody>
    </table>
      <script type="text/javascript">
          $(function () {
              $("#rtSortableProducts ul.checkbox_list").first().sortable({
                  revert:true
              });

              $("#rt_shop_product_product_search").autocomplete({
                  source:'/rtShopProductAdmin/productSelect?q=' + $("#rt_shop_product_product_search").val(),
                  minLength:2,
                  select:function (event, ui) {
                      var checkboxId = '#rt_shop_product_rt_shop_products_list_' + ui.item.id;
                      if ($(checkboxId).html() == null && "<?php 
Example #8
0
echo render_form_row($form['published']);
?>
            </tbody>
        </table>
    </div>

    <div class="rt-admin-toggle-panel">
        <h2><?php 
echo __('Advanced');
?>
</h2>
        <table class="rt-admin-toggle-panel-content">
            <tbody>
            <?php 
echo render_form_row($form['admin_email_address']);
?>
            <?php 
echo render_form_row($form['reference_key']);
?>
            <?php 
echo render_form_row($form['domain']);
?>
            <?php 
echo render_form_row($form['redirects']);
?>
            </tbody>
        </table>
    </div>

</form>
Example #9
0
echo render_form_row($form['author_name']);
?>
      <?php 
echo render_form_row($form['author_email']);
?>
      <?php 
echo render_form_row($form['author_website']);
?>
      <?php 
echo render_form_row($form['content']);
?>
      
    </tbody>
  </table>

  <div class="rt-admin-toggle-panel">
    <h2><?php 
echo __('Moderator');
?>
</h2>
    <table class="rt-admin-toggle-panel-content">
      <tbody>
        <?php 
echo render_form_row($form['moderator_note']);
?>
      </tbody>
    </table>
  </div>


</form>
Example #10
0
      <table class="rt-admin-toggle-panel-content">
        <tbody>
          <?php 
    echo render_form_row($form['site_id']);
    ?>
        </tbody>
      </table>
    </div>
  <?php 
}
?>

  <div class="rt-admin-toggle-panel">
    <h2><?php 
echo __('Advanced Options');
?>
</h2>
    <table class="rt-admin-toggle-panel-content">
      <tbody>
        <?php 
echo render_form_row($form['collection']);
?>
        <?php 
echo render_form_row($form['position']);
?>
      </tbody>
    </table>
  </div>

</form>