Ir para conteúdo
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.

Alterando o formato da Data [ticketfeedback.tpl]

Featured Replies

Postado

Para quem quiser alterar o formato das datas exibidas na página do Ticket FeedBack de seu WHMCS e o formato do campo de Duração do Ticket, siga os passos abaixo.

 

1) Abra o arquivo ticketfeedback.tpl do seu template.

2) Localize o código {$opened} e substitua por:

{$opened|replace:'10th ':'10/'|replace:'11th ':'11/'|replace:'12th ':'12/'|replace:'13th ':'13/'|replace:'14th ':'14/'|replace:'15th ':'15/'|replace:'16th ':'16/'|replace:'17th ':'17/'|replace:'18th ':'18/'|replace:'19th ':'19/'|replace:'20th ':'20/'|replace:'21st ':'21/'|replace:'22nd ':'22/'|replace:'23rd ':'23/'|replace:'24th ':'24/'|replace:'25th ':'25/'|replace:'26th ':'26/'|replace:'27th ':'27/'|replace:'28th ':'28/'|replace:'29th ':'29/'|replace:'30th ':'30/'|replace:'31st ':'31/'|replace:'1st ':'01/'|replace:'2nd ':'02/'|replace:'3rd ':'03/'|replace:'4th ':'04/'|replace:'5th ':'05/'|replace:'6th ':'06/'|replace:'7th ':'07/'|replace:'8th ':'08/'|replace:'9th ':'09/'|replace:'pm':''|replace:'am':''|replace:'Wednesday, ':''|replace:'Monday, ':''|replace:'Tuesday, ':''|replace:'Thursday, ':''|replace:'Friday, ':''|replace:'Saturday, ':''|replace:'Sunday, ':''|replace:'January ':'01/'|replace:'February ':'02/'|replace:'March ':'03/'|replace:'April ':'04/'|replace:'May ':'05/'|replace:'June ':'06/'|replace:'July ':'07/'|replace:'August ':'08/'|replace:'September ':'09/'|replace:'October ':'10/'|replace:'November ':'11/'|replace:'December ':'12/'}

3) Localize o código {$lastreply} e substitua por:

{$lastreply|replace:'10th ':'10/'|replace:'11th ':'11/'|replace:'12th ':'12/'|replace:'13th ':'13/'|replace:'14th ':'14/'|replace:'15th ':'15/'|replace:'16th ':'16/'|replace:'17th ':'17/'|replace:'18th ':'18/'|replace:'19th ':'19/'|replace:'20th ':'20/'|replace:'21st ':'21/'|replace:'22nd ':'22/'|replace:'23rd ':'23/'|replace:'24th ':'24/'|replace:'25th ':'25/'|replace:'26th ':'26/'|replace:'27th ':'27/'|replace:'28th ':'28/'|replace:'29th ':'29/'|replace:'30th ':'30/'|replace:'31st ':'31/'|replace:'1st ':'01/'|replace:'2nd ':'02/'|replace:'3rd ':'03/'|replace:'4th ':'04/'|replace:'5th ':'05/'|replace:'6th ':'06/'|replace:'7th ':'07/'|replace:'8th ':'08/'|replace:'9th ':'09/'|replace:'pm':''|replace:'am':''|replace:'Wednesday, ':''|replace:'Monday, ':''|replace:'Tuesday, ':''|replace:'Thursday, ':''|replace:'Friday, ':''|replace:'Saturday, ':''|replace:'Sunday, ':''|replace:'January ':'01/'|replace:'February ':'02/'|replace:'March ':'03/'|replace:'April ':'04/'|replace:'May ':'05/'|replace:'June ':'06/'|replace:'July ':'07/'|replace:'August ':'08/'|replace:'September ':'09/'|replace:'October ':'10/'|replace:'November ':'11/'|replace:'December ':'12/'}

4) Localize o código {$duration} e substitua por:

{$duration|replace:' Days':'d'|replace:' Day':'d'|replace:' Hours':'h'|replace:' Hour':'h'|replace:' Minutes':'m'|replace:' Minute':'m'|replace:' Seconds':'s'|replace:' Second':'s'}

Assim as datas serão exibidas no formato 18/01/2015 13:35 e o tempo de duração do ticket 5m 33s.

 Hospedagem de Sites, Revenda de Hospedagem, Servidores Virtuais, Registro de Domínios

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.
Nota: Sua postagem exigirá aprovação do moderador antes de ficar visível.

Visitante
Infelizmente, seu conteúdo contém termos que não são permitimos. Edite seu conteúdo para remover as palavras destacadas abaixo.
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Informação Importante

Concorda com os nossos termos?

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.