slider-nojquery.tpl.php in Content Analysis 8
Same filename and directory in other branches
Default theme implementation to display a slider if jquery_ui is not installed
Available variables:
- $element: The element array containing #id, #name,...
File
theme/slider-nojquery.tpl.phpView source
<?php
/**
* @file
* Default theme implementation to display a slider if jquery_ui is not installed
*
* Available variables:
* - $element: The element array containing #id, #name,...
*/
?>
<div>
<strong><?php
echo $element["#title"];
?>:</strong>
</div>
<div>
<div class="description"
style="margin-bottom:10px;"><?php
echo $element["#description"];
?></div>
<?php
if ($element['#type'] == 'seo_slider_at_least') {
?>
≥ <input type="text" size="<?php
echo $element['#size'];
?>"
name='<?php
echo $element["#name"];
?>'
id='<?php
echo $element["#id"];
?>_value'
value='<?php
echo $element["#default"][0];
?>'/> %
<?php
}
else {
?>
∈ [<input type="text" size="<?php
echo $element['#size'];
?>"
name='<?php
echo $element["#name"];
?>[]'
id='<?php
echo $element["#id"];
?>_lower_value'
value='<?php
echo $element["#default"][0];
?>'/> %
,
<input type="text" size="<?php
echo $element['#size'];
?>"
name='<?php
echo $element["#name"];
?>[]'
id='<?php
echo $element["#id"];
?>_upper_value'
value='<?php
echo $element["#default"][1];
?>'/> %
]
<?php
}
?>
</div>