Search:
Template:Directories > Template:ContactInformation

Template:ContactInformation

    Table of contents
    No headers
    var newPageContent = "<p class='hideInEditor'>{{wiki.template('ContactInformation')}}</p><h2>Professional Backround</h2><p>&nbsp;</p><p>&nbsp;</p><h2>Note</h2><p class='comment'> created by firstname.surname  dd/mm/yyyy - note </p><p>&nbsp;</p><p>&nbsp;</p>";
    var fields =  [
            { type:'html_label',  value: '<large>Contact Information</large> ',field:"" },
            { type:'html_hr',field:"" },
            { type:'html_text', label: 'Title: ', field: 'title' },
            { type:'html_text', label: 'Surname: ', field: 'surname',isrequired:true, help:'Page title (1)',jqmaxchars:50 },
            { type:'html_text', label: 'First name: ', field: 'firstname', isrequired:true, help:'Page title (2)', jqmaxchars:50 },
            { type:'html_text', label: 'Profession: ', field: 'occupation' },
            { type:'html_text', label: 'Personal Email: ', field: 'personal_email' },
            { type:'html_text', label: 'Work Email: ', field: 'work_email' },
            { type:'html_text', label: 'Mobile: ', field: 'mobile' },
            { type:'html_text', label: 'Telephone: ', field: 'telephone' },
            { type: "html_select", label: 'Facilitator Competence level: ', field: 'facilitator_competence_level', value:"", elements: { beginer:"beginer", someexperience:"some experience",experienced:"experienced",trainer:"trainer"}  },
            { type:'html_textarea', label: 'Note: ', field: 'note', newline:false },
            { type: 'html_hidden', label:"Data creazione", field: 'data_creazione', value: date.now, viewshow:false }
        ];
    <div id="DivFormContainer">
      XsysPrView{fields:fields,pathsearch:[page.path], newpagepath:$newpagepath, output:'div',prlist:['contact']};
      XsysPrEdit{fields: fields, prname:'contact', newpagepath:$newpagepath, titlefields:["surname","firstname"], newpagecontent:newPageContent };
    </div>
    <style>"
    /* forms */
    .hideInEditor { display: block ; }
    .deki-content-edit .hideInEditor { display: none ; }
    #DivFormContainer input { width:100%; }
    div.FormTitle{ font-size:120%; display:block; color:#000; border-bottom:1px solid #000; }
    div#FormMessages p{ display:block; width:100%; }
    div#FormMessages{ font-size:80%; color:#999; }
    /* to do: disabled style must be checked */
    div#DivFormEdit button[disabled] { background-image:none; background-color:#ddd; padding:1px; width:240px; }
    div.DivFormView .fRow, div#DivFormEdit .fRow{ border-bottom:1px dotted #000; padding:3px 0 3px 0; }
    div#DivFormContainer { background-color:#eee; border:1px solid #000; padding:7px; width:280px; float:right; }
    div.DivFormContainerInt { background-color:#eee; padding:0px; width:265px; float:right; }
    .fTitle { border-top:2px solid #000; padding:7px; font-size:130%; font-weight:bold; text-align:center; }
    .fLabel { font-weight:bold; vertical-align:middle; }
    .fField { vertical-align:middle; }
    .fHelp { font-size:80%; color:#999; }
    .frequired {background-color:#ffffcc}
    
    /* ----- jq autocomplete ----------- */
    .ac_results { padding: 0px; border: 1px solid black; background-color: white; overflow: hidden; z-index: 99999; }
    .ac_results ul { width: 100%; list-style-position: outside; list-style: none; padding: 0; margin: 0;}
    /* if width will be 100% horizontal scrollbar will apear  when scroll mode will be used */
    /* it is very important, if line-height not setted or setted  in relative units scroll will be broken in firefox */
    .ac_results li { margin: 0px; padding: 2px 5px; cursor: default; display: block; /*width: 100%;*/ font: menu; font-size: 12px; line-height: 16px; overflow: hidden; }
    .ac_loading { background: white url('indicator.gif') right center no-repeat; }
    .ac_odd { background-color: #eee; }
    .ac_over { background-color: #0A246A; color: white; }
    "</style>
    
    

    Files (0)

     

    Comments (0)

    You must login to post a comment.