SOURCES (localization): eventum-config-setup.php, eventum-lf.patch...
glen
glen at pld-linux.org
Tue Apr 11 00:40:18 CEST 2006
Author: glen Date: Mon Apr 10 22:40:18 2006 GMT
Module: SOURCES Tag: localization
---- Log message:
- localizaion devel
---- Files affected:
SOURCES:
eventum-config-setup.php (1.7 -> 1.7.4.1) , eventum-lf.patch (1.3 -> 1.3.4.1) , eventum-paths.patch (1.29 -> 1.29.4.1) , eventum-httpclient-clientside.patch (1.2 -> 1.2.4.1) , eventum-close-signature.patch (1.1 -> 1.1.4.1)
---- Diffs:
================================================================
Index: SOURCES/eventum-config-setup.php
diff -u SOURCES/eventum-config-setup.php:1.7 SOURCES/eventum-config-setup.php:1.7.4.1
--- SOURCES/eventum-config-setup.php:1.7 Tue Mar 28 20:51:42 2006
+++ SOURCES/eventum-config-setup.php Tue Apr 11 00:40:13 2006
@@ -61,6 +61,7 @@
define("APP_DEFAULT_NEW_EMAILS", 0); // if the user will recieve an email when ANY issue is created
define("APP_CHARSET", "ISO-8859-1");
+define("APP_DEFAULT_LOCALE", "en_US");
// define colors used by eventum
define("APP_CELL_COLOR", "#255282");
================================================================
Index: SOURCES/eventum-lf.patch
diff -u SOURCES/eventum-lf.patch:1.3 SOURCES/eventum-lf.patch:1.3.4.1
--- SOURCES/eventum-lf.patch:1.3 Wed Nov 30 17:02:46 2005
+++ SOURCES/eventum-lf.patch Tue Apr 11 00:40:13 2006
@@ -1,7 +1,7 @@
minor look & feel fixes
---- ./templates/en/faq.tpl.html~ 2005-02-27 17:59:14.000000000 +0200
-+++ ./templates/en/faq.tpl.html 2005-03-17 12:25:38.000000000 +0200
+--- ./templates/faq.tpl.html~ 2005-02-27 17:59:14.000000000 +0200
++++ ./templates/faq.tpl.html 2005-03-17 12:25:38.000000000 +0200
@@ -13,7 +13,7 @@
<td class="default_white" bgcolor="{$cell_color}"><b>{$faq.faq_title|escape:"html"}</b></td>
</tr>
@@ -11,8 +11,8 @@
<p><i>Last updated: {$faq.faq_updated_date}</i></p>
{$faq.message}
</td>
---- ./templates/en/view_form.tpl.html~ 2005-02-27 17:59:14.000000000 +0200
-+++ ./templates/en/view_form.tpl.html 2005-03-17 12:38:03.000000000 +0200
+--- ./templates/view_form.tpl.html~ 2005-02-27 17:59:14.000000000 +0200
++++ ./templates/view_form.tpl.html 2005-03-17 12:38:03.000000000 +0200
@@ -5,13 +5,13 @@
{literal}
function openHistory(issue_id)
@@ -29,8 +29,8 @@
var popupWin = window.open('notification.php?iss_id=' + issue_id, '_notification', features);
popupWin.focus();
}
---- ./templates/en/update_form.tpl.html~ 2005-03-16 19:03:57.000000000 +0200
-+++ ./templates/en/update_form.tpl.html 2005-03-17 12:59:17.000000000 +0200
+--- ./templates/update_form.tpl.html~ 2005-03-16 19:03:57.000000000 +0200
++++ ./templates/update_form.tpl.html 2005-03-17 12:59:17.000000000 +0200
@@ -31,13 +31,13 @@
<!--
function openHistory(issue_id)
@@ -47,8 +47,8 @@
var popupWin = window.open('notification.php?iss_id=' + issue_id, '_notification', features);
popupWin.focus();
}
---- eventum-20051130/templates/en/file_upload.tpl.html~ 2005-11-30 17:54:07.000000000 +0200
-+++ eventum-20051130/templates/en/file_upload.tpl.html 2005-11-30 17:55:45.000000000 +0200
+--- eventum-20051130/templates/file_upload.tpl.html~ 2005-11-30 17:54:07.000000000 +0200
++++ eventum-20051130/templates/file_upload.tpl.html 2005-11-30 17:55:45.000000000 +0200
@@ -79,13 +79,13 @@
<td bgcolor="{$light_color}">
<table width="100%" cellpadding="2" cellspacing="0" id="file_table">
================================================================
Index: SOURCES/eventum-paths.patch
diff -u SOURCES/eventum-paths.patch:1.29 SOURCES/eventum-paths.patch:1.29.4.1
--- SOURCES/eventum-paths.patch:1.29 Sat Jan 7 01:16:01 2006
+++ SOURCES/eventum-paths.patch Tue Apr 11 00:40:13 2006
@@ -78,17 +78,17 @@
$_displayed_confirmation = false;
---- ./include/class.template.php~ 2005-02-27 17:49:54.000000000 +0200
-+++ ./include/class.template.php 2005-02-27 17:51:00.000000000 +0200
+--- eventum-localization-dev/include/class.template.php~ 2006-04-10 23:48:12.740151749 +0300
++++ eventum-localization-dev/include/class.template.php 2006-04-10 23:48:16.310231300 +0300
@@ -60,7 +60,7 @@
{
$this->smarty = new Smarty;
- $this->smarty->template_dir = APP_TPL_PATH . APP_CURRENT_LANG;
+ $this->smarty->template_dir = APP_TPL_PATH;
- $this->smarty->compile_dir = APP_PATH . "templates_c";
-+ $this->smarty->compile_dir = "/var/cache/eventum";
++ $this->smarty->compile_dir = '/var/cache/eventum';
$this->smarty->config_dir = '';
$this->smarty->register_modifier("activateLinks", array('Link_Filter', 'activateLinks'));
- }
+ $this->smarty->register_modifier("formatCustomValue", array('Custom_Field', 'formatValue'));
--- ./include/class.monitor.php~ 2005-02-22 21:50:49.000000000 +0200
+++ ./include/class.monitor.php 2005-02-22 23:04:50.000000000 +0200
@@ -157,6 +165,7 @@
@@ -173,11 +173,10 @@
}
fclose($fp);
// check if we can connect
-@@ -425,23 +425,8 @@
- $tpl->assign('is_imap_enabled', function_exists('imap_open'));
+@@ -442,22 +442,8 @@
}
--
+
-$full_url = dirname($HTTP_SERVER_VARS['PHP_SELF']);
-$pieces = explode("/", $full_url);
-$relative_url = array();
@@ -190,10 +189,10 @@
-$relative_url[] = '';
-$relative_url = implode("/", $relative_url);
-
--if (substr($HTTP_SERVER_VARS['DOCUMENT_ROOT'], -1) == '/') {
+-if (substr(@$HTTP_SERVER_VARS['DOCUMENT_ROOT'], -1) == '/') {
- $HTTP_SERVER_VARS['DOCUMENT_ROOT'] = substr($HTTP_SERVER_VARS['DOCUMENT_ROOT'], 0, -1);
-}
--$installation_path = $HTTP_SERVER_VARS['DOCUMENT_ROOT'] . $relative_url;
+-$installation_path = @$HTTP_SERVER_VARS['DOCUMENT_ROOT'] . $relative_url;
+$installation_path = "/usr/share/eventum";
+$relative_url = "/eventum/";
@@ -247,7 +246,18 @@
$fp = @fopen($path . $filename, 'w');
--- ../setup/index.php~ 2005-07-26 18:49:37.000000000 +0300
+++ ../setup/index.php 2005-07-26 19:12:57.000000000 +0300
-@@ -213,11 +213,11 @@
+@@ -417,7 +417,7 @@
+ $config_contents = str_replace("%{APP_ENABLE_FULLTEXT}%", "false", $config_contents);
+ }
+
+- $fp = @fopen('../config.inc.php', 'w');
++ $fp = @fopen('/etc/webapps/eventum/config.php', 'w');
+ if ($fp === FALSE) {
+ return "Could not open the file 'config.inc.php' for writing. The permissions on the file should be set as to allow the user that the web server runs as to open it. Please correct this problem and try again.";
+ }
+--- eventum-localization-dev/setup/index.php~ 2006-04-11 00:15:23.056473380 +0300
++++ eventum-localization-dev/setup/index.php 2006-04-11 00:16:03.207367886 +0300
+@@ -208,11 +208,11 @@
exit;
}
@@ -255,22 +265,13 @@
+include_once("/usr/share/pear/Smarty/Smarty.class.php");
$tpl = new Smarty();
--$tpl->template_dir = '../templates/en';
+-$tpl->template_dir = '../templates';
-$tpl->compile_dir = "../templates_c";
-+$tpl->template_dir = '/usr/share/eventum/templates/en';
++$tpl->template_dir = '/usr/share/eventum/templates';
+$tpl->compile_dir = "/var/cache/eventum";
$tpl->config_dir = '';
function replace_table_prefix($str)
-@@ -417,7 +417,7 @@
- $config_contents = str_replace("%{APP_ENABLE_FULLTEXT}%", "false", $config_contents);
- }
-
-- $fp = @fopen('../config.inc.php', 'w');
-+ $fp = @fopen('/etc/webapps/eventum/config.php', 'w');
- if ($fp === FALSE) {
- return "Could not open the file 'config.inc.php' for writing. The permissions on the file should be set as to allow the user that the web server runs as to open it. Please correct this problem and try again.";
- }
--- eventum-1.5.5/setup/index.php~ 2005-07-26 20:22:06.000000000 +0300
+++ eventum-1.5.5/setup/index.php 2005-07-26 20:35:31.000000000 +0300
@@ -198,13 +198,7 @@
@@ -288,12 +289,12 @@
include_once("File/Util.php");
$html = checkRequirements();
---- eventum-20051130/include/class.template.php~ 2005-11-30 17:51:55.000000000 +0200
-+++ eventum-20051130/include/class.template.php 2005-11-30 17:53:15.000000000 +0200
+--- eventum-localization-dev/include/class.template.php~ 2006-04-11 00:16:59.258616656 +0300
++++ eventum-localization-dev/include/class.template.php 2006-04-11 00:17:23.649160189 +0300
@@ -61,6 +61,7 @@
$this->smarty = new Smarty;
- $this->smarty->template_dir = APP_TPL_PATH . APP_CURRENT_LANG;
- $this->smarty->compile_dir = "/var/cache/eventum";
+ $this->smarty->template_dir = APP_TPL_PATH;
+ $this->smarty->compile_dir = '/var/cache/eventum';
+ $this->smarty->plugins_dir = array('/usr/share/eventum/include/smarty', 'plugins');
$this->smarty->config_dir = '';
$this->smarty->register_modifier("activateLinks", array('Link_Filter', 'activateLinks'));
================================================================
Index: SOURCES/eventum-httpclient-clientside.patch
diff -u SOURCES/eventum-httpclient-clientside.patch:1.2 SOURCES/eventum-httpclient-clientside.patch:1.2.4.1
--- SOURCES/eventum-httpclient-clientside.patch:1.2 Wed Dec 21 00:24:28 2005
+++ SOURCES/eventum-httpclient-clientside.patch Tue Apr 11 00:40:13 2006
@@ -33,7 +33,7 @@
}
-{/literal}
\ No newline at end of file
---- ./templates/en/view.tpl.html 2005-07-30 17:47:13.000000000 +0300
+--- ./templates/view.tpl.html 2005-07-30 17:47:13.000000000 +0300
+++ /tmp/view.tpl.html 2005-07-30 20:18:01.000000000 +0300
@@ -1,9 +1,7 @@
{include file="header.tpl.html" extra_title=$extra_title}
@@ -47,7 +47,7 @@
{if $issue == ""}
<table width="400" align="center">
<tr>
---- ./templates/en/mail_queue.tpl.html 2005-07-30 17:47:13.000000000 +0300
+--- ./templates/mail_queue.tpl.html 2005-07-30 17:47:13.000000000 +0300
+++ /tmp/mail_queue.tpl.html 2005-07-30 20:21:46.000000000 +0300
@@ -3,10 +3,8 @@
{if $denied == 1}
@@ -62,8 +62,8 @@
<form>
<table bgcolor="#FFFFFF" width="100%" cellspacing="1" cellpadding="2" border="0">
<tr>
---- eventum-20051130/templates/en/reports/recent_activity.tpl.html~ 2005-11-30 18:24:19.000000000 +0200
-+++ eventum-20051130/templates/en/reports/recent_activity.tpl.html 2005-11-30 18:25:09.000000000 +0200
+--- eventum-20051130/templates/reports/recent_activity.tpl.html~ 2005-11-30 18:24:19.000000000 +0200
++++ eventum-20051130/templates/reports/recent_activity.tpl.html 2005-11-30 18:25:09.000000000 +0200
@@ -1,8 +1,6 @@
{include file="header.tpl.html" extra_title="Recent Activity"}
-<script language="javascript">
================================================================
Index: SOURCES/eventum-close-signature.patch
diff -u SOURCES/eventum-close-signature.patch:1.1 SOURCES/eventum-close-signature.patch:1.1.4.1
--- SOURCES/eventum-close-signature.patch:1.1 Fri Mar 31 19:53:50 2006
+++ SOURCES/eventum-close-signature.patch Tue Apr 11 00:40:13 2006
@@ -16,7 +16,7 @@
-?>
\ No newline at end of file
+?>
---- eventum-1.7.1/templates/en/close.tpl.html 2006-03-31 12:03:17.310786621 +0300
+--- eventum-1.7.1/templates/close.tpl.html 2006-03-31 12:03:17.310786621 +0300
+++ /home/glen/close.tpl.html 2006-03-31 12:04:47.462798592 +0300
@@ -90,6 +90,22 @@
cell.style.background = "{/literal}{$internal_color}{literal}";
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/eventum-config-setup.php?r1=1.7&r2=1.7.4.1&f=u
http://cvs.pld-linux.org/SOURCES/eventum-lf.patch?r1=1.3&r2=1.3.4.1&f=u
http://cvs.pld-linux.org/SOURCES/eventum-paths.patch?r1=1.29&r2=1.29.4.1&f=u
http://cvs.pld-linux.org/SOURCES/eventum-httpclient-clientside.patch?r1=1.2&r2=1.2.4.1&f=u
http://cvs.pld-linux.org/SOURCES/eventum-close-signature.patch?r1=1.1&r2=1.1.4.1&f=u
More information about the pld-cvs-commit
mailing list