1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-15 02:57:15 +02:00

Allow Sitelinks to be switched between auto-generated SEF Urls and regular URLs. Requires link_owner (plugin directory) field value with corresponding e_url.php configuration.

This commit is contained in:
Cameron
2015-03-31 10:21:50 -07:00
parent afb8d290e5
commit 20f2b552da
16 changed files with 218 additions and 25 deletions

View File

@@ -178,13 +178,13 @@ class eurl_admin_ui extends e_admin_controller_ui
{
$text .= "<h5>".$plug."</h5>";
$text .= "<table class='table table-striped table-bordered'>";
$text .= "<tr><th>Regular Expression</th>
$text .= "<tr><th>Key</th><th>Regular Expression</th>
<th>".LAN_URL."</th>
</tr>";
foreach($val as $k=>$v)
{
$text .= "<tr><td style='width:50%'>".$v['regex']."</td><td>".$v['redirect']."</td></tr>";
$text .= "<tr><td style='width:20%'>".$k."</td><td style='width:40%'>".$v['regex']."</td><td style='width:40%'>".$v['redirect']."</td></tr>";
}