templates.php 459 B

1234567891011121314151617
  1. <?php
  2. Core::addBreadcrumb("/account", "Account");
  3. Core::addBreadcrumb("/account/templates", "Templates");
  4. $customer = Customer::getForAdmin();
  5. $page_title = "$customer->name Templates";
  6. Core::addBreadcrumb("/account/templates?customer_id=$customer->id", $page_title);
  7. $templates = $customer->getTemplates();
  8. View::includeOnce("header", compact("page_title"));
  9. View::include("templates", compact("customer", "templates"));
  10. View::includeOnce("footer");
  11. ?>