Changeset 329
- Timestamp:
- 12/15/06 00:11:12 (2 years ago)
- Files:
-
- trunk/build/manifests/jelix-lib.mn (modified) (1 diff)
- trunk/lib/diff/diffhtml.php (modified) (1 diff)
- trunk/lib/diff/difflib.php (modified) (1 diff)
- trunk/lib/jelix-scripts/commands/createdao.cmd.php (modified) (1 diff)
- trunk/lib/jelix-scripts/scripts.conf.php (modified) (1 diff)
- trunk/lib/jelix/core/defaultconfig.ini.php (modified) (2 diffs)
- trunk/lib/jelix/core/jLocale.class.php (modified) (2 diffs)
- trunk/lib/jelix/core/response/jResponseJson.class.php (added)
- trunk/lib/jelix/tpl/plugins/common/block.ifnotacl.php (modified) (1 diff)
- trunk/lib/jelix/tpl/plugins/common/block.ifuserconnected.php (modified) (1 diff)
- trunk/lib/jelix/tpl/plugins/common/block.ifusernotconnected.php (modified) (1 diff)
- trunk/lib/jelix/utils/jWiki.class.php (modified) (2 diffs)
- trunk/lib/wikirenderer/rules/classicwr_to_text.php (modified) (2 diffs)
- trunk/lib/wikirenderer/rules/classicwr_to_wr3.php (modified) (1 diff)
- trunk/lib/wikirenderer/rules/classicwr_to_xhtml.php (modified) (1 diff)
- trunk/lib/wikirenderer/rules/wr3_to_text.php (modified) (1 diff)
- trunk/lib/wikirenderer/rules/wr3_to_xhtml.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/build/manifests/jelix-lib.mn
r323 r329 45 45 jResponseHtml.class.php 46 46 jResponseJsonrpc.class.php 47 * jResponseJson.class.php 47 48 jResponseRedirect.class.php 48 49 jResponseRedirectUrl.class.php trunk/lib/diff/diffhtml.php
r278 r329 124 124 class HtmlUnifiedDiffFormatter extends UnifiedDiffFormatter 125 125 { 126 var$result;126 public $result; 127 127 128 128 function __construct($context_lines = 4) { trunk/lib/diff/difflib.php
r278 r329 704 704 705 705 $xi = $yi = 1; 706 $x0 = $y0 = 0; 706 707 $block = false; 707 708 $context = array(); trunk/lib/jelix-scripts/commands/createdao.cmd.php
r153 r329 116 116 $primarykeys.=$fieldname; 117 117 } 118 if($prop->not_null )118 if($prop->not_null && $type != 'autoincrement') 119 119 $properties.=' required="yes"'; 120 120 $properties.='/>'; trunk/lib/jelix-scripts/scripts.conf.php
r277 r329 35 35 */ 36 36 37 define('JELIXS_APP_CONFIG_FILE' , ' index/config.ini.php');37 define('JELIXS_APP_CONFIG_FILE' , 'defaultconfig.ini.php'); 38 38 define('DO_CHMOD',false); // indique si lors de la cr�ion des fichiers, il faut faire un chmod 39 39 define('CHMOD_FILE_VALUE',0644); trunk/lib/jelix/core/defaultconfig.ini.php
r321 r329 34 34 text = jResponseText 35 35 jsonrpc = jResponseJsonrpc 36 json = jResponseJson 36 37 xmlrpc = jResponseXmlrpc 37 38 xul = jResponseXul … … 53 54 text = jResponseText 54 55 jsonrpc = jResponseJsonrpc 56 json = jResponseJson 55 57 xmlrpc = jResponseXmlrpc 56 58 xul = jResponseXul trunk/lib/jelix/core/jLocale.class.php
r311 r329 24 24 */ 25 25 class jBundle { 26 var$fic;27 var$locale;26 public $fic; 27 public $locale; 28 28 29 29 private $_loadedCharset = array (); … … 114 114 $multiline=false; 115 115 $linenumber=0; 116 $key=''; 116 117 while (!feof($f)) { 117 118 if($line=fgets($f)){ trunk/lib/jelix/tpl/plugins/common/block.ifnotacl.php
r312 r329 25 25 $content = ' if(!jAcl::check('.$params[0].','.$params[1].')){'; 26 26 }elseif(count($params) == 3){ 27 $content = ' if(!jAcl::check('.$param [0].','.$params[1].','.$params[2].')){';27 $content = ' if(!jAcl::check('.$params[0].','.$params[1].','.$params[2].')){'; 28 28 }else{ 29 29 $content=''; trunk/lib/jelix/tpl/plugins/common/block.ifuserconnected.php
r248 r329 22 22 { 23 23 if($begin){ 24 if(count($param )){24 if(count($params)){ 25 25 $content=''; 26 26 $compiler->doError1('errors.tplplugin.block.too.many.arguments','ifuserconnected'); trunk/lib/jelix/tpl/plugins/common/block.ifusernotconnected.php
r248 r329 22 22 { 23 23 if($begin){ 24 if(count($param )){24 if(count($params)){ 25 25 $content=''; 26 26 $compiler->doError1('errors.tplplugin.block.too.many.arguments','ifuserconnected'); trunk/lib/jelix/utils/jWiki.class.php
r279 r329 3 3 * @package jelix 4 4 * @subpackage utils 5 * @version $Id$6 5 * @author Jouanneau Laurent 7 6 * @contributor … … 23 22 // Profitons surtout de l'autoload :-) 24 23 25 26 static function getConfig($name){27 $f = WIKIRENDERER_PATH.'rules/'.basename($config).'.php';28 if(file_exists($f)){29 require_once($f);30 return new $config();31 }else32 throw new Exception('Wikirenderer : bad config name');33 }34 35 24 } 36 25 ?> trunk/lib/wikirenderer/rules/classicwr_to_text.php
r279 r329 90 90 91 91 class cwrtext_acronym extends WikiTag { 92 var $name='acronym';93 92 public $beginTag='??'; 94 93 public $endTag='??'; … … 131 130 132 131 class cwrtext_image extends WikiTag { 133 protected $name='image';134 132 public $beginTag='(('; 135 133 public $endTag='))'; trunk/lib/wikirenderer/rules/classicwr_to_wr3.php
r279 r329 137 137 138 138 class cwrwr3_image extends WikiTag { 139 protected $name='image';140 139 public $beginTag='(('; 141 140 public $endTag='))'; trunk/lib/wikirenderer/rules/classicwr_to_xhtml.php
r279 r329 81 81 82 82 class cwrxhtml_acronym extends WikiTagXhtml { 83 var$name='acronym';83 protected $name='acronym'; 84 84 public $beginTag='??'; 85 85 public $endTag='??'; trunk/lib/wikirenderer/rules/wr3_to_text.php
r279 r329 91 91 92 92 class wr3text_acronym extends WikiTag { 93 var $name='acronym';94 93 public $beginTag='??'; 95 94 public $endTag='??'; trunk/lib/wikirenderer/rules/wr3_to_xhtml.php
r279 r329 109 109 110 110 class wr3xhtml_acronym extends WikiTagXhtml { 111 var$name='acronym';111 protected $name='acronym'; 112 112 public $beginTag='??'; 113 113 public $endTag='??';
