summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/config.inc.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-01-04 10:35:24 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-01-04 10:35:24 +0000
commitbd443d5587cb568520c8ca2ea0e98ac0c7e5ac29 (patch)
tree340429f3012365b1aa16813e6bf46fcafe7faf56 /frontends/php/include/config.inc.php
parente13f6fe7b67ca1e1a7538ae44c34126e111b5619 (diff)
downloadzabbix-bd443d5587cb568520c8ca2ea0e98ac0c7e5ac29.tar.gz
zabbix-bd443d5587cb568520c8ca2ea0e98ac0c7e5ac29.tar.xz
zabbix-bd443d5587cb568520c8ca2ea0e98ac0c7e5ac29.zip
Added screen for host-templates linkage.
git-svn-id: svn://svn.zabbix.com/trunk@1578 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/config.inc.php')
-rw-r--r--frontends/php/include/config.inc.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php
index fc229949..38519007 100644
--- a/frontends/php/include/config.inc.php
+++ b/frontends/php/include/config.inc.php
@@ -139,6 +139,15 @@
return "$s $u$units";
}
+
+ function get_template_permission_str($num)
+ {
+ $str="&nbsp;";
+ if(($num&1)==1) $str=$str.S_ADD."&nbsp;";
+ if(($num&2)==2) $str=$str.S_UPDATE."&nbsp;";
+ if(($num&4)==4) $str=$str.S_DELETE."&nbsp;";
+ return $str;
+ }
function get_media_count_by_userid($userid)
{