Solved a bug that appeared after the latest bug fix that solved the internal links but broke the external ones.
Added a check so if all the alinks are pointing to the current page the all replace process is skipped.
Added the external link option.
Added a class field for every link.
Added weight to alinks.
Added an internal check, so if an alink points to the current page the text is not replaced by the link.
Added confirmation messages to add and edit form.