Esempio n. 1
0
      <td><?php 
    echo link_to_if($rt_shop_category->version > 1, $rt_shop_category->version, 'rtShopCategoryAdmin/versions?id=' . $rt_shop_category->getId());
    ?>
</td>
      <td><?php 
    echo $rt_shop_category->getCreatedAt();
    ?>
</td>
      <td>
        <ul class="rt-admin-tools">
          <li><?php 
    echo rt_button_show(url_for('rtShopCategoryAdmin/show?id=' . $rt_shop_category->getId()));
    ?>
</li>
          <li><?php 
    echo rt_button_edit(url_for('rtShopCategoryAdmin/edit?id=' . $rt_shop_category->getId()));
    ?>
</li>
          <li><?php 
    echo rt_button_delete(url_for('rtShopCategoryAdmin/delete?id=' . $rt_shop_category->getId()));
    ?>
</li>
          <?php 
    if ($rt_shop_category->getNode()->isRoot()) {
        ?>
          <li><?php 
        echo rt_ui_button(__('tree'), 'rtShopCategoryAdmin/tree' . '?root=' . $rt_shop_category->getRootId(), 'arrow-1-e');
        ?>
</li>
          <?php 
    }
Esempio n. 2
0
        <?php 
    echo rt_nice_boolean($rt_comment->getIsActive());
    ?>
        <div style="display:none;"><?php 
    echo $rt_comment->getId();
    ?>
</div>
      </td>
      <td><?php 
    echo $rt_comment->getCreatedAt();
    ?>
</td>
      <td>
        <ul class="rt-admin-tools">
          <li><?php 
    echo rt_button_edit(url_for('rtCommentAdmin/edit?id=' . $rt_comment->getId()));
    ?>
</li>
          <li><?php 
    echo rt_button_delete(url_for('rtCommentAdmin/delete?id=' . $rt_comment->getId()));
    ?>
</li>
        </ul>
      </td>
    </tr>
    <?php 
}
?>
  </tbody>
</table>
Esempio n. 3
0
      <td><?php 
    echo link_to_if($rt_site_page->version > 1, $rt_site_page->version, 'rtSitePageAdmin/versions?id=' . $rt_site_page->getId());
    ?>
</td>
      <td><?php 
    echo $rt_site_page->getCreatedAt();
    ?>
</td>
      <td>
        <ul class="rt-admin-tools">
          <li><?php 
    echo rt_button_show(url_for('rtSitePageAdmin/show?id=' . $rt_site_page->getId()));
    ?>
</li>
          <li><?php 
    echo rt_button_edit(url_for('rtSitePageAdmin/edit?id=' . $rt_site_page->getId()));
    ?>
</li>
          <li><?php 
    echo rt_button_delete(url_for('rtSitePageAdmin/delete?id=' . $rt_site_page->getId()));
    ?>
</li>
          <?php 
    if ($rt_site_page->getNode()->isRoot()) {
        ?>
          <li><?php 
        echo rt_ui_button(__('tree'), 'rtSitePageAdmin/tree' . '?root=' . $rt_site_page->getRootId(), 'arrow-1-e');
        ?>
</li>
          <?php 
    }
Esempio n. 4
0
        <?php 
    echo rt_nice_boolean($rt_snippet->getPublished());
    ?>
        <div style="display:none;"><?php 
    echo $rt_snippet->getId();
    ?>
</div>
      </td>
      <td><?php 
    echo $rt_snippet->getCreatedAt();
    ?>
</td>
      <td>
        <ul class="rt-admin-tools">
          <li><?php 
    echo rt_button_edit('rtSnippetAdmin/edit?id=' . $rt_snippet->getId());
    ?>
</li>
          <li><?php 
    echo rt_button_delete('rtSnippetAdmin/delete?id=' . $rt_snippet->getId());
    ?>
</li>
        </ul>
      </td>
    </tr>
    <?php 
}
?>
  </tbody>
</table>
Esempio n. 5
0
                    <?php 
    echo rt_nice_boolean($k_site->getPublished());
    ?>
                    <div style="display:none;"><?php 
    echo $k_site->getId();
    ?>
</div>
                </td>
                <td><?php 
    echo $k_site->getCreatedAt();
    ?>
</td>
                <td>
                    <ul class="rt-admin-tools">
                        <li><?php 
    echo rt_button_edit('rtSiteAdmin/edit?id=' . $k_site->getId());
    ?>
