芝麻web文件管理V1.00
编辑当前文件:/home/seolotod/www/wp-content/themes/brunn/framework/lib/qodef.layout1.php
children = array(); $this->title = $title_panel; $this->name = $name; $this->args = $args; $this->dependency = $dependency; } public function hasChidren() { return ( count( $this->children ) > 0 ) ? true : false; } public function getChild( $key ) { return $this->children[ $key ]; } public function addChild( $key, $value ) { $this->children[ $key ] = $value; } public function render( $factory ) { $containerClass = ''; $data = array(); if ( ! empty( $this->dependency ) ) { $show = array_key_exists( 'show', $this->dependency ) ? brunn_select_return_dependency_options_array( $this->dependency['show'], false ) : array(); $hide = array_key_exists( 'hide', $this->dependency ) ? brunn_select_return_dependency_options_array( $this->dependency['hide'], true ) : array(); $showDataValues = ''; $hideDataValues = ''; $hideContainer = true; $containerClass = 'qodef-dependency-holder'; if ( ! empty( $show ) ) { $showDataValues = $show['data_values']; $hideContainer = $show['hide_container']; } if ( ! empty( $hide ) ) { $hideDataValues = $hide['data_values']; $hideContainer = $hide['hide_container']; } $data['data-show'] = ! empty( $showDataValues ) ? json_encode( $showDataValues ) : ''; $data['data-hide'] = ! empty( $hideDataValues ) ? json_encode( $hideDataValues ) : ''; if ( $hideContainer ) { $containerClass .= ' qodef-hide-dependency-holder'; } } ?>
>
title ); ?>
children as $child ) { $this->renderChild( $child, $factory ); } ?>
render( $factory ); } } /* Class: BrunnSelectClassContainer A class that initializes Select Container */ class BrunnSelectClassContainer implements iBrunnSelectInterfaceLayoutNode, iBrunnSelectInterfaceRender { public $children; public $name; public $dependency; function __construct( $name = "", $dependency = array() ) { $this->children = array(); $this->name = $name; $this->dependency = $dependency; } public function hasChidren() { return ( count( $this->children ) > 0 ) ? true : false; } public function getChild( $key ) { return $this->children[ $key ]; } public function addChild( $key, $value ) { $this->children[ $key ] = $value; } public function render( $factory ) { $containerClass = ''; $data = array(); if ( ! empty( $this->dependency ) ) { $show = array_key_exists( 'show', $this->dependency ) ? brunn_select_return_dependency_options_array( $this->dependency['show'], false ) : array(); $hide = array_key_exists( 'hide', $this->dependency ) ? brunn_select_return_dependency_options_array( $this->dependency['hide'], true ) : array(); $showDataValues = ''; $hideDataValues = ''; $hideContainer = true; $containerClass = 'qodef-dependency-holder'; if ( ! empty( $show ) ) { $showDataValues = $show['data_values']; $hideContainer = $show['hide_container']; } if ( ! empty( $hide ) ) { $hideDataValues = $hide['data_values']; $hideContainer = $hide['hide_container']; } $data['data-show'] = ! empty( $showDataValues ) ? json_encode( $showDataValues ) : ''; $data['data-hide'] = ! empty( $hideDataValues ) ? json_encode( $hideDataValues ) : ''; if ( $hideContainer ) { $containerClass .= ' qodef-hide-dependency-holder'; } } ?>
> children as $child ) { $this->renderChild( $child, $factory ); } ?>
render( $factory ); } } /* Class: BrunnSelectClassContainerNoStyle A class that initializes Select Container without css classes */ class BrunnSelectClassContainerNoStyle implements iBrunnSelectInterfaceLayoutNode, iBrunnSelectInterfaceRender { public $children; public $name; public $dependency; function __construct( $name = "", $args = array(), $dependency = array() ) { $this->children = array(); $this->name = $name; $this->dependency = $dependency; $this->args = $args; } public function hasChidren() { return ( count( $this->children ) > 0 ) ? true : false; } public function getChild( $key ) { return $this->children[ $key ]; } public function addChild( $key, $value ) { $this->children[ $key ] = $value; } public function render( $factory ) { $containerClass = ''; $data = array(); if ( ! empty( $this->dependency ) ) { $show = array_key_exists( 'show', $this->dependency ) ? brunn_select_return_dependency_options_array( $this->dependency['show'], false ) : array(); $hide = array_key_exists( 'hide', $this->dependency ) ? brunn_select_return_dependency_options_array( $this->dependency['hide'], true ) : array(); $showDataValues = ''; $hideDataValues = ''; $hideContainer = true; $containerClass = 'qodef-dependency-holder'; if ( ! empty( $show ) ) { $showDataValues = $show['data_values']; $hideContainer = $show['hide_container']; } if ( ! empty( $hide ) ) { $hideDataValues = $hide['data_values']; $hideContainer = $hide['hide_container']; } $data['data-show'] = ! empty( $showDataValues ) ? json_encode( $showDataValues ) : ''; $data['data-hide'] = ! empty( $hideDataValues ) ? json_encode( $hideDataValues ) : ''; if ( $hideContainer ) { $containerClass .= ' qodef-hide-dependency-holder'; } } ?>
> children as $child ) { $this->renderChild( $child, $factory ); } ?>
render( $factory ); } } /* Class: BrunnSelectClassGroup A class that initializes Select Group */ class BrunnSelectClassGroup implements iBrunnSelectInterfaceLayoutNode, iBrunnSelectInterfaceRender { public $children; public $title; public $description; function __construct( $title_group = "", $description = "" ) { $this->children = array(); $this->title = $title_group; $this->description = $description; } public function hasChidren() { return ( count( $this->children ) > 0 ) ? true : false; } public function getChild( $key ) { return $this->children[ $key ]; } public function addChild( $key, $value ) { $this->children[ $key ] = $value; } public function render( $factory ) { ?>
title ); ?>
description ); ?>
children as $child ) { $this->renderChild( $child, $factory ); } ?>
render( $factory ); } } /* Class: BrunnSelectClassNotice A class that initializes Select Notice */ class BrunnSelectClassNotice implements iBrunnSelectInterfaceRender { public $children; public $title; public $description; public $notice; function __construct( $title_notice = "", $description = "", $notice = "" ) { $this->children = array(); $this->title = $title_notice; $this->description = $description; $this->notice = $notice; } public function render( $factory ) { ?>
title ); ?>
description ); ?>
notice ); ?>
children = array(); $this->next = $next; } public function hasChidren() { return ( count( $this->children ) > 0 ) ? true : false; } public function getChild( $key ) { return $this->children[ $key ]; } public function addChild( $key, $value ) { $this->children[ $key ] = $value; } public function render( $factory ) { ?>
"> children as $child ) { $this->renderChild( $child, $factory ); } ?>
render( $factory ); } } /* Class: BrunnSelectClassTitle A class that initializes Select Title */ class BrunnSelectClassTitle implements iBrunnSelectInterfaceRender { private $name; private $title; function __construct( $name = "", $title_class = "" ) { $this->title = $title_class; $this->name = $name; } public function render( $factory ) { ?>
title ); ?>
type = $type; $this->name = $name; $this->default_value = $default_value; $this->label = $label; $this->description = $description; $this->options = $options; $this->args = $args; $this->dependency = $dependency; $brunn_select_global_Framework->qodeOptions->addOption( $this->name, $this->default_value, $type ); } public function render( $factory ) { $containerClass = ''; $data = array(); if ( ! empty( $this->dependency ) ) { $show = array_key_exists( 'show', $this->dependency ) ? brunn_select_return_dependency_options_array( $this->dependency['show'], false ) : array(); $hide = array_key_exists( 'hide', $this->dependency ) ? brunn_select_return_dependency_options_array( $this->dependency['hide'], true ) : array(); $showDataValues = ''; $hideDataValues = ''; $hideContainer = true; $containerClass = 'qodef-dependency-holder'; if ( ! empty( $show ) ) { $showDataValues = $show['data_values']; $hideContainer = $show['hide_container']; } if ( ! empty( $hide ) ) { $hideDataValues = $hide['data_values']; $hideContainer = $hide['hide_container']; } $data['data-show'] = ! empty( $showDataValues ) ? json_encode( $showDataValues ) : ''; $data['data-hide'] = ! empty( $hideDataValues ) ? json_encode( $hideDataValues ) : ''; if ( $hideContainer ) { $containerClass .= ' qodef-hide-dependency-holder'; } } ?>
> render( $this->type, $this->name, $this->label, $this->description, $this->options, $this->args ); ?>
type = $type; $this->name = $name; $this->default_value = $default_value; $this->label = $label; $this->description = $description; $this->options = $options; $this->args = $args; $this->dependency = $dependency; $brunn_select_global_Framework->qodeMetaBoxes->addOption( $this->name, $this->default_value, $type ); } public function render( $factory ) { $containerClass = ''; $data = array(); if ( ! empty( $this->dependency ) ) { $show = array_key_exists( 'show', $this->dependency ) ? brunn_select_return_dependency_options_array( $this->dependency['show'], false ) : array(); $hide = array_key_exists( 'hide', $this->dependency ) ? brunn_select_return_dependency_options_array( $this->dependency['hide'], true ) : array(); $showDataValues = ''; $hideDataValues = ''; $hideContainer = true; $containerClass = 'qodef-dependency-holder'; if ( ! empty( $show ) ) { $showDataValues = $show['data_values']; $hideContainer = $show['hide_container']; } if ( ! empty( $hide ) ) { $hideDataValues = $hide['data_values']; $hideContainer = $hide['hide_container']; } $data['data-show'] = ! empty( $showDataValues ) ? json_encode( $showDataValues ) : ''; $data['data-hide'] = ! empty( $hideDataValues ) ? json_encode( $hideDataValues ) : ''; if ( $hideContainer ) { $containerClass .= ' qodef-hide-dependency-holder'; } } ?>
> render( $this->type, $this->name, $this->label, $this->description, $this->options, $this->args ); ?>
$data_value ) { $data_string .= $data_key . '=' . $data_value; $data_string .= ' '; } } ?>
class="form-control qodef-input qodef-form-element" name="" value=""/>
></textarea>
</textarea>
$name, 'height' => '200' ) ); ?>
value="">
value="">
$value ) { if ( $key == "-1" ) { $key = ""; } ?>
value="">
>
$value ) { if ( $key == "-1" ) { $key = ""; } ?>
value="">
value="">
$value ) { if ( $key == "-1" ) { $key = ""; } ?>
value="">
value="">
$value ) { if ( $key == "-1" ) { $key = ""; } ?>
value="">
" data-value="yes">
" data-value="no">
/>
" data-value="yes">
" data-value="no">
/>