mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Fixes #1326 URL Profiles were still displaying for plugins using new url system.
This commit is contained in:
@@ -242,7 +242,7 @@ class eurl_admin_ui extends e_admin_controller_ui
|
||||
|
||||
foreach($eUrl as $plug=>$val)
|
||||
{
|
||||
$text .= "<h5>".$plug."</h5>";
|
||||
$text .= "<h4>".$plug."</h4>";
|
||||
$text .= "<table class='table table-striped table-bordered'>";
|
||||
$text .= "<tr><th>Key</th><th>Regular Expression</th>
|
||||
|
||||
@@ -467,8 +467,10 @@ class eurl_admin_ui extends e_admin_controller_ui
|
||||
$ret = array();
|
||||
$url = e107::getUrl();
|
||||
|
||||
|
||||
ksort($locations);
|
||||
|
||||
unset($locations['forum'],$locations['faqs'], $locations['pm']); // using new system so hide from here.
|
||||
|
||||
foreach ($locations as $module => $l)
|
||||
{
|
||||
$data = new e_vars(array(
|
||||
@@ -485,6 +487,8 @@ class eurl_admin_ui extends e_admin_controller_ui
|
||||
$ret[] = $data;
|
||||
}
|
||||
|
||||
|
||||
|
||||
return $this->getUI()->moduleRows($ret);
|
||||
}
|
||||
|
||||
@@ -703,6 +707,7 @@ class eurl_admin_form_ui extends e_admin_form_ui
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
if(strpos($path,'noid')!==false)
|
||||
{
|
||||
// $exampleUrl .= " ‡"; //XXX Add footer - denotes more CPU required. ?
|
||||
|
@@ -154,6 +154,7 @@ class plugin_forum_rewrite_url extends eUrlConfig
|
||||
public function admin()
|
||||
{
|
||||
// static may be used for performance
|
||||
/*
|
||||
e107::plugLan('forum', 'lan_forum_url');
|
||||
static $admin = array(
|
||||
'labels' => array(
|
||||
@@ -166,6 +167,6 @@ class plugin_forum_rewrite_url extends eUrlConfig
|
||||
'callbacks' => array(), // Under construction - could be used for e.g. URL generator functionallity
|
||||
);
|
||||
|
||||
return $admin;
|
||||
return $admin;*/
|
||||
}
|
||||
}
|
||||
|
@@ -154,6 +154,8 @@ class plugin_forum_url extends eUrlConfig
|
||||
*/
|
||||
public function admin()
|
||||
{
|
||||
return false; // whole file deprecated.
|
||||
/*
|
||||
// static may be used for performance
|
||||
e107::plugLan('forum', 'lan_forum_url');
|
||||
static $admin = array(
|
||||
@@ -166,7 +168,7 @@ class plugin_forum_url extends eUrlConfig
|
||||
'form' => array(), // Under construction - additional configuration options
|
||||
'callbacks' => array(), // Under construction - could be used for e.g. URL generator functionallity
|
||||
);
|
||||
|
||||
*/
|
||||
return $admin;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user