summaryrefslogtreecommitdiff
path: root/templates/protector_service_icon.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protector_service_icon.tpl')
-rwxr-xr-xtemplates/protector_service_icon.tpl16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/protector_service_icon.tpl b/templates/protector_service_icon.tpl
new file mode 100755
index 0000000..83452a5
--- /dev/null
+++ b/templates/protector_service_icon.tpl
@@ -0,0 +1,16 @@
+{if !$serviceHash and $gContent->mInfo}
+ {assign var=serviceHash value=$gContent->mInfo}
+{/if}
+
+{if !empty($serviceHash.is_hidden) and $serviceHash.is_hidden=='y'}
+ {assign var=securityLabel value="Hidden"}
+{/if}
+{if !empty($serviceHash.is_private) and $serviceHash.is_private=='y'}
+ {assign var=securityLabel value="Private"}
+{/if}
+{if !empty($serviceHash.access_answer) and $serviceHash.access_answer}
+ {assign var=securityLabel value="Password Required"}
+{/if}
+{if !empty($securityLabel)}
+ {booticon iname="icon-lock" ipackage="icons" iexplain=$securityLabel iforce=icon_text}
+{/if}