Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.
Help keep Vanilla free:
$Configuration['HIDDEN_TEXT_MARKER'] = '(Hidden)';
$Configuration['HIDDEN_TEXT_SETUP'] = '1';
03-30-07 - 1.0b - Updated the versions so they match.
06-04-07 - 1.1b - Made changes recommended on post #5 - http://lussumo.com/community/?CommentID=70254
06-04-07 - 1.1b - Can now configure with user roles.
06-22-07 - 1.2b - Made the "(Hidden)" text a link to unhide the hidden text, as requested.
07-12-07 - 1.2 - Rewrote the readme, removed beta tag.
07-20-07 - 1.3 - Added the ability to change the hidden text marker.
11-08-07 - 1.4 - Made some code changes to fix a bug (comments 27-29)
11-15-07 - 1.5 - Last change didnt fix the bug, only moved it, hope its fixed this time.
11-16-07 - 1.6 - Made a small CSS change, still version 1.6.
02-22-08 - 2.0 - Rewrote JS to use Mootools (1.11) making multiple hidden texts now possible.
03-02-08 - 2.1 - Change loading process of Mootools JS. Works with Mootools 1.8
if (!AppendToConfigurationFile($Configuration['APPLICATION_PATH'].'conf/database.php', '')) $Errors = 1;
if (!array_key_exists('HIDDEN_TEXT_SETUP', $Configuration)) {
AddConfigurationSetting($Context, 'HIDDEN_TEXT_MARKER', '(Hidden)');
AddConfigurationSetting($Context, 'HIDDEN_TEXT_VERSION', '1.4');
AddConfigurationSetting($Context, 'HIDDEN_TEXT_SETUP', 1);
} elseif($Errors == 1) {
// Could not save configuration
$NoticeCollector->AddNotice($Context->GetDefinition('ErrCreateConfig'));
} have to change with if (!array_key_exists('HIDDEN_TEXT_SETUP', $Configuration)) {
if (!AppendToConfigurationFile($Configuration['APPLICATION_PATH'].'conf/settings.php', '')) $Errors = 1;
if ($Errors = 0){
AddConfigurationSetting($Context, 'HIDDEN_TEXT_MARKER', '(Hidden)');
AddConfigurationSetting($Context, 'HIDDEN_TEXT_VERSION', '1.5');
AddConfigurationSetting($Context, 'HIDDEN_TEXT_SETUP', 1);
}elseif($Errors == 1) {
// Could not save configuration
$NoticeCollector->AddNotice($Context->GetDefinition('ErrCreateConfig'));
}
}
Line 35: if (!AppendToConfigurationFile($Configuration['APPLICATION_PATH'].'conf/settings.php', '')) $Errors = 1;Line 39: AddConfigurationSetting($Context, 'HIDDEN_TEXT_VERSION', '1.5');
Line 173: class="Hidden"toLine 173: class="HiddenText"$Configuration['HIDDEN_TEXT_MARKER'] = '(Hidden)';
$Configuration['HIDDEN_TEXT_SETUP'] = '1';function handleParent(parentId) {
myParent = document.getElementById(parentId)
if (myParent.style.display=='block') {
myParent.style.display='none'
} else {
myParent.style.display='block'
}
}