ezsystems/ezpublish — pull request #483 by bchoquet-heliopsis (2012-10-30 10:53:26+00:00)
Title: Remove PathPrefix if applicable in ezpLanguageSwitcher

Obviously `PathPrefix` should not change between 2 translations but as language switcher basically works as a SiteAccess switcher, it may be used to generate link URLs accross siteaccesses with different path prefixes.
Added code was adapted from `eZContentObjectTreeNode::urlAlias()`