Skip to content

Commit

Permalink
New feature #14185: Need a clean way to hide custom question theme at…
Browse files Browse the repository at this point in the history
…tributes

Dev: still a little issue, explain in pull request
  • Loading branch information
Shnoulle committed Oct 27, 2018
1 parent 378db43 commit 3c62f95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions application/models/QuestionAttribute.php
Expand Up @@ -313,10 +313,11 @@ public static function getDefaultSettings()
"help" => '',
"value" => '',
"sortorder" => 1000,
"i18n"=> false,
"i18n" => false,
"readonly" => false,
"readonly_when_active" => false,
"expression"=> null,
"expression" => null,
"visible" => true,
);
}
}
Expand Up @@ -7,7 +7,7 @@
?>
<!-- Advanced Settings -->
<?php foreach ($attributedata as $index=>$aAttribute):?>

<?php if(!$aAttribute['visible']) { continue; } // don't shown : for question template <visible>0</visible> (<visible>false</visible> send true) ?>
<!-- Fieldsets -->
<?php if ($currentfieldset!=$aAttribute['category']): ?>
<?php $categoryNum++; ?>
Expand Down

1 comment on commit 3c62f95

@Shnoulle
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit are not in 3.X …

Please sign in to comment.