mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-16 07:15:43 +03:00
Add 5ftf plugin from https://github.com/coreymckrill/5ftf
This commit is contained in:
parent
1db9ec9203
commit
697a4b2329
12 changed files with 943 additions and 0 deletions
39
plugins/wporg-5ftf/views/metabox-company-information.php
Executable file
39
plugins/wporg-5ftf/views/metabox-company-information.php
Executable file
|
@ -0,0 +1,39 @@
|
|||
<table>
|
||||
<tbody>
|
||||
url
|
||||
total # employees
|
||||
# employees pledged at least part time
|
||||
total # hours pleged
|
||||
what else was there?
|
||||
|
||||
<?php /*
|
||||
<tr>
|
||||
<th>
|
||||
<label for="_5ftf_wporg_username">
|
||||
<?php _e( 'WordPress.org Username:', 'wordpressorg' ); ?>
|
||||
</label>
|
||||
</th>
|
||||
|
||||
<td>
|
||||
<input id="_5ftf_wporg_username" name="_5ftf_wporg_username" type="text" value="<?php echo esc_attr( $company->_5ftf_wporg_username ); ?>" required class="regular-text" />
|
||||
|
||||
<?php if ( $avatar_url ) : ?>
|
||||
<img src="<?php echo esc_url( $avatar_url ); ?>" width="95" height="95" />
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>
|
||||
<label for="_5ftf_hours_per_month">
|
||||
<?php _e( 'Hours per Month:', 'wordpressorg' ); ?>
|
||||
</label>
|
||||
</th>
|
||||
|
||||
<td>
|
||||
<input id="_5ftf_hours_per_month" name="_5ftf_hours_per_month" type="number" value="<?php echo esc_attr( $company->_5ftf_hours_per_month ); ?>" required class="regular-text" />
|
||||
</td>
|
||||
</tr>
|
||||
*/ ?>
|
||||
</tbody>
|
||||
</table>
|
Loading…
Add table
Add a link
Reference in a new issue