Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 90093 Details for
Bug 213224
Replace local Eclipse.org search engine with Google
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch to add google search code to app.class.php
patch.txt (text/plain), 1.10 KB, created by
Denis Roy
on 2008-02-19 13:49:20 EST
(
hide
)
Description:
Patch to add google search code to app.class.php
Filename:
MIME Type:
Creator:
Denis Roy
Created:
2008-02-19 13:49:20 EST
Size:
1.10 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.phoenix >Index: eclipse.org-common/system/app.class.php >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.phoenix/eclipse.org-common/system/app.class.php,v >retrieving revision 1.43 >diff -u -r1.43 app.class.php >--- eclipse.org-common/system/app.class.php 5 Dec 2007 16:18:07 -0000 1.43 >+++ eclipse.org-common/system/app.class.php 19 Feb 2008 18:48:26 -0000 >@@ -757,6 +757,18 @@ > $_value = mysql_real_escape_string($_value, $_dbh); > return $_value; > } >+ >+ private getGoogleSearchHTML() { >+ $strn = <<<EOHTML >+ <form action="http://www.google.com/cse" id="searchbox_017941334893793413703:sqfrdtd112s"> >+ <input type="hidden" name="cx" value="017941334893793413703:sqfrdtd112s" /> >+ <input type="text" name="q" size="25" /> >+ <input type="submit" name="sa" value="Search" /> >+ </form> >+ <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_017941334893793413703%3Asqfrdtd112s&lang=en"></script>"; >+EOHTML; >+ return $strn; >+ } > } > > ?> >\ No newline at end of file
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 213224
:
86976
|
90092
| 90093