Ad Widget

Collapse

Logon Screen Disclaimer

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rhudson
    Junior Member
    • Jun 2020
    • 10

    #1

    Logon Screen Disclaimer

    Hi all,

    Does anyone know of a "relatively" easy way of adding a legal disclaimer to the Zabbix login screen, ideally in the space shown below. I dont mind editing some of the zabbix files but I had a look around and well, I dont know PHP!!

    Thanks in advance.

    Click image for larger version

Name:	Capture.PNG
Views:	377
Size:	30.5 KB
ID:	404081
  • rhudson
    Junior Member
    • Jun 2020
    • 10

    #2
    Hi,

    Thanks for the reply.

    Unfortunately, that appears to put content on the right and push everything over. See top right of the image (ignore the scribbled out bit).

    Any other thoughts?

    Cheers.

    Click image for larger version

Name:	Capture.PNG
Views:	341
Size:	22.9 KB
ID:	404185

    Comment

    • rhudson
      Junior Member
      • Jun 2020
      • 10

      #3
      Hi,

      Thanks for bearing with me on this

      We are getting there but still having issues. Your suggestion presents me with a very similar issue and no matter how I tweak it I cannot break out of it (always top right). I did however get the highlighted "test" added by the support URLs by adding it into the PHP code like so:

      PHP Code:
      ]))->addClass(ZBX_STYLE_SIGNIN_CONTAINER),
      (new 
      CDiv([
      (new 
      CLink(_('Help'), CBrandHelper::getHelpUrl()))
      ->
      setTarget('_blank')
      ->
      addClass(ZBX_STYLE_GREY)
      ->
      addClass(ZBX_STYLE_LINK_ALT),
      CBrandHelper::isRebranded() ? null '  •  ',
      CBrandHelper::isRebranded()
      null
      : (new CLink(_('Support'), getSupportUrl()))
      ->
      setTarget('_blank')
      ->
      addClass(ZBX_STYLE_GREY)
      ->
      addClass(ZBX_STYLE_LINK_ALT),
      ' test',
      ]))->
      addClass(ZBX_STYLE_SIGNIN_LINKS),

      ])),
      makePageFooter(false)
      ])) 
      However, I cannot figure out how to get it to accept html code and it doesn't take the echo command in that location either. Ultimately if I can acheive a couple of page breaks and then some text in that location that is perfect!

      Thanks for continuing to help me with this

      Click image for larger version

Name:	Capture.PNG
Views:	320
Size:	19.1 KB
ID:	404197

      Comment

      Working...