Ok so I'll do my best to explain this, but it's difficult in text. There's 4 separate dials, each with 4 symbols and each dial shares a symbol with the 2 adjacent tiles. you basically need to recreate the symbol of Selune which can be seen around the temple above. One of the dials has a ring of stars in the center of it, consider this the top of the symbol. They all move counter clockwise(oppose of the hands of a clock), and when you turn one, it just rotates and changes which symbol is shared with the adjacent dials.
F=Full moon(white circle), H = Half moon(black/white circle), N = New moon(black circle)
It needs to be laid out like this:
Unfortunately I don't remember the starting position of the symbols, so I can't give an exact way to dial it in, but you'll want to start by getting two full moons next to each other on the top dial and then turn the disc until they're both on top, then two new moons next to each other on the bottom dial and position it so they're both on the bottom, then on the side dials, set them up like this:
You may have to rotate the top and bottom dials occasionally in order to get the correct symbols on the side dials, but if you do this just keep the two like symbols next to each other and turn them all the way around before moving to the next symbol. Once the sides are in the configurations shown above, turn each of the side dials once and you should get a dialog or hear some rumbling and a secret door opens up.
Note that the half-moon symbols occasionally reverse, as in the side will flop sides will swap when rotating - this is either a graphical bug, or some subtle hint about their position, but I can can confirm that the direction the half moons are facing have no impact on the puzzle solutions, and all of the half-moon symbols are functionally the same, even if they look different.