You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
{capture name="display"}
|
|
|
|
|
<table width="100%" class="formCad" border="0" cellspacing="0" cellpadding="2">
|
|
|
|
|
<tr align="center" valign="middle" >
|
|
|
|
|
<td height="50" colspan="2">
|
|
|
|
|
<img src="imgSite/google_calendar.png" width="9%" align="absmiddle">
|
|
|
|
|
<span class="formHed">Integra<EFBFBD><EFBFBD>o Google Calendar</span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
{if !$credentials}
|
|
|
|
|
<tr>
|
|
|
|
|
<th align="left">Credentials (credentials.json) <a style="color:blue" href="https://developers.google.com/calendar/quickstart/php" target="_blank" >Gerar Arquivo</a></th>
|
|
|
|
|
<td align="left">
|
|
|
|
|
<input name="credentials" type="file""></textarea>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
{if $url}
|
|
|
|
|
<tr>
|
|
|
|
|
<th align="left">URL</th>
|
|
|
|
|
<td align="left">
|
|
|
|
|
<a href="{$url}" style="font-size: 15px" target="_blank">GERAR TOKEN</a>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
{if $token}
|
|
|
|
|
<tr>
|
|
|
|
|
<th align="left">Token</th>
|
|
|
|
|
<td align="left">
|
|
|
|
|
<input name="token" type="text" maxlength="70" size="45" value="">
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
<th align="left"> </th>
|
|
|
|
|
<td>
|
|
|
|
|
{if !$credentials || $token}<input name="btGravar" type="submit" id="btGravar" value="Gravar">{/if}
|
|
|
|
|
{if $credentials || $token}<input name="btDeletar" type="submit" id="btGravar" value="Deletar">{/if}
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
{if $message}
|
|
|
|
|
<br>
|
|
|
|
|
<table width="100%" align="center">
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr align="center">
|
|
|
|
|
<td><span style="color:{$color}; font-size: 15px"><strong>{$message}</strong></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
{/if}
|
|
|
|
|
</table>
|
|
|
|
|
{/capture}
|
|
|
|
|
|