コード例 #1
0
ファイル: admin-settings.php プロジェクト: roycocup/enclothed
if (empty($access_token)) {
    ?>
			<tr>
				<td colspan='2'><h3><?php 
    _e('Instagram Account', 'Easy_Instagram');
    ?>
</h3></td>
			</tr>

			<tr>
				<td>
				<?php 
    if (!empty($instagram_client_id) && !empty($instagram_client_secret) && !empty($instagram_redirect_uri)) {
        ?>
						<?php 
        $authorization_url = $instagram->getAuthorizationUrl();
        ?>
						<a href="<?php 
        echo $authorization_url;
        ?>
"><?php 
        _e('Instagram Login', 'Easy_Instagram');
        ?>
</a>
					<?php 
    } else {
        ?>
						<?php 
        _e('Please configure the General Settings first', 'Easy_Instagram');
        ?>
					<?php