Skip to content

Commit 9c36890

Browse files
committed
Merge branch 'devel'
2 parents 39cdd35 + 9f12fc5 commit 9c36890

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,6 @@ Click "Notes" on topbar menu and log in with credentials:
187187
* Password: _password_
188188

189189
This user has roles: _user_ and _admin_
190-
* Role _user_ is required for **notes** management.
191-
* Role _admin_ is required for **users** management.
192190

193191
---
194192

@@ -206,7 +204,7 @@ $id = $this->insertLink( $rolesString, $visibleName, $href, $iconString);
206204
* `$rolesString` - a string with list of user roles this menu element will be available, ex. `"guest,user,admin"`
207205
* `$visibleName` - a string caption visible in sidebar
208206
* `$href` - a href, ex. `/homepage` or `http://example.com`
209-
* `$iconString` - a string containing valid CoreUI Icon name (kebab-case), ex. `cui-speedometer` or `cui-star`
207+
* `$iconString` - a string containing valid CoreUI Icon name (kebab-case), ex. `cil-speedometer` or `cil-pencil`
210208

211209
To add a __title__ to the sidebar - use function `insertTitle()`:
212210
```php
@@ -221,14 +219,14 @@ $id = $this->beginDropdown( $rolesString, $visibleName, $iconString);
221219
```
222220
* `$rolesString` - a string with list of user roles this menu element will be available, ex. `"guest,user,admin"`
223221
* `$visibleName` - a string caption visible in sidebar
224-
* `$iconString` - a string containing valid CoreUI icon name (kebab-case). For example: `cui-speedometer` or `cui-star`
222+
* `$iconString` - a string containing valid CoreUI icon name (kebab-case). For example: `cil-speedometer` or `cil-pencil`
225223

226224
To end dropdown section - use function `endDropdown()`.
227225

228226
To add __link__ to __dropdown__ call function `insertLink()` between function calls `beginDropdown()` and `endDropdown()`.
229227
Example:
230228
```php
231-
$id = $this->beginDropdown('guest,user,admin', 'Some dropdown', 'cui-puzzle');
229+
$id = $this->beginDropdown('guest,user,admin', 'Some dropdown', 'cil-puzzle');
232230
$id = $this->insertLink('guest,user,admin', 'Dropdown name', 'http://example.com');
233231
$this->endDropdown();
234232
```

0 commit comments

Comments
 (0)