As I said, there is an extra link to add a layer on the view page. Everyone
will find it.


2013/3/4 lmm-git <notifications@github.com>

> In lib/Locator/Api/Admin.php:
>
> > +	 */
> > +	public function getlinks()
> > +	{
> > +		$links = array ();
> > +
> > +
> > +		$addLinks = array();
> > +
> > +		if(SecurityUtil::checkPermission('Locator:Layer:', '::', ACCESS_ADD)) {
> > +			$addLinks = array (
> > +				array (
> > +					'url'   => ModUtil::url('Locator', 'admin', 'edit', array('ot' => 'layer')),
> > +					'text'  => $this->__('Add layer')
> > +				)
> > +			);
> > +		}
>
> Am 04.03.2013 15:12, schrieb cmfcmf:
>  In lib/Locator/Api/Admin.php: > + */ > + public function getlinks() > + {
> > + $links = array (); > + > + > + $addLinks = array(); > + > +
> if(SecurityUtil::checkPermission('Locator:Layer:', '::', ACCESS_ADD)) { > +
> $addLinks = array ( > + array ( > + 'url' => ModUtil::url('Locator',
> 'admin', 'edit', array('ot' => 'layer')), > + 'text' => $this->__('Add
> layer') > + ) > + ); > + } Yes and I don't say that you say you want to
> remove it :). There is no reason to have an extra menuitem for it. You
> don't add 5 layers a day. Maybe one per year. — Reply to this email
> directly or view it on GitHub <
> https://github.com/lmm-git/Locator/pull/38/files#r3224303>.
> Yes but at the beginning one and then you will not find this menue point.
> And we doesn't have space-problems in this menue-bar.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/lmm-git/Locator/pull/38/files#r3224334>
> .
>