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 | |
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
-rw-r--r-- | mod/webpages.php | 2 | ||||
-rw-r--r-- | version.inc | 2 | ||||
-rw-r--r-- | view/theme/redbasic/css/style.css | 8 | ||||
-rw-r--r-- | view/tpl/menulist.tpl | 2 | ||||
-rw-r--r-- | view/tpl/webpagelist.tpl | 11 |
5 files changed, 16 insertions, 9 deletions
diff --git a/mod/webpages.php b/mod/webpages.php index 04c2e07c5..2c5728531 100644 --- a/mod/webpages.php +++ b/mod/webpages.php @@ -99,7 +99,7 @@ $r = q("select * from item_id where uid = %d and service = 'WEBPAGE' order by si '$pages' => $pages, '$channel' => $which, '$view' => t('View'), - '$preview' => '1', + '$preview' => t('Preview'), )); diff --git a/version.inc b/version.inc index 97a5c28f4..93650e11b 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2013-10-22.474 +2013-10-23.475 diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index edb1434dd..4f41cf923 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -3487,3 +3487,11 @@ a .drop-icons { .item-category { margin-right: 10px; } + +.design-icons { + margin-right: 10px; +} + +#menulist { + list-style-type: none; +}
\ No newline at end of file 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> |