Jump to content
View in the app

A better way to browse. Learn more.

Portal do Host

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Pessoal tenho utilizado o autologin nas faturas enviadas aos clientes.

 

Recentemente começei a utilizar a seção de orçamentos do whmcs.

 

O problema é que o link enviado é o viewquote.php?.. e o cliente precisa logar no sistema pra visualizar.

 

É possível utilizar o autologin também para quotes?


Pessoal tenho utilizado o autologin nas faturas enviadas aos clientes.

 

Recentemente começei a utilizar a seção de orçamentos do whmcs.

 

O problema é que o link enviado é o viewquote.php?.. e o cliente precisa logar no sistema pra visualizar.

 

É possível utilizar o autologin também para quotes?

 

A biblioteca AutoAuth possibilita você acessar QUALQUER área do WHMCS.


  • Author

Mestre @edvan, muito obrigado!

 

Não consegui traduzir o botão de aceitação em quotes.

<p align="center"><a href="clientarea.php">{$LANG.invoicesbacktoclientarea}</a> | <a href="dl.php?type=q&amp;id={$quoteid}">{$LANG.quotedlpdfbtn}</a> | <a href="javascript:window.close()">{$LANG.closewindow}</a></p>

<div id="quoteaccept" title="{$LANG.quoteacceptancetitle}" style="display:none;">

<form method="post" action="{$smarty.server.PHP_SELF}?id={$quoteid}&action=accept" id="quoteacceptfrm">

<p>{$LANG.quoteacceptancehowto} <a href="{$tosurl}" target="_blank">{$tosurl}</a></p>

<p align="center"><label><input type="checkbox" name="agreetos" /> {$LANG.ordertosagreement} <a href="{$tosurl}" target="_blank">{$LANG.ordertos}</a></label></p>

<p>{$LANG.quoteacceptancewarning}</p>

</form>

No código do template não tem o botão, e nos arquivos de tradução não encontrei Agree & Accept.

 

Fiz um decode no viewquote.php e lá também não tem este texto.

 

tosagreewhmcs.jpg

 

Editado
 
Encontrei no cabeçalho do template.
buttons: {'Agree & Accept': function() {
   $("#quoteacceptfrm").submit();
}}
});


});

Não dá pra deixar em duas línguas?

Parece que que esqueceram dessa variável.


  • Author

Resolvido! 

{literal}<script>
$(document).ready(function(){

$("#quoteaccept").dialog({
    autoOpen: false,
    resizable: false,
    width: 500,
    modal: true,
	buttons: {'{/literal}{$LANG.quoteacceptbutton}{literal}': function() {
		    $("#quoteacceptfrm").submit();
		}}
});

});
</script>{/literal}

E adicionei $_LANG['quoteacceptbutton'] = "Concordo e Aceito"; nos arquivos de linguagem.

 

Avisa eles lá ou é meu template que tá desatualizado?


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Important Information

Do you agree with our terms?

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.