1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 13:21:54 +02:00

Closes Issue #147 - modal from main Media-Manager page.

This commit is contained in:
Cameron
2013-03-22 16:55:22 -07:00
parent c20829f679
commit 0b19510ad3
3 changed files with 30 additions and 24 deletions

View File

@@ -448,7 +448,7 @@ echo getModal();
if(e_PAGE == "image.php")
{
return;
// return;
}

View File

@@ -56,6 +56,11 @@ if(vartrue($_GET['action']) == 'nav' && e_AJAX_REQUEST) //XXX Doesn't work corre
$bbcodeMode .= "&from=".intval($_GET['from']);
}
if($_GET['w'])
{
$bbcodeMode .= "&w=".intval($_GET['w']);
}
$bbcodeMode .= "&nav=1";
$tag = ($bbcodeMode===false) ? false : $_GET['tagid']; // eg. news, news-thumbnail