luciash | 1 Aug 01:43 2006
Picon
Picon

tiki/lib/wiki-plugins wikiplugin_module.php, 1.20.2.12, 1.20.2.13

Update of /cvsroot/tikiwiki/tiki/lib/wiki-plugins
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv26499/lib/wiki-plugins

Modified Files:
      Tag: BRANCH-1-9
	wikiplugin_module.php 
Log Message:
[FIX] changed parameter: align -> float

Index: wikiplugin_module.php
===================================================================
RCS file: /cvsroot/tikiwiki/tiki/lib/wiki-plugins/wikiplugin_module.php,v
retrieving revision 1.20.2.12
retrieving revision 1.20.2.13
diff -u -d -r1.20.2.12 -r1.20.2.13
--- wikiplugin_module.php	31 Jul 2006 22:40:29 -0000	1.20.2.12
+++ wikiplugin_module.php	31 Jul 2006 23:43:07 -0000	1.20.2.13
 <at>  <at>  -4,7 +4,7  <at>  <at> 

 Parameters
 module name : module=>lambda
-align : align=>(left|center|right)
+float : float=>(left|none|right)
 max : max=>20
 np : np=>(0|1) # (for non-parsed content)
 flip : flip=>(n|y)
 <at>  <at>  -12,12 +12,12  <at>  <at> 
 module args : arg=>value (depends on module)

 Example:
(Continue reading)

luciash | 1 Aug 15:27 2006
Picon
Picon

tiki/styles tiki.css,1.29.2.39,1.29.2.40

Update of /cvsroot/tikiwiki/tiki/styles
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv15612/styles

Modified Files:
      Tag: BRANCH-1-9
	tiki.css 
Log Message:
[FIX] fixed look of module title in FF

