SOURCES: eventum-httpclient-clientside.patch, eventum-gettext.patc...
glen
glen at pld-linux.org
Tue Nov 20 18:21:55 CET 2007
Author: glen Date: Tue Nov 20 17:21:55 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- updated to r3475
---- Files affected:
SOURCES:
eventum-httpclient-clientside.patch (1.4 -> 1.5) , eventum-gettext.patch (1.1 -> 1.2) , eventum-upgrade.patch (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/eventum-httpclient-clientside.patch
diff -u SOURCES/eventum-httpclient-clientside.patch:1.4 SOURCES/eventum-httpclient-clientside.patch:1.5
--- SOURCES/eventum-httpclient-clientside.patch:1.4 Thu Mar 8 19:00:32 2007
+++ SOURCES/eventum-httpclient-clientside.patch Tue Nov 20 18:21:49 2007
@@ -39,8 +39,8 @@
{include file="header.tpl.html" extra_title=$extra_title}
{include file="navigation.tpl.html"}
-<script language="javascript">
--{include file="js/httpclient.js"}
--{include file="js/expandable_cell.js"}
+-{include file="$app_path/js/httpclient.js"}
+-{include file="$app_path/js/expandable_cell.js"}
-</script>
+<script src="{$rel_url}js/httpclient.js"></script>
+<script src="{$rel_url}js/expandable_cell.js"></script>
@@ -68,8 +68,8 @@
{capture assign="extra_title"}{t}Recent Activity{/t}{/capture}
{include file="header.tpl.html" extra_title=$extra_title}
-<script language="javascript">
--{include file="../js/httpclient.js"}
--{include file="../js/expandable_cell.js"}
+-{include file="$app_path/js/httpclient.js"}
+-{include file="$app_path/js/expandable_cell.js"}
-</script>
+<script language="javascript" src="{$rel_url}js/httpclient.js"></script>
+<script language="javascript" src="{$rel_url}js/expandable_cell.js"></script>
@@ -82,7 +82,7 @@
{include file="header.tpl.html"}
{include file="navigation.tpl.html"}
-<script language="javascript">
--{include file="js/httpclient.js"}
+-{include file="$app_path/js/httpclient.js"}
-</script>
+<script src="{$rel_url}js/httpclient.js"></script>
================================================================
Index: SOURCES/eventum-gettext.patch
diff -u SOURCES/eventum-gettext.patch:1.1 SOURCES/eventum-gettext.patch:1.2
--- SOURCES/eventum-gettext.patch:1.1 Fri Dec 8 00:48:41 2006
+++ SOURCES/eventum-gettext.patch Tue Nov 20 18:21:50 2007
@@ -1,15 +1,10 @@
---- eventum/include/class.language.php~ 2006-12-07 21:48:21.000000000 +0200
-+++ eventum/include/class.language.php 2006-12-08 01:46:18.511103584 +0200
-@@ -79,12 +79,10 @@
- setlocale(LC_TIME, $locale . '.UTF8', $locale);
- if (APP_GETTEXT_MODE == 'native') {
- setlocale(LC_MESSAGES, $locale . '.UTF8', $locale);
-- bindtextdomain("eventum", APP_PATH . "misc/localization/");
- bind_textdomain_codeset("eventum", APP_CHARSET);
- textdomain("eventum");
- } elseif (APP_GETTEXT_MODE == 'php') {
- _setlocale(LC_MESSAGES, $locale);
-- _bindtextdomain("eventum", APP_PATH . "misc/localization/");
- _bind_textdomain_codeset("eventum", APP_CHARSET);
- _textdomain("eventum");
- }
+--- eventum-r3475/include/class.language.php~ 2007-11-20 19:11:35.000000000 +0200
++++ eventum-r3475/include/class.language.php 2007-11-20 19:12:05.696195147 +0200
+@@ -237,7 +237,6 @@
+ }
+
+ // this won't change over the request. so set it once and permanently
+-_bindtextdomain('eventum', APP_PATH . 'misc/localization/');
+ _bind_textdomain_codeset('eventum', APP_CHARSET);
+ _textdomain('eventum');
+
================================================================
Index: SOURCES/eventum-upgrade.patch
diff -u SOURCES/eventum-upgrade.patch:1.2 SOURCES/eventum-upgrade.patch:1.3
--- SOURCES/eventum-upgrade.patch:1.2 Sun Nov 4 17:26:40 2007
+++ SOURCES/eventum-upgrade.patch Tue Nov 20 18:21:50 2007
@@ -6,7 +6,7 @@
$stmts[] = "ALTER TABLE eventum_issue_custom_field ADD COLUMN icf_value_date date NULL DEFAULT NULL";
-$stmts[] = "ALTER TABLE eventum_custom_field ADD COLUMN fld_close_form tinyint(1) NOT NULL DEFAULT 0";
-$stmts[] = "ALTER TABLE eventum_custom_field ADD COLUMN fld_close_form_required tinyint(1) NOT NULL DEFAULT 0";
--$stmts[] = "ALTER TABLE eventum_issue ADD COLUMN iss_customer_contract_id int(11) unsigned AFTER iss_customer_id";
+-$stmts[] = "ALTER TABLE eventum_issue ADD COLUMN iss_customer_contract_id varchar(50) NULL AFTER iss_customer_contact_id";
foreach ($stmts as $stmt) {
$stmt = str_replace('eventum_', APP_TABLE_PREFIX, $stmt);
@@ -53,3 +53,24 @@
+}
+?>
+done
+--- /dev/null 2006-03-28 14:00:37.000000000 +0300
++++ eventum-r3374/misc/upgrade/v2.0_to_v2.1/database_changes4.php 2007-11-04 17:40:19.385617634 +0200
+@@ -0,0 +1,18 @@
++<?php
++require_once '/usr/share/eventum/htdocs/init.php';
++require_once(APP_INC_PATH . "db_access.php");
++
++$stmts = array();
++
++$stmts[] = "ALTER TABLE eventum_issue MODIFY COLUMN iss_customer_contract_id varchar(50) NULL";
++
++foreach ($stmts as $stmt) {
++ $stmt = str_replace('eventum_', APP_TABLE_PREFIX, $stmt);
++ $res = $GLOBALS["db_api"]->dbh->query($stmt);
++ if (PEAR::isError($res)) {
++ echo "<pre>";var_dump($res);echo "</pre>";
++ exit(1);
++ }
++}
++?>
++done
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/eventum-httpclient-clientside.patch?r1=1.4&r2=1.5&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/eventum-gettext.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/eventum-upgrade.patch?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list