forked from habari/system
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow the config for the tree output to be specified when creating th…
…e TreeControl for a form. git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5120 653ae4dd-d31e-0410-96ef-6bf7bf53c507
- Loading branch information
1 parent
33eaead
commit c494fb9
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php if ( !defined( 'HABARI_PATH' ) ) { die('No direct access'); } ?> | ||
<div<?php echo ($class) ? ' class="' . $class . '"' : ''?><?php echo ($id) ? ' id="' . $id . '"' : ''?>> | ||
<?php echo Format::term_tree( $options, $control->name ); ?> | ||
<?php echo Format::term_tree( $options, $control->name, $control->config ); ?> | ||
<input type="hidden" name="<?php echo $field; ?>_submitted" class="tree_submitted" value="1"> | ||
<?php $control->errors_out('<li>%s</li>', '<ul class="error">%s</ul>'); ?> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters