- don't commit files that are being ignored, better provide a "template" file that needs copying to the right file and ignore the file that will have local changes like config files will always have. - fixed CHMOD, no need for executable flag here as the server won't execute these files, but only load (read) them - fixed E_NOTICE in boot.php when entrance/index page (no parameter) is being called Signed-off-by: Roland Haeder <roland@mxchange.org>
33 lines
813 B
JavaScript
33 lines
813 B
JavaScript
|
|
function openClose(theID) {
|
|
if(document.getElementById(theID).style.display == "block") {
|
|
document.getElementById(theID).style.display = "none"
|
|
}
|
|
else {
|
|
document.getElementById(theID).style.display = "block"
|
|
}
|
|
}
|
|
|
|
function openMenu(theID) {
|
|
document.getElementById(theID).style.display = "block"
|
|
}
|
|
|
|
function closeMenu(theID) {
|
|
document.getElementById(theID).style.display = "none"
|
|
}
|
|
|
|
function commentOpen(obj,id) {
|
|
if(obj.value == 'Comment') {
|
|
obj.value = '';
|
|
obj.className = "comment-edit-text-full";
|
|
openMenu("comment-edit-submit-wrapper-" + id);
|
|
}
|
|
}
|
|
function commentClose(obj,id) {
|
|
if(obj.value == '') {
|
|
obj.value = 'Comment';
|
|
obj.className="comment-edit-text-empty";
|
|
closeMenu("comment-edit-submit-wrapper-" + id);
|
|
}
|
|
}
|
|
|