Example #1
0
                                        Accommodation <i class="fa fa-plus-circle pull-right"></i>
                                    </a>
                                </h5>

                                <div class="collapse" id="refine-decorations">
                                    <h5>
                                        <strong>Capacity:</strong>
                                    </h5>
                                    <?php 
display_field('accommodation_capacity');
?>
                                    <h5>
                                        <strong>Features:</strong>
                                    </h5>
                                    <?php 
display_field('search_accommodation_features');
?>
                                </div>
                            </div>
                        </div>
                        <div class="margin-md-bottom">
                            <button id="reset-button" class="btn btn-default">
                                Reset Search
                            </button>
                            <script type="text/javascript">
                                jQuery(document).ready(function () {
                                    var options = {
                                        success: function (responseText) {
                                            var sels = [
                                                '.col-sm-9',
                                                '.margin-sm.text-white'
Example #2
0
            $tabcount++;
            # Also display the custom formatted data $extra at the bottom of this tab panel.
            ?>
<div class="clearerleft"> </div><?php 
            echo $extra;
            ?>
</div><!-- end of TabPanelInner --></div><!-- end of TabbedPanel --><div class="TabbedPanel StyledTabbedPanel" style="display:none;" id="tab<?php 
            echo $tabcount;
            ?>
"><div class="TabPanelInner"><?php 
            $extra = "";
            $newtab = true;
        }
        $tabname = $fields[$n]["tab_name"];
        $fieldcount++;
        display_field($n, $fields[$n], $newtab);
    }
}
if ($tabs_on_edit && $tabcount > 0) {
    ?>
	<div class="clearerleft"> </div>
	</div><!-- end of TabPanelInner -->
	</div><!-- end of TabbedPanel -->
	</div><!-- end of Tabs BasicsBox -->
	<?php 
}
# Add required_fields_exempt so it is submitted with POST
echo " <input type=hidden name=\"exemptfields\" id=\"exemptfields\" value=\"" . implode(",", $required_fields_exempt) . "\">";
# Work out the correct archive status.
if ($ref < 0) {
    $modified_defaultstatus = hook("modifydefaultstatusmode");
				   </table>
				   </div>
				   <?php 
    }
    ?>
              
                <div class="clearerleft"> </div>
                </div><!-- End of propose_changes_field_header -->
                
                <?php 
}
for ($n = 0; $n < count($proposefields); $n++) {
    # Should this field be displayed?
    if (is_field_displayed($proposefields[$n])) {
        $fieldcount++;
        display_field($n, $proposefields[$n], false);
    }
}
?>

	<div class="QuestionSubmit">
	<input name="resetform" type="submit" value="<?php 
echo $lang["clearbutton"];
?>
" />&nbsp;
        <?php 
if ($editaccess) {
    ?>
			<input name="submitted" type="hidden" value="true" />
            <input name="save" type="submit" value="&nbsp;&nbsp;<?php 
    echo $lang["propose_changes_save_changes"];
Example #4
0
                                    Style <span class="caret"></span>
                                </button>
                                <div class="dropdown-menu lc-style keep-open" role="menu">
                                    <?php 
display_field('reception_type_checkboxes');
?>
                                </div>
                            </div>
                            <div class="btn-group sub last">
                                <button class="btn btn-default dropdown-toggle btn-block" type="button"
                                        data-toggle="dropdown">
                                    Has <span class="caret"></span>
                                </button>
                                <div class="dropdown-menu lc-has padding-sm keep-open" role="menu">
                                    <?php 
display_field('search_has');
?>
                                </div>
                            </div>
                            <button type="submit" class="btn btn-primary text-uppercase">Match Me</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<div class="container">
    <div class="row margin-lg">
        <div class="col-sm-3 text-center padding-sm">
            <div class="center margin-sm-bottom">
				   </table>
				   </div>
				   <?php 
    }
    ?>
              
                <div class="clearerleft"> </div>
                </div><!-- End of propose_changes_field_header -->
                
                <?php 
}
for ($n = 0; $n < count($proposefields); $n++) {
    # Should this field be displayed?
    if (is_field_displayed($proposefields[$n])) {
        $fieldcount++;
        display_field($n, $proposefields[$n]);
    }
}
// Let admin know there are no proposed changes anymore for this reosurces
// Can happen when another admin already reviewed the changes.
$changes_to_review_counter = 0;
foreach ($proposefields as $propose_field) {
    foreach ($proposed_changes as $proposed_change) {
        if ($proposed_change['resource_type_field'] == $propose_field['ref']) {
            $changes_to_review_counter++;
        }
    }
}
if ($editaccess && empty($propose_changes) && $changes_to_review_counter == 0) {
    ?>
		<div id="message" class="Question ProposeChangesQuestion">