diff options
author | friendica <info@friendica.com> | 2013-10-23 19:35:51 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-10-23 19:35:51 -0700 |
commit | 7b7ef56b54a98f3d860b9b0c7dc4a7ce0657fede (patch) | |
tree | 99c393c57da0c0d4b657084083cdaf6dda3ff643 /view/tpl | |
parent | de9eadf74a4e46fdf44158822db465708136bea4 (diff) | |
download | volse-hubzilla-7b7ef56b54a98f3d860b9b0c7dc4a7ce0657fede.tar.gz volse-hubzilla-7b7ef56b54a98f3d860b9b0c7dc4a7ce0657fede.tar.bz2 volse-hubzilla-7b7ef56b54a98f3d860b9b0c7dc4a7ce0657fede.zip |
replace text links with icons on design pages
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/menulist.tpl | 2 | ||||
-rw-r--r-- | view/tpl/webpagelist.tpl | 11 |
2 files changed, 6 insertions, 7 deletions
diff --git a/view/tpl/menulist.tpl b/view/tpl/menulist.tpl index 19428aca2..271bace82 100644 --- a/view/tpl/menulist.tpl +++ b/view/tpl/menulist.tpl @@ -7,7 +7,7 @@ {{if $menus }} <ul id="menulist"> {{foreach $menus as $m }} -<li><a href="menu/{{$m.menu_id}}" title="{{$hintedit}}">{{$edit}}</a> | <a href="menu/{{$m.menu_id}}/drop" title={{$hintdrop}}>{{$drop}}</a> <a href="mitem/{{$m.menu_id}}/new" title="{{$hintcontent}}">{{$m.menu_name}}</a></li> +<li><a href="menu/{{$m.menu_id}}" title="{{$hintedit}}"><i class="icon-pencil design-icons design-edit-icon"></i></a> <a href="menu/{{$m.menu_id}}/drop" title={{$hintdrop}}><i class="icon-remove drop-icons design-icons design-remove-icon"></i></a> <a href="mitem/{{$m.menu_id}}/new" title="{{$hintcontent}}">{{$m.menu_name}}</a></li> {{/foreach}} </ul> {{/if}} diff --git a/view/tpl/webpagelist.tpl b/view/tpl/webpagelist.tpl index 9a189230b..437e93348 100644 --- a/view/tpl/webpagelist.tpl +++ b/view/tpl/webpagelist.tpl @@ -6,12 +6,11 @@ {{foreach $pages as $key => $items}} {{foreach $items as $item}} <div class="page-list-item"> - {{if $edit}}<a href="{{$baseurl}}/{{$item.url}}">{{$edit}}</a> | {{/if}} - {{if $view}}<a href="page/{{$channel}}/{{$item.title}}">{{$view}}</a> {{$item.title}} | {{/if}} - {{if $preview}} <a href="page/{{$channel}}/{{$item.title}}?iframe=true&width=80%&height=80%" rel="prettyPhoto[iframes]">Preview</a> {{/if}} - {{if $widget}}<a href="page/{{$channel}}/{{$item.title}}">{{$item.title}}</a>{{/if}} - -</div> + {{if $edit}}<a href="{{$baseurl}}/{{$item.url}}" title="{{$edit}}"><i class="icon-pencil design-icons design-edit-icon"></i></a> {{/if}} + {{if $view}}<a href="page/{{$channel}}/{{$item.title}}" title="{{$view}}"><i class="icon-external-link design-icons design-view-icon"></i></a> {{/if}} + {{if $preview}}<a href="page/{{$channel}}/{{$item.title}}?iframe=true&width=80%&height=80%" rel="xprettyPhoto[iframesx]" title="{{$preview}}"><i class="icon-eye-open design-icons design-preview-icon"></i></a> {{/if}} + {{$item.title}} + </div> {{/foreach}} {{/foreach}} </div> |