patch to 5dev37 (see TAR for any files not herein: images)
Brought to you by:
tuxmonkey
This patch include my latest hacks on 5dev37. There's a
file with a running log of bugs I've found, but since
I've started adding images (to on-line pop-up help
mainly), you'll have to grab the whole snapshot. See:
http://repairfaq.ece.drexel.edu/filipg/issue-tracker
you'll want:
it2_5dev37f1_2005-02-04.tar.gz
Login as admin:demo and go under Administrator, you
should get a new link that will pop-up a new window
with help for that screen - just images, no text yet.
My customers can't live without it so you'll see more
work in that area. I will also change the pre-login
changes to use the pop-up method (and get rid of
error.php).
Cheers,
Fil
Logged In: YES
user_id=37894
(sigh), Ok, how about I paste the patch in here?
-----------------------------------------------------------
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/404_to_5dev.mysql
issue-tracker2/404_to_5dev.mysql
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/404_to_5dev.mysql 1969-12-31
19:00:00.000000000 -0500
--- issue-tracker2/404_to_5dev.mysql 2005-02-04
18:35:33.319724224 -0500
***************
*** 0 ****
--- 1,14 ----
+ -- CHANGELOG says: "Added short_name for groups, this
allows for
+ -- a name abbreviation to be displayed instead of the full
group name. Also added
+ -- option to preferences so each user can decide if they
want the full name or the
+ -- short name to be displayed."
+ ALTER TABLE groups ADD short_name VARCHAR(8);
+
+ -- WARNING: this change makes going back to 4.0.4
problematic unless
+ -- you also alter it to use report_id instead of rid
+ ALTER TABLE reports CHANGE rid report_id int(11)
auto_increment;
+
+ ALTER TABLE reports ADD savedate INTEGER NOT NULL;
+
+ -- CHANGELOG says: "Added ability to give a description
for file uploads"
+ ALTER TABLE files ADD description VARCHAR(64) DEFAULT NULL;
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/5dev_bugs.txt
issue-tracker2/5dev_bugs.txt
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/5dev_bugs.txt
1969-12-31 19:00:00.000000000 -0500
--- issue-tracker2/5dev_bugs.txt 2005-02-04
16:44:38.000000000 -0500
***************
*** 0 ****
--- 1,167 ----
+ * On Preferences screen, not filling in First Name and
Last Name BUT filling in
+ everything else, ERASES everything else and shows error
message in red:
+ "Please enter your first name. Please enter your last name."
+ That's not nice! Show error but preserve any filled-in
entries.
+
+ * Setup instructions don't say to make includes/motd
write-able by www daemon.
+
+ * Some lines in index.php have three (3) ='s in if()'s. Is
that right?
+ (new to PHP, can you tell? :)
+
+ * Is this right? Is the "N" supposed to be followed by a ';'?
+ mysql> SELECT * FROM configuration WHERE
variable='cached_data';
+ +-------------+-------+----------+
+ | variable | value | constant |
+ +-------------+-------+----------+
+ | cached_data | N; | f |
+ +-------------+-------+----------+
+
+ * includes/classes/dbi.api_class.php
+ Function query() doesn't check if $this->link is alive -
and there are
+ times when it's not... added warning and return FALSE.
+
+ * modules/groups/actions/new.php is trying to insert data into
+ columns that don't exist:
+ INSERT INTO groups
(name,short_name,address,address2,contact,tech,tao,brm,sales,amount,bought,start_date,end_date,email,notes)
VALUES('Purchase','prchs','','','','','','','','0','0','1107406800','1107406800','','Notes')
+ But "short_name" column is not defined -
+ this is a different between 4.0.4 and 5dev. Add
functionality with:
+ mysql> ALTER TABLE groups ADD short_name VARCHAR(8);
+ CHANGELOG says: "Added short_name for groups, this allows for
+ a name abbreviation to be displayed instead of the full
group name. Also added
+ option to preferences so each user can decide if they want
the full name or the
+ short name to be displayed."
+
+ * Something is trying to run this query:
+ DELETE FROM group_products WHERE gid='13'WHERE pid='4';
+ but it SHOULD be:
+ DELETE FROM group_products WHERE gid='13' AND pid='4';
+ Ok, it's a bug. Replace/fix this function in file:
+ includes/classes/dbi.api_class.php
+ -------------------------------------------------------------
+ function delete($table,$matches)
+ {
+ $conditions = null;
+
+ if (empty($table) or count($matches) < 1) {
+ return;
+ }
+
+ //fmg: function broken b/c sql ends up of the form:
+ // DELETE FROM <table> WHERE a='a1' WHERE b='b1'
WHERE c='c1'...
+ // b/c $conditions never reset from null
+ $sql = "DELETE FROM {$table} ";
+
+ foreach ($matches as $field => $value) {
+ $sql .= is_null($conditions) ? "WHERE " : "AND ";
+ $sql .= "{$field}='{$value}' "; //fmg: added space here
+ //fmg: reset $conditions so next time in loop print
"AND"
+ $conditions = TRUE;
+ }
+
+ $this->query($sql);
+ }
+ -------------------------------------------------------------
+
+ * there is a bug in themes/default/date-picker.js where
gMonthName
+ is undefined in initial calendar view (under FireFox
V1.0). The fix
+ is to change the function to be: (segment)
+ -------------------------------------------------------------
+ Calendar.prototype.show = function() {
+ var vCode = "";
+
+ this.gWinCal.document.open();
+ //fmg: without this I get "Undefined" for initial month
name!
+ this.gMonthName = Calendar.get_month(this.gMonth - 1)
+
+ // Setup the page...
+ this.wwrite("<html>");
+ -------------------------------------------------------------
+
+ * Something is trying to run this query:
+ SELECT report_id,name,savedate FROM reports WHERE userid='10';
+ But "report_id" column is not defined - this is a
different between
+ 4.0.4 and 5dev. Add functionality with:
+ mysql> ALTER TABLE reports CHANGE rid report_id int(11)
auto_increment;
+ mysql> ALTER TABLE reports ADD savedate INTEGER NOT NULL;
+ * * * WARNING: this change makes going back to 4.0.4
problematic unless
+ you also alter it to use report_id instead
of rid * * *
+
+ * Something is trying to run this query:
+ SELECT fid,description,userid,uploaded_on,name,private
FROM files WHERE typeid='1'AND file_type='issues' ORDER BY
uploaded_on
+ But "description" column is not defined - this is a
different between
+ 4.0.4 and 5dev. Add functionality with:
+ mysql> ALTER TABLE files ADD description VARCHAR(64)
DEFAULT NULL;
+
+ * If I click on "View Issue" (in header) without entering
a number, I
+ get a blank "modify" screen (not "enter new"). To make it
jump to
+ enter new (e.g., if on the phone and need quick access),
in file:
+ modules/issues/actions/view.php, change top of file to:
+ -------------------------------------------------------------
+ if (!isset($_ENV['api'])) {
+ exit;
+ }
+
+ //fmg: don't open blank in this case - redirect to Main (???)
+ if (empty($_POST['issueid']) and empty($_GET['issueid'])) {
+ $_ENV['api']['sys']->redirect("?module=issues&action=new");
+ }
+ -------------------------------------------------------------
+ Preferably it should be a preferences option - a choice of:
+ 1) Enter new issue
+ 2) Show issues (main menu)
+ 3) Refresh current screen (NOP)
+
+ * There is a bug in template modules/users/tpl/view.tpl
and the Add/Remove
+ from group text is in wrong place/missing. Fix it by
changing text to
+ read:
+ -------------------------------------------------------------
+ <!-- fmg: <td width="25%"><label for="add_groups">{t}Add to
+ Groups{/t}:</label></td> -->
+ <td width="25%"><label
for="add_groups">{t}Add to
+ Groups{/t}:</label>
+ <select name="add_groups[]" size="10"
multiple="multiple"
+ style="width: 100%;">
+ {foreach from=$groups item=group}
+ {if $api.perms->check("update_group",$group.gid)}
+ <option
value="{$group.gid}">{$group.name}</option>
+ {/if}
+ {/foreach}
+ </select>
+ </td>
+ <td width="25%"><label
for="del_groups">{t}Delete from
+ Groups{/t}:</label>
+ <select name="del_groups[]" size="10"
multiple="multiple"
+ style="width: 100%;">
+ {foreach from=$user_groups item=gid}
+ {if $api.perms->check("update_group",$gid)}
+ -------------------------------------------------------------
+
+ * When you click on "Forgot Password" it doesn't show you
the header.tpl:
+ this is a bug in this module
modules/users/actions/forgotten_password.php
+ Change the top of the file to be:
+ -------------------------------------------------------------
+ if (!isset($_ENV['api'])) {
+ exit;
+ }
+
+ $_ENV['api']['tpl']->display('header.tpl');
+ -------------------------------------------------------------
+
+ * parser script has an issue with missing "(" in if() on
line 313:
+ -------------------------------------------------------------
+ // Ok now we actually create/update the issue
+ if (empty($parser->args['issue'])) {
+ list($registered) =
$_ENV['mod']['admin']->fetch_status(TYPE_REGISTERED);
+
+ $insert['gid'] = $parser->args['group'];
+ $insert['status'] = $registered;
+ $insert['opened_by'] = empty($userid) ? _CLIENT_ : $userid;
+ $insert['opened'] = $currtime;
+ $insert['modified'] = $currtime;
+ $insert['summary'] = $parser->subject;
+ $insert['problem'] = $parser->body;
+ $insert['severity'] = SEV_NORMAL;
+ if $parser->args['private'] == "true") { //
<<<< here
+ $insert['private'] = "t";
+ }
+ -------------------------------------------------------------
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/docs/developers.txt
issue-tracker2/docs/developers.txt
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/docs/developers.txt
1969-12-31 19:00:00.000000000 -0500
--- issue-tracker2/docs/developers.txt 2005-02-03
15:28:36.000000000 -0500
***************
*** 0 ****
--- 1,6 ----
+ * I want to add a new icon
+ 1) add mapping to includes/classes/theme.class.php of the
form:
+ "name" => "images/newimg.png",
+ 2) copy 16x16 PNG non-interlaced image to ROOT/images
+ 3) now you can refer to it as $images['name'] elsewhere
+
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/docs/HELP
issue-tracker2/docs/HELP
*** /usr/src/redhat/SOURCES/issue-tracker-5dev/docs/HELP
2004-12-13 12:55:21.000000000 -0500
--- issue-tracker2/docs/HELP 2005-01-29 22:22:10.000000000 -0500
***************
*** 7,11 ****
directory should contain basic text/html files that relate
to the modules
and actions of Issue-Tracker, and as of the writing of
this file the help
! directory is completely empty, UGH! As stated though the
help system is
very basic and easy to setup. The Issue-Tracker framework
will look in
the help directory each page view for a help file matching
the current
--- 7,11 ----
directory should contain basic text/html files that relate
to the modules
and actions of Issue-Tracker, and as of the writing of
this file the help
! directory is completely empty, UGH[*]! As stated though
the help system is
very basic and easy to setup. The Issue-Tracker framework
will look in
the help directory each page view for a help file matching
the current
***************
*** 23,24 ****
--- 23,28 ----
named the same as the module with a .hlp extension.
If you have any questions please email me at
tm@tuxmonkey.com.
+
+ [*] Not anymore. The pre-successful-login error-checking
code fakes a
+ module called "help" and there are several files in
modules/help/help
+ //fmg 01/05
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/docs/INSTALL
issue-tracker2/docs/INSTALL
*** /usr/src/redhat/SOURCES/issue-tracker-5dev/docs/INSTALL
2004-12-13 12:55:21.000000000 -0500
--- issue-tracker2/docs/INSTALL 2005-01-29
22:17:18.000000000 -0500
***************
*** 2,3 ****
--- 2,4 ----
- See Administrator's Guide
(https://sourceforge.net/project/showfiles.php?group_id=72973)
+ - or, if no internet, see docs/admin_guide.html
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/error.php
issue-tracker2/error.php
*** /usr/src/redhat/SOURCES/issue-tracker-5dev/error.php
1969-12-31 19:00:00.000000000 -0500
--- issue-tracker2/error.php 2005-01-29 21:43:50.000000000 -0500
***************
*** 0 ****
--- 1,91 ----
+ <?php
+ /* $Id: index.php 27 2004-09-30 16:02:32Z root $ */
+ // fmg: split from index.php b/c I've only known PHP for
2-3 hours and
+ // can't seem to keep it from recursing if I
try to use index.php
+ // in the redirects. Please fix if you know how!
+ /**
+ * @package Issue-Tracker
+ */
+ #apd_set_pprof_trace('/tmp/apd');
+ ob_start("ob_gzhandler");
+
+ /** Set the BROWSER constant to TRUE */
+ define("BROWSER",TRUE);
+
+ //fmg: set LIMITEDINIT to TRUE (does not init dbase, else
get recursion!)
+ define("LIMITEDINIT",TRUE);
+
+ /** Call the initialization script */
+ require("initialize.php");
+
+ # Increase the time limit from 30 seconds to 1 minute
+ set_time_limit(_MINUTE_);
+
+ # Setup Locale
+ if (!isset($_SESSION['prefs']['locale'])) {
+ if (!empty($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
+ $locale = split(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
+ $_SESSION['prefs']['locale'] = $locale[0];
+
+ if
(!file_exists(_LOCALE_."/".$_SESSION['prefs']['locale'])) {
+ $_SESSION['prefs']['locale'] = 'en-us';
+ }
+ } else {
+ $_SESSION['prefs']['locale'] = 'en-us';
+ }
+ }
+ if (strpos($_SESSION['prefs']['locale'],"-")) {
+ $parts = split("-",$_SESSION['prefs']['locale']);
+ $_SESSION['prefs']['locale'] =
$parts[0]."_".strtoupper($parts[1]);
+ }
+ bindtextdomain('messages',_LOCALE_)."<br />";
+ textdomain('messages');
+ putenv('LANG='.$_SESSION['prefs']['locale']);
+ if (setlocale(LC_ALL,$_SESSION['prefs']['locale']) ===
FALSE) {
+ echo "hrm";
+ }
+
+ if (isset($_GET['module'])) {
+ if ($_GET['module'] == 'help') {
+ $help_file = _MODULES_.$_GET['module']."/help/";
+
+ if (isset($_GET['action'])) {
+ $help_file .= $_GET['action'].".hlp";
+ }
+
+ //fmg: this had a bug: was referencing "$file" not
"$help_file"
+ if ($fp = fopen($help_file,'r')) {
+ $buffer = fread($fp,filesize($help_file));
+ fclose($fp);
+ } else {
+ $buffer = _("Could not find the help file for the
requested module/action.".
+ "<br>($help_file)");
+ }
+
+ $_ENV['api']['tpl']->display('header.tpl');
+ $_ENV['api']['tpl']->assign('help',$buffer);
+
+ //fmg: if we got any extra code/errors, show it/them
+ if (isset($_GET['sqlerr'])) {
+ print "<strong>MySQL reported
error:</strong> ".$_GET['sqlerr'];
+ }//if got extra parameter
+ if ( isset($_GET['sqlerr']) &&
isset($_GET['errstr']) ) {
+ print "<br>"; //all in the name of vanity...
+ }//if both
+ if (isset($_GET['errstr'])) {
+ print "<strong>Error set was:</strong>
".$_GET['errstr'];
+ }//if got error string
+
+ //fmg: help files assume error code appears ABOVE
help message
+ $_ENV['api']['tpl']->display('fatal.tpl'); //fmg:
don't move
+ }//if help
+ }//if module
+
+ $_ENV['api']['tpl']->display('footer.tpl');
+
+ # Save fetch cache
+ if ($_ENV['api']['dbi']->cache_fetch_results === TRUE) {
+ $_ENV['api']['dbi']->save_cache();
+ }
+ exit; //fmg: exit, stage left...
+ ?>
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/images/delete_old.png
and issue-tracker2/images/delete_old.png differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/images/delete.png
and issue-tracker2/images/delete.png differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/images/severity.png
and issue-tracker2/images/severity.png differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/images/user_old.png
and issue-tracker2/images/user_old.png differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/images/user.png
and issue-tracker2/images/user.png differ
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/includes/classes/dbi.api_class.php
issue-tracker2/includes/classes/dbi.api_class.php
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/includes/classes/dbi.api_class.php
2004-12-13 12:55:22.000000000 -0500
--- issue-tracker2/includes/classes/dbi.api_class.php
2005-02-03 20:40:53.000000000 -0500
***************
*** 52,56 ****
var $link;
/** Whether or not to log all queries */
! var $log_queries = FALSE;
/** Time in seconds before a query is considered taking
too long */
var $long_query = 2;
--- 52,56 ----
var $link;
/** Whether or not to log all queries */
! var $log_queries = TRUE; //fmg
/** Time in seconds before a query is considered taking
too long */
var $long_query = 2;
***************
*** 60,68 ****
var $email_from;
/** Standard logging of failed queries and database
messages */
! var $logging = FALSE;
/** Should DBI run in debug mode */
! var $debug = FALSE;
/** Directory to store logs in */
! var $log_dir = "./";
/** Whether or not to cache query results of fetch_*
methods */
var $cache_fetch_results = TRUE;
--- 60,68 ----
var $email_from;
/** Standard logging of failed queries and database
messages */
! var $logging = TRUE; //fmg
/** Should DBI run in debug mode */
! var $debug = TRUE; //fmg
/** Directory to store logs in */
! var $log_dir = "/var/www/html/issue-tracker2/logs/";
/** Whether or not to cache query results of fetch_*
methods */
var $cache_fetch_results = TRUE;
***************
*** 79,82 ****
--- 79,83 ----
* @param array $params
*/
+ //fmg: I presume init() is only called ONCE per user's
session?
function init($params = array())
{
***************
*** 87,96 ****
switch ($this->type) {
case "mysql":
! $this->link =
mysql_connect($this->host,$this->user,$this->pass)
! or $this->logger("Database connection
failed!","DBI");
! if ($this->link) {
! mysql_select_db($this->name,$this->link);
! }
! break;
case "pgsql":
# Build the connection string
--- 88,146 ----
switch ($this->type) {
case "mysql":
! //fmg: handle port number too
! $host_str = $this->host;
! $host_str .= !empty($this->port) ? ":".$this->port
: "";
! #print "$host_str,$this->user,$this->pass<p>";
! #print "Client info =
".mysql_get_client_info()."<p>";
! //fmg: just do it, we check below
! $this->link =
mysql_connect($host_str,$this->user,$this->pass);
!
! //fmg: not connected
! if (!$this->link) {
! header("Location:
error.php?module=help&action=ErrNoConn".
!
"&sqlerr=".mysql_errno()."&errstr=".mysql_error() );
! exit; // bye
! }//if not connected
!
! // fmg: can we get a list of databases
(just one if authenticated
! // for a specific database,
e.g., Issue-Tracker - only root
! // or some highly privileged
user can see ALL databases!)
! // (could be several after
you've been playing it for a while)
! $handle = mysql_list_dbs($this->link);
! $num = 0; while ($row =
mysql_fetch_row($handle)) { $num++;}
! mysql_free_result($handle); //free(handle)
! if (!$num) { // redirect user to error page
! header("Location:
error.php?module=help&action=ErrNoDbases".
!
"&sqlerr=".mysql_errno()."&errstr=".mysql_error() );
! exit; // bye
! } else {
! //fmg: we can find ONE+ databases
and it may still NOT be the one
! // specified by the config.php
! //select the named database
! if
(!mysql_select_db($this->name,$this->link)) {
! header("Location:
error.php?module=help&action=ErrNoName".
!
"&sqlerr=".mysql_errno()."&errstr=".mysql_error() );
! exit; // bye
! }//if can't select specified dbase
! }//if no databases visible to us
!
! //fmg: final check is to verify that a
magic field exists in
! // data.sql (to ensure complete
installation)
! // ** CORRECT RESPONSE IS 'Parser' **
! $sql = "SELECT last_name FROM users WHERE ".
! " email='emailparser' AND
first_name='Email';";
! $handle = mysql_query($sql);
! list($result) = mysql_fetch_row($handle);
! mysql_free_result($handle); //free(handle)
! if ( empty($result) ) { //null: redirect
to error page
! header("Location:
error.php?module=help&aa=1&action=ErrNoTables".
!
"&sqlerr=".mysql_errno()."&errstr=".mysql_error() );
! exit; // bye
! } else if ( !($result == 'Parser') ) {
//something wrong
! header("Location:
error.php?module=help&aa=2&action=ErrNoTables".
!
"&sqlerr=".mysql_errno()."&errstr=".mysql_error() );
! exit; // bye
! }//if no magic field
! break; //we're doing good if we get here :)
case "pgsql":
# Build the connection string
***************
*** 103,106 ****
--- 153,161 ----
$this->link = pg_connect($conn_str)
or $this->logger("Database connection
failed!","DBI");
+ //fmg: test for connection or redirect user
+ if (!$this->link) {
+ header("Location:
error.php?module=help&action=ErrNoConn" );
+ exit; // bye
+ }//if not connected
break;
case "sqlite":
***************
*** 111,121 ****
or $this->logger("Failed to open SQLite
database: {$this->name}","DBI");
}
break;
default:
$this->logger("Unknown database type in
init()","DBI");
break;
! }
! if ($this->cache_fetch_results === TRUE and
!empty($this->link)) {
$this->load_cache();
}
--- 166,185 ----
or $this->logger("Failed to open SQLite
database: {$this->name}","DBI");
}
+ //fmg: test for connection or redirect user
+ if (!$this->link) {
+ header("Location:
error.php?module=help&action=ErrNoConn" );
+ exit; // bye
+ }//if not connected
break;
default:
$this->logger("Unknown database type in
init()","DBI");
+ header("Location:
error.php?module=help&action=ErrNoConn".
+ "&errstr=Unknown database type
($this->type) in init()" );
+ exit; // bye
break;
! }//switch $this->type
! //fmg: Is !empty(A) same as A?
! if ($this->cache_fetch_results === TRUE and $this->link) {
$this->load_cache();
}
***************
*** 134,137 ****
--- 198,207 ----
return FALSE;
}
+
+ //fmg: check if $this->link is alive!
+ if (!$this->link) {
+ $this->logger("query($sql) called on bad SQL
connection","DBI");
+ return FALSE;
+ }
if ($this->log_queries) {
***************
*** 158,162 ****
$start = $this->getmicrotime();
}
! $result = @pg_query($this->link,$sql);
if ($this->debug) {
$query_time = $this->getmicrotime() - $start;
--- 228,232 ----
$start = $this->getmicrotime();
}
! if ($result) $result = @pg_query($this->link,$sql);
if ($this->debug) {
$query_time = $this->getmicrotime() - $start;
***************
*** 183,187 ****
break;
default:
! $this->logger("Unknown database type in
query()","DBI");
break;
}
--- 253,257 ----
break;
default:
! $this->logger("Unknown database type
'(".$this->type.")' in query()","DBI");
break;
}
***************
*** 197,201 ****
return FALSE;
}
! }
/**
--- 267,271 ----
return FALSE;
}
! }//function query
/**
***************
*** 227,231 ****
break;
default:
! $this->logger("Unknown database type in
num_fields()","DBI");
break;
}
--- 297,301 ----
break;
default:
! $this->logger("Unknown database type
'(".$this->type.")' in num_fields()","DBI");
break;
}
***************
*** 263,267 ****
break;
default:
! $this->logger("Unknown database type in
field_name()","DBI");
break;
}
--- 333,337 ----
break;
default:
! $this->logger("Unknown database type
'(".$this->type.")' field_name()","DBI");
break;
}
***************
*** 298,302 ****
break;
default:
! $this->logger("Unknown database type in
num_rows()","DBI");
break;
}
--- 368,372 ----
break;
default:
! $this->logger("Unknown database type
'(".$this->type.")' num_rows()","DBI");
break;
}
***************
*** 389,393 ****
break;
default:
! $this->logger("Unknown database type in
fetch()","DBI");
break;
}
--- 459,463 ----
break;
default:
! $this->logger("Unknown database type
'(".$this->type.")' fetch()","DBI");
break;
}
***************
*** 662,665 ****
--- 732,737 ----
$sql .= "($fields) ";
$sql .= "VALUES($values);";
+ //fmg: debug why can't add group ($table is
invalid == query_stats)
+ //print "<br>(sql='$sql')<br>";
$result = $this->query($sql);
***************
*** 717,725 ****
}
$sql = "DELETE FROM {$table} ";
foreach ($matches as $field => $value) {
$sql .= is_null($conditions) ? "WHERE " : "AND ";
! $sql .= "{$field}='{$value}'";
}
--- 789,804 ----
}
+ //fmg: function broken b/c sql ends up of the form:
+ // DELETE FROM <table> WHERE a='a1' WHERE
b='b1' WHERE c='c1'...
+ // b/c $conditions never reset from null
$sql = "DELETE FROM {$table} ";
foreach ($matches as $field => $value) {
$sql .= is_null($conditions) ? "WHERE " : "AND ";
! //fmg: need extra space either ^here or
! $sql .= "{$field}='{$value}' ";
! //fmg: ^here (else list is
wrong!)
! //fmg: reset $conditions so next time in loop
it's "AND"
! $conditions = TRUE;
}
***************
*** 770,777 ****
--- 849,858 ----
if ($this->num_rows($result) > 0) {
$update['value'] = serialize($GLOBALS['cache']);
+ $this->logger("UPDATE cache =
'".$update['value']."'","DBI");
$this->update("configuration",$update,"WHERE
variable='cached_data'");
} else {
$insert['variable'] = "cached_data";
$insert['value'] = serialize($GLOBALS['cache']);
+ $this->logger("SAVE cache =
'".$insert['value']."'","DBI");
$this->insert("configuration",$insert);
}
***************
*** 793,796 ****
--- 874,878 ----
}
+ $this->logger("LOAD cache = '$data'","DBI");
$GLOBALS['cache'] = $data;
}
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/includes/classes/theme.class.php
issue-tracker2/includes/classes/theme.class.php
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/includes/classes/theme.class.php
2004-12-13 12:55:22.000000000 -0500
--- issue-tracker2/includes/classes/theme.class.php
2005-02-03 15:29:26.000000000 -0500
***************
*** 467,470 ****
--- 467,471 ----
"query" => "images/query.png",
"search" => "images/search.png",
+ "severity" => "images/severity.png",
"show_closed" => "images/show_closed.png",
"status" => "images/status.png",
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/includes/functions/html.func.php
issue-tracker2/includes/functions/html.func.php
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/includes/functions/html.func.php
2004-12-13 12:55:21.000000000 -0500
--- issue-tracker2/includes/functions/html.func.php
2005-02-02 09:24:24.000000000 -0500
***************
*** 62,66 ****
$crumbs .= "Issue #".$_GET['issueid'];
$crumbs .= "</a>";
! }
if (!empty($_GET['action'])) {
--- 62,66 ----
$crumbs .= "Issue #".$_GET['issueid'];
$crumbs .= "</a>";
! }//if empty issueid
if (!empty($_GET['action'])) {
***************
*** 95,99 ****
$crumbs .= "$divider<a href=\"$url\">"._($action)."</a>";
! }
return $crumbs;
--- 95,99 ----
$crumbs .= "$divider<a href=\"$url\">"._($action)."</a>";
! }//if empty action
return $crumbs;
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/index.php
issue-tracker2/index.php
*** /usr/src/redhat/SOURCES/issue-tracker-5dev/index.php
2004-12-13 12:55:21.000000000 -0500
--- issue-tracker2/index.php 2005-02-03 12:50:19.000000000 -0500
***************
*** 13,16 ****
--- 13,19 ----
define("BROWSER",TRUE);
+ //fmg: LIMITEDINIT is left undefined (only defined if
error.php called)
+ #define("LIMITEDINIT",FALSE); //leave commented out in
index.php
+
/** Call the initialization script */
require("initialize.php");
***************
*** 94,98 ****
$_ENV['api']['tpl']->assign('show_admin',TRUE);
}
! }
$_ENV['api']['init']->module_includes('tabs');
--- 97,101 ----
$_ENV['api']['tpl']->assign('show_admin',TRUE);
}
! }//if has userid
$_ENV['api']['init']->module_includes('tabs');
***************
*** 102,109 ****
}
! if (isset($_GET['module'])) {
! if ($_GET['module'] == 'help') {
$help_file = _MODULES_.$_GET['mod']."/help/";
!
if (!isset($_GET['act'])) {
$help_file .= $_GET['mod'].".hlp";
--- 105,112 ----
}
! if (isset($_GET['module'])) { //if help module specified
explicitly
! if ($_GET['module'] == 'help' or $_GET['module'] ==
'pophelp') {
$help_file = _MODULES_.$_GET['mod']."/help/";
!
if (!isset($_GET['act'])) {
$help_file .= $_GET['mod'].".hlp";
***************
*** 112,130 ****
}
! if ($fp = fopen($file,'r')) {
! $buffer = fread($fp,filesize($file));
fclose($fp);
} else {
! $buffer = _("Could not find a help file for
requested module/action.");
}
! $_ENV['api']['tpl']->display('header.tpl');
! $_ENV['api']['tpl']->assign('help',$buffer);
! $_ENV['api']['tpl']->display('help.tpl');
} else if ($_GET['module'] == "users"
! and $_GET['action'] == "whois") {
$_ENV['api']['tpl']->display('header.tpl');
$_ENV['mod']['users']->whois($_GET['userid']);
! } else {
$help_file = _MODULES_.$_GET['module']."/help/";
--- 115,145 ----
}
! //fmg: bug - written as $file but SHOULD BE
$help_file!
! //fmg: since this bug lived from 4.0.3 to 5dev, I can
! // tell you guys don't use help at all :-)
! if ($fp = fopen($help_file,'r')) {
! $buffer = fread($fp,filesize($help_file));
fclose($fp);
} else {
! $buffer = _("Could not find a help file ($help_file".
! ") for requested module/action.");
}
! //fmg: different template if popup help
! if ($_GET['module'] == 'pophelp') {
! $_ENV['api']['tpl']->assign('nofooter','true');
//is this how we do it?
! $_ENV['api']['tpl']->display('popheader.tpl');
! $_ENV['api']['tpl']->assign('help',$buffer);
! $_ENV['api']['tpl']->display('pophelp.tpl');
! } else {
! $_ENV['api']['tpl']->display('header.tpl');
! $_ENV['api']['tpl']->assign('help',$buffer);
! $_ENV['api']['tpl']->display('help.tpl');
! }//if popup help
} else if ($_GET['module'] == "users"
! and $_GET['action'] == "whois") { //if users module
specified
$_ENV['api']['tpl']->display('header.tpl');
$_ENV['mod']['users']->whois($_GET['userid']);
! } else { //all other modules, check if
<module>/help/<module>.hlp exists
$help_file = _MODULES_.$_GET['module']."/help/";
***************
*** 136,142 ****
if (file_exists($help_file)) {
$_ENV['api']['tpl']->assign('help_file',$help_file);
! }
!
if
(file_exists(_MODULES_.$_GET['module']."/hooks/noauth.php")) {
/** Include the noauth hook if it exists */
--- 151,164 ----
if (file_exists($help_file)) {
+ print "<!-- HELP file $help_file exists -->";
+ $hurl =
_URL_."?module=pophelp&mod=".$_GET['module'];
+ if ( isset($_GET['action']) ) {
+ $hurl .= "&action=".$_GET['action'];
+ }//if action
+ $_ENV['api']['tpl']->assign('help_url',$hurl);
+ //still assign it so we know to show popup javashit
$_ENV['api']['tpl']->assign('help_file',$help_file);
! }//if help exists, assign it
!
if
(file_exists(_MODULES_.$_GET['module']."/hooks/noauth.php")) {
/** Include the noauth hook if it exists */
***************
*** 144,151 ****
}
- # make sure the timezone is set
if (!isset($_COOKIE['tz'])) {
$_COOKIE['tz'] = 0;
! }
if (isset($_SESSION['userid'])) {
--- 166,172 ----
}
if (!isset($_COOKIE['tz'])) {
$_COOKIE['tz'] = 0;
! }//if timezone not set, set it
if (isset($_SESSION['userid'])) {
***************
*** 165,191 ****
and $_SESSION['prefs']['admin_menu'] == "t") {
$_ENV['api']['tpl']->assign('show_admin_menu',TRUE);
! }
$_ENV['api']['tpl']->assign('leftnav_menu',$leftnav_menu);
$_ENV['api']['tpl']->assign('pmenus',$pmenus);
! }
if
(file_exists(_MODULES_."{$_GET['module']}/hooks/iconbar.php")) {
include_once(_MODULES_."{$_GET['module']}/hooks/iconbar.php");
! }
$_ENV['api']['tpl']->display('header.tpl');
if (empty($_GET['nonav'])) {
$_ENV['api']['tpl']->display("leftnav.tpl");
! }
if (file_exists($script)) {
/** Module Script */
include_once($script);
! }
if (empty($_GET['nonav'])) {
$_ENV['api']['tpl']->display('rightnav.tpl');
! }
} else {
if (is_array($noauth)) {
--- 186,212 ----
and $_SESSION['prefs']['admin_menu'] == "t") {
$_ENV['api']['tpl']->assign('show_admin_menu',TRUE);
! }//if user is admin
$_ENV['api']['tpl']->assign('leftnav_menu',$leftnav_menu);
$_ENV['api']['tpl']->assign('pmenus',$pmenus);
! }//if no nonav
if
(file_exists(_MODULES_."{$_GET['module']}/hooks/iconbar.php")) {
include_once(_MODULES_."{$_GET['module']}/hooks/iconbar.php");
! }//if hook exists
$_ENV['api']['tpl']->display('header.tpl');
if (empty($_GET['nonav'])) {
$_ENV['api']['tpl']->display("leftnav.tpl");
! }//if no nonav
if (file_exists($script)) {
/** Module Script */
include_once($script);
! }//if script exists
if (empty($_GET['nonav'])) {
$_ENV['api']['tpl']->display('rightnav.tpl');
! }//if no nonav
} else {
if (is_array($noauth)) {
***************
*** 198,202 ****
} else {
$script .= "{$_GET['module']}.php";
! }
if (in_array($check,$noauth)) {
--- 219,223 ----
} else {
$script .= "{$_GET['module']}.php";
! }//have action
if (in_array($check,$noauth)) {
***************
*** 204,212 ****
/** Module Script */
include_once($script);
! }
}
! }
! }
! }
} else if (isset($_SESSION['userid'])) {
if (empty($_GET['nonav'])) {
--- 225,233 ----
/** Module Script */
include_once($script);
! }//script exists
}
! }//if have noauth
! }//if userid is set
! }//if module is ???? (switch)
} else if (isset($_SESSION['userid'])) {
if (empty($_GET['nonav'])) {
***************
*** 220,228 ****
and $_SESSION['prefs']['admin_menu'] == "t") {
$_ENV['api']['tpl']->assign('show_admin_menu',TRUE);
! }
$_ENV['api']['tpl']->assign('leftnav_menu',$leftnav_menu);
$_ENV['api']['tpl']->assign('pmenus',$pmenus);
! }
$_ENV['api']['tpl']->display("header.tpl");
--- 241,249 ----
and $_SESSION['prefs']['admin_menu'] == "t") {
$_ENV['api']['tpl']->assign('show_admin_menu',TRUE);
! }//if user is admin
$_ENV['api']['tpl']->assign('leftnav_menu',$leftnav_menu);
$_ENV['api']['tpl']->assign('pmenus',$pmenus);
! }//if no nonav
$_ENV['api']['tpl']->display("header.tpl");
***************
*** 243,259 ****
$_ENV['api']['tpl']->assign("motd",$motd);
fclose($fp);
! }
! }
$_ENV['api']['tpl']->display("header.tpl");
$_ENV['api']['tpl']->display('login.tpl');
! }
!
! $_ENV['api']['tpl']->display('footer.tpl');
- # Save fetch cache
if ($_ENV['api']['dbi']->cache_fetch_results === TRUE) {
$_ENV['api']['dbi']->save_cache();
! }
if ($GLOBALS['config']['main']['use_tidy'] === TRUE
--- 264,285 ----
$_ENV['api']['tpl']->assign("motd",$motd);
fclose($fp);
! }//if motd opened
! }//if motd exists
$_ENV['api']['tpl']->display("header.tpl");
$_ENV['api']['tpl']->display('login.tpl');
! }//if userid is set
!
! //fmg: different footer if popup help
! if ($_GET['module'] == 'pophelp') {
! $_ENV['api']['tpl']->display('popfooter.tpl');
! } else {
! $_ENV['api']['tpl']->display('footer.tpl');
! }//if popup
if ($_ENV['api']['dbi']->cache_fetch_results === TRUE) {
+ print "called!";
$_ENV['api']['dbi']->save_cache();
! }//if save cache
if ($GLOBALS['config']['main']['use_tidy'] === TRUE
***************
*** 270,273 ****
} else {
ob_end_flush();
! }
?>
--- 296,299 ----
} else {
ob_end_flush();
! }//if use tidy
?>
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/initialize.php
issue-tracker2/initialize.php
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/initialize.php
2004-12-13 12:55:21.000000000 -0500
--- issue-tracker2/initialize.php 2005-02-03
11:41:57.000000000 -0500
***************
*** 52,61 ****
$_ENV['api']['init']->load_classes();
! # Setup DBI
! $_ENV['api']['dbi']->init($config['database']);
$_ENV['api']['dbi']->set('admin_email',$config['main']['admin_email']);
$_ENV['api']['dbi']->set('email_from',$config['main']['system_email']);
$_ENV['api']['dbi']->set('log_queries',TRUE);
! $_ENV['api']['dbi']->set('debug',FALSE);
$_ENV['api']['dbi']->set('log_dir',_LOGS_);
$_ENV['api']['dbi']->set('cache_fetch_results',FALSE);
--- 52,64 ----
$_ENV['api']['init']->load_classes();
! # Setup DBI only if not called from error.php
! if (!defined('LIMITEDINIT')) {
! $_ENV['api']['dbi']->init($config['database']);
! }//if want to skip dbase init (error.php mode)
! $_ENV['api']['dbi']->logger("After INIT","DBI");
$_ENV['api']['dbi']->set('admin_email',$config['main']['admin_email']);
$_ENV['api']['dbi']->set('email_from',$config['main']['system_email']);
$_ENV['api']['dbi']->set('log_queries',TRUE);
! $_ENV['api']['dbi']->set('debug',TRUE);
$_ENV['api']['dbi']->set('log_dir',_LOGS_);
$_ENV['api']['dbi']->set('cache_fetch_results',FALSE);
***************
*** 135,139 ****
$_ENV['api']['tpl']->assign('const_severities',$severities);
$_ENV['api']['tpl']->assign('const_status_types',$status_types);
! }
# Load all function files located in the _FUNCTIONS_ directory
--- 138,142 ----
$_ENV['api']['tpl']->assign('const_severities',$severities);
$_ENV['api']['tpl']->assign('const_status_types',$status_types);
! }//if BROWSER
# Load all function files located in the _FUNCTIONS_ directory
***************
*** 171,174 ****
$_ENV['api']['tpl']->assign('title',$title);
$_ENV['api']['tpl']->assign('crumbs',build_crumbs());
! }
?>
--- 174,177 ----
$_ENV['api']['tpl']->assign('title',$title);
$_ENV['api']['tpl']->assign('crumbs',build_crumbs());
! }//if BROWSER
?>
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/admin/help/aa
issue-tracker2/modules/admin/help/aa
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/admin/help/aa
1969-12-31 19:00:00.000000000 -0500
--- issue-tracker2/modules/admin/help/aa 2005-02-03
10:59:22.000000000 -0500
***************
*** 0 ****
--- 1,60 ----
+ <img src="modules/admin/help/admin_sa_cu2.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_cu.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_dqt1.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_dqt2.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_motd_err.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_motd.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_pm1.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_pm2.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_pm_cp.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_pm_cps.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_pm_dps0.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_pm_dps1.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_pm_dps2.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_pm_dps3.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_pm_dps4.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_pm_dps5.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_sm_cs1.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_sm_cs.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_sm.jpg">
+ <p>
+
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/admin/help/admin.hlp
issue-tracker2/modules/admin/help/admin.hlp
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/admin/help/admin.hlp
1969-12-31 19:00:00.000000000 -0500
--- issue-tracker2/modules/admin/help/admin.hlp 2005-02-03
10:59:42.000000000 -0500
***************
*** 0 ****
--- 1,63 ----
+ <h2>Admin[istration] help</h2>
+
+ <img src="modules/admin/help/admin_sa_cu2.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_cu.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_dqt1.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_dqt2.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_motd_err.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_motd.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_pm1.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_pm2.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_pm_cp.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_pm_cps.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_pm_dps0.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_pm_dps1.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_pm_dps2.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_pm_dps3.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_pm_dps4.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_pm_dps5.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_sm_cs1.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_sm_cs.jpg">
+ <p>
+
+ <img src="modules/admin/help/admin_sa_sm.jpg">
+ <p>
+
+ <hr>
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/admin/help/admin_sa_cu2.jpg
and issue-tracker2/modules/admin/help/admin_sa_cu2.jpg differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/admin/help/admin_sa_cu.jpg
and issue-tracker2/modules/admin/help/admin_sa_cu.jpg differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/admin/help/admin_sa_dqt1.jpg
and issue-tracker2/modules/admin/help/admin_sa_dqt1.jpg differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/admin/help/admin_sa_dqt2.jpg
and issue-tracker2/modules/admin/help/admin_sa_dqt2.jpg differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/admin/help/admin_sa.jpg
and issue-tracker2/modules/admin/help/admin_sa.jpg differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/admin/help/admin_sa_motd_err.jpg
and issue-tracker2/modules/admin/help/admin_sa_motd_err.jpg
differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/admin/help/admin_sa_motd.jpg
and issue-tracker2/modules/admin/help/admin_sa_motd.jpg differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/admin/help/admin_sa_pm1.jpg
and issue-tracker2/modules/admin/help/admin_sa_pm1.jpg differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/admin/help/admin_sa_pm2.jpg
and issue-tracker2/modules/admin/help/admin_sa_pm2.jpg differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/admin/help/admin_sa_pm_cp.jpg
and issue-tracker2/modules/admin/help/admin_sa_pm_cp.jpg differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/admin/help/admin_sa_pm_cps.jpg
and issue-tracker2/modules/admin/help/admin_sa_pm_cps.jpg differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/admin/help/admin_sa_pm_dps0.jpg
and issue-tracker2/modules/admin/help/admin_sa_pm_dps0.jpg
differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/admin/help/admin_sa_pm_dps1.jpg
and issue-tracker2/modules/admin/help/admin_sa_pm_dps1.jpg
differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/admin/help/admin_sa_pm_dps2.jpg
and issue-tracker2/modules/admin/help/admin_sa_pm_dps2.jpg
differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/admin/help/admin_sa_pm_dps3.jpg
and issue-tracker2/modules/admin/help/admin_sa_pm_dps3.jpg
differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/admin/help/admin_sa_pm_dps4.jpg
and issue-tracker2/modules/admin/help/admin_sa_pm_dps4.jpg
differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/admin/help/admin_sa_pm_dps5.jpg
and issue-tracker2/modules/admin/help/admin_sa_pm_dps5.jpg
differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/admin/help/admin_sa_sm_cs1.jpg
and issue-tracker2/modules/admin/help/admin_sa_sm_cs1.jpg differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/admin/help/admin_sa_sm_cs.jpg
and issue-tracker2/modules/admin/help/admin_sa_sm_cs.jpg differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/admin/help/admin_sa_sm.jpg
and issue-tracker2/modules/admin/help/admin_sa_sm.jpg differ
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/groups/actions/new.php
issue-tracker2/modules/groups/actions/new.php
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/groups/actions/new.php
2004-12-13 12:55:22.000000000 -0500
--- issue-tracker2/modules/groups/actions/new.php 2005-02-03
21:33:18.000000000 -0500
***************
*** 13,17 ****
}
- if (!empty($_POST['GroupName'])) {
// make sure a group name was given
if (empty($_POST['GroupName'])) {
--- 13,16 ----
***************
*** 81,88 ****
$_ENV['api']['sys']->redirect("?module=groups&action=edit&type=categories&gid=$gid");
} else {
! $_ENV['api']['sys']->push_fatal_error(t("The group
could not be created."));
! }
! }
! }
$_ENV['api']['tpl']->mdisplay("groups","new.tpl");
--- 80,87 ----
$_ENV['api']['sys']->redirect("?module=groups&action=edit&type=categories&gid=$gid");
} else {
!
$_ENV['api']['dbi']->logger("modules/groups/actions/new.php:
null(gid)","phperrors");
! $_ENV['api']['sys']->push_error(t("The group could
not be created."));
! }//if got gid
! }//if no errors defined
$_ENV['api']['tpl']->mdisplay("groups","new.tpl");
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/groups/hooks/class.php
issue-tracker2/modules/groups/hooks/class.php
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/groups/hooks/class.php
2004-12-13 12:55:22.000000000 -0500
--- issue-tracker2/modules/groups/hooks/class.php 2005-02-03
20:17:23.000000000 -0500
***************
*** 640,645 ****
array_push($groups,$subGroup['child_gid']);
}
! }
! }
unset($subGroups);
}
--- 640,645 ----
array_push($groups,$subGroup['child_gid']);
}
! }//foreach
! }//if not array
unset($subGroups);
}
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/help/help/ErrNoConn.hlp
issue-tracker2/modules/help/help/ErrNoConn.hlp
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/help/help/ErrNoConn.hlp
1969-12-31 19:00:00.000000000 -0500
--- issue-tracker2/modules/help/help/ErrNoConn.hlp
2005-01-29 23:01:19.000000000 -0500
***************
*** 0 ****
--- 1,17 ----
+
+ <!-- fmg: issued if can't connect to server -->
+
+ <strong>Issue-Tracker is Unavailable</strong><p>
+
+ <font size="4" color="red">Why?</font>
+ I could <strong>NOT CONNECT</strong> to SQL server.<p>
+
+ <font size="4" color="red">Now what?</font>
+ Please verify that the server (mysqld or psqld) is
running
+ and that its socket agrees with where Issue-Tracker is
+ looking for it. (If MySQL returned an error code,
it will be
+ above).<p>
+
+ <font size="4" color="red">Huh?</font> See the
+ [<a href="docs/admin_guide.html#TROUBLE">Admin's
Guide</a>] for more
+ information.<p>
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/help/help/ErrNoDbases.hlp
issue-tracker2/modules/help/help/ErrNoDbases.hlp
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/help/help/ErrNoDbases.hlp
1969-12-31 19:00:00.000000000 -0500
--- issue-tracker2/modules/help/help/ErrNoDbases.hlp
2005-01-29 23:01:32.000000000 -0500
***************
*** 0 ****
--- 1,26 ----
+ <!-- fmg: issued if "show databases" returns null -->
+
+ <strong>Issue-Tracker is Unavailable</strong><p>
+
+ <font size="4" color="red">Why?</font>
+ I DID establish a connection to the SQL server but was
+ <strong>UNABLE</strong> to find ANY databases!<p>
+
+ This usually means one or more of the following:<br>
+
+ <ul>
+ <li>that the initial connection was really a
+ hallucination and you're not really getting connected
+ <li>that you have no databases at all (unlikely, as
+ MySQL ships with at least one called 'test')
+ <li>that the initial data is not properly imported
(unlikely,
+ see above),
+ <li>that something is hosed on the
PHP<->MySQL level
+ </ul><p>
+
+ (If MySQL returned an error code, it will be
above).<p>
+
+ <font size="4" color="red">Now what?</font>
+ See the
+ [<a href="docs/admin_guide.html#TROUBLE">Admin's
Guide</a>] for more
+ information.<p>
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/help/help/ErrNoName.hlp
issue-tracker2/modules/help/help/ErrNoName.hlp
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/help/help/ErrNoName.hlp
1969-12-31 19:00:00.000000000 -0500
--- issue-tracker2/modules/help/help/ErrNoName.hlp
2005-01-29 23:02:20.000000000 -0500
***************
*** 0 ****
--- 1,19 ----
+ <!-- fmg: issued if "use database" returns null -->
+
+ <strong>Issue-Tracker is Unavailable</strong><p>
+
+ <font size="4" color="red">Now what?</font>
+ I was able to establish a connection to the SQL
server. I also
+ got a list of databases <strong>BUT</strong>
+ the one you specified was not accessible or not
found.<p>
+
+ <font size="4" color="red">Now what?</font>
+ This usually means that the connection to the
server is working
+ but that you did not create the databases or that
you spelled the
+ name incorrectly at some point.<p>
+
+ (If MySQL returned an error code, it will be
above).<p>
+
+ <font size="4" color="red">Huh?</font> See the
+ [<a href="docs/admin_guide.html#TROUBLE">Admin's
Guide</a>] for more
+ information.<p>
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/help/help/ErrNoTables.hlp
issue-tracker2/modules/help/help/ErrNoTables.hlp
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/help/help/ErrNoTables.hlp
1969-12-31 19:00:00.000000000 -0500
--- issue-tracker2/modules/help/help/ErrNoTables.hlp
2005-01-29 23:02:30.000000000 -0500
***************
*** 0 ****
--- 1,22 ----
+ <!-- fmg: issued if "show tables" returns null -->
+
+ <strong>Issue-Tracker is Unavailable</strong><p>
+
+ <font size="4" color="red">Why?</font>
+ I was able to establish a connection to the SQL
server,
+ select the database you requested,
+ <strong>BUT DID NOT</strong> any tables in it!<p>
+
+ <font size="4" color="red">Now what?</font>
+ This usually means one or more of the following:<br>
+ <li>that the SQL tables were not created properly
+ <li>that the initial data was not properly imported
+ <li>that you specified the wrong database, or,
+ <li>that something is hosed on the PHP<->MySQL level
+ </ul><p>
+
+ (If MySQL returned an error code, it will be
above).<p>
+
+ <font size="4" color="red">Huh?</font> See the
+ [<a href="docs/admin_guide.html#TROUBLE">Admin's
Guide</a>] for more
+ information.<p>
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/issues/actions/choose.php
issue-tracker2/modules/issues/actions/choose.php
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/issues/actions/choose.php
2004-12-13 12:55:22.000000000 -0500
--- issue-tracker2/modules/issues/actions/choose.php
2005-02-03 16:19:41.000000000 -0500
***************
*** 9,32 ****
}
! $results = implode(",",$_SESSION['groups']);
! $sql = "SELECT gid,name FROM groups ";
! $sql .= "WHERE active='t' ";
! if (!empty($_GET['start'])) {
$sql .= $_GET['start'] != "ALL" ? "AND UPPER(name) LIKE
'".$_GET['start']."%' " : "";
if (!$_ENV['api']['perms']->is_employee() and
$_GET['start'] != "ALL") {
$sql .= "AND gid IN ($results) ";
! }
! } else {
$sql .= "AND gid IN ($results) ";
! }
! $sql .= "ORDER BY name";
! $results = $_ENV['api']['dbi']->fetch_all($sql,"array",-1);
! $groups = array();
! if (is_array($results)) {
foreach ($results as $row) {
if
($_ENV['mod']['groups']->show_group($row['gid'],$_SESSION['userid']))
{
--- 9,34 ----
}
! //fmg: prevents warning if no groups defined/passed
! if ($_SESSION['groups']) {
! $results = implode(",",$_SESSION['groups']);
! $sql = "SELECT gid,name FROM groups ";
! $sql .= "WHERE active='t' ";
! if (!empty($_GET['start'])) {
$sql .= $_GET['start'] != "ALL" ? "AND UPPER(name) LIKE
'".$_GET['start']."%' " : "";
if (!$_ENV['api']['perms']->is_employee() and
$_GET['start'] != "ALL") {
$sql .= "AND gid IN ($results) ";
! }//if is employee
! } else {
$sql .= "AND gid IN ($results) ";
! }//if start set
! $sql .= "ORDER BY name";
! $results = $_ENV['api']['dbi']->fetch_all($sql,"array",-1);
! $groups = array();
! if (is_array($results)) {
foreach ($results as $row) {
if
($_ENV['mod']['groups']->show_group($row['gid'],$_SESSION['userid']))
{
***************
*** 40,48 ****
'lng' =>
$_ENV['mod']['issues']->num_status_issues(TYPE_LONG_TERM,$row['gid'])
);
! }
! }
! }
! $_ENV['api']['tpl']->assign('groups',$groups);
$_ENV['api']['tpl']->mdisplay("issues","choose.tpl");
?>
--- 42,51 ----
'lng' =>
$_ENV['mod']['issues']->num_status_issues(TYPE_LONG_TERM,$row['gid'])
);
! }//if show_group
! }//foreach
! }//if results
! $_ENV['api']['tpl']->assign('groups',$groups);
! }//if groups specified
$_ENV['api']['tpl']->mdisplay("issues","choose.tpl");
?>
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/issues/actions/group.php
issue-tracker2/modules/issues/actions/group.php
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/issues/actions/group.php
2004-12-13 12:55:22.000000000 -0500
--- issue-tracker2/modules/issues/actions/group.php
2005-02-03 22:57:06.000000000 -0500
***************
*** 28,32 ****
$rows[$key]['escfrom'] =
$_ENV['mod']['issues']->escalated_from($key,$_GET['gid']);
}
! }
$num_rows = count($rows);
--- 28,32 ----
$rows[$key]['escfrom'] =
$_ENV['mod']['issues']->escalated_from($key,$_GET['gid']);
}
! }//foreach
$num_rows = count($rows);
***************
*** 41,44 ****
$_ENV['api']['tpl']->assign('url',$url);
$_ENV['api']['tpl']->mdisplay("issues","group.tpl");
! }
?>
--- 41,44 ----
$_ENV['api']['tpl']->assign('url',$url);
$_ENV['api']['tpl']->mdisplay("issues","group.tpl");
! }//if gid empty
?>
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/issues/actions/new.php
issue-tracker2/modules/issues/actions/new.php
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/issues/actions/new.php
2004-12-13 12:55:22.000000000 -0500
--- issue-tracker2/modules/issues/actions/new.php 2005-02-03
17:05:25.000000000 -0500
***************
*** 77,83 ****
$_POST['summary'] = $summary;
$_POST['problem'] = $problem;
! }
! }
! }
$_ENV['api']['tpl']->assign('products',$_ENV['mod']['groups']->products($_GET['gid']));
--- 77,86 ----
$_POST['summary'] = $summary;
$_POST['problem'] = $problem;
! }//if summary
! }//if can view issue
! //fmg: tracking down redirect-loop
! //} else {
! // $_ENV['api']['sys']->push_fatal_error(t("No such
issue."));
! }//if got icopy
$_ENV['api']['tpl']->assign('products',$_ENV['mod']['groups']->products($_GET['gid']));
***************
*** 92,95 ****
$_ENV['api']['sys']->redirect();
}
! }
?>
--- 95,98 ----
$_ENV['api']['sys']->redirect();
}
! }//if gid empty
?>
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/issues/actions/update.php
issue-tracker2/modules/issues/actions/update.php
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/issues/actions/update.php
2004-12-13 12:55:22.000000000 -0500
--- issue-tracker2/modules/issues/actions/update.php
2005-02-03 22:56:55.000000000 -0500
***************
*** 11,15 ****
if ($_ENV['api']['validate']->is_numeric($_GET['issueid'])
!== TRUE) {
$_ENV['api']['sys']->push_error(t("Issue ID must be a
numeric value."));
- $_ENV['api']['sys']->redirect();
}
--- 11,14 ----
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/issues/actions/view.php
issue-tracker2/modules/issues/actions/view.php
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/issues/actions/view.php
2004-12-13 12:55:22.000000000 -0500
--- issue-tracker2/modules/issues/actions/view.php
2005-02-03 23:33:02.000000000 -0500
***************
*** 9,12 ****
--- 9,23 ----
}
+ //fmg: don't open blank in this case - redirect to Main (???)
+ if (empty($_POST['issueid']) and empty($_GET['issueid'])) {
+ // if (some_option_in_prefences == TRUE) {
+ // //redirect to main menu (show issues)
+ // $_ENV['api']['sys']->redirect();
+ // } else {
+ //jump to enter new issue
+
$_ENV['api']['sys']->redirect("?module=issues&action=new");
+ // }
+ }
+
if (empty($_GET['issueid']) and !empty($_POST['issueid'])) {
$_ENV['api']['sys']->redirect("?module=issues&action=view&issueid={$_POST['issueid']}");
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/issues/hooks/class.php
issue-tracker2/modules/issues/hooks/class.php
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/issues/hooks/class.php
2004-12-13 12:55:22.000000000 -0500
--- issue-tracker2/modules/issues/hooks/class.php 2005-02-03
16:25:03.000000000 -0500
***************
*** 81,84 ****
--- 81,85 ----
function toggle_subscribe($issueid,$userid)
{
+ if (empty($issueid)) return FALSE;
if (!$this->is_subscribed($issueid,$userid)) {
$insert['issueid'] = $issueid;
***************
*** 101,104 ****
--- 102,106 ----
function is_subscribed($issueid,$userid)
{
+ if (empty($issueid)) return FALSE;
$sql = "SELECT issueid FROM subscriptions ";
$sql .= "WHERE userid='$userid' ";
***************
*** 120,123 ****
--- 122,126 ----
function groups($issueid)
{
+ if (empty($issueid)) return FALSE;
$sql = "SELECT i.gid FROM issue_groups i, groups g ";
$sql .= "WHERE i.issueid='$issueid' ";
***************
*** 337,340 ****
--- 340,344 ----
function is_closed($issueid)
{
+ if (empty($issueid)) return FALSE;
$closed =
$_ENV['mod']['admin']->fetch_status(array(TYPE_CLOSED,TYPE_AUTO_CLOSED));
***************
*** 355,358 ****
--- 359,363 ----
function owner($issueid)
{
+ if (empty($issueid)) return FALSE;
$owner = $this->get_details($issueid,"opened_by");
return $owner['opened_by'];
***************
*** 367,370 ****
--- 372,376 ----
function members($issueid)
{
+ if (empty($issueid)) return FALSE;
$groups = $this->groups($issueid);
***************
*** 393,396 ****
--- 399,403 ----
function event_modify_time($eid)
{
+ if (empty($eid)) return FALSE;
$sql = "SELECT modified,userid FROM
event_modifications ";
$sql .= "WHERE eid='$eid' ";
***************
*** 418,421 ****
--- 425,429 ----
function summary($issueid)
{
+ if (empty($issueid)) return FALSE;
$summary = $this->get_details($issueid,"summary");
return stripslashes($summary['summary']);
***************
*** 430,433 ****
--- 438,442 ----
function escalation_groups($issueid)
{
+ if (empty($issueid)) return FALSE;
$egroups = array();
$groups = $this->groups($issueid);
***************
*** 449,452 ****
--- 458,462 ----
function statuses($issueid)
{
+ if (empty($issueid)) return FALSE;
$statuses = array();
$groups = $this->groups($issueid);
***************
*** 470,473 ****
--- 480,484 ----
function internal_statuses($issueid)
{
+ if (empty($issueid)) return FALSE;
$statuses = array();
$groups = $this->groups($issueid);
***************
*** 491,494 ****
--- 502,506 ----
function categories($issueid)
{
+ if (empty($issueid)) return FALSE;
$categories = array();
$groups = $this->groups($issueid);
***************
*** 761,764 ****
--- 773,778 ----
function show($issueid,$gid)
{
+ if (empty($issueid)) return FALSE;
+
$sql = "SELECT show_issue FROM issue_groups ";
$sql .= "WHERE issueid='$issueid' ";
***************
*** 779,782 ****
--- 793,797 ----
function reopen_issue($issueid)
{
+ if (empty($issueid)) return FALSE;
$issue_groups = $this->groups($issueid);
$owner = $this->owner($issueid);
***************
*** 810,813 ****
--- 825,829 ----
function escalate_issue($issueid,$gid)
{
+ if (empty($issueid)) return FALSE;
$sql = "SELECT show_issue FROM issue_groups ";
$sql .= "WHERE issueid='$issueid' ";
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/issues/issues.php
issue-tracker2/modules/issues/issues.php
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/issues/issues.php
2004-12-13 12:55:22.000000000 -0500
--- issue-tracker2/modules/issues/issues.php 2005-02-03
16:37:36.000000000 -0500
***************
*** 17,21 ****
// the group issues file
$gid = $_SESSION['groups'][0];
!
$_ENV['api']['sys']->redirect("?module=issues&action=group&gid=$gid");
}
?>
--- 17,26 ----
// the group issues file
$gid = $_SESSION['groups'][0];
! if (!empty($gid)) {
!
$_ENV['api']['sys']->redirect("?module=issues&action=group&gid=$gid");
! //fmg: tracking down redirect-loop
! //} else {
! // $_ENV['api']['sys']->push_error(t("No valid
Groups."));
! }//if got gid
}
?>
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/prefs/actions/group.php
issue-tracker2/modules/prefs/actions/group.php
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/prefs/actions/group.php
2004-12-13 12:55:22.000000000 -0500
--- issue-tracker2/modules/prefs/actions/group.php
2005-01-30 00:13:32.000000000 -0500
***************
*** 9,13 ****
}
! if ($_GET['submit'] == "true") {
foreach ($_SESSION['groups'] as $key => $val) {
if ($_POST[('notemail'.$val)] == "on") {
--- 9,15 ----
}
! //fmg: avoid run-time warning:
! // Invalid argument supplied for foreach() in
modules/prefs/actions/group.php on line 12
! if ($_GET['submit'] == "true" &&
!empty($_SESSION['groups']) ) {
foreach ($_SESSION['groups'] as $key => $val) {
if ($_POST[('notemail'.$val)] == "on") {
***************
*** 30,34 ****
}
! $ugroups = implode(",",$_SESSION['groups']);
$sql = "SELECT g.gid,g.name,u.show_group,u.severity FROM
group_users u, groups g ";
$sql .= "WHERE u.gid IN ($ugroups) ";
--- 32,40 ----
}
! //fmg: avoid run-time warning:
! // implode(): Bad arguments. in
modules/prefs/actions/group.php on line 32
! if (!empty($_SESSION['groups']) ) {
! $ugroups = implode(",",$_SESSION['groups']);
! }//if got session
$sql = "SELECT g.gid,g.name,u.show_group,u.severity FROM
group_users u, groups g ";
$sql .= "WHERE u.gid IN ($ugroups) ";
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/prefs/help/pref_ap.jpg
and issue-tracker2/modules/prefs/help/pref_ap.jpg differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/prefs/help/pref_gp.jpg
and issue-tracker2/modules/prefs/help/pref_gp.jpg differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/prefs/help/pref_header_bar.jpg
and issue-tracker2/modules/prefs/help/pref_header_bar.jpg differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/prefs/help/pref_ilp.jpg
and issue-tracker2/modules/prefs/help/pref_ilp.jpg differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/prefs/help/pref_passwd.jpg
and issue-tracker2/modules/prefs/help/pref_passwd.jpg differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/prefs/help/pref_pi.jpg
and issue-tracker2/modules/prefs/help/pref_pi.jpg differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/prefs/help/pref_pm1.jpg
and issue-tracker2/modules/prefs/help/pref_pm1.jpg differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/prefs/help/pref_pm2.jpg
and issue-tracker2/modules/prefs/help/pref_pm2.jpg differ
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/prefs/help/pref_pm3.jpg
and issue-tracker2/modules/prefs/help/pref_pm3.jpg differ
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/prefs/help/prefs.hlp
issue-tracker2/modules/prefs/help/prefs.hlp
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/prefs/help/prefs.hlp
1969-12-31 19:00:00.000000000 -0500
--- issue-tracker2/modules/prefs/help/prefs.hlp 2005-02-02
21:55:34.000000000 -0500
***************
*** 0 ****
--- 1,25 ----
+ <h2>Preferences help</h2>
+ <p>
+ <img src="modules/prefs/help/pref_header_bar.jpg"><br>
+ Clicking on the will open a new window where you may
configure your group preferences. Be sure you save any
changes to Preferences first by clicking on the
+ <img src="modules/prefs/help/pref_uup.jpg"> button (bottom
of page).
+ <p>
+ <img src="modules/prefs/help/pref_pi.jpg">
+ <p>
+ <img src="modules/prefs/help/pref_passwd.jpg">
+ <p>
+ <img src="modules/prefs/help/pref_pm1.jpg">
+ <p>
+ <img src="modules/prefs/help/pref_pm2.jpg">
+ <p>
+ <img src="modules/prefs/help/pref_pm3.jpg">
+ <p>
+ <img src="modules/prefs/help/pref_gp.jpg">
+ <p>
+ <img src="modules/prefs/help/pref_ap.jpg">
+ <p>
+ <img src="modules/prefs/help/pref_ilp.jpg">
+ <p>
+ <center><img src="modules/prefs/help/pref_uup.jpg"></center>
+ <p>
+ <hr>
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/prefs/help/prefs.html
issue-tracker2/modules/prefs/help/prefs.html
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/prefs/help/prefs.html
1969-12-31 19:00:00.000000000 -0500
--- issue-tracker2/modules/prefs/help/prefs.html 2005-02-02
16:04:36.000000000 -0500
***************
*** 0 ****
--- 1,26 ----
+ <html>
+ <head><title>Preferences help</title></head>
+ <body>
+ <img src="pref_header_bar.jpg">
+ <p>
+ <img src="pref_pi.jpg">
+ <p>
+ <img src="pref_passwd.jpg">
+ <p>
+ <img src="pref_pm1.jpg">
+ <p>
+ <img src="pref_pm2.jpg">
+ <p>
+ <img src="pref_pm3.jpg">
+ <p>
+ <img src="pref_gp.jpg">
+ <p>
+ <img src="pref_ap.jpg">
+ <p>
+ <img src="pref_ilp.jpg">
+ <p>
+ <center><img src="pref_uup.jpg"></center>
+ <p>
+ <input type="submit" value="Close This Help Window"
onClick="window.close();" />
+ </body>
+ </html>
Binary files
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/prefs/help/pref_uup.jpg
and issue-tracker2/modules/prefs/help/pref_uup.jpg differ
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/prefs/prefs.php
issue-tracker2/modules/prefs/prefs.php
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/prefs/prefs.php
2004-12-13 12:55:22.000000000 -0500
--- issue-tracker2/modules/prefs/prefs.php 2005-02-02
12:17:07.000000000 -0500
***************
*** 105,108 ****
--- 105,113 ----
}
+ //fmg: set have_help variable for smarty - don't know
better way
+ if (!empty($help_file)) {
+
$_ENV['mod']['users']->update_preference($_SESSION['userid'],"session_warning",$_POST['SessionTimeoutWarning']);
+ }//no help
+
if (!empty($_GET['mid'])) {
$sql = "DELETE FROM menus ";
diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -x
admin_guide.html -x admin_guide_images
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/users/actions/forgotten_password.php
issue-tracker2/modules/users/actions/forgotten_password.php
***
/usr/src/redhat/SOURCES/issue-tracker-5dev/modules/users/actions/forgotten_password.php
2004-12-13 12:55:22.000000000 -0500
---
issue-tracker2/modules/users/actions/forgotten_password.php
2005-02-04 16:14:51.000000000 -0500
***************
*** 9,12 ****
--- 9,15 ----
}
+ //fmg: show header too+ $_ENV['api']['tpl']-('header.tpl');+ (!empty($_POST['username']) and !empty($_POST['email'])) {_guide.html -x admin_guide_images***--- issue-tracker2/modules/users/tpl/users.tpl 2005-02-03****************** 19,23 ****! _list"--- 19,23 ----! _list"_guide.html -x admin_guide_images***--- issue-tracker2/modules/users/tpl/view.tpl 2005-02-04****************** 54,59 ****{/if}! _groups"{t}Add to Groups{/t}:! _groups[]" size="10"{foreach from=$groups item=group}--- 54,59 ----{/if}! !-- fmg: _groups"{t}Add{/t}:! _groups"{t}Add to Groups{/t}:_groups[]" size="10"{foreach from=$groups item=group}****************** 64,68 ****! _groups[]" size="10"{foreach from=$user_groups item=gid}--- 64,68 ----! _groups"{t}Delete from Groups{/t}:_groups[]" size="10"{foreach from=$user_groups item=gid}_guide.html -x admin_guide_images*** /usr/src/redhat/SOURCES/issue-tracker-5dev/parser--- issue-tracker2/parser 2005-02-04 16:44:43.000000000 -0500****************** 311,315 ****['problem'] = $parser-['severity'] = SEV_NORMAL;! if $parser-['private'] == "true") {['private'] = "t";}--- 311,315 ----['problem'] = $parser-['severity'] = SEV_NORMAL;! if ($parser-['private'] == "true") {['private'] = "t";}_guide.html -x admin_guide_images*** /usr/src/redhat/SOURCES/issue-tracker-5dev/README.fmg--- issue-tracker2/README.fmg 2005-02-04 18:55:49.899775944****************** 0 ****--- 1,32 ----+ * See file ROOT/5dev_bugs.txt for running log of issues I+ + * Documentation was created with vim (what else?!?!) and+ % import -version+ Version: ImageMagick 5.5.7 03/23/04 Q16http://www.imagemagick.org+ Copyright: Copyright (C) 2003 ImageMagick Studio LLC+ using the following tcsh alias which allows for precise+ alias capture "sleep 8 && import -quality 90 -comment \!*\!*.jpg"+ Note that when using it, leave OFF the extension:+ % capture admin_sa_pm_cps+ (You have 8 seconds to activate the window in question,+ to turn to a cross, select the region by clicking in+ and dragging to cover area desired and only then releasing+ Easy, eh?)+ + * I am beating the error.php way of showing errors+ .HLP we use now for everything else.+ + * See themes/default/tpl/README.fmg for further info.+ + * No reason why a macro can't piece together the scattered+ (and their images) into a comprehensive manual (later).+ give it a shot?+ + * error.php is a chopped copy of index.php but adjusted()+ the dbase connections so as not to cause looping. This is+ index.php invokes error.php in case the dbase connection+ If you know how to do this so that only index.php is+ + * new images/user.png - more obvious :) (resized)+ + * new images/delete.png - more obvious. (resized)_guide.html -x admin_guide_images_schema.mysql_schema.mysql***_schema.mysql--- issue-tracker2/setup/5dev_schema.mysql 2005-02-03****************** 0 ****--- 1,8 ----+ -- fmg: I am deducing this format from data it wants to+ CREATE TABLE query_stats (+ qid INTEGER AUTO_INCREMENT,+ query VARCHAR(255) NOT NULL,+ execute_time NUMERIC(18,17) DEFAULT NULL,+ PRIMARY KEY (qid)+ );+ _guide.html -x admin_guide_images_db.sh_db.sh***_db.sh--- issue-tracker2/setup/create_db.sh 2005-01-30****************** 0 ****--- 1,12 ----+ #!/bin/sh+ DATABASE="issuetracker"+ USR="it"+ HST="localhost"+ #+ echo "Running this more than once will KEEP ADDING DATA -!"+ #+ mysqladmin --user=$USR -p --host=$HST CREATE $DATABASE+ #+ mysql -f --user=$USR -p --host=$HST $DATABASE + mysql -f --user=$USR -p --host=$HST $DATABASE + mysql -f --user=$USR -p --host=$HST $DATABASE _guide.html -x admin_guide_images*** /usr/src/redhat/SOURCES/issue-tracker-5dev/setup/tt--- issue-tracker2/setup/tt 2005-02-03 18:06:00.000000000 -0500****************** 0 ****--- 1 ----+ _guide.html -x admin_guide_images***--- issue-tracker2/themes/default/date-picker.js 2005-02-03****************** 25,29 ****(pklzzwxh:10000month == nullklzzwxh:10001 klzzwxh:10002klzzwxh:10345this.gMonthName = null;klzzwxh:10346klzzwxh:10003 this.gMonth = null;klzzwxh:10347this.gYearly = true;klzzwxh:10348klzzwxh:10004 else klzzwxh:10005klzzwxh:10349klzzwxh:10006-- 25,29 ----klzzwxh:10350if klzzwxh:10007pklzzwxh:10008month == nullklzzwxh:10009 klzzwxh:10010klzzwxh:10351this.gMonthName = null;klzzwxh:10352klzzwxh:10011 this.gMonth = null;klzzwxh:10353this.gYearly = true;klzzwxh:10354klzzwxh:10012 else klzzwxh:10013klzzwxh:10355klzzwxh:10014klzzwxh:10015klzzwxh:10016klzzwxh:10017klzzwxh:10018klzzwxh:10019klzzwxh:10020klzzwxh:10021klzzwxh:10022klzzwxh:10023klzzwxh:10024klzzwxh:10025klzzwxh:10026klzzwxh:10027klzzwxh:10028klzzwxh:10356klzzwxh:10029klzzwxh:10030klzzwxh:10031 156,159 klzzwxh:10032klzzwxh:10033klzzwxh:10034klzzwxh:10035klzzwxh:10357klzzwxh:10036-- 156,161 ----
this.gWinCal.document.openklzzwxh:10358klzzwxh:10359;klzzwxh:10366klzzwxh:10360 //fmg: without this I get "Undefined" for initial monthklzzwxh:10367nameklzzwxh:10361klzzwxh:10368klzzwxh:10362 this.gMonthName = Calendar.getklzzwxh:10363monthklzzwxh:10364this.gMonth - 1klzzwxh:10365
// Setup the page...klzzwxh:10898klzzwxh:10369klzzwxh:10370klzzwxh:10371klzzwxh:10372klzzwxh:10373klzzwxh:10374klzzwxh:10375klzzwxh:10376klzzwxh:10377klzzwxh:10378klzzwxh:10379klzzwxh:10380klzzwxh:10381klzzwxh:10382klzzwxh:10383klzzwxh:10899klzzwxh:10384klzzwxh:10385klzzwxh:10386 493,497 klzzwxh:10387klzzwxh:10388klzzwxh:10389klzzwxh:10390klzzwxh:10900pklzzwxh:10391item : Return Item.klzzwxh:10901klzzwxh:10392/klzzwxh:10902klzzwxh:10393 klzzwxh:10903pklzzwxh:10394item = argumentsklzzwxh:103950klzzwxh:10396;klzzwxh:10904if klzzwxh:10397argumentsklzzwxh:103981klzzwxh:10399 == nullklzzwxh:10400klzzwxh:10905klzzwxh:10401-- 495,498 ----klzzwxh:10906diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -xklzzwxh:10907adminklzzwxh:10402guide.html -x adminklzzwxh:10403guideklzzwxh:10404imagesklzzwxh:10908/usr/src/redhat/SOURCES/issue-tracker-5dev/themes/default/tpl/fatal.tplklzzwxh:10909issue-tracker2/themes/default/tpl/fatal.tplklzzwxh:10910klzzwxh:10405klzzwxh:10406klzzwxh:10407klzzwxh:10911/usr/src/redhat/SOURCES/issue-tracker-5dev/themes/default/tpl/fatal.tplklzzwxh:109121969-12-31 19:00:00.000000000 -0500klzzwxh:10913klzzwxh:10408-- issue-tracker2/themes/default/tpl/fatal.tpl 2005-01-29klzzwxh:1091421:44:50.000000000 -0500klzzwxh:10915klzzwxh:10409klzzwxh:10410klzzwxh:10411klzzwxh:10412klzzwxh:10413klzzwxh:10414klzzwxh:10415klzzwxh:10416klzzwxh:10417klzzwxh:10418klzzwxh:10419klzzwxh:10420klzzwxh:10421klzzwxh:10422klzzwxh:10423klzzwxh:10916klzzwxh:10424klzzwxh:10425klzzwxh:10426 0 klzzwxh:10427klzzwxh:10428klzzwxh:10429klzzwxh:10430klzzwxh:10917klzzwxh:10431-- 1,8 ----klzzwxh:10918klzzwxh:10432 klzzwxh:10778klzzwxh:10433-- Begin fatal.tpl --klzzwxh:10779klzzwxh:10919klzzwxh:10434 klzzwxh:10780br /klzzwxh:10781klzzwxh:10920klzzwxh:10435 klzzwxh:10436container txt="Fatal"klzzwxh:10437klzzwxh:10921klzzwxh:10438 klzzwxh:10782br /klzzwxh:10783klzzwxh:10922klzzwxh:10439 klzzwxh:10440$helpklzzwxh:10441klzzwxh:10923klzzwxh:10442 klzzwxh:10443/containerklzzwxh:10444klzzwxh:10924klzzwxh:10445 klzzwxh:10784br /klzzwxh:10785klzzwxh:10925klzzwxh:10446 klzzwxh:10786klzzwxh:10447-- End fatal.tpl --klzzwxh:10787klzzwxh:10926diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -xklzzwxh:10927adminklzzwxh:10448guide.html -x adminklzzwxh:10449guideklzzwxh:10450imagesklzzwxh:10928/usr/src/redhat/SOURCES/issue-tracker-5dev/themes/default/tpl/header.tplklzzwxh:10929issue-tracker2/themes/default/tpl/header.tplklzzwxh:10930klzzwxh:10451klzzwxh:10452klzzwxh:10453klzzwxh:10931/usr/src/redhat/SOURCES/issue-tracker-5dev/themes/default/tpl/header.tplklzzwxh:109322004-12-13 12:55:21.000000000 -0500klzzwxh:10933klzzwxh:10454-- issue-tracker2/themes/default/tpl/header.tpl 2005-02-02klzzwxh:1093422:53:04.000000000 -0500klzzwxh:10935klzzwxh:10455klzzwxh:10456klzzwxh:10457klzzwxh:10458klzzwxh:10459klzzwxh:10460klzzwxh:10461klzzwxh:10462klzzwxh:10463klzzwxh:10464klzzwxh:10465klzzwxh:10466klzzwxh:10467klzzwxh:10468klzzwxh:10469klzzwxh:10936klzzwxh:10470klzzwxh:10471klzzwxh:10472 35,39 klzzwxh:10473klzzwxh:10474klzzwxh:10475klzzwxh:10476klzzwxh:10937klzzwxh:10477if klzzwxh:10478emptyklzzwxh:10479$smarty.session.useridklzzwxh:10480klzzwxh:10481klzzwxh:10938klzzwxh:10788trklzzwxh:10789klzzwxh:10939klzzwxh:10482 klzzwxh:10790td class="crumb"klzzwxh:10791klzzwxh:10792nbsp;klzzwxh:10793rsaquo;klzzwxh:10794nbsp;klzzwxh:10483$crumbsklzzwxh:10484klzzwxh:10795/tdklzzwxh:10796klzzwxh:10940klzzwxh:10485if $api.perms-klzzwxh:10797isklzzwxh:10486adminklzzwxh:10487$smarty.session.useridklzzwxh:10488klzzwxh:10489klzzwxh:10941klzzwxh:10798td class="crumb" width="20%" align="right"klzzwxh:10799klzzwxh:10800aklzzwxh:10942href="?module=admin"klzzwxh:10801Administrationklzzwxh:10802/aklzzwxh:10803klzzwxh:10804/tdklzzwxh:10805klzzwxh:10943klzzwxh:10490-- 35,47 ----klzzwxh:10944klzzwxh:10491if klzzwxh:10492emptyklzzwxh:10493$smarty.session.useridklzzwxh:10494klzzwxh:10495klzzwxh:10945klzzwxh:10806trklzzwxh:10807klzzwxh:10946klzzwxh:10496 klzzwxh:10808td class="crumb"klzzwxh:10809klzzwxh:10810nbsp;klzzwxh:10811rsaquo;klzzwxh:10812nbsp;klzzwxh:10497$crumbsklzzwxh:10498klzzwxh:10947klzzwxh:10499 klzzwxh:10813klzzwxh:10500-- fmg: popup online help --klzzwxh:10814klzzwxh:10948klzzwxh:10501 klzzwxh:10502if klzzwxh:10503emptyklzzwxh:10504$helpklzzwxh:10505fileklzzwxh:10506klzzwxh:10507klzzwxh:10949klzzwxh:10508 klzzwxh:10777klzzwxh:10815nbsp;klzzwxh:10816nbsp;klzzwxh:10817nbsp;klzzwxh:10818nbsp;klzzwxh:10819nbsp;klzzwxh:10820nbsp;klzzwxh:10821nbsp;klzzwxh:10822nbsp;klzzwxh:10823nbsp;klzzwxh:10824nbsp;klzzwxh:10950klzzwxh:10509 klzzwxh:10510klzzwxh:10825a href="javascript:voidklzzwxh:10951window.openklzzwxh:10511'klzzwxh:10512$helpklzzwxh:10513urlklzzwxh:10514','popupklzzwxh:10515help','status=yes,toolbar=no,scrollbars=yes,titlebar=yes,menubar=no,resizable=yes,directories=no,location=no'klzzwxh:10516;"klzzwxh:10826Popupklzzwxh:10952Helpklzzwxh:10827/aklzzwxh:10828klzzwxh:10517klzzwxh:10953klzzwxh:10518 klzzwxh:10519elseklzzwxh:10520klzzwxh:10954klzzwxh:10521 klzzwxh:10829klzzwxh:10522-- fmg: no help --klzzwxh:10830klzzwxh:10955klzzwxh:10523 klzzwxh:10524/ifklzzwxh:10525klzzwxh:10956klzzwxh:10526 klzzwxh:10831/tdklzzwxh:10832klzzwxh:10957klzzwxh:10527if $api.perms-klzzwxh:10833isklzzwxh:10528adminklzzwxh:10529$smarty.session.useridklzzwxh:10530klzzwxh:10531klzzwxh:10958klzzwxh:10834td class="crumb" width="20%" align="right"klzzwxh:10835klzzwxh:10836aklzzwxh:10959href="?module=admin"klzzwxh:10837Administrationklzzwxh:10838/aklzzwxh:10839klzzwxh:10840/tdklzzwxh:10841klzzwxh:10960diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -xklzzwxh:10961adminklzzwxh:10532guide.html -x adminklzzwxh:10533guideklzzwxh:10534imagesklzzwxh:10962/usr/src/redhat/SOURCES/issue-tracker-5dev/themes/default/tpl/popfooter.tplklzzwxh:10963issue-tracker2/themes/default/tpl/popfooter.tplklzzwxh:10964klzzwxh:10535klzzwxh:10536klzzwxh:10537klzzwxh:10965/usr/src/redhat/SOURCES/issue-tracker-5dev/themes/default/tpl/popfooter.tplklzzwxh:109661969-12-31 19:00:00.000000000 -0500klzzwxh:10967klzzwxh:10538-- issue-tracker2/themes/default/tpl/popfooter.tplklzzwxh:109682005-02-02 21:34:32.000000000 -0500klzzwxh:10969klzzwxh:10539klzzwxh:10540klzzwxh:10541klzzwxh:10542klzzwxh:10543klzzwxh:10544klzzwxh:10545klzzwxh:10546klzzwxh:10547klzzwxh:10548klzzwxh:10549klzzwxh:10550klzzwxh:10551klzzwxh:10552klzzwxh:10553klzzwxh:10970klzzwxh:10554klzzwxh:10555klzzwxh:10556 0 klzzwxh:10557klzzwxh:10558klzzwxh:10559klzzwxh:10560klzzwxh:10971klzzwxh:10561-- 1,7 ----klzzwxh:10972klzzwxh:10562 klzzwxh:10842klzzwxh:10563-- Begin popfooter.tpl --klzzwxh:10843klzzwxh:10973klzzwxh:10564 klzzwxh:10844/trklzzwxh:10845klzzwxh:10974klzzwxh:10565 klzzwxh:10846/tableklzzwxh:10847klzzwxh:10975klzzwxh:10566 klzzwxh:10848/bodyklzzwxh:10849klzzwxh:10976klzzwxh:10567 klzzwxh:10850/htmlklzzwxh:10851klzzwxh:10977klzzwxh:10568 klzzwxh:10852klzzwxh:10569-- End popfooter.tpl --klzzwxh:10853klzzwxh:10978klzzwxh:10570 klzzwxh:10979diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -xklzzwxh:10980adminklzzwxh:10571guide.html -x adminklzzwxh:10572guideklzzwxh:10573imagesklzzwxh:10981/usr/src/redhat/SOURCES/issue-tracker-5dev/themes/default/tpl/popheader.tplklzzwxh:10982issue-tracker2/themes/default/tpl/popheader.tplklzzwxh:10983klzzwxh:10574klzzwxh:10575klzzwxh:10576klzzwxh:10984/usr/src/redhat/SOURCES/issue-tracker-5dev/themes/default/tpl/popheader.tplklzzwxh:109851969-12-31 19:00:00.000000000 -0500klzzwxh:10986klzzwxh:10577-- issue-tracker2/themes/default/tpl/popheader.tplklzzwxh:109872005-02-02 21:33:16.000000000 -0500klzzwxh:10988klzzwxh:10578klzzwxh:10579klzzwxh:10580klzzwxh:10581klzzwxh:10582klzzwxh:10583klzzwxh:10584klzzwxh:10585klzzwxh:10586klzzwxh:10587klzzwxh:10588klzzwxh:10589klzzwxh:10590klzzwxh:10591klzzwxh:10592klzzwxh:10989klzzwxh:10593klzzwxh:10594klzzwxh:10595 0 klzzwxh:10596klzzwxh:10597klzzwxh:10598klzzwxh:10599klzzwxh:10990klzzwxh:10600-- 1,25 ----klzzwxh:10991klzzwxh:10601 klzzwxh:10854klzzwxh:10602DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN"klzzwxh:10855klzzwxh:10992klzzwxh:10603 klzzwxh:10856klzzwxh:10604-- Begin popheader.tpl --klzzwxh:10857klzzwxh:10993klzzwxh:10605 klzzwxh:10858htmlklzzwxh:10859klzzwxh:10994klzzwxh:10606 klzzwxh:10860headklzzwxh:10861klzzwxh:10995klzzwxh:10607 klzzwxh:10862titleklzzwxh:10863klzzwxh:10608tklzzwxh:10609klzzwxh:10610$titleklzzwxh:10611klzzwxh:10612/tklzzwxh:10613klzzwxh:10864/titleklzzwxh:10865klzzwxh:10996klzzwxh:10614 klzzwxh:10866link rel="stylesheet" type="text/css"klzzwxh:10997href="themes/default/stylesheet.css" /klzzwxh:10867klzzwxh:10998klzzwxh:10615 klzzwxh:10616if pregklzzwxh:10617matchklzzwxh:10618"/MSIE/",$smarty.server.HTTPklzzwxh:10619USERklzzwxh:10620AGENTklzzwxh:10621klzzwxh:10622klzzwxh:10999klzzwxh:10623 klzzwxh:10868script type="text/javascript"klzzwxh:11000src="themes/default/pngfix.js"klzzwxh:10869klzzwxh:10870/scriptklzzwxh:10871klzzwxh:11001klzzwxh:10624 klzzwxh:10872link rel="stylesheet" type="text/css"klzzwxh:11002href="themes/default/ie.css" /klzzwxh:10873klzzwxh:11003klzzwxh:10625 klzzwxh:10626/ifklzzwxh:10627klzzwxh:11004klzzwxh:10628 klzzwxh:10629if $smarty.session.javascript eq TRUEklzzwxh:10630klzzwxh:11005klzzwxh:10631 klzzwxh:10632include file="javascript.tpl"klzzwxh:10633klzzwxh:11006klzzwxh:10634 klzzwxh:10635/ifklzzwxh:10636klzzwxh:11007klzzwxh:10637 klzzwxh:10874script type="text/javascript"klzzwxh:11008src="themes/default/sorttable.js"klzzwxh:10875klzzwxh:10876/scriptklzzwxh:10877klzzwxh:11009klzzwxh:10638 klzzwxh:10878script type="text/javascript"klzzwxh:11010src="themes/default/date-picker.js"klzzwxh:10879klzzwxh:10880/scriptklzzwxh:10881klzzwxh:11011klzzwxh:10639 klzzwxh:10882/headklzzwxh:10883klzzwxh:11012klzzwxh:10640 klzzwxh:10641if $smarty.session.prefs.sessionklzzwxh:10642warning eq "t" andklzzwxh:11013$smarty.session.javascript eq TRUEklzzwxh:10643klzzwxh:11014klzzwxh:10644 klzzwxh:10884body onLoad="loaderklzzwxh:10645klzzwxh:10646; return true;"klzzwxh:11015onUnLoad="unloaderklzzwxh:10647klzzwxh:10648; return true;"klzzwxh:10885klzzwxh:11016klzzwxh:10649 klzzwxh:10650elseklzzwxh:10651klzzwxh:11017klzzwxh:10652 klzzwxh:10886bodyklzzwxh:10887klzzwxh:11018klzzwxh:10653 klzzwxh:10654/ifklzzwxh:10655klzzwxh:11019klzzwxh:10656 klzzwxh:10888table width="100%" cellspacing="0" cellpadding="0"klzzwxh:11020border="0"klzzwxh:10889klzzwxh:11021klzzwxh:10657 klzzwxh:10890trklzzwxh:10891klzzwxh:11022klzzwxh:10658 klzzwxh:10892klzzwxh:10659-- End popheader.tpl --klzzwxh:10893klzzwxh:11023klzzwxh:10660 klzzwxh:11024diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -xklzzwxh:11025adminklzzwxh:10661guide.html -x adminklzzwxh:10662guideklzzwxh:10663imagesklzzwxh:11026/usr/src/redhat/SOURCES/issue-tracker-5dev/themes/default/tpl/pophelp.tplklzzwxh:11027issue-tracker2/themes/default/tpl/pophelp.tplklzzwxh:11028klzzwxh:10664klzzwxh:10665klzzwxh:10666klzzwxh:11029/usr/src/redhat/SOURCES/issue-tracker-5dev/themes/default/tpl/pophelp.tplklzzwxh:110301969-12-31 19:00:00.000000000 -0500klzzwxh:11031klzzwxh:10667-- issue-tracker2/themes/default/tpl/pophelp.tpl 2005-02-02klzzwxh:1103221:53:04.000000000 -0500klzzwxh:11033klzzwxh:10668klzzwxh:10669klzzwxh:10670klzzwxh:10671klzzwxh:10672klzzwxh:10673klzzwxh:10674klzzwxh:10675klzzwxh:10676klzzwxh:10677klzzwxh:10678klzzwxh:10679klzzwxh:10680klzzwxh:10681klzzwxh:10682klzzwxh:11034klzzwxh:10683klzzwxh:10684klzzwxh:10685 0 klzzwxh:10686klzzwxh:10687klzzwxh:10688klzzwxh:10689klzzwxh:11035klzzwxh:10690-- 1,7 ----klzzwxh:11036klzzwxh:10691 klzzwxh:10894klzzwxh:10692-- Begin pophelp.tpl --klzzwxh:10895klzzwxh:11037klzzwxh:10693 klzzwxh:10694container txt="The HELP you requested:"klzzwxh:10695klzzwxh:11038klzzwxh:10696 klzzwxh:10697button img=$images.no txt="Close HELP Window"klzzwxh:11039click="window.closeklzzwxh:10698klzzwxh:10699;"klzzwxh:10700klzzwxh:11040klzzwxh:10701 klzzwxh:10702$helpklzzwxh:10703klzzwxh:11041klzzwxh:10704 klzzwxh:10705button img=$images.no txt="Close HELP Window"klzzwxh:11042click="window.closeklzzwxh:10706klzzwxh:10707;"klzzwxh:10708klzzwxh:11043klzzwxh:10709 klzzwxh:10710/containerklzzwxh:10711klzzwxh:11044klzzwxh:10712 klzzwxh:10896klzzwxh:10713-- End pophelp.tpl --klzzwxh:10897klzzwxh:11045diff -P -t -r -C 2 -x cache -x logs -x sessions -x conf -xklzzwxh:11046adminklzzwxh:10714guide.html -x adminklzzwxh:10715guideklzzwxh:10716imagesklzzwxh:11047/usr/src/redhat/SOURCES/issue-tracker-5dev/themes/default/tpl/README.fmgklzzwxh:11048issue-tracker2/themes/default/tpl/README.fmgklzzwxh:11049klzzwxh:10717klzzwxh:10718klzzwxh:10719klzzwxh:11050/usr/src/redhat/SOURCES/issue-tracker-5dev/themes/default/tpl/README.fmgklzzwxh:110511969-12-31 19:00:00.000000000 -0500klzzwxh:11052klzzwxh:10720-- issue-tracker2/themes/default/tpl/README.fmg 2005-02-02klzzwxh:1105322:54:47.000000000 -0500klzzwxh:11054klzzwxh:10721klzzwxh:10722klzzwxh:10723klzzwxh:10724klzzwxh:10725klzzwxh:10726klzzwxh:10727klzzwxh:10728klzzwxh:10729klzzwxh:10730klzzwxh:10731klzzwxh:10732klzzwxh:10733klzzwxh:10734klzzwxh:10735klzzwxh:11055klzzwxh:10736klzzwxh:10737klzzwxh:10738 0 klzzwxh:10739klzzwxh:10740klzzwxh:10741klzzwxh:10742klzzwxh:11056klzzwxh:10743-- 1,20 ----klzzwxh:11057klzzwxh:10744 //fmg: 01/05klzzwxh:11058klzzwxh:10745 fatal.tpl is a copy of help.tpl with "close window"klzzwxh:11059removed as there is noklzzwxh:11060klzzwxh:10746 window to close - that screen is the final thing beforeklzzwxh:11061"exit;" :klzzwxh:10747klzzwxh:11062klzzwxh:10748 klzzwxh:11063klzzwxh:10749 //fmg: 02/02klzzwxh:11064klzzwxh:10750 header.tpl modified with addition of javascript to popup aklzzwxh:11065new window withklzzwxh:11066klzzwxh:10751 the HLP - IF IT EXISTSklzzwxh:10752 klzzwxh:11067klzzwxh:10753 klzzwxh:11068klzzwxh:10754 //fmg: 02/02klzzwxh:11069klzzwxh:10755 pophelp.tpl is a copy of help.tpl with "close window" onklzzwxh:11070both top and bottomklzzwxh:11071klzzwxh:10756 of the help info and also changed to "close HELP window" -klzzwxh:11072to pacify theklzzwxh:11073klzzwxh:10757 user that their session window will not be closed.klzzwxh:11074klzzwxh:10758 klzzwxh:11075klzzwxh:10759 //fmg: 02/02klzzwxh:11076klzzwxh:10760 popheader.tpl is a copy of header.tpl molested to notklzzwxh:11077print any stuff we usuallyklzzwxh:11078klzzwxh:10761 find in a header. klzzwxh:10762I don't know how to klzzwxh:10763setklzzwxh:10764 theklzzwxh:11079$smarty.get.nofooter variableklzzwxh:10765klzzwxh:10766klzzwxh:11080klzzwxh:10767 klzzwxh:11081klzzwxh:10768 //fmg: 02/02klzzwxh:11082klzzwxh:10769 popfooter.tpl is a copy of footer.tpl molested to notklzzwxh:11083print any stuff we usuallyklzzwxh:11084klzzwxh:10770 find in a footer. klzzwxh:10771I don't know how to klzzwxh:10772setklzzwxh:10773 theklzzwxh:11085$smarty.get.nofooter variableklzzwxh:10774klzzwxh:10775klzzwxh:11086klzzwxh:10776----------------------------------------------------------
Cheers,klzzwxh:11087Fil