Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ISPConfig 3
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 556
    • Issues 556
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 42
    • Merge requests 42
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISPConfig
  • ISPConfig 3
  • Issues
  • #1854
Closed
Open
Created Feb 16, 2012 by Xaver Maierhofer@x-fContributor

use CSS for DNS active icons

DNS only sites with with Problem is template need always all img. Normal imgs only changed if in css is path changed...

The field is already in a variable: $liste["item"][] = array( 'field' => "active", 'datatype' => "VARCHAR", 'formtype' => "SELECT", 'op' => "=", 'prefix' => "", 'suffix' => "", 'width' => "", 'value' => array('y' => "<div id="ir-Yes" class="swap">Yes",'n' => "<div class="swap" id="ir-No">No"));

And i found the problem in Database -> values are Y and N in uppercase. 'value' => array('Y' => "<div id="ir-Yes" class="swap">Yes",'N' => "<div class="swap" id="ir-No">No")) works for all 3 lists.

@Till: Should i commit it or is better if Database is changed to y and n like all other tables? In both cases the .htm templates need the {tmpl_var name='active'} marker and somewhere is {tmpl_var name='active'} set. Maybe remove it, too.

Assignee
Assign to
Time tracking