diff --git a/hubzilla/addon/assoc_profile/assoc_profile_manage.php b/hubzilla/addon/assoc_profile/assoc_profile_manage.php index d796a74..f10a884 100644 --- a/hubzilla/addon/assoc_profile/assoc_profile_manage.php +++ b/hubzilla/addon/assoc_profile/assoc_profile_manage.php @@ -3,7 +3,7 @@ /** * Association Profile — Management Renderer * Operator-only. Called from assoc_profile.php content router. - * v0.2.0 — search, filter, paginate, bulk export, import with diff, delete. + * v0.3.0 — tabbed edit form; all other functions unchanged from v0.2.0. */ // ---------------------------------------------------------------------------- @@ -165,7 +165,7 @@ function assoc_render_add_association_form() { } // ---------------------------------------------------------------------------- -// EDIT ASSOCIATION +// EDIT ASSOCIATION — tabbed by field group // ---------------------------------------------------------------------------- function assoc_render_edit_association_form($slug) { @@ -183,6 +183,15 @@ function assoc_render_edit_association_form($slug) { $name = $entry['assoc_legal_name'] ?? $slug; + // Short tab labels — operator-defined groups map to shorter labels for tab nav + $tab_labels = [ + 'Identity' => 'Identity', + 'Physical Structure' => 'Buildings', + 'Governance and Management' => 'Governance', + 'Legal and Compliance' => 'Compliance', + 'Record' => 'Record', + ]; + $out = '
This removes ' . assoc_h($name) . ' from the registry permanently. ';
- $out .= 'You must also remove the corresponding entry from vs01/config.json manually.
Permanently removes ' . assoc_h($name) . ' from the registry. ';
+ $out .= 'You must also remove the entry from vs01/config.json manually.