Changeset 2340


Ignore:
Timestamp:
10 Oct 2007, 14:08:36 (17 years ago)
Author:
Henrik Bettermann
Message:

pde application added

Location:
WAeUP_SRP
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/cps_custom/cpsdocument_edit_form.pt

    r2217 r2340  
    1111    <link rel="Stylesheet" type="text/css" href=""
    1212      tal:attributes="href string:${base_url}document.css" />
    13 
    14     <metal:block define-macro="widgets_javascript">
    15     <!-- XXX this has to move to CPSSchemas -->
    16     <style type="text/css"
    17       tal:content="string:@import url(${base_url}calendar-win2k-1.css);"></style>
    18     <script type="text/javascript" src="calendar.js"
    19       tal:attributes="src string:${base_url}calendar.js"></script>
    20     <script type="text/javascript" src="lang/calendar-en.js"
    21       tal:define="local cpsmcat/getSelectedLanguage"
    22       tal:attributes="src string:${base_url}lang/calendar-${local}.js"></script>
    23     <script type="text/javascript" src="calendar-setup.js"
    24       tal:attributes="src string:${base_url}calendar-setup.js"></script>
    25     <script type="text/javascript" src="prototype.js"
    26       tal:attributes="src string:${base_url}prototype.js"></script>
    27     <script type="text/javascript" src="effects.js"
    28       tal:attributes="src string:${base_url}effects.js"></script>
    29     <script type="text/javascript" src="controls.js"
    30       tal:attributes="src string:${base_url}controls.js"></script>
    31     <script type="text/javascript" src="cpsdocument.js"
    32       tal:attributes="src string:${base_url}cpsdocument.js"></script>
    33     <tal:block condition="python:modules['Products.CPSUtil.integration'].isProductPresent('Products.FCKeditor')">
    34       <script type="text/javascript">
    35         var popup_editor_form = 'popup_fckeditor_form';
    36         var width = 640;
    37         var height = 520;
    38       </script>
    39     </tal:block>
    40     <tal:block condition="python:modules['Products.CPSUtil.integration'].isProductPresent('Products.Epoz')">
    41       <script type="text/javascript">
    42         var popup_editor_form = 'popup_rte_form';
    43         var width = 640;
    44         var height = 480;
    45       </script>
    46     </tal:block>
    47     <script type="text/javascript">
    48      function popup_rte(input_id, label_edit) {
    49        var args, value;
    50        value = document.getElementById(input_id).value;
    51        args = '?input_id='+input_id+'&amp;label_edit='+escape(label_edit);
    52        str_window_features = 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,dependent=1,width=' + width + ',height=' + height;
    53        popup = window.open(popup_editor_form + args, input_id, str_window_features);
    54        if (!popup.opener) {
    55          popup.opener = window;
    56        }
    57        return false;
    58      }
    59    </script>
    60    </metal:block>
    6113  </metal:block>
    6214
     
    6921            tal:content="type_info/Title">Type Title</tal:block>
    7022    </h3>
    71     <h1 tal:condition="not:creation">
     23    <h3 tal:condition="not:creation">
    7224      <tal:block condition="python: edition and not metadata"
    7325        i18n:translate="">Edit <span id="page_title" i18n:name="title"
     
    7527      <tal:block tal:condition="metadata"
    7628        i18n:translate="">Metadata of <span i18n:name="title" tal:content="here/title_or_id">Page Title</span></tal:block>
    77     </h1>
     29    </h3>
    7830  </metal:block>
    7931
  • WAeUP_SRP/base/skins/waeup_design/default.css.dtml

    r2310 r2340  
    789789
    790790
     791
     792<dtml-comment>
     793
     794The read star is not really necessary!
     795
    791796.required {
    792797  padding-right: 0.5em;
    793798  background: <dtml-var requiredField>;
    794799}
     800</dtml-comment>
    795801
    796802.error {
  • WAeUP_SRP/base/skins/waeup_design/stylesheet_properties.props

    r2277 r2340  
    5454groupBorder:string=0px none transparent
    5555requiredField:string=url(required.png) right no-repeat
     56
    5657
    5758inputFont:string=100% Arial, sans-serif, Verdana, Helvetica
  • WAeUP_SRP/base/skins/waeup_student/apply_admission.py

    r2328 r2340  
    8686headings = {}
    8787headings['pume'] = 'Apply for Post UME Screening Test (2007/2008)! '
    88 headings['pde'] = 'Apply for Post DE Screening Test(2007/2008)! '
     88headings['pde'] = 'Apply for Post DE Screening Test (2007/2008)! '
    8989headings['prence'] = 'Apply for Pre-NCE Programme (2007/2008)! '
    9090headings['pce'] = 'Apply for PCE Screening (2007/2008)! '
     
    112112    info['heading_slip'] = headings_slip[screening_type]
    113113    layout = "application_%s" % screening_type
    114     without_reg_no = screening_type in ('prence',) 
     114    without_reg_no = screening_type in ('prence',)
    115115else:
    116116    return request.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url())
  • WAeUP_SRP/fceokene/profiles/default/layouts.xml

    r2312 r2340  
    77  <object name="academics_search" meta_type="CPS Layout"/>
    88  <object name="application_pume" meta_type="CPS Layout"/>
     9  <object name="application_pde" meta_type="CPS Layout"/>
    910  <object name="application_prence" meta_type="CPS Layout"/>
    1011  <object name="application_pce" meta_type="CPS Layout"/>
  • WAeUP_SRP/fceokene/profiles/default/schemas/application.xml

    r2111 r2340  
    2525 <field name="reg_no" meta_type="CPS String Field"/>
    2626 <field name="date_of_birth" meta_type="CPS DateTime Field"/>
     27 <field name="jamb_age" meta_type="CPS String Field"/>
     28 <field name="jamb_state" meta_type="CPS String Field"/>
     29 <field name="jamb_lga" meta_type="CPS String Field"/>
    2730 <field name="application_date" meta_type="CPS DateTime Field"/>
    2831 <field name="score" meta_type="CPS Int Field"/>
Note: See TracChangeset for help on using the changeset viewer.