Last active
January 1, 2020 12:10
-
-
Save rafhaelhp/00e97e7041da590e21b71aff07c83c2c to your computer and use it in GitHub Desktop.
BOX DE ALERTA DE CONTA DESCONECTADA MERCADO LIVRE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* BOX DE ALERTA DE CONTA DESCONECTADA MERCADO LIVRE. | |
* Insira esse trecho no arquivo admin/dashboard.php logo após a abertura da tag '<div class="dashboard_fix">' | |
*/ | |
if (!is_null(ML_APP_ID) && !empty(ML_APP_ID) && !isset(SessionData::getInfo()['ml_access_token']) && $getViewInput != "mercadolivre/contas"): | |
echo "<div>"; | |
echo Erro('<span class="al_center"><b class="icon-warning">ATENÇÃO:</b> Sua conta do Mercado Livre esta desconectada de sua loja virtual, <a href="dashboard.php?wc=mercadolivre/contas" title="Fazer login no Mercado Livre">clique aqui</a> para logar novamente!</span>', E_USER_ERROR); | |
echo "</div>"; | |
endif; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment