From bb2fbe79697d673652905b7618935f27094a9d72 Mon Sep 17 00:00:00 2001 From: CaMer0n Date: Fri, 2 Dec 2011 21:34:36 +0000 Subject: [PATCH] Interface Example and Comments added. --- e107_admin/eurl.php | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/e107_admin/eurl.php b/e107_admin/eurl.php index 6ad3f771d..594ba302c 100644 --- a/e107_admin/eurl.php +++ b/e107_admin/eurl.php @@ -422,7 +422,48 @@ class eurl_admin_form_ui extends e_admin_form_ui "; } - return $text; + + /* + For Miro - intuitive interface example. All configs are contained within one e_url.php file. + Root namespacing automatically calculated based on selection. + ie. choosing option 1 below will set root namespacing for news. + Known bug (example): + News title: Nothing's Gonna Change my World! + Currently becomes: /Nothing%26%23039%3Bs%20Gonna%20Change%20my%20World%21 + Should become: /nothings-gonna-change-my-world + Good SEF reference: http://davidwalsh.name/generate-search-engine-friendly-urls-php-function + + */ + // FIXME TODO XXX + + // Global On/Off Switch Example + $example = " + Enable Search-Engine-Friendly URLs + + "; + + //Entry Example (Hidden unless the above global switch is active) + $example .= " + + News + "; + + // $example .= "
Custom "; For Beta. + + $example .= " + "; + + return $example.$text; + } public function aliasesRows($currentAliases, $modules, $lanDef, $lans)