getAliases(); # Update aliases if (isset($_POST['a']) && is_array($_POST['a'])) { try { $o->updateAliases($_POST['a']); http::redirect(dcCore::app()->admin->getPageURL() . '&up=1'); } catch (Exception $e) { dcCore::app()->error->add($e->getMessage()); } } # New alias if (isset($_POST['alias_url'])) { try { $o->createAlias($_POST['alias_url'], $_POST['alias_destination'], count($aliases) + 1); http::redirect(dcCore::app()->admin->getPageURL() . '&created=1'); } catch (Exception $e) { dcCore::app()->error->add($e->getMessage()); } } ?>
' . __('No alias') . '
'; } else { echo ''; } echo '