Andy Baugh 6 жил өмнө
parent
commit
50da751879

+ 14 - 13
notification-center/notification-center.tt

@@ -1,18 +1,19 @@
-[% USE Whostmgr -%]
+[%
+    USE Whostmgr
 
- SET PAGE_BASE = '/cgi/addon_notification-center.cgi';
- SET PAGE_PATH = cp_security_token _ PAGE_BASE _ '/';
- SET BASE_URL = (Whostmgr.ENV.HTTPS == 'on' ? 'https://' : 'http://') _ Whostmgr.ENV.HTTP_HOST _ ':' _ Whostmgr.ENV.SERVER_PORT _ PAGE_PATH;
+    SET PAGE_BASE = '/cgi/addon_notification-center.cgi';
+    SET PAGE_PATH = cp_security_token _ PAGE_BASE _ '/';
+    SET BASE_URL = (Whostmgr.ENV.HTTPS == 'on' ? 'https://' : 'http://') _ Whostmgr.ENV.HTTP_HOST _ ':' _ Whostmgr.ENV.SERVER_PORT _ PAGE_PATH;
 
-[% WRAPPER 'master_templates/master.tmpl'
-    app_key = 'Notification Center'
-    header = locale.maketext('Notification Center')
-    icon = '/addon_plugins/nfcenter.png'
-    breadcrumburl = PAGE_BASE
-    base = BASE_URL
-    theme = "bootstrap"
-    CJT2_EXCLUSIVE = 0
--%]
+    WRAPPER 'master_templates/master.tmpl'
+        app_key = 'Notification Center'
+        header = locale.maketext('Notification Center')
+        icon = '/addon_plugins/nfcenter.png'
+        breadcrumburl = PAGE_BASE
+        base = BASE_URL
+        theme = "bootstrap"
+        CJT2_EXCLUSIVE = 0
+%]
 
 <table id="notificationsTable" class="table table-striped responsive-table" border="1" cellspacing="0" cellpadding="2" >
     <thead>