He says (direct quote): "In higher mathematics the absolute value of a number, $|x|$, is equal to positive and negative $x$, if $x$ is a positive number."
Then he wrote: $|x|=\pm x,\quad \text{if}\enspace x>0 $.
I think he misunderstood the definition of absolute value, or did I? From what I understand, absolute value of a number is the distance of a number from zero, so it is always positive. Am I wrong?

$|x|=\pm x$ it's wrong! For example, $|1|=\pm1$ it's absurd.
$|x|$ it's the distance between origin and the point $x$ at $x$ axis.
From this definition we obtain:
$|x|=x$ for $x\geq0$ and $|x|=-x$ for $x<0$.