aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-25 17:01:02 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-25 17:01:02 -0700
commit675aa96f222877a5aa543b8409a2c580cf10d3aa (patch)
treebdbc1319f5c07145c639a962f54abd28271b1b75 /view
parentdfa4984089449b257315536b3d9f949df375405f (diff)
parent29a8d580be141ee451e4f5b02870e9fe384e3ed6 (diff)
downloadvolse-hubzilla-675aa96f222877a5aa543b8409a2c580cf10d3aa.tar.gz
volse-hubzilla-675aa96f222877a5aa543b8409a2c580cf10d3aa.tar.bz2
volse-hubzilla-675aa96f222877a5aa543b8409a2c580cf10d3aa.zip
Merge branch 'master' of https://github.com/redmatrix/redmatrix
Diffstat (limited to 'view')
-rw-r--r--view/php/zen.php1
-rwxr-xr-xview/tpl/admin_channels.tpl3
2 files changed, 3 insertions, 1 deletions
diff --git a/view/php/zen.php b/view/php/zen.php
index 6fd11127c..5b89e9c32 100644
--- a/view/php/zen.php
+++ b/view/php/zen.php
@@ -2,6 +2,7 @@
<html>
<head>
<title><?php if(x($page,'title')) echo $page['title'] ?></title>
+ <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1">
<?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>
</head>
<body>
diff --git a/view/tpl/admin_channels.tpl b/view/tpl/admin_channels.tpl
index a76878438..a3390b179 100755
--- a/view/tpl/admin_channels.tpl
+++ b/view/tpl/admin_channels.tpl
@@ -35,6 +35,7 @@
<td class="checkbox"><input type="checkbox" class="channels_ckbx" id="id_channel_{{$c.channel_id}}" name="channel[]" value="{{$c.channel_id}}"/></td>
<td class="tools">
<a href="{{$baseurl}}/admin/channels/block/{{$c.channel_id}}?t={{$form_security_token}}" class="btn btn-default btn-xs" title='{{if ($c.blocked)}}{{$unblock}}{{else}}{{$block}}{{/if}}'><i class='icon-ban-circle admin-icons {{if ($c.blocked)}}dim{{/if}}'></i></a>
+ <a href="{{$baseurl}}/admin/channels/code/{{$c.channel_id}}?t={{$form_security_token}}" class="btn btn-default btn-xs" title='{{if ($c.allowcode)}}{{$uncode}}{{else}}{{$code}}{{/if}}'><i class='icon-terminal admin-icons {{if ($c.allowcode)}}dim{{/if}}'></i></a>
<a href="{{$baseurl}}/admin/channels/delete/{{$c.channel_id}}?t={{$form_security_token}}" class="btn btn-default btn-xs" title='{{$delete}}' onclick="return confirm_delete('{{$c.channel_name}}')"><i class='icon-trash admin-icons'></i></a>
</td>
</tr>
@@ -42,7 +43,7 @@
</tbody>
</table>
<div class='selectall'><a href='#' onclick="return selectall('channels_ckbx');">{{$select_all}}</a></div>
- <div class="submit"><input type="submit" name="page_channels_block" value="{{$block}}/{{$unblock}}" /> <input type="submit" name="page_channels_delete" value="{{$delete}}" onclick="return confirm_delete_multi()" /></div>
+ <div class="submit"><input type="submit" name="page_channels_block" value="{{$block}}/{{$unblock}}" /> <input type="submit" name="page_channels_code" value="{{$code}}/{{$uncode}}" /> <input type="submit" name="page_channels_delete" value="{{$delete}}" onclick="return confirm_delete_multi()" /></div>
{{else}}
NO CHANNELS?!?
{{/if}}