@@ 147-152 (lines=6) @@ | ||
144 | </tr> |
|
145 | <?php endif; ?> |
|
146 | ||
147 | <?php if( isset($accessToken["expires_in"]) ): ?> |
|
148 | <tr> |
|
149 | <th width="200"><label><?php _wsl_e("Access token expires in", 'wordpress-social-login') ?></label></th> |
|
150 | <td><?php echo (int) $adapter->getAccessToken()["expires_at"] - time(); ?> <?php _wsl_e("second(s)", 'wordpress-social-login') ?></td> |
|
151 | </tr> |
|
152 | <?php endif; ?> |
|
153 | ||
154 | <?php if( isset($accessToken["expires_at"]) ): ?> |
|
155 | <tr> |
|
@@ 154-159 (lines=6) @@ | ||
151 | </tr> |
|
152 | <?php endif; ?> |
|
153 | ||
154 | <?php if( isset($accessToken["expires_at"]) ): ?> |
|
155 | <tr> |
|
156 | <th width="200"><label><?php _wsl_e("Access token expires at", 'wordpress-social-login') ?></label></th> |
|
157 | <td><?php echo date( DATE_W3C, $adapter->getAccessToken()["expires_at"] ); ?></td> |
|
158 | </tr> |
|
159 | <?php endif; ?> |
|
160 | </table> |
|
161 | </div> |
|
162 | </div> |