Index: tiki.css
===================================================================
RCS file: /cvsroot/tikiwiki/tiki/styles/tiki.css,v
retrieving revision 1.29.2.39
retrieving revision 1.29.2.40
diff -u -d -r1.29.2.39 -r1.29.2.40
--- tiki.css	20 Jul 2005 17:34:35 -0000	1.29.2.39
+++ tiki.css	1 Aug 2006 13:27:33 -0000	1.29.2.40
 <at>  <at>  -217,8 +217,7  <at>  <at> 
 /* Boxes are divided in title and data, this is the title */
 div.box-title {
   background-image: url(tiki/mozilla-menubar.png);
-	padding: 0px 10px 1px 10px;
-	display: inline;
+	padding: 0px 1px 1px 10px;
 	background-color: #f3f6f9;
 	border: 1px solid #5a7a8a;
 	border-radius: 0px 0px 6px 6px;

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
(Continue reading)

hangerman | 1 Aug 15:38 2006
Picon
Picon

tiki tiki-admin_system.php,1.24,1.25

Update of /cvsroot/tikiwiki/tiki
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv20437

Modified Files:
	tiki-admin_system.php 
Log Message:
Interactive translator

Index: tiki-admin_system.php
===================================================================
RCS file: /cvsroot/tikiwiki/tiki/tiki-admin_system.php,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- tiki-admin_system.php	25 Aug 2005 20:50:04 -0000	1.24
+++ tiki-admin_system.php	1 Aug 2006 13:38:54 -0000	1.25
 <at>  <at>  -7,86 +7,7  <at>  <at> 

 require_once ('tiki-setup.php');

-function du($path, $begin=null) {
-	if (!$path or !is_dir($path)) return (array('total' => 0,'cant' =>0));
-	$total = 0; 
-	$cant = 0;
-	$back = array();
-	$all = opendir($path);
-	while ($file = readdir($all)) {
-		if (is_dir($path.'/'.$file) and $file <> ".." and $file <> "." and $file <> "CVS") {
-			$du = du($path.'/'.$file);
-			$total+= $du['total'];
(Continue reading)

hangerman | 1 Aug 15:39 2006
Picon
Picon

tiki tiki-edit_languages.php,1.21,1.22

Update of /cvsroot/tikiwiki/tiki
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv20784

Modified Files:
	tiki-edit_languages.php 
Log Message:
Interactive translator

Index: tiki-edit_languages.php
===================================================================
RCS file: /cvsroot/tikiwiki/tiki/tiki-edit_languages.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- tiki-edit_languages.php	19 Jul 2005 01:07:12 -0000	1.21
+++ tiki-edit_languages.php	1 Aug 2006 13:39:08 -0000	1.22
 <at>  <at>  -48,6 +48,22  <at>  <at> 
 	}
 }

+//Interactive translation mode
+//To be corrected 
+$tiki_p_interactive_trans=($user == 'admin');
+$smarty->assign('tiki_p_interactive_trans',$tiki_p_interactive_trans);
+
+if ((!empty ($_REQUEST['interactive_translation_mode']))&&($tiki_p_interactive_trans)){
+	require_once("lib/multilingual/multilinguallib.php");
+	$_SESSION['interactive_translation_mode']=$_REQUEST['interactive_translation_mode'];	
+	if ($_REQUEST['interactive_translation_mode']=='off')  
+		$cachelib->empty_full_cache();
(Continue reading)

hangerman | 1 Aug 15:39 2006
Picon
Picon

tiki tiki-setup.php,1.306,1.307

Update of /cvsroot/tikiwiki/tiki
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv20841

Modified Files:
	tiki-setup.php 
Log Message:
Interactive translator

Index: tiki-setup.php
===================================================================
RCS file: /cvsroot/tikiwiki/tiki/tiki-setup.php,v
retrieving revision 1.306
retrieving revision 1.307
diff -u -d -r1.306 -r1.307
--- tiki-setup.php	24 Jul 2006 00:44:22 -0000	1.306
+++ tiki-setup.php	1 Aug 2006 13:39:26 -0000	1.307
 <at>  <at>  -2046,4 +2046,10  <at>  <at> 
 	$feature_bidi='y';
 	$smarty->assign('feature_bidi', $feature_bidi);
 }
+
+if
(!empty($_SESSION['interactive_translation_mode'])&&($_SESSION['interactive_translation_mode']=='on')) {
+	include_once("lib/multilingual/multilinguallib.php");
+	$cachelib->empty_full_cache();
+}
+
 ?>

-------------------------------------------------------------------------
(Continue reading)

hangerman | 1 Aug 15:39 2006
Picon
Picon

tiki tiki-setup_base.php,1.97,1.98

Update of /cvsroot/tikiwiki/tiki
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv20872

Modified Files:
	tiki-setup_base.php 
Log Message:
Interactive translator

Index: tiki-setup_base.php
===================================================================
RCS file: /cvsroot/tikiwiki/tiki/tiki-setup_base.php,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -d -r1.97 -r1.98
--- tiki-setup_base.php	14 Jul 2006 11:00:44 -0000	1.97
+++ tiki-setup_base.php	1 Aug 2006 13:39:37 -0000	1.98
 <at>  <at>  -312,7 +312,6  <at>  <at> 
 function tra($content, $lg='') {
     global $lang_use_db;
     global $language;
-
     if ($lang_use_db != 'y') {
         if ($lg == "" || $lg == $language) {
            global $lang;
 <at>  <at>  -328,14 +327,14  <at>  <at> 
             }
         }
     } else {
-        global $tikilib;
-
(Continue reading)

hangerman | 1 Aug 15:39 2006
Picon
Picon

tiki/lib breadcrumblib.php,1.5,1.6

Update of /cvsroot/tikiwiki/tiki/lib
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv20896/lib

Modified Files:
	breadcrumblib.php 
Log Message:
Interactive translator

Index: breadcrumblib.php
===================================================================
RCS file: /cvsroot/tikiwiki/tiki/lib/breadcrumblib.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- breadcrumblib.php	22 May 2006 17:09:09 -0000	1.5
+++ breadcrumblib.php	1 Aug 2006 13:39:49 -0000	1.6
 <at>  <at>  -232,7 +232,7  <at>  <at> 
         } else {
             $cnt = count($crumbs);                      
         }
-        $ret .= tra('refresh');
+        $ret .= 'refresh';
         $ret .= '" accesskey="'.($cnt);
         $ret .= '" href="'.$crumbs[$len-1]->url.'">';
         if ($feature_breadcrumbs == 'n' && $loc == "admin")

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
(Continue reading)

hangerman | 1 Aug 15:40 2006
Picon
Picon

tiki/lib/cache cachelib.php,1.15,1.16

Update of /cvsroot/tikiwiki/tiki/lib/cache
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv20914/lib/cache

Modified Files:
	cachelib.php 
Log Message:
Interactive translator

Index: cachelib.php
===================================================================
RCS file: /cvsroot/tikiwiki/tiki/lib/cache/cachelib.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- cachelib.php	14 Jul 2006 11:00:48 -0000	1.15
+++ cachelib.php	1 Aug 2006 13:40:02 -0000	1.16
 <at>  <at>  -66,6 +66,100  <at>  <at> 
 		$key = md5($key);
 		 <at> unlink($this->folder."/$key");
   }
+
+  function empty_full_cache(){
+  	global $tikidomain,$logslib;
+	$this->erase_dir_content("templates_c/$tikidomain");
+	$logslib->add_log('system','erased templates_c content');
+	
+	$this->erase_dir_content("temp/cache/$tikidomain");
+	$logslib->add_log('system','erased temp/cache content');
+	
+	$this->erase_dir_content("modules/cache/$tikidomain");
(Continue reading)

hangerman | 1 Aug 15:40 2006
Picon
Picon

tiki/lib/multilingual multilinguallib.php, 1.15, 1.16

Update of /cvsroot/tikiwiki/tiki/lib/multilingual
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv21343/lib/multilingual

Modified Files:
	multilinguallib.php 
Log Message:
Interactive translator

Index: multilinguallib.php
===================================================================
RCS file: /cvsroot/tikiwiki/tiki/lib/multilingual/multilinguallib.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- multilinguallib.php	27 Oct 2005 20:12:32 -0000	1.15
+++ multilinguallib.php	1 Aug 2006 13:40:29 -0000	1.16
 <at>  <at>  -290,6 +290,15  <at>  <at> 
 		}
 		return $objId;
 	}
