[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gforge-commits] gforge/www/include pre.php, 1.20, 1.21 Layout.class, 1
From: |
gsmet |
Subject: |
[Gforge-commits] gforge/www/include pre.php, 1.20, 1.21 Layout.class, 1.73, 1.74 |
Date: |
Mon, 09 Feb 2004 04:22:25 -0600 |
Update of /cvsroot/gforge/gforge/www/include
In directory db.perdue.net:/tmp/cvs-serv17528/www/include
Modified Files:
pre.php Layout.class
Log Message:
implemented a new search engine architecture
Index: pre.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/include/pre.php,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- pre.php 18 Jan 2004 02:04:04 -0000 1.20
+++ pre.php 9 Feb 2004 10:22:22 -0000 1.21
@@ -20,6 +20,9 @@
require_once('/etc/gforge/custom/pre.php');
} else {
+// get constants used for flags or status
+require('common/include/constants.php');
+
// Defines all of the Source Forge hosts, databases, etc.
// This needs to be loaded first because the lines below depend upon it.
if (is_file('/etc/gforge/local.inc')) {
Index: Layout.class
===================================================================
RCS file: /cvsroot/gforge/gforge/www/include/Layout.class,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- Layout.class 5 Feb 2004 16:46:56 -0000 1.73
+++ Layout.class 9 Feb 2004 10:22:22 -0000 1.74
@@ -705,23 +705,23 @@
$ath = new ArtifactTypeHtml($group,$atid);
if ($ath && is_object($ath)) {
print '
- <option value="artifact"'.( $type_of_search ==
'artifact' ? ' selected="selected"' : '' ).'>'. $ath->getName() .'</option>';
+ <option value="'.SEARCH__TYPE_IS_ARTIFACT.'"'.(
$type_of_search == SEARCH__TYPE_IS_ARTIFACT ? ' selected="selected"' : ''
).'>'. $ath->getName() .'</option>';
}
}
} else if ($group_id && $forum_id) {
print '
- <option value="forums"'.( $type_of_search == 'forums' ?
' selected="selected"' : ''
).'>'.$Language->getText('searchbox','forum').'</OPTION>';
+ <option value="'.SEARCH__TYPE_IS_FORUM.'"'.(
$type_of_search == SEARCH__TYPE_IS_FORUM ? ' selected="selected"' : ''
).'>'.$Language->getText('searchbox','forum').'</option>';
} else if ($group_id && $group_project_id) {
print '
<option value="task"'. ( $type_of_search == 'tasks' ? '
selected="selected"' :
'').'>'.$Language->getText('searchbox','task').'</option>';
}
print '
- <option value="soft"'.( $type_of_search == 'soft' ? '
selected="selected"' : ''
).'>'.$Language->getText('searchbox','softwaregroup').'</option>';
+ <option value="'.SEARCH__TYPE_IS_SOFTWARE.'"'.(
$type_of_search == SEARCH__TYPE_IS_SOFTWARE ? ' selected="selected"' : ''
).'>'.$Language->getText('searchbox','softwaregroup').'</option>';
print '
- <option value="skill"'.( $type_of_search == 'skill' ? '
selected="selected"' : ''
).'>'.$Language->getText('searchbox','skill').'</option>';
+ <option value="'.SEARCH__TYPE_IS_SKILL.'"'.(
$type_of_search == SEARCH__TYPE_IS_SKILL ? ' selected="selected"' : ''
).'>'.$Language->getText('searchbox','skill').'</option>';
print '
- <option value="people"'.( $type_of_search == 'people' ?
' selected="selected"' : ''
).'>'.$Language->getText('searchbox','people').'</option>';
+ <option value="'.SEARCH__TYPE_IS_PEOPLE.'"'.(
$type_of_search == SEARCH__TYPE_IS_PEOPLE ? ' selected="selected"' : ''
).'>'.$Language->getText('searchbox','people').'</option>';
print '
</select></div>';
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gforge-commits] gforge/www/include pre.php, 1.20, 1.21 Layout.class, 1.73, 1.74,
gsmet <=