Index: WAeUP_SRP/base/skins/cps_custom/main_template_popup.pt
===================================================================
--- WAeUP_SRP/base/skins/cps_custom/main_template_popup.pt	(revision 2918)
+++ WAeUP_SRP/base/skins/cps_custom/main_template_popup.pt	(revision 2918)
@@ -0,0 +1,48 @@
+<metal:block define-macro="master" tal:define="
+  showthirdcol showthirdcol|python:1;
+  emptybody emptybody|request/emptybody|nothing;
+  utool nocall:here/portal_url;
+  atool here/portal_actions;
+  mtool here/portal_membership;
+  ttool here/portal_trees;
+  wtool here/portal_workflow;
+  context_url python:here.getContextUrl(utool=utool);
+  base_url python:utool.getBaseUrl();
+  
+  static_dir here/portal_properties/static_dir;
+  static_base_url string:${here/getBaseUrl}${static_dir};
+  
+  
+  here_url python:here.absolute_url();
+  member mtool/getAuthenticatedMember;
+  isAnon mtool/isAnonymousUser;
+  actions python:atool.listFilteredActionsFor(here);
+  wf_state python:wtool.getInfoFor(here,'review_state','');
+  uname python:isAnon and 'Guest' or member.getUserName();
+  checkPerm nocall:mtool/checkPermission;
+  cpsmcat nocall:here/translation_service;
+  locale here/translation_service/getSelectedLanguage;
+  in_ws here/isInWorkspace;
+  "><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+  tal:attributes="lang locale; xml:lang locale">
+<head>
+<metal:block use-macro="here/header_lib_header/macros/header">
+  <metal:block fill-slot="base"><metal:block define-slot="base"><base
+    href="" tal:attributes="href string:${here_url}/"
+    /></metal:block></metal:block>
+  <metal:block fill-slot="head_slot"><metal:block define-slot="head_slot"
+    /></metal:block>
+  <metal:block fill-slot="style_slot"><metal:block define-slot="style_slot"
+    /></metal:block>
+  <metal:block fill-slot="javascript_head_slot"><metal:block
+    define-slot="javascript_head_slot"
+    /></metal:block>
+</metal:block>
+</head>
+<body OnLoad="setFocus()" tal:condition="emptybody">
+  <metal:block define-slot="body" />
+  <metal:block define-slot="main" />
+</body>
+</html>
+</metal:block>
