1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-29 09:10:23 +02:00

Submitnews token added and set access to 'Members' during installation.

This commit is contained in:
Cameron
2013-07-12 03:21:27 -07:00
parent 7a70f27629
commit 62f178f9bb
5 changed files with 72 additions and 76 deletions

View File

@@ -993,6 +993,11 @@ class media_admin_ui extends e_admin_ui
$options = array();
$options['bbcode'] = ($this->getQuery('bbcode')=='img') ? 'img' : FALSE;
if($this->getQuery('for') == '_icon')
{
// $options['glyphs'] = true;
}
$text = "
@@ -1005,6 +1010,17 @@ class media_admin_ui extends e_admin_ui
$text .= "<li><a data-toggle='tab' href='#core-media-style'>Appearance</a></li>\n";
}
if(varset($options['glyphs']))
{
$text .= "<li><a data-toggle='tab' href='#core-media-glyphs'>Glyphs</a></li>\n";
}
if(varset($options['bbcode']))
{
$text .= "<li><a data-toggle='tab' href='#core-media-style'>Appearance</a></li>\n";
}
if(varset($_GET['from']))
{
$options['from'] .= intval($_GET['from']);
@@ -1120,6 +1136,20 @@ class media_admin_ui extends e_admin_ui
</div>
</div>";
}
if(varset($options['glyphs']))
{
//TODO
$text .= "<div class='tab-pane' id='core-media-glyphs'>
</div>
";
}
$text .= "</div>";
// For BBCODE mode. //TODO image-float.