Changeset 1513531
- Timestamp:
- 10/12/2016 05:08:13 PM (9 years ago)
- File:
-
- 1 edited
-
seo-rets/branches/3.3.70/widgets/listings.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
seo-rets/branches/3.3.70/widgets/listings.php
r1361547 r1513531 80 80 'operator' => '=', 81 81 'value' => $instance['agent_id'] 82 ); 83 } 84 // BRETT NEVILLE Addition of Office Listings Option 85 if ($instance['display_prop'] == "officeid") { 86 $conditions[] = array( 87 'field' => 'office_id', 88 'operator' => '=', 89 'value' => $instance['office_id'] 82 90 ); 83 91 } … … 186 194 <p class="srm-sidebar-price">Price: 187 195 $<?php echo number_format($listing->price) ?></p> 188 <p class="srm-sidebar-beds">Beds: <?php echo $listing->bedrooms ?> </p>196 <p class="srm-sidebar-beds">Beds: <?php echo $listing->bedrooms ?> | Baths: <?php echo $listing->baths_full ?> </p> 189 197 </td> 190 198 </tr> … … 298 306 value="<?php echo isset($instance['agent_id']) ? htmlentities($instance['agent_id']) : "" ?>" 299 307 style="width:8em;"/><br/> 308 309 <?php // BRETT NEVILLE Addition of Office Listings Option ?> 310 <input type="radio" name="<?php echo $this->get_field_name('display_prop') ?>" 311 value="officeid"<?php echo (isset($instance['display_prop']) && $instance['display_prop'] == "officeid") ? " checked" : "" ?> /> 312 From this Office ID: <input type="text" name="<?php echo $this->get_field_name('office_id') ?>" 313 value="<?php echo isset($instance['office_id']) ? htmlentities($instance['office_id']) : "" ?>" 314 style="width:8em;"/><br/> 315 300 316 <input type="radio" name="<?php echo $this->get_field_name('display_prop') ?>" 301 317 value="mlsid"<?php echo (isset($instance['display_prop']) && $instance['display_prop'] == "mlsid") ? " checked" : "" ?> />
Note: See TracChangeset
for help on using the changeset viewer.