Ignore:
Timestamp:
12 Nov 2007, 10:58:15 (17 years ago)
Author:
Henrik Bettermann
Message:

configure and use statid directory on server

Location:
WAeUP_SRP/fceokene/waeup_custom
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/fceokene/waeup_custom/main_template.pt

    r2535 r2628  
    1212  here_url here/absolute_url;
    1313  base_url here/getBaseUrl;
     14  static_dir here/portal_properties/static_dir;
     15  static_base_url string:${here/getBaseUrl}${static_dir};
    1416  member mtool/getAuthenticatedMember;
    1517  isAnon mtool/isAnonymousUser;
     
    4749        <metal:block fill-slot="style_slot">
    4850          <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" />
    5052          <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" />
    5254          <metal:block define-slot="style_slot" />
    5355        </metal:block>
     
    5860      <link rel="icon"
    5961            href="ng.png"
    60             tal:attributes="href string:${base_url}ng.png"
     62            tal:attributes="href string:${static_base_url}ng.png"
    6163            type="image/png" />
    6264      <link rel="shortcut icon"
    6365            href="icons/ng.png"
    64             tal:attributes="href string:${base_url}ng.png"
     66            tal:attributes="href string:${static_base_url}ng.png"
    6567            type="image/png" />
    6668    </head>
     
    8587            <td style="width: 20px;"></td>
    8688            <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" />
    8890            </td>
    8991            <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  
    1212  here_url here/absolute_url;
    1313  base_url here/getBaseUrl;
     14  static_dir here/portal_properties/static_dir;
     15  static_base_url string:${base_url}${static_dir};   
    1416  member mtool/getAuthenticatedMember;
    1517  isAnon mtool/isAnonymousUser;
     
    4345        <metal:block fill-slot="style_slot">
    4446          <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" />
    4648          <metal:block define-slot="style_slot" />
    4749        </metal:block>
     
    5254      <link rel="icon"
    5355            href="ng.png"
    54             tal:attributes="href string:${base_url}ng.png"
     56            tal:attributes="href string:${static_base_url}ng.png"
    5557            type="image/png" />
    5658      <link rel="shortcut icon"
    5759            href="icons/ng.png"
    58             tal:attributes="href string:${base_url}ng.png"
     60            tal:attributes="href string:${static_base_url}ng.png"
    5961            type="image/png" />
    6062    </head>
     
    7779          <td style="width: 20px;" valign="top"></td>
    7880          <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"
    8082                     height="84"  />
    8183          </td>
Note: See TracChangeset for help on using the changeset viewer.