{* * Amsterdam Web Communities System * Copyright (c) 2025 Erbosoft Metaverse Design Solutions, All Rights Reserved * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. *}

Find:


{{ if mode == "COM" }} {{ end }}
{{ if mode == "COM" }}

Find Communities:

{{ else if mode == "USR" }}

Find Users:

{{ else if mode == "CAT" }}

Find Categories:

{{ else if mode == "PST" }}

Find Posts:

{{ end }}
{{ if mode == "COM" || mode == "USR" }}
{{ if mode == "COM" }} Display all communities whose {{ else if mode == "USR" }} Display all users whose {{ end }}
{{ else if mode == "CAT" }}
Display all categories whose name
{{ else if mode == "PST" }}
Keywords:
{{ end }}
{{ if mode == "COM" }}

Category: {{ if catid == -1 }} Top {{ else }} Top {{ end }} {{ last := len(catHierarchy) - 1 }} {{ range i, cat := catHierarchy }} : {{ if i == last }} {{ cat.Name }} {{ else }} {{ cat.Name }} {{ end }} {{ end }}

{{ if len(catSubs) > 0 }}

Subcategories:

{{ range _, cat := catSubs }} {{ if !cat.HideDirectory || showHiddenCat }}
🟣 {{ cat.Name }} {{ if cat.SymLink != -1 }}🔗{{ end }}
{{ end }} {{ end }}
{{ end }}
{{ end }}