Changeset 2781982
- Timestamp:
- 09/08/2022 12:58:03 PM (4 years ago)
- Location:
- book-a-room/trunk
- Files:
-
- 5 edited
-
README.txt (modified) (1 diff)
-
bookaroom.php (modified) (1 diff)
-
templates/branches/edit.php (modified) (6 diffs)
-
templates/cities/mainAdmin.php (modified) (1 diff)
-
templates/rooms/edit.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
book-a-room/trunk/README.txt
r2776771 r2781982 106 106 107 107 == Changelog == 108 = 2.8. 8=108 = 2.8.9 = 109 109 * BUGFIX: Fixed a few count() calls that were erroring out on empty. 110 110 * BUGFIX: Changed the wp_enqueue_script to make jQuery work properly. 111 * BUGFIX: Fixed a problem with a count() call in the Cities management template that was throwing an error if you had no cities entered (PHP 5 > 7 issue) 112 113 = 2.8.8 = 114 * BUGFIX: Fixed problems with errors on variables that weren't set yet on the Add Branch page. 115 * BUGFIX: Fixed problems with errors on variables that weren't set yet on the Add Room page. 111 116 112 117 = 2.8.7 = -
book-a-room/trunk/bookaroom.php
r2776769 r2781982 4 4 Plugin URI: https://wordpress.org/plugins/book-a-room/ 5 5 Description: Book a Room is a library oriented meeting room management and event calendar system. 6 Version: 2.8. 86 Version: 2.8.9 7 7 Author: Colin Tomele 8 8 Author URI: http://heightslibrary.org -
book-a-room/trunk/templates/branches/edit.php
r1735561 r2781982 32 32 <?php 33 33 } 34 35 $branchID = ( isset( $branchInfo['branchID'] ) ) ? $branchInfo['branchID'] : null; 36 $branchDesc = ( isset( $branchInfo['branchDesc'] ) ) ? $branchInfo['branchDesc'] : null; 37 $branchAddress = ( isset( $branchInfo['branchAddress'] ) ) ? $branchInfo['branchAddress'] : null; 38 $branchMapLink = ( isset( $branchInfo['branchMapLink'] ) ) ? $branchInfo['branchMapLink'] : null; 39 $branchImageURL = ( isset( $branchInfo['branchImageURL'] ) ) ? $branchInfo['branchImageURL'] : null; 40 41 34 42 ?> 35 <form id="form1" name="form1" method="post" action="?page=bookaroom_Settings_Branches&branchID=<?PHP echo $branchI nfo['branchID']; ?>&action=<?php echo $action; ?>">43 <form id="form1" name="form1" method="post" action="?page=bookaroom_Settings_Branches&branchID=<?PHP echo $branchID; ?>&action=<?php echo $action; ?>"> 36 44 <table class="tableMain"> 37 45 <tr> … … 47 55 <?php _e( 'Branch Name', 'book-a-room' ); ?> 48 56 </td> 49 <td colspan="2"><input name="branchDesc" type="text" id="branchDesc" value="<?php echo $branch Info['branchDesc']; ?>" size="50" maxlength="64"/>57 <td colspan="2"><input name="branchDesc" type="text" id="branchDesc" value="<?php echo $branchDesc; ?>" size="50" maxlength="64"/> 50 58 </td> 51 59 </tr> … … 55 63 </td> 56 64 <td colspan="2"> 57 <textarea name="branchAddress" cols="50" rows="3" id="branchAddress"><?php echo $branch Info['branchAddress']; ?></textarea>65 <textarea name="branchAddress" cols="50" rows="3" id="branchAddress"><?php echo $branchAddress; ?></textarea> 58 66 </td> 59 67 </tr> … … 62 70 <?php _e( 'Map Link', 'book-a-room' ); ?> 63 71 </td> 64 <td colspan="2"><input name="branchMapLink" type="text" id="branchMapLink" value="<?php echo $branch Info['branchMapLink']; ?>" size="50"/>72 <td colspan="2"><input name="branchMapLink" type="text" id="branchMapLink" value="<?php echo $branchMapLink; ?>" size="50"/> 65 73 </td> 66 74 </tr> … … 70 78 <?php _e( '(Gradient between 176x420 pixels)', 'book-a-room' ); ?> 71 79 </td> 72 <td colspan="2"><input name="branchImageURL" type="text" id="branchImageURL" value="<?php echo $branchI nfo['branchImageURL']; ?>" size="50"/>80 <td colspan="2"><input name="branchImageURL" type="text" id="branchImageURL" value="<?php echo $branchImageURL; ?>" size="50"/> 73 81 </td> 74 82 </tr> … … 122 130 <?php echo $dayName; ?> 123 131 </td> 124 <td><input name="branchOpen_<?php echo $num; ?>" type="text" id="branchOpen_<?php echo $num; ?>" value="<?php echo $branchInfo["branchOpen_{$num}"]; ?>" size="5" maxlength="5"/>132 <td><input name="branchOpen_<?php echo $num; ?>" type="text" id="branchOpen_<?php echo $num; ?>" value="<?php echo ( isset( $branchInfo["branchOpen_{$num}"] ) ) ? $branchInfo["branchOpen_{$num}"] : null; ?>" size="5" maxlength="5"/> 125 133 <input type="checkbox" name="branchOpen_<?php echo $num; ?>PM" id="branchOpen_<?php echo $num; ?>PM" <?php echo ( !empty( $branchInfo[ "branchOpen_{$num}PM"] ) ) ? ' checked="checked"' : null; ?> /> 126 134 <?php _e( 'PM', 'book-a-room' ); ?> 127 135 </td> 128 <td><input name="branchClose_<?php echo $num; ?>" type="text" id="branchClose_<?php echo $num; ?>" value="<?php echo $branchInfo["branchClose_{$num}"]; ?>" size="5" maxlength="5"/>136 <td><input name="branchClose_<?php echo $num; ?>" type="text" id="branchClose_<?php echo $num; ?>" value="<?php echo ( isset( $branchInfo["branchClose_{$num}"] ) ) ? $branchInfo["branchClose_{$num}"] : null; ?>" size="5" maxlength="5"/> 129 137 <input type="checkbox" name="branchClose_<?php echo $num; ?>PM" id="branchClose_<?php echo $num; ?>PM" <?php echo ( !empty( $branchInfo[ "branchClose_{$num}PM"] ) ) ? ' checked="checked"' : null; ?> /> 130 138 <?php _e( 'PM', 'book-a-room' ); ?> -
book-a-room/trunk/templates/cities/mainAdmin.php
r1728908 r2781982 19 19 </h2> 20 20 <?php 21 if( count( $cityList ) == 0 ) {21 if( !isset( $cityList ) or count( $cityList ) == 0 ) { 22 22 ?> 23 23 <p> -
book-a-room/trunk/templates/rooms/edit.php
r1733681 r2781982 31 31 } 32 32 ?> 33 <form name="form1" method="post" action="?page=bookaroom_Settings_Rooms&action=<?php echo $action; ?>&roomID=<?php echo $roomInfo[ 'roomID' ]; ?>">33 <form name="form1" method="post" action="?page=bookaroom_Settings_Rooms&action=<?php echo $action; ?>&roomID=<?php echo ( isset( $roomInfo[ 'roomID' ] ) ) ? $roomInfo[ 'roomID' ] : null; ?>"> 34 34 <table class="tableMain"> 35 35 <tr> … … 40 40 </td> 41 41 <td> 42 <input name="roomDesc" type="text" id="roomDesc" value="<?php echo $roomInfo[ 'roomDesc' ]; ?>" size="48" maxlength="64">42 <input name="roomDesc" type="text" id="roomDesc" value="<?php echo ( isset( $roomInfo[ 'roomDesc' ] ) ) ? $roomInfo[ 'roomDesc' ] : null; ?>" size="48" maxlength="64"> 43 43 </td> 44 44 </tr> … … 55 55 <?php 56 56 foreach ( $branchList as $key => $val ) { 57 $temp = $branch_line;57 #$temp = $branch_line; 58 58 $checked = ( !empty( $roomInfo[ 'branch' ] ) and $roomInfo[ 'branch' ] == $key ) ? ' selected="selected"' : NULL; 59 59 ?>
Note: See TracChangeset
for help on using the changeset viewer.