author | ymh <ymh.work@gmail.com> |
Mon, 14 Oct 2019 18:28:13 +0200 | |
changeset 9 | 177826044cd9 |
parent 7 | cf61fcea0001 |
child 16 | a86126ab1dd4 |
permissions | -rw-r--r-- |
0 | 1 |
<?php |
2 |
/** |
|
3 |
* WordPress Widgets Administration API |
|
4 |
* |
|
5 |
* @package WordPress |
|
6 |
* @subpackage Administration |
|
7 |
*/ |
|
8 |
||
9 |
/** |
|
10 |
* Display list of the available widgets. |
|
11 |
* |
|
12 |
* @since 2.5.0 |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
13 |
* |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
14 |
* @global array $wp_registered_widgets |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
15 |
* @global array $wp_registered_widget_controls |
0 | 16 |
*/ |
17 |
function wp_list_widgets() { |
|
5 | 18 |
global $wp_registered_widgets, $wp_registered_widget_controls; |
0 | 19 |
|
20 |
$sort = $wp_registered_widgets; |
|
21 |
usort( $sort, '_sort_name_callback' ); |
|
22 |
$done = array(); |
|
23 |
||
24 |
foreach ( $sort as $widget ) { |
|
9 | 25 |
if ( in_array( $widget['callback'], $done, true ) ) { // We already showed this multi-widget |
0 | 26 |
continue; |
9 | 27 |
} |
0 | 28 |
|
29 |
$sidebar = is_active_widget( $widget['callback'], $widget['id'], false, false ); |
|
9 | 30 |
$done[] = $widget['callback']; |
0 | 31 |
|
9 | 32 |
if ( ! isset( $widget['params'][0] ) ) { |
0 | 33 |
$widget['params'][0] = array(); |
9 | 34 |
} |
0 | 35 |
|
9 | 36 |
$args = array( |
37 |
'widget_id' => $widget['id'], |
|
38 |
'widget_name' => $widget['name'], |
|
39 |
'_display' => 'template', |
|
40 |
); |
|
0 | 41 |
|
9 | 42 |
if ( isset( $wp_registered_widget_controls[ $widget['id'] ]['id_base'] ) && isset( $widget['params'][0]['number'] ) ) { |
43 |
$id_base = $wp_registered_widget_controls[ $widget['id'] ]['id_base']; |
|
44 |
$args['_temp_id'] = "$id_base-__i__"; |
|
45 |
$args['_multi_num'] = next_widget_id_number( $id_base ); |
|
46 |
$args['_add'] = 'multi'; |
|
0 | 47 |
} else { |
48 |
$args['_add'] = 'single'; |
|
9 | 49 |
if ( $sidebar ) { |
0 | 50 |
$args['_hide'] = '1'; |
9 | 51 |
} |
0 | 52 |
} |
53 |
||
9 | 54 |
$args = wp_list_widget_controls_dynamic_sidebar( |
55 |
array( |
|
56 |
0 => $args, |
|
57 |
1 => $widget['params'][0], |
|
58 |
) |
|
59 |
); |
|
0 | 60 |
call_user_func_array( 'wp_widget_control', $args ); |
61 |
} |
|
62 |
} |
|
63 |
||
64 |
/** |
|
65 |
* Callback to sort array by a 'name' key. |
|
66 |
* |
|
67 |
* @since 3.1.0 |
|
68 |
* @access private |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
69 |
* |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
70 |
* @return int |
0 | 71 |
*/ |
72 |
function _sort_name_callback( $a, $b ) { |
|
73 |
return strnatcasecmp( $a['name'], $b['name'] ); |
|
74 |
} |
|
75 |
||
76 |
/** |
|
77 |
* Show the widgets and their settings for a sidebar. |
|
78 |
* Used in the admin widget config screen. |
|
79 |
* |
|
80 |
* @since 2.5.0 |
|
81 |
* |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
82 |
* @param string $sidebar Sidebar ID. |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
83 |
* @param string $sidebar_name Optional. Sidebar name. Default empty. |
0 | 84 |
*/ |
5 | 85 |
function wp_list_widget_controls( $sidebar, $sidebar_name = '' ) { |
0 | 86 |
add_filter( 'dynamic_sidebar_params', 'wp_list_widget_controls_dynamic_sidebar' ); |
87 |
||
88 |
$description = wp_sidebar_description( $sidebar ); |
|
89 |
||
5 | 90 |
echo '<div id="' . esc_attr( $sidebar ) . '" class="widgets-sortables">'; |
91 |
||
92 |
if ( $sidebar_name ) { |
|
9 | 93 |
$add_to = sprintf( |
94 |
/* translators: %s: widgets sidebar name. */ |
|
95 |
__( 'Add to: %s' ), |
|
96 |
$sidebar_name |
|
97 |
); |
|
5 | 98 |
?> |
9 | 99 |
<div class="sidebar-name" data-add-to="<?php echo esc_attr( $add_to ); ?>"> |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
100 |
<button type="button" class="handlediv hide-if-no-js" aria-expanded="true"> |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
101 |
<span class="screen-reader-text"><?php echo esc_html( $sidebar_name ); ?></span> |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
102 |
<span class="toggle-indicator" aria-hidden="true"></span> |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
103 |
</button> |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
104 |
<h2><?php echo esc_html( $sidebar_name ); ?> <span class="spinner"></span></h2> |
5 | 105 |
</div> |
106 |
<?php |
|
0 | 107 |
} |
108 |
||
5 | 109 |
if ( ! empty( $description ) ) { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
110 |
?> |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
111 |
<div class="sidebar-description"> |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
112 |
<p class="description"><?php echo $description; ?></p> |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
113 |
</div> |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
114 |
<?php |
5 | 115 |
} |
116 |
||
0 | 117 |
dynamic_sidebar( $sidebar ); |
5 | 118 |
|
119 |
echo '</div>'; |
|
0 | 120 |
} |
121 |
||
122 |
/** |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
123 |
* Retrieves the widget control arguments. |
0 | 124 |
* |
125 |
* @since 2.5.0 |
|
126 |
* |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
127 |
* @global array $wp_registered_widgets |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
128 |
* |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
129 |
* @staticvar int $i |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
130 |
* |
0 | 131 |
* @param array $params |
132 |
* @return array |
|
133 |
*/ |
|
134 |
function wp_list_widget_controls_dynamic_sidebar( $params ) { |
|
135 |
global $wp_registered_widgets; |
|
136 |
static $i = 0; |
|
137 |
$i++; |
|
138 |
||
139 |
$widget_id = $params[0]['widget_id']; |
|
9 | 140 |
$id = isset( $params[0]['_temp_id'] ) ? $params[0]['_temp_id'] : $widget_id; |
141 |
$hidden = isset( $params[0]['_hide'] ) ? ' style="display:none;"' : ''; |
|
0 | 142 |
|
143 |
$params[0]['before_widget'] = "<div id='widget-{$i}_{$id}' class='widget'$hidden>"; |
|
9 | 144 |
$params[0]['after_widget'] = '</div>'; |
145 |
$params[0]['before_title'] = '%BEG_OF_TITLE%'; // deprecated |
|
146 |
$params[0]['after_title'] = '%END_OF_TITLE%'; // deprecated |
|
147 |
if ( is_callable( $wp_registered_widgets[ $widget_id ]['callback'] ) ) { |
|
148 |
$wp_registered_widgets[ $widget_id ]['_callback'] = $wp_registered_widgets[ $widget_id ]['callback']; |
|
149 |
$wp_registered_widgets[ $widget_id ]['callback'] = 'wp_widget_control'; |
|
0 | 150 |
} |
151 |
||
152 |
return $params; |
|
153 |
} |
|
154 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
155 |
/** |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
156 |
* @global array $wp_registered_widgets |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
157 |
* |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
158 |
* @param string $id_base |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
159 |
* @return int |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
160 |
*/ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
161 |
function next_widget_id_number( $id_base ) { |
0 | 162 |
global $wp_registered_widgets; |
163 |
$number = 1; |
|
164 |
||
165 |
foreach ( $wp_registered_widgets as $widget_id => $widget ) { |
|
9 | 166 |
if ( preg_match( '/' . $id_base . '-([0-9]+)$/', $widget_id, $matches ) ) { |
167 |
$number = max( $number, $matches[1] ); |
|
168 |
} |
|
0 | 169 |
} |
170 |
$number++; |
|
171 |
||
172 |
return $number; |
|
173 |
} |
|
174 |
||
175 |
/** |
|
176 |
* Meta widget used to display the control form for a widget. |
|
177 |
* |
|
178 |
* Called from dynamic_sidebar(). |
|
179 |
* |
|
180 |
* @since 2.5.0 |
|
181 |
* |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
182 |
* @global array $wp_registered_widgets |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
183 |
* @global array $wp_registered_widget_controls |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
184 |
* @global array $sidebars_widgets |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
185 |
* |
0 | 186 |
* @param array $sidebar_args |
187 |
* @return array |
|
188 |
*/ |
|
189 |
function wp_widget_control( $sidebar_args ) { |
|
190 |
global $wp_registered_widgets, $wp_registered_widget_controls, $sidebars_widgets; |
|
191 |
||
9 | 192 |
$widget_id = $sidebar_args['widget_id']; |
193 |
$sidebar_id = isset( $sidebar_args['id'] ) ? $sidebar_args['id'] : false; |
|
194 |
$key = $sidebar_id ? array_search( $widget_id, $sidebars_widgets[ $sidebar_id ] ) : '-1'; // position of widget in sidebar |
|
195 |
$control = isset( $wp_registered_widget_controls[ $widget_id ] ) ? $wp_registered_widget_controls[ $widget_id ] : array(); |
|
196 |
$widget = $wp_registered_widgets[ $widget_id ]; |
|
0 | 197 |
|
9 | 198 |
$id_format = $widget['id']; |
199 |
$widget_number = isset( $control['params'][0]['number'] ) ? $control['params'][0]['number'] : ''; |
|
200 |
$id_base = isset( $control['id_base'] ) ? $control['id_base'] : $widget_id; |
|
201 |
$width = isset( $control['width'] ) ? $control['width'] : ''; |
|
202 |
$height = isset( $control['height'] ) ? $control['height'] : ''; |
|
203 |
$multi_number = isset( $sidebar_args['_multi_num'] ) ? $sidebar_args['_multi_num'] : ''; |
|
204 |
$add_new = isset( $sidebar_args['_add'] ) ? $sidebar_args['_add'] : ''; |
|
0 | 205 |
|
9 | 206 |
$before_form = isset( $sidebar_args['before_form'] ) ? $sidebar_args['before_form'] : '<form method="post">'; |
207 |
$after_form = isset( $sidebar_args['after_form'] ) ? $sidebar_args['after_form'] : '</form>'; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
208 |
$before_widget_content = isset( $sidebar_args['before_widget_content'] ) ? $sidebar_args['before_widget_content'] : '<div class="widget-content">'; |
9 | 209 |
$after_widget_content = isset( $sidebar_args['after_widget_content'] ) ? $sidebar_args['after_widget_content'] : '</div>'; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
210 |
|
0 | 211 |
$query_arg = array( 'editwidget' => $widget['id'] ); |
212 |
if ( $add_new ) { |
|
213 |
$query_arg['addnew'] = 1; |
|
214 |
if ( $multi_number ) { |
|
9 | 215 |
$query_arg['num'] = $multi_number; |
0 | 216 |
$query_arg['base'] = $id_base; |
217 |
} |
|
218 |
} else { |
|
219 |
$query_arg['sidebar'] = $sidebar_id; |
|
9 | 220 |
$query_arg['key'] = $key; |
0 | 221 |
} |
222 |
||
5 | 223 |
/* |
224 |
* We aren't showing a widget control, we're outputting a template |
|
225 |
* for a multi-widget control. |
|
226 |
*/ |
|
9 | 227 |
if ( isset( $sidebar_args['_display'] ) && 'template' == $sidebar_args['_display'] && $widget_number ) { |
0 | 228 |
// number == -1 implies a template where id numbers are replaced by a generic '__i__' |
229 |
$control['params'][0]['number'] = -1; |
|
5 | 230 |
// With id_base widget id's are constructed like {$id_base}-{$id_number}. |
9 | 231 |
if ( isset( $control['id_base'] ) ) { |
0 | 232 |
$id_format = $control['id_base'] . '-__i__'; |
9 | 233 |
} |
0 | 234 |
} |
235 |
||
9 | 236 |
$wp_registered_widgets[ $widget_id ]['callback'] = $wp_registered_widgets[ $widget_id ]['_callback']; |
237 |
unset( $wp_registered_widgets[ $widget_id ]['_callback'] ); |
|
0 | 238 |
|
239 |
$widget_title = esc_html( strip_tags( $sidebar_args['widget_name'] ) ); |
|
9 | 240 |
$has_form = 'noform'; |
0 | 241 |
|
9 | 242 |
echo $sidebar_args['before_widget']; |
243 |
?> |
|
0 | 244 |
<div class="widget-top"> |
245 |
<div class="widget-title-action"> |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
246 |
<button type="button" class="widget-action hide-if-no-js" aria-expanded="false"> |
9 | 247 |
<span class="screen-reader-text edit"><?php printf( __( 'Edit widget: %s' ), $widget_title ); ?></span> |
248 |
<span class="screen-reader-text add"><?php printf( __( 'Add widget: %s' ), $widget_title ); ?></span> |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
249 |
<span class="toggle-indicator" aria-hidden="true"></span> |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
250 |
</button> |
0 | 251 |
<a class="widget-control-edit hide-if-js" href="<?php echo esc_url( add_query_arg( $query_arg ) ); ?>"> |
252 |
<span class="edit"><?php _ex( 'Edit', 'widget' ); ?></span> |
|
253 |
<span class="add"><?php _ex( 'Add', 'widget' ); ?></span> |
|
254 |
<span class="screen-reader-text"><?php echo $widget_title; ?></span> |
|
255 |
</a> |
|
256 |
</div> |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
257 |
<div class="widget-title"><h3><?php echo $widget_title; ?><span class="in-widget-title"></span></h3></div> |
0 | 258 |
</div> |
259 |
||
260 |
<div class="widget-inside"> |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
261 |
<?php echo $before_form; ?> |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
262 |
<?php echo $before_widget_content; ?> |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
263 |
<?php |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
264 |
if ( isset( $control['callback'] ) ) { |
0 | 265 |
$has_form = call_user_func_array( $control['callback'], $control['params'] ); |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
266 |
} else { |
9 | 267 |
echo "\t\t<p>" . __( 'There are no options for this widget.' ) . "</p>\n"; |
268 |
} |
|
269 |
||
270 |
$noform_class = ''; |
|
271 |
if ( 'noform' === $has_form ) { |
|
272 |
$noform_class = ' widget-control-noform'; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
273 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
274 |
?> |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
275 |
<?php echo $after_widget_content; ?> |
9 | 276 |
<input type="hidden" name="widget-id" class="widget-id" value="<?php echo esc_attr( $id_format ); ?>" /> |
277 |
<input type="hidden" name="id_base" class="id_base" value="<?php echo esc_attr( $id_base ); ?>" /> |
|
278 |
<input type="hidden" name="widget-width" class="widget-width" value="<?php echo esc_attr( $width ); ?>" /> |
|
279 |
<input type="hidden" name="widget-height" class="widget-height" value="<?php echo esc_attr( $height ); ?>" /> |
|
280 |
<input type="hidden" name="widget_number" class="widget_number" value="<?php echo esc_attr( $widget_number ); ?>" /> |
|
281 |
<input type="hidden" name="multi_number" class="multi_number" value="<?php echo esc_attr( $multi_number ); ?>" /> |
|
282 |
<input type="hidden" name="add_new" class="add_new" value="<?php echo esc_attr( $add_new ); ?>" /> |
|
0 | 283 |
|
284 |
<div class="widget-control-actions"> |
|
285 |
<div class="alignleft"> |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
286 |
<button type="button" class="button-link button-link-delete widget-control-remove"><?php _e( 'Delete' ); ?></button> |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
287 |
<span class="widget-control-close-wrapper"> |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
288 |
| |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
289 |
<button type="button" class="button-link widget-control-close"><?php _e( 'Done' ); ?></button> |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
290 |
</span> |
0 | 291 |
</div> |
9 | 292 |
<div class="alignright<?php echo $noform_class; ?>"> |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
293 |
<?php submit_button( __( 'Save' ), 'primary widget-control-save right', 'savewidget', false, array( 'id' => 'widget-' . esc_attr( $id_format ) . '-savewidget' ) ); ?> |
0 | 294 |
<span class="spinner"></span> |
295 |
</div> |
|
296 |
<br class="clear" /> |
|
297 |
</div> |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
298 |
<?php echo $after_form; ?> |
0 | 299 |
</div> |
300 |
||
301 |
<div class="widget-description"> |
|
9 | 302 |
<?php echo ( $widget_description = wp_widget_description( $widget_id ) ) ? "$widget_description\n" : "$widget_title\n"; ?> |
0 | 303 |
</div> |
9 | 304 |
<?php |
0 | 305 |
echo $sidebar_args['after_widget']; |
5 | 306 |
|
0 | 307 |
return $sidebar_args; |
308 |
} |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
309 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
310 |
/** |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
311 |
* @param string $classes |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
312 |
* @return string |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
313 |
*/ |
9 | 314 |
function wp_widgets_access_body_class( $classes ) { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
315 |
return "$classes widgets_access "; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
316 |
} |