Changeset 2920 for WAeUP_SRP/base/skins/cps_custom
- Timestamp:
- 11 Dec 2007, 15:40:35 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/cps_custom/main_template_popup.pt
r2918 r2920 1 <metal:block define-macro="master" tal:define="2 showthirdcol showthirdcol|python:1;1 <metal:block define-macro="master" 2 tal:define="showthirdcol showthirdcol|python:1; 3 3 emptybody emptybody|request/emptybody|nothing; 4 mtool here/portal_membership; 5 4 6 utool nocall:here/portal_url; 5 7 atool here/portal_actions; 6 mtool here/portal_membership;7 8 ttool here/portal_trees; 8 9 wtool here/portal_workflow; 10 ptool here/portal_cpsportlets; 9 11 context_url python:here.getContextUrl(utool=utool); 10 base_url python:utool.getBaseUrl();11 12 here_url here/absolute_url; 13 base_url here/getBaseUrl; 12 14 static_dir here/portal_properties/static_dir; 13 15 static_base_url string:${here/getBaseUrl}${static_dir}; 14 15 16 here_url python:here.absolute_url();17 16 member mtool/getAuthenticatedMember; 18 17 isAnon mtool/isAnonymousUser; 18 isHomeless python:isAnon or member.getProperty('homeless', 0); 19 isHomeless python:(isHomeless == '0' and [0] or [isHomeless])[0]; 19 20 actions python:atool.listFilteredActionsFor(here); 20 21 wf_state python:wtool.getInfoFor(here,'review_state',''); 21 uname python: isAnon and 'Guest' or member.getUserName();22 checkPerm nocall: mtool/checkPermission;22 uname python: isAnon and 'Guest' or member.getUserName(); 23 checkPerm nocall: mtool/checkPermission; 23 24 cpsmcat nocall:here/translation_service; 24 25 locale here/translation_service/getSelectedLanguage; 25 26 in_ws here/isInWorkspace; 26 "><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 27 waeup_skin here/get_waeup_skin; 28 student_theme python:test(waeup_skin == 'WAeUP_Student',1,0); 29 navigation_slot python:test(student_theme,'student_navigation_slot','navigation_slot'); 30 object_tabs python:test(student_theme,'student_object_slot','staff_object_slot'); 31 32 "> 33 34 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 27 35 <html xmlns="http://www.w3.org/1999/xhtml" 28 36 tal:attributes="lang locale; xml:lang locale"> … … 34 42 <metal:block fill-slot="head_slot"><metal:block define-slot="head_slot" 35 43 /></metal:block> 36 <metal:block fill-slot="style_slot"><metal:block define-slot="style_slot" 37 /></metal:block> 44 38 45 <metal:block fill-slot="javascript_head_slot"><metal:block 39 46 define-slot="javascript_head_slot"
Note: See TracChangeset for help on using the changeset viewer.