vereceğim kod sayesinde sitenizden birilerinin birşeyler kopyalamasını engelleyebilirsiniz.
yanlız alıntı yaparak kopyalayabilirler o başka.sadece sectirtmez...
index.template.php dosyanızı acın
Arbalot'a teşekkürler.
http://www.simplemachines.org/community/index.php?topic=97572.0#quickreply
yanlız alıntı yaparak kopyalayabilirler o başka.sadece sectirtmez...
index.template.php dosyanızı acın
Kod:
</head>
<body>';
Kod:
</head>
<body>'; echo'
<script type="text/javascript">
//form tags to omit in NS6+:
var omitformtags=["input", "textarea", "select"]
omitformtags=omitformtags.join("|")
function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}
function reEnable(){
return true
}
if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}
</script>';
Arbalot'a teşekkürler.
http://www.simplemachines.org/community/index.php?topic=97572.0#quickreply