Changeset 3218000
- Timestamp:
- 01/06/2025 10:11:23 PM (15 months ago)
- Location:
- stafflist/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (2 diffs)
-
stafflist.css (modified) (1 diff)
-
stafflist.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
stafflist/trunk/readme.txt
r2860478 r3218000 3 3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=464DEX6U6DL5N 4 4 Tags: staff, directory, faculty, personnel, phonebook, rubrik 5 Requires at least: 3.2. 15 Requires at least: 3.2.2 6 6 Tested up to: 6.1.1 7 7 Requires PHP: 5.6 … … 103 103 104 104 == Changelog == 105 = 3.2.2 = 106 * Tested on WordPress 6.7.1; 107 105 108 = 3.2.1 = 106 109 * Fixed issue with sorts (1:firstname,2:lastname,3:phone,4:email,5:department,...) discovered by @mskwarwsd (thank you); -
stafflist/trunk/stafflist.css
r2550014 r3218000 112 112 outline: none; 113 113 font-size: 12px; 114 min-height: 27px;115 114 display: inline-block; 116 115 padding: 3px 8px; -
stafflist/trunk/stafflist.php
r2860478 r3218000 4 4 Plugin URI: http://wordpress.org/plugins/stafflist/ 5 5 Description: A super simplified staff directory tool 6 Version: 3.2. 16 Version: 3.2.2 7 7 Author: era404 8 8 Author URI: http://www.era404.com … … 1032 1032 1033 1033 //removing old nonstandard columns, reordering standard columns 1034 for($i = 1; $i <= 20; $i++) {1034 for($i = 1; $i <= 20; $i++){ 1035 1035 $fixed = array("firstname","lastname","phone","email","department"); 1036 1036 if(isset($fixed[ ($i-1) ])){ /*reset standard*/ … … 1044 1044 } 1045 1045 $col = (int) 6; 1046 for($i = 1; $i <= 15; $i++) {1046 for($i = 1; $i <= 15; $i++){ 1047 1047 $nonstdcolumn = (count($nonstdnames)>0 ? array_shift($nonstdnames) : NULL); 1048 if(trim($nonstdcolumn )=="") continue;1048 if(trim($nonstdcolumn??"")=="") continue; 1049 1049 $q = "UPDATE {$staffmetadb} SET name=%s, active=%d WHERE id=%d"; 1050 1050 $wpdb->query($wpdb->prepare($q, $nonstdcolumn, (is_null($nonstdcolumn)?-1:1), $col ));
Note: See TracChangeset
for help on using the changeset viewer.