A magistrate has warned an assault case she is hearing must not be mentioned on social networking sites.
A teenager charged with assaulting another student in an incident which was videoed and posted on the internet has been banned from going within 100 metres of the school.
The boy, 16, made a first appearance in the Youth Court at Elizabeth in Adelaide, where his bail was varied.
The court was told the victim's sister attended the school involved and the accused was often seen at the school gates picking up his girlfriend.
A second teenager who allegedly assaulted the same boy three days earlier also appeared briefly.
Magistrate Patricia Rowe warned both boys and the victim, who was present with his mother, not to publish any details of the cases on any social networking sites.
Both matters will return to court next month.
Follow Emirates 24|7 on Google News.