예제 #1
0
function template_gppro()
{
    global $context, $scripturl, $authUrl, $modSettings, $sc, $txt;
    gplus_init_auth_url();
    echo '
	<div class="cat_bar"> 
		<h3 class="catbg"> 
			<span class="ie6_header floatleft">
				' . $txt['gp_googplus'] . '
			</span> 
		</h3> 
	</div>';
    echo '<p class="windowbg description">' . $txt['gp_app_profilegp'] . '</p> 
			<div class="windowbg2"> 
				<span class="topslice"><span></span></span> 
				<div class="content"> 
	       <dl class="register_form" >
		   <dt>';
    echo ' 
				<dt><label for="impf">' . $txt['gp_app_profilegp3'] . '<div class="smalltext">' . $txt['gp_app_profilegp1'] . '</div></label></dt>
					<dd>
					<button type="button"  onclick="javascript:window.location.href = \'' . $authUrl, '\';">' . $txt['gp_app_profilegp2'] . '</button>
				</dd>
			</dl><hr />
		  <div align="center"><a href="' . $scripturl . '?action=gplus;area=unsync;sesc=' . $sc . '" onclick="return confirm(\'' . $txt['gp_app_diso_account_confirm'] . '\');">' . $txt['gp_app_diso_account'] . '</a></div>
		</div>
				<span class="botslice"><span></span></span> 
			</div> ';
}
예제 #2
0
function gplus_show_auth_login()
{
    global $authUrl, $modSettings;
    gplus_init_auth_url();
    echo '<a href="' . $authUrl . '"><img src="' . $modSettings['gp_app_custon_logimg'] . '" alt="" /></a>';
}