Closed s1050613 closed 3 years ago
Hi, in the file views/sketch/sketch-editor.html.php there is already an attribute which tests if the client is the owner:
If we use this then we don't need to update header.html.php
Ah, yes! Wonder why I didn’t think of it being already in the code. I’ll fix it up now.
There; that should be it.
Pretty small compared to the behemoth of the other one! I’ve used an online PHP shell (oh yes I use an iPad BTW) to test the PHP and it works, despite the very confusing syntax. I’ve tested the JS with what the meta tag will look like and it functions correctly for when the meta is true and when it’s false. Still, there may be typos!
Edit: Can’t find the button to link to the issue; I believe I have to put a keyword in the description (which I believe is this). So: Fixes #87