Changeset 722195 for wp-filebase/trunk/classes/WidgetForms.php
- Timestamp:
- 06/03/2013 05:52:33 PM (13 years ago)
- Location:
- wp-filebase/trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
classes/WidgetForms.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-filebase/trunk
-
Property
svn:ignore
set to
.git
-
Property
svn:ignore
set to
-
wp-filebase/trunk/classes/WidgetForms.php
r702142 r722195 35 35 $instance['sort-asc'] = !empty($instance['sort-asc']); 36 36 37 wpfb_loadclass(' Admin');37 wpfb_loadclass('Models'); 38 38 ?> 39 39 <div> … … 50 50 <select id="<?php echo $obj->get_field_id('sort-by'); ?>" name="<?php echo $obj->get_field_name('sort-by'); ?>"> 51 51 <?php 52 $sort_vars = WPFB_ Admin::CatSortFields();52 $sort_vars = WPFB_Models::CatSortFields(); 53 53 foreach($sort_vars as $tag => $name) 54 54 { … … 81 81 if(!isset($instance[$prop])) $instance[$prop] = $val; 82 82 83 wpfb_loadclass('Admin',' Output');83 wpfb_loadclass('Admin','Models','Output'); 84 84 ?> 85 85 <div> … … 103 103 <select id="<?php echo $obj->get_field_id('sort-by'); ?>" name="<?php echo $obj->get_field_name('sort-by'); ?>"> 104 104 <?php 105 $sort_vars = WPFB_ Admin::FileSortFields();105 $sort_vars = WPFB_Models::FileSortFields(); 106 106 foreach($sort_vars as $tag => $name) 107 107 { … … 120 120 <p><label for="<?php echo $obj->get_field_id('tpl'); ?>"><?php _e('Template:', WPFB); ?> 121 121 <input class="widefat" type="text" id="<?php echo $obj->get_field_id('id'); ?>" name="<?php echo $obj->get_field_name('tpl'); ?>" value="<?php echo esc_attr($instance['tpl']); ?>" /></label> 122 <br /><?php echo WPFB_ Admin::TplFieldsSelect($obj->get_field_id('id'), true); ?>122 <br /><?php echo WPFB_Models::TplFieldsSelect($obj->get_field_id('id'), true); ?> 123 123 </p> 124 124 </div>
Note: See TracChangeset
for help on using the changeset viewer.