Compare commits
No commits in common. "1695c5383770f338571c6f27f1f3980fb19298e0" and "de60c363e3fd17cf1233a2973523571c879d9d35" have entirely different histories.
1695c53837
...
de60c363e3
|
@ -18,8 +18,9 @@
|
|||
* @package Oficina_de_Suport_theme
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
if( ! function_exists( 'ofisuport_ajuts_filters_form') ) {
|
||||
if( ! function_exists( 'ofisuport_ajuts_filters_form' ) ):
|
||||
function ofisuport_ajuts_filters_form() {
|
||||
?>
|
||||
<div id="archive-filters" class="ofisuport-filters">
|
||||
|
@ -48,8 +49,8 @@ if( ! function_exists( 'ofisuport_ajuts_filters_form') ) {
|
|||
if( isset($_GET[ $fieldname ]) ) {
|
||||
|
||||
$filteredvalues['value'] = explode(',', $_GET[ $fieldname ]);
|
||||
};
|
||||
//end check for values in url
|
||||
};
|
||||
//end check for values in url
|
||||
|
||||
// construct the checkboxes
|
||||
if( $fieldname == $fields['name']) {
|
||||
|
@ -81,7 +82,7 @@ if( ! function_exists( 'ofisuport_ajuts_filters_form') ) {
|
|||
<?php //echo '<p><span id="filterlink"></span></p>';?>
|
||||
<p><a id="submitfilteredlink" name="submit-ajut" class="button button-more" href="">enviar</a> </p>
|
||||
</form>
|
||||
<?php //close the form and subit ?>
|
||||
<?php //close the form and subit ?>
|
||||
|
||||
<?php }; //end if groupkey ?>
|
||||
|
||||
|
@ -89,8 +90,12 @@ if( ! function_exists( 'ofisuport_ajuts_filters_form') ) {
|
|||
|
||||
<script type="text/javascript">
|
||||
|
||||
|
||||
|
||||
|
||||
(function($) {
|
||||
// change
|
||||
//$('#archive-filters').on('click', 'button', function(){
|
||||
$('#archive-filters').on('click', 'input', function(){
|
||||
|
||||
// vars
|
||||
|
@ -159,6 +164,6 @@ if( ! function_exists( 'ofisuport_ajuts_filters_form') ) {
|
|||
</script>
|
||||
|
||||
<?php
|
||||
}; //end ofisuport_ajuts_filters_form
|
||||
}; // end if ! functions_exists
|
||||
}; //end ofisuport_display_filters()
|
||||
endif; // end if ! functionexists
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue