$_displayed_confirmation = false;
---- eventum-1.4.c/include/class.template.php 2005-01-05 01:05:59.000000000 +0200
-+++ eventum-1.4/include/class.template.php 2005-01-24 17:22:35.000000000 +0200
+--- ./include/class.template.php~ 2005-02-27 17:49:54.000000000 +0200
++++ ./include/class.template.php 2005-02-27 17:51:00.000000000 +0200
@@ -60,7 +60,7 @@
{
$this->smarty = new Smarty;
- $this->smarty->template_dir = APP_PATH . "templates/" . APP_CURRENT_LANG;
+ $this->smarty->template_dir = APP_TPL_PATH . APP_CURRENT_LANG;
- $this->smarty->compile_dir = APP_PATH . "templates_c";
+ $this->smarty->compile_dir = "/var/cache/eventum";
$this->smarty->config_dir = '';
- $this->smarty->register_modifier("activateLinks", array('Link_Filter', 'processText'));
+ $this->smarty->register_modifier("activateLinks", array('Link_Filter', 'activateLinks'));
}
---- ./include/class.template.php~ 2005-02-22 21:01:00.000000000 +0200
-+++ ./include/class.template.php 2005-02-22 21:11:56.000000000 +0200
-@@ -59,7 +59,7 @@
- function Template_API()
- {
- $this->smarty = new Smarty;
-- $this->smarty->template_dir = APP_PATH . "templates/" . APP_CURRENT_LANG;
-+ $this->smarty->template_dir = APP_TPL_PATH . APP_CURRENT_LANG;
- $this->smarty->compile_dir = "/var/cache/eventum";
- $this->smarty->config_dir = '';
- $this->smarty->register_modifier("activateLinks", array('Link_Filter', 'processText'));
--- eventum-1.4.orig/setup/index.php 2005-01-25 23:42:55.000000000 +0200
+++ eventum-1.4/setup/index.php 2005-01-25 23:46:14.000000000 +0200
@@ -114,15 +114,15 @@
---- /tmp/process_cvs_commits.php 2005-01-17 20:51:29.343450373 +0200
-+++ ./misc/scm/process_cvs_commits.php 2005-01-17 20:51:10.639892676 +0200
-@@ -74,13 +78,17 @@
- if (count($matches) > 1) {
- $issue_id = $matches[1];
- $commit_msg = base64_encode($commit_msg);
-+ $cvs_module = base64_encode($cvs_module);
-+ $username = base64_encode($username);
-+ $issue_id = base64_encode($issue_id);
-+
- // build the GET url to use
- $ping_url = $eventum_relative_url . "scm_ping.php?module=$cvs_module&username=$username&commit_msg=$commit_msg";
- $ping_url .= "&issue[]=$issue_id";
- for ($i = 0; $i < count($modified_files); $i++) {
-- $ping_url .= "&files[$i]=" . $modified_files[$i]['filename'];
-- $ping_url .= "&old_versions[$i]=" . $modified_files[$i]['old_revision'];
-- $ping_url .= "&new_versions[$i]=" . $modified_files[$i]['new_revision'];
-+ $ping_url .= "&files[$i]=" . base64_encode($modified_files[$i]['filename']);
-+ $ping_url .= "&old_versions[$i]=" . base64_encode($modified_files[$i]['old_revision']);
-+ $ping_url .= "&new_versions[$i]=" . base64_encode($modified_files[$i]['new_revision']);
- }
-
- $fp = fsockopen($eventum_domain, $eventum_port, $errno, $errstr, 30);
-
-
-
from http://lists.mysql.com/eventum-devel/141
2. Then the regular expression to match cvs commit messages on issue
numbers doesn't work. It will accept almost anything with a number in