Changeset 4525 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/views/mentors/mentors.php
- Timestamp:
- 12/13/2016 08:45:19 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/views/mentors/mentors.php
r3728 r4525 13 13 <thead> 14 14 <th>Mentor</th> 15 <th>Username</th> 15 16 <th>Email Address</th> 16 17 <th># Currently Mentoring</th> 17 <th>C urrently Mentoring</th>18 <th>Camps</th> 18 19 </thead> 19 20 20 21 <tbody> 21 <?php foreach ( $mentors as $ email_address=> $mentor ) : ?>22 <?php foreach ( $mentors as $username => $mentor ) : ?> 22 23 <tr> 23 24 <td><?php echo esc_html( $mentor['name'] ); ?></td> 24 <td><?php echo esc_html( $email_address ); ?></td> 25 <td><?php echo esc_html( $username ); ?></td> 26 <td><?php echo esc_html( $mentor['email'] ); ?></td> 25 27 <td><?php echo count( $mentor['camps_mentoring'] ); ?></td> 26 28 <td> 27 29 <ul> 28 <?php foreach ( $mentor['camps_mentoring'] as $camp ) : ?> 29 <li><?php echo esc_html( $camp ); ?></li> 30 <?php foreach ( $mentor['camps_mentoring'] as $camp_id => $camp_name ) : ?> 31 <li> 32 <a href="<?php echo esc_url( admin_url( "post.php?post=$camp_id&action=edit#wcpt_mentor_wordpress_org_user_name" ) ); ?>"> 33 <?php echo esc_html( $camp_name ); ?> 34 </a> 35 </li> 30 36 <?php endforeach; ?> 31 37 </ul> … … 35 41 </tbody> 36 42 </table> 43 44 <p class="description">(*) Camp has a Mentor email address but not a WordPress.org username.</p>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)