</li>
                        <li><?php 
    echo rt_button_delete('rtSiteAdmin/delete?id=' . $k_site->getId());
    ?>
</li>
                    </ul>
                </td>
            </tr>
        <?php 
}
?>
        </tbody>
    </table>
Esempio n. 6
0
        <td><?php 
    echo $rt_shop_promotion->getType() == 'rtShopPromotionCart' ? __('Cart') : __('Product');
    ?>
</td>
        <td><?php 
    echo $rt_shop_promotion->isPercentageOff() ? $rt_shop_promotion->getReductionValue() . '%' : format_currency($rt_shop_promotion->getReductionValue(), sfConfig::get('app_rt_currency', 'USD'), $sf_user->getCulture());
    ?>
</td>
        <td><?php 
    echo $rt_shop_promotion->getCreatedAt();
    ?>
</td>
        <td>
        <ul class="rt-admin-tools">
          <li><?php 
    echo rt_button_edit(url_for('rtShopPromotionAdmin/edit?id=' . $rt_shop_promotion->getId()));
    ?>
</li>
          <li><?php 
    echo rt_button_delete(url_for('rtShopPromotionAdmin/delete?id=' . $rt_shop_promotion->getId()));
    ?>
</li>
        </ul>
      </td>
      </tr>
    <?php 
}
?>
  </tbody>
</table>
Esempio n. 7
0
"><?php 
    echo $sf_guard_group->getName();
    ?>
</a></td>
      <td><?php 
    echo $sf_guard_group->getDescription();
    ?>
</td>
      <td><?php 
    echo $sf_guard_group->getCreatedAt();
    ?>
</td>
      <td>
        <ul class="rt-admin-tools">
          <li><?php 
    echo rt_button_edit('rtGuardGroupAdmin/edit?id=' . $sf_guard_group->getId());
    ?>
</li>
          <li><?php 
    echo rt_button_delete('rtGuardGroupAdmin/delete?id=' . $sf_guard_group->getId());
    ?>
</li>
        </ul>
      </td>
    </tr>
    <?php 
}
?>
  </tbody>
</table>
Esempio n. 8
0
                }
            }
            ?>
        <tr>
          <td><?php 
            echo link_to($title, $link);
            ?>
</td>
          <td><?php 
            echo __($type);
            ?>
</td>
          <td>
          <ul class="rt-admin-tools">
            <li><?php 
            echo rt_button_edit(url_for($link));
            ?>
</li>
          </ul>
          </td>
        </tr>
        <?php 
        }
        ?>
      </tbody>
    </table>
  <?php 
    }
}
?>
Esempio n. 9
0
      <td><?php 
    echo link_to_if($rt_shop_product->version > 1, $rt_shop_product->version, 'rtShopProductAdmin/versions?id=' . $rt_shop_product->getId());
    ?>
</td>
      <td><?php 
    echo $rt_shop_product->getCreatedAt();
    ?>
</td>
      <td>
        <ul class="rt-admin-tools">
          <li><?php 
    echo rt_button_show(url_for('rtShopProductAdmin/show?id=' . $rt_shop_product->getId()));
    ?>
</li>
          <li><?php 
    echo rt_button_edit(url_for('rtShopProductAdmin/edit?id=' . $rt_shop_product->getId()));
    ?>
</li>
          <li><?php 
    echo rt_button_delete(url_for('rtShopProductAdmin/delete?id=' . $rt_shop_product->getId()));
    ?>
</li>
        </ul>
      </td>
    </tr>
    <?php 
}
?>
  </tbody>
</table>
Esempio n. 10
0
"><?php 
    echo $sf_guard_permission->getName();
    ?>
</a></td>
      <td><?php 
    echo $sf_guard_permission->getDescription();
    ?>
</td>
      <td><?php 
    echo $sf_guard_permission->getCreatedAt();
    ?>
</td>
      <td>
        <ul class="rt-admin-tools">
          <li><?php 
    echo rt_button_edit('rtGuardPermissionAdmin/edit?id=' . $sf_guard_permission->getId());
    ?>
</li>
          <li><?php 
    echo rt_button_delete('rtGuardPermissionAdmin/delete?id=' . $sf_guard_permission->getId());
    ?>
</li>
        </ul>
      </td>
    </tr>
    <?php 
}
?>
  </tbody>
</table>
Esempio n. 11
0
      <td><?php 
    echo link_to_if($rt_wiki_page->version > 1, $rt_wiki_page->version, 'rtWikiPageAdmin/versions?id=' . $rt_wiki_page->getId());
    ?>
