WIACPSite theme 0.2.0-alpha.92
Türkçe

§5.5

My services and product detail

  • Phase 10.6
  • theme 1.5.0

All of the client's products (services and domains) are in one list; there is no separate list template for domains (the clientdomains / clientdomain plan was dropped). Filters are query parameters on the same address (?kategori=, ?durum=gecmis); the core provides the addresses.

File Page Main variables
clientservices.wcp My services $products (kind — service / domain —, id, name, detail, number, category, category_key, icon, status, status_label, tone, due, due_kind — renewal / expiry —, overdue, amount, cycle, invoice {number, status, status_label, tone, url, pay_url} or null, url), $states (Active and pending / Past; key, label, count, url, active), $categories (key, label, count, url, active), $all_url, $filters, $empty_text, $blocks['pagination_html']
clientservice.wcp product detail (service and domain) $kind, $product (list row + history), $actions (only eligible action keys), $back, $domain (for domains: name, registered, expires, auto_renew, nameservers, locked, privacy, documents, managed), $note, $blocks: for services access_html, hourly_html, requests_html, package_html, password_html, transfer_html, cancel_html; for domains domain_info_html, domain_actions_html

Rules

  • Sorting is in the core: the nearest renewal / due date first, undated products last, a stable secondary order for ties. The theme does not sort.
  • Categories come from the catalogue (product category; otherwise the product group; domains as "Domains") and only categories the client owns are listed. The theme does not invent category names.
  • The category decides the listing; module capability decides the actions. The core decides which action is offered (capability + state + account); the theme does not build $actions / blocks itself. The endpoints repeat the same check on every call; hiding a button is not the only protection.
  • The password appears only inside access_html, once, after re-verification. The EPP code never reaches the theme (it goes to the client's email).
  • Icon names are fixed (world, server, server-2, license, package); for raw icon output use the theme_icon('name', 'class') form (validator rule).
  • Domain module capabilities: ManagesNameservers, ManagesTransferLock, ManagesPrivacy, ProvidesEppCode (or RegistrarModule, which covers them all). DNS management is not in this version.