You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<%
|
|
|
|
var pf = [];
|
|
|
|
if (item.display) {
|
|
|
|
item.display.forEach(function(p){
|
|
|
|
pf.push(p);
|
|
|
|
});
|
|
|
|
} else {
|
|
|
|
pf = ['desktop', 'mobile'];
|
|
|
|
}
|
|
|
|
if (where == 'sidebar') {
|
|
|
|
page.widget_style = (theme.style.shadow.card ? ' card-shadow' : '') + ((theme.style.blur && theme.style.blur.widget) ? ' widget-blur' : '');
|
|
|
|
} else if (where == 'body') {
|
|
|
|
page.widget_style = (theme.style.shadow.card ? ' card-shadow' : '') + ((theme.style.blur && theme.style.blur.card) ? ' widget-blur' : '');
|
|
|
|
}
|
|
|
|
page.widget_platform = pf.join(' ');
|
|
|
|
%>
|