</td>
      <td><?php 
    echo $rt_wiki_page->getCreatedAt();
    ?>
</td>
      <td>
        <ul class="rt-admin-tools">
          <li><?php 
    echo rt_button_show(url_for('rtWikiPageAdmin/show?id=' . $rt_wiki_page->getId()));
    ?>
</li>
          <li><?php 
    echo rt_button_edit(url_for('rtWikiPageAdmin/edit?id=' . $rt_wiki_page->getId()));
    ?>
</li>
          <li><?php 
    echo rt_button_delete(url_for('rtWikiPageAdmin/delete?id=' . $rt_wiki_page->getId()));
    ?>
</li>
        </ul>
      </td>
    </tr>
    <?php 
}
?>
  </tbody>
</table>
Esempio n. 12
0
      <td><?php 
    echo $rt_shop_voucher->getMode();
    ?>
</td>
      <td><code><?php 
    echo $rt_shop_voucher->getBatchReference() ? link_to($rt_shop_voucher->getBatchReference(), 'rtShopVoucherAdmin/batchShow?id=' . $rt_shop_voucher->getBatchReference()) : '--';
    ?>
</code></td>
      <td><?php 
    echo $rt_shop_voucher->getCreatedAt();
    ?>
</td>
      <td>
        <ul class="rt-admin-tools">
          <li><?php 
    echo rt_button_edit(url_for('rtShopVoucherAdmin/edit?id=' . $rt_shop_voucher->getId()));
    ?>
</li>
          <li><?php 
    echo rt_button_delete(url_for('rtShopVoucherAdmin/delete?id=' . $rt_shop_voucher->getId()));
    ?>
</li>
        </ul>
      </td>
    </tr>
    <?php 
}
?>
  </tbody>
</table>
Esempio n. 13
0
      <td><?php 
    echo link_to_if($rt_blog_page->version > 1, $rt_blog_page->version, 'rtBlogPageAdmin/versions?id=' . $rt_blog_page->getId());
    ?>
</td>
      <td><?php 
    echo $rt_blog_page->getCreatedAt();
    ?>
</td>
      <td>
        <ul class="rt-admin-tools">
          <li><?php 
    echo rt_button_show(url_for('rtBlogPageAdmin/show?id=' . $rt_blog_page->getId()));
    ?>
</li>
          <li><?php 
    echo rt_button_edit(url_for('rtBlogPageAdmin/edit?id=' . $rt_blog_page->getId()));
    ?>
</li>
          <li><?php 
    echo rt_button_delete(url_for('rtBlogPageAdmin/delete?id=' . $rt_blog_page->getId()));
    ?>
</li>
        </ul>
      </td>
    </tr>
    <?php 
}
?>
  </tbody>
</table>
Esempio n. 14
0
        <?php 
    echo rt_nice_boolean($sf_guard_user->getIsActive());
    ?>
        <div style="display:none;"><?php 
    echo $sf_guard_user->getId();
    ?>
</div>
      </td>
      <td><?php 
    echo $sf_guard_user->getCreatedAt();
    ?>
</td>
      <td>
        <ul class="rt-admin-tools">
          <li><?php 
    echo rt_button_edit('rtGuardUserAdmin/edit?id=' . $sf_guard_user->getId());
    ?>
</li>
          <li><?php 
    echo rt_button_delete('rtGuardUserAdmin/delete?id=' . $sf_guard_user->getId());
    ?>
</li>
        </ul>
      </td>
    </tr>
    <?php 
}
?>
  </tbody>
</table>
Esempio n. 15
0
    <tr>
      <td><a href="<?php 
    echo url_for('rtShopAttributeAdmin/edit?id=' . $rt_shop_attribute->getId());
    ?>
"><?php 
    echo $rt_shop_attribute->getTitle();
    ?>
</a></td>
      <td><?php 
    echo $rt_shop_attribute->getDisplayTitle();
    ?>
</td>
      <td>
        <ul class="rt-admin-tools">
          <li><?php 
    echo rt_button_edit(url_for('rtShopAttributeAdmin/edit?id=' . $rt_shop_attribute->getId()));
    ?>
</li>
          <li><?php 
    echo rt_button_delete(url_for('rtShopAttributeAdmin/delete?id=' . $rt_shop_attribute->getId()));
    ?>
</li>
        </ul>
      </td>
    </tr>
    <?php 
}
?>
  </tbody>
</table>