Totally Zenned
- Join Date:
- Aug 2007
- Location:
- Gijón, Asturias, Spain
- Posts:
- 2,866
- Plugin Contributions:
- 7
Admin configuration values, show name of constant in the title
Suggestion
I find a pop-up/title on the value more convenient than pasting the description into a search field in the Developers Tool Kit.
In admin/configuration.php I added a title
<td class="dataTableContent"><?php echo htmlspecialchars($cfgValue, ENT_COMPAT, CHARSET, TRUE); ?></td>
to
<td class="dataTableContent" title="<?php echo $configuration->fields['configuration_key']; //mod added key ?>"><?php echo htmlspecialchars($cfgValue, ENT_COMPAT, CHARSET, TRUE); ?></td>
and for overkill, in the info boxes
$heading[] = array('text' => '<b>' . $cInfo->configuration_title . '</b>');
to
$heading[] = array('text' => '<b>' . $cInfo->configuration_title . '</b> ' . $cInfo->configuration_key);//mod added key