Index: openacs-4/packages/acs-templating/www/sitewide-admin/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/sitewide-admin/Attic/index.adp,v diff -u -N -r1.1.2.2 -r1.1.2.3 --- openacs-4/packages/acs-templating/www/sitewide-admin/index.adp 28 Oct 2022 12:23:24 -0000 1.1.2.2 +++ openacs-4/packages/acs-templating/www/sitewide-admin/index.adp 28 Oct 2022 12:32:27 -0000 1.1.2.3 @@ -5,52 +5,32 @@

@title;noquote@

Support for the adp:icon Tag

-

Font Awesome Icons can be used via adp:icons can be used on ADP pages with +

The adp:icon can be used as followed:

<adp:icon name="NAME" title="..." style="..." class="..." iconset='...' invisible='...'>
-

The last three arguments are optional. -Font Awesome Icons -defines in -version 6.1.1 more than 2,000 free icons. When installing Font Awesome Icons, -all of these are usable independent of the style of the site. - -

However, when one wants to keep e.g. some subsites in Bootstrap 3 -and others in Bootstrap 5, and the classic Bootstrap 3 look-and-feel -should be kept, and the identical markup should adapt its -Look-and-Feel depending on the subsite theme, there are some -restrictions. OpenACS supports the icon sets +

The current version of OpenACS supports the 4 icon sets "classic" (old-style gif/png images), "glyphicons" (Part of Bootstrap 3), "bootstrap-icons" (usable for all themes), and "fa-icons" (usable -for all themes). Some of the icon names are usable via adp:icon for -all OpenACS icon sets, some of these can be used without further -mapping as replacement of the gyphicons of Bootstrap 3. +for all themes). -

The names which can be used for all icon sets are called -"generic", since for these, a mapping from the specific icon set to -the generic name exists. See below for lists of names and contexts, -where these can be used. +

The generic icon names can be used for all icon sets, since for +these, a mapping from the specific icon set to the generic name +exists. When using adp:icon with a generic name, the themes/iconset +causes different icons to be used, without requiring you to rewrite +any markup. +

In the listing below, the glyphicons are only rendered when running +under the bootstrap3 theme. The current default icon set is +@default_iconset@. -

Defined generic names for adp:icons, -working with icon sets -"classic", -"glyphicons", -"bootstrap-icons", and -"fa-icons". This means that the same -name can be used in the markup. When switching the themes/iconset, -different icon sets are used without the need of rewriting any markup. -The current default icon set is @default_iconset@. -In the listing below, the glyphicons are only rendered when running -under the bootstrap3 theme. -

@genericHTML;noquote@