Funny Comments Found in C5
Permalink 1 user found helpful
As C5 is an open source CMS there is bound to be funny comments that make it into the release. This thread is to highlight some of the funny easter eggs that are hiding.
I'll get it started:
// Joshua's Huge Sorting Crap
I'll get it started:
// Joshua's Huge Sorting Crap
from ccm.filemanager.js
// open the properties window for this bad boy.
// open the properties window for this bad boy.
// ack - we need to copy area permissions from that page as well // wait, i'm not sure if we need to do this anymore.
from /models/page.php
found a great one from the same model,
// this is too verbose but i don't know of a good place to stash a reusable function :-(
// not sure if we want to ALWAYS remove permissions for everything then stack the new ones
// or not, so for now i'm commenting out the selective removal and removing everything
// THIS IS DUMB: If you want to turn off permissions for a group don't auto-delete them just make sure
// your permissions XML set's them to not be able to read
// this is too verbose but i don't know of a good place to stash a reusable function :-(
// not sure if we want to ALWAYS remove permissions for everything then stack the new ones
// or not, so for now i'm commenting out the selective removal and removing everything
// THIS IS DUMB: If you want to turn off permissions for a group don't auto-delete them just make sure
// your permissions XML set's them to not be able to read
I also got
// open the properties window for this bad boy.
had a good laugh at that time :)
// open the properties window for this bad boy.
had a good laugh at that time :)
"// this has to be the stupidest name of a function I've ever created. sigh"