+	function getInteractiveTag($content){
+		
+		if
(!isset($_SESSION['interactive_translation_mode'])||($_SESSION['interactive_translation_mode']=='off')||
(strlen($content)<2) )
+			return "";
+
+		$urcontent=urlencode($content);
+		$ret= "<span 
onclick=\"window.open('tiki-interactive_trans.php?content=$urcontent','traduction','toolbar=no,location=no,scrollbars=yes,directories=no,status=no,menubar=no,resizable=no,copyhistory=no,width=600,height=300,left=10,top=10');return false;\">°</span>";
(Continue reading)

hangerman | 1 Aug 15:40 2006
Picon
Picon

_smarty/libs Smarty.class.php,1.7,1.8

Update of /cvsroot/tikiwiki/_smarty/libs
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv21393/lib/smarty/libs

Modified Files:
	Smarty.class.php 
Log Message:
Interactive translator

Index: Smarty.class.php
===================================================================
RCS file: /cvsroot/tikiwiki/_smarty/libs/Smarty.class.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Smarty.class.php	18 Oct 2005 15:41:45 -0000	1.7
+++ Smarty.class.php	1 Aug 2006 13:40:50 -0000	1.8
 <at>  <at>  -1085,6 +1085,7  <at>  <at> 
      */
     function trigger_error($error_msg, $error_type = E_USER_WARNING)
     {
+	//print_r(apd_callstack());
         trigger_error("Smarty error: $error_msg", $error_type);
     }

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
(Continue reading)


Gmane