Commit c93a1b83 authored by buttle's avatar buttle

fixed permission for networkpublic icon

parent 4180199a
......@@ -175,6 +175,9 @@ class SantsPlugin extends Plugin
//$m->connect('main/hello1',
// array('action' => 'hello'));
$m->connect('',
array('action' => 'public'));
$m->connect(':nickname/tags',
array('action' => 'santsusertags'),
array('nickname' => Nickname::DISPLAY_FMT));
......
......@@ -61,12 +61,14 @@ class SantsPrimaryNav extends Menu
$this->action->elementEnd('a');
}
$attrs=array();
$attrs['href'] = common_local_url('networkpublic',array('title'=>'help'));
$attrs['title'] = _m('Information');
$this->action->elementStart('a', $attrs);
$this->action->element('i', array('class'=>'icon-network'), '');
$this->action->elementEnd('a');
if (!common_config('public', 'localonly')) {
$attrs=array();
$attrs['href'] = common_local_url('networkpublic',array('title'=>'help'));
$attrs['title'] = _m('Information');
$this->action->elementStart('a', $attrs);
$this->action->element('i', array('class'=>'icon-network'), '');
$this->action->elementEnd('a');
}
$attrs=array();
$attrs['href'] = common_local_url('noticesearch');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment