diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-01-04 10:35:24 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-01-04 10:35:24 +0000 |
| commit | bd443d5587cb568520c8ca2ea0e98ac0c7e5ac29 (patch) | |
| tree | 340429f3012365b1aa16813e6bf46fcafe7faf56 /frontends/php/include/config.inc.php | |
| parent | e13f6fe7b67ca1e1a7538ae44c34126e111b5619 (diff) | |
| download | zabbix-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.php | 9 |
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=" "; + if(($num&1)==1) $str=$str.S_ADD." "; + if(($num&2)==2) $str=$str.S_UPDATE." "; + if(($num&4)==4) $str=$str.S_DELETE." "; + return $str; + } function get_media_count_by_userid($userid) { |
