Ticket #480: patch-480-496-4.diff

File patch-480-496-4.diff, 4.6 kB (added by bastnic, 5 months ago)

need a first review ;)

  • build/manifests/jelix-lib.mn

    old new  
    101101  auth.ISO-8859-1.properties 
    102102  auth.ISO-8859-15.properties 
    103103  auth.UTF-8.properties 
     104  check_install.UTF-8.properties 
    104105  common.ISO-8859-1.properties 
    105106  common.ISO-8859-15.properties 
    106107  common.UTF-8.properties 
     
    138139  auth.ISO-8859-1.properties 
    139140  auth.ISO-8859-15.properties 
    140141  auth.UTF-8.properties 
     142  check_install.UTF-8.properties 
    141143  common.ISO-8859-1.properties 
    142144  common.ISO-8859-15.properties 
    143145  common.UTF-8.properties 
     
    175177  auth.ISO-8859-1.properties 
    176178  auth.ISO-8859-15.properties 
    177179  auth.UTF-8.properties 
     180  check_install.UTF-8.properties 
    178181  common.ISO-8859-1.properties 
    179182  common.ISO-8859-15.properties 
    180183  common.UTF-8.properties 
     
    214217  crud_list.tpl 
    215218  crud_edit.tpl 
    216219  crud_view.tpl 
     220  check_install.tpl 
     221cd lib/jelix/core-modules/jelix/zones 
     222  check_install.zone.php 
    217223 
    218224cd lib/jelix/dao 
    219225  jDaoRecordBase.class.php 
  • lib/jelix-scripts/templates/controller.tpl

    old new  
    1414    */ 
    1515    function %%method%%() { 
    1616        $rep = $this->getResponse('html'); 
    17          
     17 
     18                // this is a call for the 'welcome' zone after creating a new application 
     19                // remove this line 
     20        $rep->body->assignZone('MAIN', 'jelix~check_install');  
     21 
    1822        return $rep; 
    1923    } 
    2024} 
  • lib/jelix-scripts/templates/var/config/defaultconfig.ini.php.tpl

    old new  
    5454; name of url engine :  "simple" or "significant" 
    5555engine        = simple 
    5656 
     57; this is the url path to the jelix-www content (you can found this content in lib/jelix-www/) 
     58; because the jelix-www directory is outside the yourapp/www/ directory, you should create a link to 
     59; jelix-www, or copy its content in yourapp/www/ (with a name like 'jelix' for example) 
     60; so you should indicate the relative path of this link/directory to the basePath, or an absolute path. 
     61jelixWWWPath = "jelix/" 
     62 
     63 
    5764; enable the parsing of the url. Set it to off if the url is already parsed by another program 
    5865; (like mod_rewrite in apache), if the rewrite of the url corresponds to a simple url, and if 
    5966; you use the significant engine. If you use the simple url engine, you can set to off. 
  • lib/jelix/checker.php

    old new  
    6262        }else{ 
    6363            echo '<p>',$checker->messages->get('conclusion.ok'),'</p>'; 
    6464        } 
     65        echo "</div>"; 
    6566    } 
    6667} 
    6768$check = new jInstallCheck(new jHtmlInstallChecker); 
  • lib/jelix-www/design/jelix.css

    old new  
    1 body { 
    2     font-family: Arial, Helvetica, sans-serif; 
    3     font-size: 0.7em; 
     1/* 
     2 * Design and CSS file by Laurent Jouanneau for jelix.org 
     3 * Copyright (c) 2006-2007 by Laurent Jouanneau - adapted by Bastien Jaillot 
     4 * 
     5 * You cannot use this stylesheet on your own site without the permission of the author 
     6 * All right reserved 
     7 */ 
     8 
     9body {   
     10    font-family: Verdana, Arial, Sans;  
     11    font-size:0.8em; 
     12    margin:0; 
     13    background-color:#eff4f6; 
     14    padding-left:1em; 
     15    padding-right:1em; 
    416} 
     17 
     18.logo { 
     19    background: transparent url('images/logo_jelix_moyen.png') top left; 
     20    height: 60px; 
     21    width: 180px; 
     22    position: absolute; 
     23    top: 10px; 
     24    left: 10px; 
     25} 
     26 
     27a { color:#3f6f7a; text-decoration:underline; } 
     28a:visited {  color : #002830;} 
     29a:hover { color: #0f82af; background-color: #d7e7eb; } 
     30 
     31 
     32h1.apptitle { 
     33    margin: 32px 0 60px 200px; 
     34    font-size: 1.7em; 
     35    color: #002830; 
     36} 
     37 
     38/* 
     39 * checker 
     40 *********/ 
     41ul.checkresults { 
     42    border:3px solid black; 
     43    margin: 2em; 
     44    padding:1em; 
     45    list-style-type:none; 
     46} 
     47ul.checkresults li { margin:0; padding:5px; border-top:1px solid black; } 
     48li.checkerror   { background-color:#ff6666;} 
     49li.checkok      { background-color:#a4ffa9;} 
     50li.checkwarning { background-color:#ffbc8f;} 
     51 
     52.nocss { 
     53    display: none; 
     54} 
Download in other formats: Original Format