Changeset 2628
- Timestamp:
- 12 Nov 2007, 10:58:15 (17 years ago)
- Location:
- WAeUP_SRP
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/cps_custom/config_form.pt
r2454 r2628 82 82 <tr> 83 83 <th> 84 <label> 85 Static Directory on Server 86 </label> 87 </th> 88 <td> 89 <input name="static_dir" id="portal_session" value="" 90 tal:attributes="value pprops/static_dir" /> 91 </td> 92 </tr> 93 <tr> 94 <th> 84 95 <label for="portal_description" 85 96 i18n:translate="label_portal_description"> -
WAeUP_SRP/base/skins/cps_custom/reconfig.py
r2454 r2628 17 17 description=form.get('description'), 18 18 session=form.get('session'), 19 static_dir=form.get('static_dir'), 19 20 ) 20 21 -
WAeUP_SRP/base/skins/waeup_design/header_lib_header.pt
r1737 r2628 18 18 <metal:block define-slot="base"></metal:block> 19 19 <link rel="stylesheet" type="text/css" media="all" 20 tal:attributes="href string:${ base_url}default.css" />20 tal:attributes="href string:${static_base_url}default.css" /> 21 21 <link tal:condition="btool|nothing" rel="stylesheet" type="text/css" 22 22 media="all" tal:attributes="href string:${base_url}boxes.css" /> 23 23 <tal:block replace="structure string:<!--[if IE]>" /><link 24 24 rel="stylesheet" type="text/css" 25 tal:attributes="href string:${ base_url}msie.css" /><tal:block25 tal:attributes="href string:${static_base_url}msie.css" /><tal:block 26 26 replace="structure string:<![endif]-->" /> 27 27 <link rel="stylesheet" type="text/css" media="print" 28 tal:attributes="href string:${ base_url}default_print.css"/>28 tal:attributes="href string:${static_base_url}default_print.css"/> 29 29 <meta http-equiv="imagetoolbar" content="no" /> 30 30 <metal:block define-slot="head_slot"></metal:block> … … 32 32 <link rel="stylesheet" type="text/css" media="all" 33 33 tal:condition="exists: here/custom.css" 34 tal:attributes="href string:${ base_url}custom.css;"/>34 tal:attributes="href string:${static_base_url}custom.css;"/> 35 35 <link rel="stylesheet" type="text/css" media="all" 36 36 tal:define="custom_css here/getCPSCustomCSS|nothing" 37 37 tal:condition="custom_css" 38 tal:attributes="href string:${ base_url}${custom_css}"/>38 tal:attributes="href string:${static_base_url}${custom_css}"/> 39 39 <metal:block define-slot="javascript_head_slot"></metal:block> 40 40 <script type="text/javascript" 41 tal:attributes="src string:${ base_url}functions.js"></script>41 tal:attributes="src string:${static_base_url}functions.js"></script> 42 42 </metal:block> -
WAeUP_SRP/base/skins/waeup_design/main_template.pt
r2535 r2628 11 11 context_url python:here.getContextUrl(utool=utool); 12 12 here_url here/absolute_url; 13 static_dir here/portal_properties/static_dir; 14 static_base_url string:${here/getBaseUrl}${static_dir}; 13 15 base_url here/getBaseUrl; 14 16 member mtool/getAuthenticatedMember; … … 47 49 <metal:block fill-slot="style_slot"> 48 50 <link rel="stylesheet" type="text/css" media="all" 49 tal:attributes="href string:${ base_url}common.css" />51 tal:attributes="href string:${static_base_url}common.css" /> 50 52 <link rel="stylesheet" type="text/css" media="all" 51 tal:attributes="href string:${ base_url}${waeup_skin}/render.css" />53 tal:attributes="href string:${static_base_url}${waeup_skin}/render.css" /> 52 54 <metal:block define-slot="style_slot" /> 53 55 </metal:block> … … 58 60 <link rel="icon" 59 61 href="ng.png" 60 tal:attributes="href string:${ base_url}ng.png"62 tal:attributes="href string:${static_base_url}ng.png" 61 63 type="image/png" /> 62 64 <link rel="shortcut icon" 63 65 href="icons/ng.png" 64 tal:attributes="href string:${ base_url}ng.png"66 tal:attributes="href string:${static_base_url}ng.png" 65 67 type="image/png" /> 66 68 </head> … … 85 87 <td style="width: 20px;"></td> 86 88 <td valign="top" style="width: 120px; padding: 10px 10px 0 0; text-align: right;"> 87 <img tal:attributes="src string:${ base_url}logo_left.jpg" alt="Logo" />89 <img tal:attributes="src string:${static_base_url}logo_left.jpg" alt="Logo" /> 88 90 </td> 89 91 <td style="padding: 27px 0 0 0; text-align: left;" valign="top"> 90 <img tal:attributes="src string:${ base_url}logo_right.gif" alt="Logo" />92 <img tal:attributes="src string:${static_base_url}logo_right.gif" alt="Logo" /> 91 93 </td> 92 94 <td style="width: 20px;"></td> -
WAeUP_SRP/base/skins/waeup_design/slip_template.pt
r2271 r2628 11 11 context_url python:here.getContextUrl(utool=utool); 12 12 here_url here/absolute_url; 13 base_url here/getBaseUrl; 13 base_url here/getBaseUrl; 14 static_dir here/portal_properties/static_dir; 15 static_base_url string:${base_url}${static_dir}; 14 16 member mtool/getAuthenticatedMember; 15 17 isAnon mtool/isAnonymousUser; … … 43 45 <metal:block fill-slot="style_slot"> 44 46 <link rel="stylesheet" type="text/css" media="all" 45 tal:attributes="href string:${ base_url}common.css" />47 tal:attributes="href string:${static_base_url}common.css" /> 46 48 <metal:block define-slot="style_slot" /> 47 49 </metal:block> … … 52 54 <link rel="icon" 53 55 href="ng.png" 54 tal:attributes="href string:${ base_url}ng.png"56 tal:attributes="href string:${static_base_url}ng.png" 55 57 type="image/png" /> 56 58 <link rel="shortcut icon" 57 59 href="icons/ng.png" 58 tal:attributes="href string:${ base_url}ng.png"60 tal:attributes="href string:${static_base_url}ng.png" 59 61 type="image/png" /> 60 62 </head> … … 77 79 <td style="width: 20px;" valign="top"></td> 78 80 <td valign="top" style="width: 80px; padding: 0.5em; text-align: right;"> 79 <img tal:attributes="src string:${ base_url}logo_left.jpg" alt="Logo"81 <img tal:attributes="src string:${static_base_url}logo_left.jpg" alt="Logo" 80 82 height="84" width="82" /> 81 83 </td> 82 84 <td style="padding: 2em 0em 0em 0em; text-align: left;" valign="top"> 83 <img tal:attributes="src string:${ base_url}logo_right.gif"85 <img tal:attributes="src string:${static_base_url}logo_right.gif" 84 86 alt="Logo" height="51" width="234" /> 85 87 </td> -
WAeUP_SRP/fceokene/profiles/customized_files.txt
r2527 r2628 3 3 layouts/acco_hall.xml 4 4 vocabularies/cos.xml (edited by Issoufou) 5 vocabularies/levels.xml -
WAeUP_SRP/fceokene/profiles/default/properties.xml
r2466 r2628 5 5 <property name="enable_portal_joining" type="boolean">False</property> 6 6 <property name="session" type="string">2006/2007</property> 7 <property name="static_dir" type="string">static/</property> 7 8 </site> -
WAeUP_SRP/fceokene/waeup_custom/main_template.pt
r2535 r2628 12 12 here_url here/absolute_url; 13 13 base_url here/getBaseUrl; 14 static_dir here/portal_properties/static_dir; 15 static_base_url string:${here/getBaseUrl}${static_dir}; 14 16 member mtool/getAuthenticatedMember; 15 17 isAnon mtool/isAnonymousUser; … … 47 49 <metal:block fill-slot="style_slot"> 48 50 <link rel="stylesheet" type="text/css" media="all" 49 tal:attributes="href string:${ base_url}common.css" />51 tal:attributes="href string:${static_base_url}common.css" /> 50 52 <link rel="stylesheet" type="text/css" media="all" 51 tal:attributes="href string:${ base_url}${waeup_skin}/render.css" />53 tal:attributes="href string:${static_base_url}${waeup_skin}/render.css" /> 52 54 <metal:block define-slot="style_slot" /> 53 55 </metal:block> … … 58 60 <link rel="icon" 59 61 href="ng.png" 60 tal:attributes="href string:${ base_url}ng.png"62 tal:attributes="href string:${static_base_url}ng.png" 61 63 type="image/png" /> 62 64 <link rel="shortcut icon" 63 65 href="icons/ng.png" 64 tal:attributes="href string:${ base_url}ng.png"66 tal:attributes="href string:${static_base_url}ng.png" 65 67 type="image/png" /> 66 68 </head> … … 85 87 <td style="width: 20px;"></td> 86 88 <td style="width: 170px; text-align: center; padding-top: 0.5em;"> 87 <img tal:attributes="src string:${ base_url}logo_left.jpg" alt="Logo" />89 <img tal:attributes="src string:${static_base_url}logo_left.jpg" alt="Logo" /> 88 90 </td> 89 91 <td padding=0.5em><h1>Federal College of Education Okene<br />Kogi State, Nigeria</h1></td> -
WAeUP_SRP/fceokene/waeup_custom/slip_template.pt
r2277 r2628 12 12 here_url here/absolute_url; 13 13 base_url here/getBaseUrl; 14 static_dir here/portal_properties/static_dir; 15 static_base_url string:${base_url}${static_dir}; 14 16 member mtool/getAuthenticatedMember; 15 17 isAnon mtool/isAnonymousUser; … … 43 45 <metal:block fill-slot="style_slot"> 44 46 <link rel="stylesheet" type="text/css" media="all" 45 tal:attributes="href string:${ base_url}common.css" />47 tal:attributes="href string:${static_base_url}common.css" /> 46 48 <metal:block define-slot="style_slot" /> 47 49 </metal:block> … … 52 54 <link rel="icon" 53 55 href="ng.png" 54 tal:attributes="href string:${ base_url}ng.png"56 tal:attributes="href string:${static_base_url}ng.png" 55 57 type="image/png" /> 56 58 <link rel="shortcut icon" 57 59 href="icons/ng.png" 58 tal:attributes="href string:${ base_url}ng.png"60 tal:attributes="href string:${static_base_url}ng.png" 59 61 type="image/png" /> 60 62 </head> … … 77 79 <td style="width: 20px;" valign="top"></td> 78 80 <td valign="top" style="width: 80px; padding: 0.5em; text-align: right;"> 79 <img tal:attributes="src string:${ base_url}logo_left.jpg" alt="Logo"81 <img tal:attributes="src string:${static_base_url}logo_left.jpg" alt="Logo" 80 82 height="84" /> 81 83 </td>
Note: See TracChangeset for help on using the changeset viewer.