diff options
Diffstat (limited to 'konqueror/about')
-rw-r--r-- | konqueror/about/CMakeLists.txt | 44 | ||||
-rw-r--r-- | konqueror/about/Makefile.am | 17 | ||||
-rwxr-xr-x | konqueror/about/box-centre-konqueror.png | bin | 0 -> 1089 bytes | |||
-rw-r--r-- | konqueror/about/intro.html | 90 | ||||
-rw-r--r-- | konqueror/about/konq.css | 28 | ||||
-rw-r--r-- | konqueror/about/konq_aboutpage.cc | 558 | ||||
-rw-r--r-- | konqueror/about/konq_aboutpage.desktop | 86 | ||||
-rw-r--r-- | konqueror/about/konq_aboutpage.h | 63 | ||||
-rw-r--r-- | konqueror/about/konqaboutpage.desktop | 4 | ||||
-rw-r--r-- | konqueror/about/launch.html | 134 | ||||
-rw-r--r-- | konqueror/about/lightning.png | bin | 0 -> 203 bytes | |||
-rw-r--r-- | konqueror/about/plugins.html | 48 | ||||
-rw-r--r-- | konqueror/about/plugins_rtl.html | 51 | ||||
-rw-r--r-- | konqueror/about/specs.html | 207 | ||||
-rw-r--r-- | konqueror/about/tips.html | 127 | ||||
-rw-r--r-- | konqueror/about/top-right-konqueror.png | bin | 0 -> 19771 bytes |
16 files changed, 1457 insertions, 0 deletions
diff --git a/konqueror/about/CMakeLists.txt b/konqueror/about/CMakeLists.txt new file mode 100644 index 000000000..5eb9cc0f6 --- /dev/null +++ b/konqueror/about/CMakeLists.txt @@ -0,0 +1,44 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TDE_LIBRARY_DIRS} + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES konq_aboutpage.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES konqaboutpage.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} ) + +install( FILES + box-centre-konqueror.png top-right-konqueror.png + lightning.png launch.html intro.html specs.html + tips.html plugins.html plugins_rtl.html konq.css + DESTINATION ${DATA_INSTALL_DIR}/konqueror/about ) + + +##### konq_aboutpage (module) ################### + +set( target konq_aboutpage ) + +tde_add_kpart( ${target} AUTOMOC + SOURCES konq_aboutpage.cc + LINK tdehtml-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/konqueror/about/Makefile.am b/konqueror/about/Makefile.am new file mode 100644 index 000000000..0a33f9bb7 --- /dev/null +++ b/konqueror/about/Makefile.am @@ -0,0 +1,17 @@ +kde_module_LTLIBRARIES = konq_aboutpage.la + +INCLUDES = -I$(srcdir)/.. -I$(top_srcdir)/libkonq $(all_includes) +konq_aboutpage_la_SOURCES = konq_aboutpage.cc +konq_aboutpage_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module +konq_aboutpage_la_LIBADD = $(LIB_TDEHTML) + +kde_services_DATA = konq_aboutpage.desktop +kde_servicetypes_DATA = konqaboutpage.desktop + +METASOURCES = AUTO + +konq_aboutpage_datadir = $(kde_datadir)/konqueror/about +konq_aboutpage_data_DATA = \ + box-centre-konqueror.png top-right-konqueror.png lightning.png \ + launch.html intro.html specs.html tips.html \ + plugins.html plugins_rtl.html konq.css diff --git a/konqueror/about/box-centre-konqueror.png b/konqueror/about/box-centre-konqueror.png Binary files differnew file mode 100755 index 000000000..d8dde840f --- /dev/null +++ b/konqueror/about/box-centre-konqueror.png diff --git a/konqueror/about/intro.html b/konqueror/about/intro.html new file mode 100644 index 000000000..efa4d62a9 --- /dev/null +++ b/konqueror/about/intro.html @@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <meta name="generator" content= + "HTML Tidy for Linux/x86 (vers 1st August 2004), see www.w3.org" /> + + <style type="text/css"> + /*<![CDATA[*/ + @import "%1"; /* kde_infopage.css */ + %1 /* maybe @import "kde_infopage_rtl.css"; */ + @import "konq.css"; + /*]]>*/ + </style> + + <title>%1</title> +</head> + +<body> + <div id="header"> + <div id="headerL"/> + <div id="headerCenter"/> + <div id="headerR"/> + + <div id="title"> + %1 <!-- Konqueror --> + </div> + + <div id="tagline"> + %1 <!-- Conquer your Desktop --> + </div> + </div> + + <!-- the bar --> + <div id="bar"> + <div id="barT"><div id="barTL"/><div id="barTR"/><div id="barTC"/></div> + <div id="barL"> + <div id="barR"> + <div id="barCenter" class="bar_text"> + %1<br /> + <!-- Konqueror is your file manager, web browser and universal document viewer. --> + <ul> + <li><a href="launch.html">%1</a><!--launch--></li> + <li><a class="selected">%1<!-- introduction --></a></li> + <li><a href="tips.html">%1<!--tips--></a></li> + <li><a href="specs.html">%1<!-- specs --></a></li> + </ul> + </div> + </div> + </div> + <div id="barB"><div id="barBL"/><div id="barBR"/><div id="barBC"/></div> + </div> + + <!-- the main text box --> + <div id="box"> + <div id="boxT"><div id="boxTL"/><div id="boxTR"/><div id="boxTC"/></div> + <div id="boxL"> + <div id="boxR"> + <div id="boxCenter"> + + %1<!-- + With Konqueror you have ... + --> + + <p>%1</p> + <!-- Simply enter the internet address ...--> + <p>%1 + <!--If you want to go back to ...--> + %1<!--To go back to the home-directory...--> + %1</p> + <p><!--For more detailed documentation on Konqueror click here --></p> + + <p><table><tr><td valign=middle><img width="32" height="32" border="0" src= + "lightning.png" align="left" alt="" /></td><td valign=top>%1</td></tr></table> + <!--Tuning tip...--></p> + + <p id="nextlink"><a href="tips.html">%1 %1 + <!-- Continue --></a></p> + </div> + </div> + </div> + <div id="boxB"><div id="boxBL"/><div id="boxBR"/><div id="boxBC"/></div> + </div> + + <div id="footer"><div id="footerL"/><div id="footerR"/></div> +</body> +</html> +<!-- vim:set sw=2 et nocindent smartindent: --> diff --git a/konqueror/about/konq.css b/konqueror/about/konq.css new file mode 100644 index 000000000..c76698804 --- /dev/null +++ b/konqueror/about/konq.css @@ -0,0 +1,28 @@ + +#headerR { + width: 430px; + height: 131px; + background-image: url(top-right-konqueror.png); +} + +#title { + right: 140px; +} + +#tagline { + right: 140px; +} + +#boxCenter { + background-image: url(box-centre-konqueror.png); + background-repeat: no-repeat; +} + +#searchbarlabel { + font-size: 10pt; + font-style: italic; +} + +#searchbarinput { + width: 100%; +} diff --git a/konqueror/about/konq_aboutpage.cc b/konqueror/about/konq_aboutpage.cc new file mode 100644 index 000000000..a94f2d554 --- /dev/null +++ b/konqueror/about/konq_aboutpage.cc @@ -0,0 +1,558 @@ +#include "konq_aboutpage.h" + +#include <tqtextcodec.h> + +#include <tdeaboutdata.h> +#include <tdeapplication.h> +#include <kdebug.h> +#include <tdelocale.h> +#include <tdemessagebox.h> +#include <ksavefile.h> +#include <kstandarddirs.h> +#include <tdeaction.h> +#include <kiconloader.h> +#include <kurifilter.h> +#include <ktrader.h> +#include <tdeconfig.h> + +#include <assert.h> +#include <tqfile.h> +#include <tqdir.h> + +K_EXPORT_COMPONENT_FACTORY( konq_aboutpage, KonqAboutPageFactory ) + +TDEInstance *KonqAboutPageFactory::s_instance = 0; +TQString *KonqAboutPageFactory::s_launch_html = 0; +TQString *KonqAboutPageFactory::s_intro_html = 0; +TQString *KonqAboutPageFactory::s_specs_html = 0; +TQString *KonqAboutPageFactory::s_tips_html = 0; +TQString *KonqAboutPageFactory::s_plugins_html = 0; + +KonqAboutPageFactory::KonqAboutPageFactory( TQObject *parent, const char *name ) + : KParts::Factory( parent, name ) +{ + s_instance = new TDEInstance( "konqaboutpage" ); +} + +KonqAboutPageFactory::~KonqAboutPageFactory() +{ + delete s_instance; + s_instance = 0; + delete s_launch_html; + s_launch_html = 0; + delete s_intro_html; + s_intro_html = 0; + delete s_specs_html; + s_specs_html = 0; + delete s_tips_html; + s_tips_html = 0; + delete s_plugins_html; + s_plugins_html = 0; +} + +KParts::Part *KonqAboutPageFactory::createPartObject( TQWidget *parentWidget, const char *widgetName, + TQObject *parent, const char *name, + const char *, const TQStringList & ) +{ + //KonqFrame *frame = tqt_dynamic_cast<KonqFrame *>( parentWidget ); + //if ( !frame ) return 0; + + return new KonqAboutPage( //frame->childView()->mainWindow(), + parentWidget, widgetName, parent, name ); +} + +TQString KonqAboutPageFactory::loadFile( const TQString& file ) +{ + TQString res; + if ( file.isEmpty() ) + return res; + + TQFile f( file ); + + if ( !f.open( IO_ReadOnly ) ) + return res; + + TQTextStream t( &f ); + + res = t.read(); + + // otherwise all embedded objects are referenced as about:/... + TQString basehref = TQString::fromLatin1("<BASE HREF=\"file:") + + file.left( file.findRev( '/' )) + + TQString::fromLatin1("/\">\n"); + TQRegExp reg("<head>"); + reg.setCaseSensitive(FALSE); + res.replace(reg, "<head>\n\t" + basehref); + return res; +} + +TQString KonqAboutPageFactory::launch() +{ + // FIXME: only regenerate launch page if kuriikwsfilterrc changed. + /* + if ( s_launch_html ) + return *s_launch_html; + */ + + TQString res = loadFile( locate( "data", "konqueror/about/launch.html" )); + if ( res.isEmpty() ) + return res; + + TDEIconLoader *iconloader = TDEGlobal::iconLoader(); + int iconSize = iconloader->currentSize(TDEIcon::Desktop); + TQString home_icon_path = iconloader->iconPath("kfm_home", TDEIcon::Desktop ); + TQString storage_icon_path = iconloader->iconPath("system", TDEIcon::Desktop ); + TQString remote_icon_path = iconloader->iconPath("network", TDEIcon::Desktop ); + TQString wastebin_icon_path = iconloader->iconPath("trashcan_full", TDEIcon::Desktop ); + TQString applications_icon_path = iconloader->iconPath("kmenu", TDEIcon::Desktop ); + TQString settings_icon_path = iconloader->iconPath("kcontrol", TDEIcon::Desktop ); + TQString help_icon_path = iconloader->iconPath("khelpcenter", TDEIcon::Desktop ); + TQString home_folder = TQDir::homeDirPath(); + TQString continue_icon_path = TQApplication::reverseLayout()?iconloader->iconPath("1leftarrow", TDEIcon::Small ):iconloader->iconPath("1rightarrow", TDEIcon::Small ); + + res = res.arg( locate( "data", "tdeui/about/kde_infopage.css" ) ); + if ( kapp->reverseLayout() ) + res = res.arg( "@import \"%1\";" ).arg( locate( "data", "tdeui/about/kde_infopage_rtl.css" ) ); + else + res = res.arg( "" ); + + // Try to split page in three. If it succeeds, insert the default search into the middle part. + TQStringList parts = TQStringList::split( "<!--search bar splitter-->", res ); + if ( parts.count() == 3 ) { + TDEConfig config( "kuriikwsfilterrc", true /*read-only*/, false /*no KDE globals*/ ); + config.setGroup( "General" ); + TQString name = config.readEntry("DefaultSearchEngine"); + KService::Ptr service = + KService::serviceByDesktopPath(TQString("searchproviders/%1.desktop").arg(name)); + if ( service ) { + TQString searchBar = parts[1]; + searchBar = searchBar + .arg( iconSize ).arg( iconSize ) + .arg( service->name() ) + .arg( service->property("Keys").toStringList()[0] ) + ; + res = parts[0] + searchBar + parts[2]; + } + else res = parts[0] + parts[2]; + } + + res = res.arg( i18n("Conquer your Desktop!") ) + .arg( i18n( "Konqueror" ) ) + .arg( i18n("Conquer your Desktop!") ) + .arg( i18n("Konqueror is your file manager, web browser and universal document viewer.") ) + .arg( i18n( "Starting Points" ) ) + .arg( i18n( "Introduction" ) ) + .arg( i18n( "Tips" ) ) + .arg( i18n( "Specifications" ) ) + .arg( home_folder ) + .arg( home_icon_path ) + .arg(iconSize).arg(iconSize) + .arg( home_folder ) + .arg( i18n( "Home Folder" ) ) + .arg( i18n( "Your personal files" ) ) + .arg( storage_icon_path ) + .arg(iconSize).arg(iconSize) + .arg( i18n( "Storage Media" ) ) + .arg( i18n( "Disks and removable media" ) ) + .arg( remote_icon_path ) + .arg(iconSize).arg(iconSize) + .arg( i18n( "Network Folders" ) ) + .arg( i18n( "Shared files and folders" ) ) + .arg( wastebin_icon_path ) + .arg(iconSize).arg(iconSize) + .arg( i18n( "Trash" ) ) + .arg( i18n( "Browse and restore the trash" ) ) + .arg( applications_icon_path ) + .arg(iconSize).arg(iconSize) + .arg( i18n( "Applications" ) ) + .arg( i18n( "Installed programs" ) ) + .arg( settings_icon_path ) + .arg(iconSize).arg(iconSize) + .arg( i18n( "Settings" ) ) + .arg( i18n( "Desktop configuration" ) ) + .arg( continue_icon_path ) + .arg( TDEIcon::SizeSmall ).arg( TDEIcon::SizeSmall ) + .arg( i18n( "Next: An Introduction to Konqueror" ) ) + ; + i18n("Search the Web");//i18n for possible future use + + s_launch_html = new TQString( res ); + + return res; +} + +TQString KonqAboutPageFactory::intro() +{ + if ( s_intro_html ) + return *s_intro_html; + + TQString res = loadFile( locate( "data", "konqueror/about/intro.html" )); + if ( res.isEmpty() ) + return res; + + TDEIconLoader *iconloader = TDEGlobal::iconLoader(); + TQString back_icon_path = TQApplication::reverseLayout()?iconloader->iconPath("forward", TDEIcon::Small ):iconloader->iconPath("back", TDEIcon::Small ); + TQString gohome_icon_path = iconloader->iconPath("go-home", TDEIcon::Small ); + TQString continue_icon_path = TQApplication::reverseLayout()?iconloader->iconPath("1leftarrow", TDEIcon::Small ):iconloader->iconPath("1rightarrow", TDEIcon::Small ); + + res = res.arg( locate( "data", "tdeui/about/kde_infopage.css" ) ); + if ( kapp->reverseLayout() ) + res = res.arg( "@import \"%1\";" ).arg( locate( "data", "tdeui/about/kde_infopage_rtl.css" ) ); + else + res = res.arg( "" ); + + res = res.arg( i18n("Conquer your Desktop!") ) + .arg( i18n( "Konqueror" ) ) + .arg( i18n( "Conquer your Desktop!") ) + .arg( i18n( "Konqueror is your file manager, web browser and universal document viewer.") ) + .arg( i18n( "Starting Points" ) ) + .arg( i18n( "Introduction" ) ) + .arg( i18n( "Tips" ) ) + .arg( i18n( "Specifications" ) ) + .arg( i18n( "Konqueror makes working with and managing your files easy. You can browse " + "both local and networked folders while enjoying advanced features " + "such as the powerful sidebar and file previews." + ) ) + .arg( i18n( "Konqueror is also a full featured and easy to use web browser which you " + "can use to explore the Internet. " + "Enter the address (e.g. <a href=\"http://www.trinitydesktop.org\">http://www.trinitydesktop.org</A>) " + "of a web page you would like to visit in the location bar and press Enter, " + "or choose an entry from the Bookmarks menu.") ) + .arg( i18n( "To return to the previous " + "location, press the back button <img width='16' height='16' src=\"%1\"> " + "in the toolbar. ").arg( back_icon_path ) ) + .arg( i18n( "To quickly go to your Home folder press the " + " home button <img width='16' height='16' src=\"%1\">." ).arg(gohome_icon_path) ) + .arg( i18n( "For more detailed documentation on Konqueror click <a href=\"%1\">here</a>." ) + .arg("exec:/khelpcenter") ) + .arg( i18n( "<em>Tuning Tip:</em> If you want the Konqueror web browser to start faster," + " you can turn off this information screen by clicking <a href=\"%1\">here</a>. You can re-enable it" + " by choosing the Help -> Konqueror Introduction menu option, and then pressing " + "Settings -> Save View Profile \"Web Browsing\".").arg("config:/disable_overview") ) + .arg( "<img width='16' height='16' src=\"%1\">" ).arg( continue_icon_path ) + .arg( i18n( "Next: Tips & Tricks" ) ) + ; + + + s_intro_html = new TQString( res ); + + return res; +} + +TQString KonqAboutPageFactory::specs() +{ + if ( s_specs_html ) + return *s_specs_html; + + TDEIconLoader *iconloader = TDEGlobal::iconLoader(); + TQString res = loadFile( locate( "data", "konqueror/about/specs.html" )); + TQString continue_icon_path = TQApplication::reverseLayout()?iconloader->iconPath("1leftarrow", TDEIcon::Small ):iconloader->iconPath("1rightarrow", TDEIcon::Small ); + if ( res.isEmpty() ) + return res; + + res = res.arg( locate( "data", "tdeui/about/kde_infopage.css" ) ); + if ( kapp->reverseLayout() ) + res = res.arg( "@import \"%1\";" ).arg( locate( "data", "tdeui/about/kde_infopage_rtl.css" ) ); + else + res = res.arg( "" ); + + res = res.arg( i18n("Conquer your Desktop!") ) + .arg( i18n( "Konqueror" ) ) + .arg( i18n("Conquer your Desktop!") ) + .arg( i18n("Konqueror is your file manager, web browser and universal document viewer.") ) + .arg( i18n( "Starting Points" ) ) + .arg( i18n( "Introduction" ) ) + .arg( i18n( "Tips" ) ) + .arg( i18n( "Specifications" ) ) + .arg( i18n("Specifications") ) + .arg( i18n("Konqueror is designed to embrace and support Internet standards. " + "The aim is to fully implement the officially sanctioned standards " + "from organizations such as the W3 and OASIS, while also adding " + "extra support for other common usability features that arise as " + "de facto standards across the Internet. Along with this support, " + "for such functions as favicons, Internet Keywords, and <A HREF=\"%1\">XBEL bookmarks</A>, " + "Konqueror also implements:").arg("http://pyxml.sourceforge.net/topics/xbel/") ) + .arg( i18n("Web Browsing") ) + .arg( i18n("Supported standards") ) + .arg( i18n("Additional requirements*") ) + .arg( i18n("<A HREF=\"%1\">DOM</A> (Level 1, partially Level 2) based " + "<A HREF=\"%2\">HTML 4.01</A>").arg("http://www.w3.org/DOM").arg("http://www.w3.org/TR/html4/") ) + .arg( i18n("built-in") ) + .arg( i18n("<A HREF=\"%1\">Cascading Style Sheets</A> (CSS 1, partially CSS 2)").arg("http://www.w3.org/Style/CSS/") ) + .arg( i18n("built-in") ) + .arg( i18n("<A HREF=\"%1\">ECMA-262</A> Edition 3 (roughly equals JavaScript 1.5)").arg("http://www.ecma.ch/ecma1/STAND/ECMA-262.HTM") ) + .arg( i18n("JavaScript disabled (globally). Enable JavaScript <A HREF=\"%1\">here</A>.").arg("exec:/tdecmshell tdehtml_java_js") ) + .arg( i18n("JavaScript enabled (globally). Configure JavaScript <A HREF=\\\"%1\\\">here</A>.").arg("exec:/tdecmshell tdehtml_java_js") ) // leave the double backslashes here, they are necessary for javascript ! + .arg( i18n("Secure <A HREF=\"%1\">Java</A><SUP>®</SUP> support").arg("http://java.sun.com") ) + .arg( i18n("JDK 1.2.0 (Java 2) compatible VM (<A HREF=\"%1\">Blackdown</A>, <A HREF=\"%2\">IBM</A> or <A HREF=\"%3\">Sun</A>)") + .arg("http://www.blackdown.org").arg("http://www.ibm.com").arg("http://java.sun.com") ) + .arg( i18n("Enable Java (globally) <A HREF=\"%1\">here</A>.").arg("exec:/tdecmshell tdehtml_java_js") ) // TODO Maybe test if Java is enabled ? + .arg( i18n("Netscape Communicator<SUP>®</SUP> <A HREF=\"%4\">plugins</A> (for viewing <A HREF=\"%1\">Flash<SUP>®</SUP></A>, <A HREF=\"%2\">Real<SUP>®</SUP></A>Audio, <A HREF=\"%3\">Real<SUP>®</SUP></A>Video, etc.)") + .arg("http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash") + .arg("http://www.real.com").arg("http://www.real.com") + .arg("about:plugins") ) + .arg( i18n("built-in") ) + .arg( i18n("Secure Sockets Layer") ) + .arg( i18n("(TLS/SSL v2/3) for secure communications up to 168bit") ) + .arg( i18n("OpenSSL") ) + .arg( i18n("Bidirectional 16bit unicode support") ) + .arg( i18n("built-in") ) + .arg( i18n("AutoCompletion for forms") ) + .arg( i18n("built-in") ) + .arg( i18n("G E N E R A L") ) + .arg( i18n("Feature") ) + .arg( i18n("Details") ) + .arg( i18n("Image formats") ) + .arg( i18n("Transfer protocols") ) + .arg( i18n("HTTP 1.1 (including gzip/bzip2 compression)") ) + .arg( i18n("FTP") ) + .arg( i18n("and <A HREF=\"%1\">many more...</A>").arg("exec:/tdecmshell ioslaveinfo") ) + .arg( i18n("URL-Completion") ) + .arg( i18n("Manual")) + .arg( i18n("Popup")) + .arg( i18n("(Short-) Automatic")) + .arg( "<img width='16' height='16' src=\"%1\">" ).arg( continue_icon_path ) + .arg( i18n("<a href=\"%1\">Return to Starting Points</a>").arg("launch.html") ) + + ; + + s_specs_html = new TQString( res ); + + return res; +} + +TQString KonqAboutPageFactory::tips() +{ + if ( s_tips_html ) + return *s_tips_html; + + TQString res = loadFile( locate( "data", "konqueror/about/tips.html" )); + if ( res.isEmpty() ) + return res; + + TDEIconLoader *iconloader = TDEGlobal::iconLoader(); + TQString viewmag_icon_path = + iconloader->iconPath("viewmag", TDEIcon::Small ); + TQString history_icon_path = + iconloader->iconPath("history", TDEIcon::Small ); + TQString openterm_icon_path = + iconloader->iconPath("openterm", TDEIcon::Small ); + TQString locationbar_erase_rtl_icon_path = + iconloader->iconPath("clear_left", TDEIcon::Small ); + TQString locationbar_erase_icon_path = + iconloader->iconPath("locationbar_erase", TDEIcon::Small ); + TQString window_fullscreen_icon_path = + iconloader->iconPath("view-fullscreen", TDEIcon::Small ); + TQString view_left_right_icon_path = + iconloader->iconPath("view_left_right", TDEIcon::Small ); + TQString continue_icon_path = TQApplication::reverseLayout()?iconloader->iconPath("1leftarrow", TDEIcon::Small ):iconloader->iconPath("1rightarrow", TDEIcon::Small ); + + res = res.arg( locate( "data", "tdeui/about/kde_infopage.css" ) ); + if ( kapp->reverseLayout() ) + res = res.arg( "@import \"%1\";" ).arg( locate( "data", "tdeui/about/kde_infopage_rtl.css" ) ); + else + res = res.arg( "" ); + + res = res.arg( i18n("Conquer your Desktop!") ) + .arg( i18n( "Konqueror" ) ) + .arg( i18n("Conquer your Desktop!") ) + .arg( i18n("Konqueror is your file manager, web browser and universal document viewer.") ) + .arg( i18n( "Starting Points" ) ) + .arg( i18n( "Introduction" ) ) + .arg( i18n( "Tips" ) ) + .arg( i18n( "Specifications" ) ) + .arg( i18n( "Tips & Tricks" ) ) + .arg( i18n( "Use Internet-Keywords and Web-Shortcuts: by typing \"gg: Trinity Desktop\" one can search the Internet, " + "using Google, for the search phrase \"Trinity Desktop\". There are a lot of " + "Web-Shortcuts predefined to make searching for software or looking " + "up certain words in an encyclopedia a breeze. You can even " + "<a href=\"%1\">create your own</a> Web-Shortcuts." ).arg("exec:/tdecmshell ebrowsing") ) + .arg( i18n( "Use the magnifier button <img width='16' height='16' src=\"%1\"> in the" + " toolbar to increase the font size on your web page.").arg(viewmag_icon_path) ) + .arg( i18n( "When you want to paste a new address into the Location toolbar you might want to " + "clear the current entry by pressing the black arrow with the white cross " + "<img width='16' height='16' src=\"%1\"> in the toolbar.") + .arg(TQApplication::reverseLayout() ? locationbar_erase_rtl_icon_path : locationbar_erase_icon_path)) + .arg( i18n( "To create a link on your desktop pointing to the current page, " + "simply drag the \"Location\" label that is to the left of the Location toolbar, drop it on to " + "the desktop, and choose \"Link\"." ) ) + .arg( i18n( "You can also find <img width='16' height='16' src=\"%1\"> \"Full-Screen Mode\" " + "in the Settings menu. This feature is very useful for \"Talk\" " + "sessions.").arg(window_fullscreen_icon_path) ) + .arg( i18n( "Divide et impera (lat. \"Divide and conquer\") - by splitting a window " + "into two parts (e.g. Window -> <img width='16' height='16' src=\"%1\"> Split View " + "Left/Right) you can make Konqueror appear the way you like. You" + " can even load some example view-profiles (e.g. Midnight Commander)" + ", or create your own ones." ).arg(view_left_right_icon_path)) + .arg( i18n( "Use the <a href=\"%1\">user-agent</a> feature if the website you are visiting " + "asks you to use a different browser " + "(and do not forget to send a complaint to the webmaster!)" ).arg("exec:/tdecmshell useragent") ) + .arg( i18n( "The <img width='16' height='16' src=\"%1\"> History in your SideBar ensures " + "that you can keep track of the pages you have visited recently.").arg(history_icon_path) ) + .arg( i18n( "Use a caching <a href=\"%1\">proxy</a> to speed up your" + " Internet connection.").arg("exec:/tdecmshell proxy") ) + .arg( i18n( "Advanced users will appreciate the Konsole which you can embed into " + "Konqueror (Window -> <img width='16' height='16' SRC=\"%1\"> Show " + "Terminal Emulator).").arg(openterm_icon_path)) + .arg( i18n( "Thanks to <a href=\"%1\">DCOP</a> you can have full control over Konqueror using a script." +).arg("exec:/kdcop") ) + .arg( i18n( "<img width='16' height='16' src=\"%1\">" ).arg( continue_icon_path ) ) + .arg( i18n( "Next: Specifications" ) ) + ; + + + s_tips_html = new TQString( res ); + + return res; +} + + +TQString KonqAboutPageFactory::plugins() +{ + if ( s_plugins_html ) + return *s_plugins_html; + + TQString res = loadFile( locate( "data", kapp->reverseLayout() ? "konqueror/about/plugins_rtl.html" : "konqueror/about/plugins.html" )) + .arg(i18n("Installed Plugins")) + .arg(i18n("<td>Plugin</td><td>Description</td><td>File</td><td>Types</td>")) + .arg(i18n("Installed")) + .arg(i18n("<td>Mime Type</td><td>Description</td><td>Suffixes</td><td>Plugin</td>")); + if ( res.isEmpty() ) + return res; + + s_plugins_html = new TQString( res ); + + return res; +} + + +KonqAboutPage::KonqAboutPage( //KonqMainWindow * + TQWidget *parentWidget, const char *widgetName, + TQObject *parent, const char *name ) + : TDEHTMLPart( parentWidget, widgetName, parent, name, BrowserViewGUI ) +{ + //m_mainWindow = mainWindow; + TQTextCodec* codec = TDEGlobal::locale()->codecForEncoding(); + if (codec) + setCharset(codec->name(), true); + else + setCharset("iso-8859-1", true); + // about:blah isn't a tdeioslave -> disable View source + TDEAction * act = actionCollection()->action("viewDocumentSource"); + if ( act ) + act->setEnabled( false ); +} + +KonqAboutPage::~KonqAboutPage() +{ +} + +bool KonqAboutPage::openURL( const KURL &u ) +{ + kdDebug(1202) << "now in KonqAboutPage::openURL( \"" << u.url() << "\" )" << endl; + if ( u.url() == "about:plugins" ) + serve( KonqAboutPageFactory::plugins(), "plugins" ); + else if ( !u.query().isEmpty() ) { + TQMap< TQString, TQString > queryItems = u.queryItems( 0 ); + TQMap< TQString, TQString >::ConstIterator query = queryItems.begin(); + TQString newUrl; + if (query.key() == "strigi") { + newUrl = KURIFilter::self()->filteredURI( query.key() + ":?q=" + query.data() ); + } else { + newUrl = KURIFilter::self()->filteredURI( query.key() + ":" + query.data() ); + } + kdDebug(1202) << "scheduleRedirection( 0, \"" << newUrl << "\" )" << endl; + scheduleRedirection( 0, newUrl ); + } + else serve( KonqAboutPageFactory::launch(), "konqueror" ); + return true; +} + +bool KonqAboutPage::openFile() +{ + return true; +} + +void KonqAboutPage::saveState( TQDataStream &stream ) +{ + stream << m_htmlDoc; + stream << m_what; +} + +void KonqAboutPage::restoreState( TQDataStream &stream ) +{ + stream >> m_htmlDoc; + stream >> m_what; + serve( m_htmlDoc, m_what ); +} + +void KonqAboutPage::serve( const TQString& html, const TQString& what ) +{ + m_what = what; + begin( KURL( TQString("about:%1").arg(what) ) ); + write( html ); + end(); + m_htmlDoc = html; +} + +void KonqAboutPage::urlSelected( const TQString &url, int button, int state, const TQString &target, KParts::URLArgs _args ) +{ + KURL u( url ); + if ( u.protocol() == "exec" ) + { + TQStringList args = TQStringList::split( TQChar( ' ' ), url.mid( 6 ) ); + TQString executable = args[ 0 ]; + args.remove( args.begin() ); + TDEApplication::tdeinitExec( executable, args ); + return; + } + + if ( url == TQString::fromLatin1("launch.html") ) + { + emit browserExtension()->openURLNotify(); + serve( KonqAboutPageFactory::launch(), "konqueror" ); + return; + } + else if ( url == TQString::fromLatin1("intro.html") ) + { + emit browserExtension()->openURLNotify(); + serve( KonqAboutPageFactory::intro(), "konqueror" ); + return; + } + else if ( url == TQString::fromLatin1("specs.html") ) + { + emit browserExtension()->openURLNotify(); + serve( KonqAboutPageFactory::specs(), "konqueror" ); + return; + } + else if ( url == TQString::fromLatin1("tips.html") ) + { + emit browserExtension()->openURLNotify(); + serve( KonqAboutPageFactory::tips(), "konqueror" ); + return; + } + + else if ( url == TQString::fromLatin1("config:/disable_overview") ) + { + if ( KMessageBox::questionYesNo( widget(), + i18n("Do you want to disable showing " + "the introduction in the webbrowsing profile?"), + i18n("Faster Startup?"),i18n("Disable"),i18n("Keep") ) + == KMessageBox::Yes ) + { + TQString profile = locateLocal("data", "konqueror/profiles/webbrowsing"); + KSaveFile file( profile ); + if ( file.status() == 0 ) { + TQCString content = "[Profile]\n" + "Name=Web-Browser"; + fputs( content.data(), file.fstream() ); + file.close(); + } + } + return; + } + + TDEHTMLPart::urlSelected( url, button, state, target, _args ); +} + +#include "konq_aboutpage.moc" diff --git a/konqueror/about/konq_aboutpage.desktop b/konqueror/about/konq_aboutpage.desktop new file mode 100644 index 000000000..da91b3a67 --- /dev/null +++ b/konqueror/about/konq_aboutpage.desktop @@ -0,0 +1,86 @@ +[Desktop Entry] +Type=Service +Name=About-Page for Konqueror +Name[af]=About-Page vir Konqueror +Name[ar]=ضفحة حول لِــ Konqueror +Name[az]=Konqueror Haqqında Səhifəsi +Name[be]=Інфармацыйная старонка Konqueror +Name[bg]=Страница с информация за Konqueror +Name[bn]=কনকরার পরিচিতি পৃষ্ঠা +Name[br]=Pajenn diwar-benn Konqueror +Name[bs]=About-stranica za Konqueror +Name[ca]=Pàgina quant al Konqueror +Name[cs]=O aplikaci Konqueror +Name[csb]=Starna "Ò programie" Konquerora +Name[cy]=Tudalen Ynghylch i Konqueror +Name[da]='Om'-side for Konqueror +Name[de]=Über Konqueror +Name[el]=Σελίδα πληροφοριών για τον Konqueror +Name[eo]=Informpaĝo por Konkeranto +Name[es]=Página 'Acerca de' para Konqueror +Name[et]=Konquerori info +Name[eu]='Honi buruzko orria' Konquerorrerako +Name[fa]=صفحۀ درباره برای Konqueror +Name[fi]=Konquerorin tietoja-sivu +Name[fr]=À propos de Konqueror +Name[fy]=Ynformaasjeside foar Konqueror +Name[ga]=Leathanach Eolais le haghaidh Konqueror +Name[gl]=Páxina Acerca de Konqueror +Name[he]=דף אודות Konqueror +Name[hi]=के-बारे में पृष्ठ कॉन्करर के लिए +Name[hr]=O programu Konqueror +Name[hu]=A Konqueror névjegye +Name[id]=Tentang halaman untuk Konqueror +Name[is]=Upplýsingasíða Konqueror +Name[it]=Pagina di informazioni di Konqueror +Name[ja]=Konqueror のバージョン情報ページ +Name[ka]=Konqueror-ის ცნობათა ფურცელი +Name[kk]=Konqueror туралы парақ +Name[km]=ទំព័រអំពី របស់ Konqueror +Name[ko]=Konqueror 정보 페이지 +Name[lo]=ຫນ້າກ່ງວກັບສຳລັບ Konqueror +Name[lt]=Apie Konqueror +Name[lv]=Par-Lapa priekš Iekarotāja +Name[mk]=Страница за Konqueror +Name[mn]=Конкюрорын тухай +Name[ms]=Tentang Halaman untuk Konqueror +Name[mt]=Paġna dwar Konqueror +Name[nb]=Om-side for Konqueror +Name[nds]=Infosiet över Konqueror +Name[ne]=कन्क्वेररका लागि पृष्ठका बारेमा +Name[nl]=Informatiepagina voor Konqueror +Name[nn]=Om-side Konqueror +Name[nso]=Kaga letlakala la Konqueror +Name[pa]=ਕੋਨਕਿਉਰੋਰ ਬਾਰੇ ਸਫਾ +Name[pl]=Strona "O programie" Konquerora +Name[pt]=Página Acerca do Konqueror +Name[pt_BR]=Página "Sobre" do Konqueror +Name[ro]=Pagină informații pentru Konqueror +Name[ru]=Страница сведений о Konqueror +Name[rw]=Ibijyanye-Ipaji ya Konqueror +Name[se]=Diehtusiidu Konqueror várás +Name[sk]=Stránka o programe Konqueror +Name[sl]=Stran o Konquerorju +Name[sr]=Информативна страница о Konqueror-у +Name[sr@Latn]=Informativna stranica o Konqueror-u +Name[sv]=Om-sida för Konqueror +Name[ta]=கான்கொரர்க்கான பக்கம்-பற்றி +Name[te]=కాంకెరర్ కొరకు గురించి పుట +Name[tg]=Саҳифаи маълумот дар бораи Konqueror +Name[th]=หน้าเกี่ยวกับคอนเควอร์เรอร์ +Name[tr]=Konqueror Hakkında Sayfası +Name[tt]=Konqueror Turında +Name[uk]=Сторінка "Про" для Konqueror +Name[uz]=Konqueror haqida sahifa +Name[uz@cyrillic]=Konqueror ҳақида саҳифа +Name[ven]=Nga ha siatari la Konqueror +Name[vi]=Trang giới thiệu của Konqueror +Name[wa]=Pådje åd fait di Konqueror +Name[xh]=Malunga-Nephepha le Konqueror +Name[zh_CN]=Konqueror 的关于页面 +Name[zh_TW]=Konqueror 相關資訊 +Name[zu]=Mayelana-nekhasi le-Konqueror +X-TDE-ServiceTypes=KonqAboutPage,KParts/ReadOnlyPart +X-TDE-Library=konq_aboutpage +X-TDE-BrowserView-HideFromMenus=true +X-TDE-BrowserView-Built-Into=konqueror diff --git a/konqueror/about/konq_aboutpage.h b/konqueror/about/konq_aboutpage.h new file mode 100644 index 000000000..a4192d570 --- /dev/null +++ b/konqueror/about/konq_aboutpage.h @@ -0,0 +1,63 @@ +#ifndef __konq_aboutpage_h__ +#define __konq_aboutpage_h__ + +#include <tdeparts/factory.h> +#include <tdehtml_part.h> + +class TDEHTMLPart; +class TDEInstance; + +class KonqAboutPageFactory : public KParts::Factory +{ +public: + KonqAboutPageFactory( TQObject *parent = 0, const char *name = 0 ); + virtual ~KonqAboutPageFactory(); + + virtual KParts::Part *createPartObject( TQWidget *parentWidget, const char *widgetName, + TQObject *parent, const char *name, + const char *classname, const TQStringList &args ); + + static TDEInstance *instance() { return s_instance; } + + static TQString launch(); + static TQString intro(); + static TQString specs(); + static TQString tips(); + static TQString plugins(); + +private: + static TQString loadFile( const TQString& file ); + + static TDEInstance *s_instance; + static TQString *s_launch_html, *s_intro_html, *s_specs_html, *s_tips_html, *s_plugins_html; +}; + +class KonqAboutPage : public TDEHTMLPart +{ + Q_OBJECT +public: + KonqAboutPage( /*KonqMainWindow *mainWindow,*/ + TQWidget *parentWidget, const char *widgetName, + TQObject *parent, const char *name ); + ~KonqAboutPage(); + + virtual bool openURL( const KURL &url ); + + virtual bool openFile(); + + virtual void saveState( TQDataStream &stream ); + virtual void restoreState( TQDataStream &stream ); + +protected: + virtual void urlSelected( const TQString &url, int button, int state, const TQString &target, KParts::URLArgs args = KParts::URLArgs() ); + +private: + void serve( const TQString&, const TQString& ); + + TDEHTMLPart *m_doc; + //KonqMainWindow *m_mainWindow; + TQString m_htmlDoc; + TQString m_what; +}; + +#endif diff --git a/konqueror/about/konqaboutpage.desktop b/konqueror/about/konqaboutpage.desktop new file mode 100644 index 000000000..6cbca17bf --- /dev/null +++ b/konqueror/about/konqaboutpage.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=ServiceType +X-TDE-ServiceType=KonqAboutPage +# No real need for a comment diff --git a/konqueror/about/launch.html b/konqueror/about/launch.html new file mode 100644 index 000000000..6e84049a7 --- /dev/null +++ b/konqueror/about/launch.html @@ -0,0 +1,134 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <meta name="generator" content= + "HTML Tidy for Linux/x86 (vers 1st August 2004), see www.w3.org" /> + + <style type="text/css"> + /*<![CDATA[*/ + @import "%1"; /* kde_infopage.css */ + %1 /* maybe @import "kde_infopage_rtl.css"; */ + @import "konq.css"; + /*]]>*/ + </style> + + <title>%1</title> +</head> + +<body> + <div id="header"> + <div id="headerL"/> + <div id="headerCenter"/> + <div id="headerR"/> + + <div id="title"> + %1 <!-- Konqueror --> + </div> + + <div id="tagline"> + %1 <!-- Conquer your Desktop --> + </div> + </div> + + <!-- the bar --> + <div id="bar"> + <div id="barT"><div id="barTL"/><div id="barTR"/><div id="barTC"/></div> + <div id="barL"> + <div id="barR"> + <div id="barCenter" class="bar_text"> + %1<br /> + <!-- Konqueror is your file manager, web browser and universal document viewer. --> + <ul> + <li><a class="selected">%1<!--launch--></a></li> + <li><a href="intro.html">%1<!-- intro --></a></li> + <li><a href="tips.html">%1</a><!--tips--></li> + <li><a href="specs.html">%1<!-- specs --></a></li> + </ul> + </div> + </div> + </div> + <div id="barB"><div id="barBL"/><div id="barBR"/><div id="barBC"/></div> + </div> + + <!-- the main text box --> + <div id="box"> + <div id="boxT"><div id="boxTL"/><div id="boxTR"/><div id="boxTC"/></div> + <div id="boxL"> + <div id="boxR"> + <div id="boxCenter"> + + <table border="0" align="center"> +<!--search bar argument replacement is performed between the "search bar splitter" lines--> +<!--search bar splitter--> + + <tr> + <form action="about:konqueror"> + <td colspan="2" style="text-align:right;"><label id="searchbarlabel" for="searchbarinput">%2: </label></td> + <td colspan="2"><input id="searchbarinput" name="%3" type="text"></td> + </form> + </tr> + <tr> + <td colspan="4"><div style="width:%1px; height:%1px;"/></td> + </tr> + +<!--search bar splitter--> + <tr> + <td valign="bottom"> + <a href="%1"><img src="%1" height="%1" width="%1" /></a> + </td> + <td valign="bottom"> + <a href="%1">%1</a><br><span id="subtext"><nobr>%1</span> + </td> + <td valign="bottom"> + <a href="media:/"><img src="%1" height="%1" width="%1" /></a> + </td> + <td valign="bottom"> + <a href="media:/">%1</a><br><span id="subtext"><nobr>%1</span> + </td> + </tr> + <tr> + <td> + <a href="remote:/"><img src="%1" height="%1" width="%1" /></a> + </td> + <td valign="bottom"> + <a href="remote:/">%1</a><br><span id="subtext"><nobr>%1</span> + </td> + <td> + <a href="trash:/"><img src="%1" height="%1" width="%1" /></a> + </td> + <td valign="bottom"> + <a href="trash:/">%1</a><br><span id="subtext"><nobr>%1</span> + </td> + </tr> + <tr> + <td> + <a href="applications:/"><img src="%1" height="%1" width="%1" /></a> + </td> + <td valign="bottom"> + <a href="applications:/">%1</a><br><span id="subtext"><nobr>%1</span> + </td> + <td> + <a href="settings:/"><img src="%1" height="%1" width="%1" /></a> + </td> + <td valign="bottom"> + <a href="settings:/">%1</a><br><span id="subtext"><nobr>%1</span> + </td> + </tr> + </table> + + <p id="nextlink"><a href="intro.html"><img src="%1" width="%1" height="%1"> %1 + <!-- Continue --></a></p> + + </div> + </div> + </div> + <div id="boxB"><div id="boxBL"/><div id="boxBR"/><div id="boxBC"/></div> + </div> + + <div id="footer"><div id="footerL"/><div id="footerR"/></div> +</body> +</html> +<!-- vim:set sw=2 et nocindent smartindent: --> diff --git a/konqueror/about/lightning.png b/konqueror/about/lightning.png Binary files differnew file mode 100644 index 000000000..40bfbcfbb --- /dev/null +++ b/konqueror/about/lightning.png diff --git a/konqueror/about/plugins.html b/konqueror/about/plugins.html new file mode 100644 index 000000000..e49b1cf29 --- /dev/null +++ b/konqueror/about/plugins.html @@ -0,0 +1,48 @@ +<html> +<head> +<title>%1</title> +<script language="Javascript"> <!-- +function listPlugins() { +document.write("<table border=\"1\">"); +document.write("<tr>%2</tr>"); +for (i = 0; i < navigator.plugins.length; i++) +{ + document.write("<tr><td>"+navigator.plugins[i].name); + document.write("</td><td>"+navigator.plugins[i].description); + document.write("</td><td>"+navigator.plugins[i].filename); + document.write("</td><td><ul>"); + for (j = 0; j < navigator.plugins[i].length; j++) + { + document.write("<li>"+navigator.plugins[i][j].type+" - " + +navigator.plugins[i][j].description+" (" + +navigator.plugins[i][j].suffixes+")</li>"); + } + document.write("</ul></td></tr>"); +} +document.write("</table>"); + +document.write("<br/><br/>"); + +document.write("<table border=\"1\">"); +document.write("<tr>%4</tr>"); +for (i = 0; i < navigator.mimeTypes.length; i++) +{ + document.write("<tr><td>"+navigator.mimeTypes[i].type); + document.write("</td><td>"+navigator.mimeTypes[i].description); + document.write("</td><td>"+navigator.mimeTypes[i].suffixes); + if (navigator.mimeTypes[i].enabledPlugin) { + document.write("</td><td>"); + // This could be enhanced to write the plugin name(s) by + // searching through navigator.plugins[][] + document.write("%3"); + } + document.write("</td></tr>"); +} +document.write("</table>"); +} +//--></script> +</head> +<body onload="listPlugins();"> +</body> +</html> + diff --git a/konqueror/about/plugins_rtl.html b/konqueror/about/plugins_rtl.html new file mode 100644 index 000000000..ec7f32a56 --- /dev/null +++ b/konqueror/about/plugins_rtl.html @@ -0,0 +1,51 @@ +<html> +<head> +<style type="text/css"> <!-- +body { direction: rtl; } +//--></style> +<title>%1</title> +<script language="Javascript"> <!-- +function listPlugins() { +document.write("<table border=\"1\">"); +document.write("<tr>%2</tr>"); +for (i = 0; i < navigator.plugins.length; i++) +{ + document.write("<tr><td>"+navigator.plugins[i].name); + document.write("</td><td>"+navigator.plugins[i].description); + document.write("</td><td>"+navigator.plugins[i].filename); + document.write("</td><td><ul>"); + for (j = 0; j < navigator.plugins[i].length; j++) + { + document.write("<li>"+navigator.plugins[i][j].type+" - " + +navigator.plugins[i][j].description+" (" + +navigator.plugins[i][j].suffixes+")</li>"); + } + document.write("</ul></td></tr>"); +} +document.write("</table>"); + +document.write("<br/><br/>"); + +document.write("<table border=\"1\">"); +document.write("<tr>%4</tr>"); +for (i = 0; i < navigator.mimeTypes.length; i++) +{ + document.write("<tr><td>"+navigator.mimeTypes[i].type); + document.write("</td><td>"+navigator.mimeTypes[i].description); + document.write("</td><td>"+navigator.mimeTypes[i].suffixes); + if (navigator.mimeTypes[i].enabledPlugin) { + document.write("</td><td>"); + // This could be enhanced to write the plugin name(s) by + // searching through navigator.plugins[][] + document.write("%3"); + } + document.write("</td></tr>"); +} +document.write("</table>"); +} +//--></script> +</head> +<body onload="listPlugins();"> +</body> +</html> + diff --git a/konqueror/about/specs.html b/konqueror/about/specs.html new file mode 100644 index 000000000..752c162da --- /dev/null +++ b/konqueror/about/specs.html @@ -0,0 +1,207 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <meta name="generator" content= + "HTML Tidy for Linux/x86 (vers 1st August 2004), see www.w3.org" /> + + <style type="text/css"> + /*<![CDATA[*/ + @import "%1"; /* kde_infopage.css */ + %1 /* maybe @import "kde_infopage_rtl.css"; */ + @import "konq.css"; + /*]]>*/ + </style> + + <title>%1</title> +</head> + +<body> + <div id="header"> + <div id="headerL"/> + <div id="headerCenter"/> + <div id="headerR"/> + + <div id="title"> + %1 <!-- Konqueror --> + </div> + + <div id="tagline"> + %1 <!-- Conquer your Desktop --> + </div> + </div> + + <!-- the bar --> + <div id="bar"> + <div id="barT"><div id="barTL"/><div id="barTR"/><div id="barTC"/></div> + <div id="barL"> + <div id="barR"> + <div id="barCenter" class="bar_text"> + %1<br /> + <!-- Konqueror is your file manager, web browser and universal document viewer. --> + <ul> + <li><a href="launch.html">%1</a><!--launch--></li> + <li><a href="intro.html">%1<!-- intro --></a></li> + <li><a href="tips.html">%1<!--tips--></a></li> + <li><a class="selected">%1<!-- specs --></a></li> + </ul> + </div> + </div> + </div> + <div id="barB"><div id="barBL"/><div id="barBR"/><div id="barBC"/></div> + </div> + + <!-- the main text box --> + <div id="box"> + <div id="boxT"><div id="boxTL"/><div id="boxTR"/><div id="boxTC"/></div> + <div id="boxL"> + <div id="boxR"> + <div id="boxCenter"> + <h2 style="margin-top: 0px;">%1<h2><!-- Specifications --> + <p>%1 <!-- Konqueror is designed to embrace and support Internet standards. + The aim is to fully implement the officially sanctioned standards from + organisations such as the W3 and OASIS, while also adding extra support for other + common usability features that arise as de facto standards across the internet. + Along with this support, for such functions as favicons, Internet Keywords, + and XBEL bookmarks, Konqueror also implements: --> + </p> + + <table bgcolor="#ffffff" border="1" cellspacing="0" cellpadding="1" + width="100%"> + <tr align="left" valign="middle" bgcolor="#505050" height="6"> + <td style="color: white"> + %1 <!-- Web Browsing --> + </td> + </tr> + <tr> + <td> + <table border="0" cellspacing="0" cellpadding="2" width="100%"> + <tr bgcolor="#DADADA"> + <th width="40%">%1 <!--Supported standards--></th> + <th width="2%"> </th> + <th width="58%">%1 <!--Additional requirements*--></th> + </tr> + <tr bgcolor="#fff4c9"> + <td valign="top">%1 <!--DOM (Level 1, partially Level 2) based HTML 4.01</A>--></td> + <td valign="top"> </td> + <td valign="top">%1 <!--built-in--></td> + </tr> + <tr bgcolor="#ffffff"> + <td valign="top">%1 <!--Cascading Style Sheets (CSS 1, partially CSS 2)--></td> + <td valign="top"> </td> + <td valign="top">%1 <!--built-in--></td> + </tr> + <tr bgcolor="#fff4c9"> + <td valign="top">%1 <!--ECMA-262 Edition 3 (equals roughly Javascript 1.5)--></td> + <td valign="top"> </td> + <noscript> + <td valign="top">%1 <!-- Javascript disabled [...] --></td> + </noscript> + <script language="Javascript"> + document.write("<td>%1</td>"); // Javascript enabled [...] + </script> + </tr> + <tr bgcolor="#ffffff"> + <td valign="top">%1 <!--Secure Java support--></td> + <td valign="top"> </td> + <td valign="top"> + %1<!--JDK 1.2.0 (Java 2) compatible VM (Blackdown, IBM or Sun)--><br> + %1<!--Enable Java (globally) here--> + </td> + </tr> + <tr bgcolor="#fff4c9"> + <td valign="top">%1<!-- Netscape Communicator plugins (for viewing Flash, RealAudio, RealVideo etc.)--></td> + <td valign="top"> </td> + <td valign="top">%1<!-- built-in--></t#d> + </tr> + <tr bgcolor="#ffffff"> + <td valign="top"><a href="http://www.netscape.com/eng/ssl3/">%1<!--Secure Sockets Layer--></a> %1<!--(TLS/SSL v2/3) for secure communications up to 168bit--></td> + <td valign="top"> </td> + <td valign="top"><a href="http://www.openssl.org">%1<!--OpenSSL--></a></td> + </tr> + <tr bgcolor="#fff4c9"> + <td valign="top">%1<!--Bidirectional 16bit unicode support--></td> + <td valign="top"> </td> + <td valign="top">%1<!--built-in--></td> + </tr> + <tr bgcolor="#ffffff"> + <td valign="top">%1<!--AutoCompletion for forms--></td> + <td valign="top"> </td> + <td valign="top">%1<!--built-in--></a></td> + </tr> + </table> + </td> + </td> + </table> + <p/> + <table bgcolor="#ffffff" border="1" cellspacing="0" cellpadding="1" + width="100%"> + <tr align="left" valign="middle" bgcolor="#505050" height="6"> + <td style="color: white"> + %1 <!-- G E N E R A L --> + </td> + </tr> + <tr> + <td> + <table border="0" cellspacing="0" cellpadding="2" width="100%"> + <tr bgcolor="#dadada"> + <th width="40%">%1 <!--Supported standards--></th> + <th width="2%"> </th> + <th width="58%">%1 <!--Additional requirements*--></th> + </tr> + + <tr bgcolor="#ffffff"> + <td valign="top"> + %1<!--Image formats:--> + </td> + <td valign="top"> </td> + <td valign="top"> + PNG<br> + MNG<br> + JPG<br> + GIF + </td> + </tr> + <tr bgcolor="#fff4c9"> + <td valign="top"> %1<!--Transfer protocols:--> + </td> + <td valign="top"> </td> + <td valign="top"> + %1<!--HTTP 1.1 (including gzip/bzip2 compression)--><br> + %1<!--FTP--><br> + %1<!--and many more...--></li> + </ul> + </td> + </tr> + <tr bgcolor="#ffffff"> + <td valign="top"> + %1<!--URL Completion:--> + </td> + <td valign="top"> </td> + <td valign="top"> + %1<!-- Manual --><br> + %1<!-- Popup --><br> + %1<!-- (Short-) Automatic --></li></ul> + </td> + </tr> + </table> + + </td> + </tr> + </table> + + <p id="nextlink"> + <a href="intro.html">%1 %1<!-- Back to the Introduction --></a> + </p> + </div> + </div> + </div> + <div id="boxB"><div id="boxBL"/><div id="boxBR"/><div id="boxBC"/></div> + </div> + + <div id="footer"><div id="footerL"/><div id="footerR"/></div> +</body> +</html> +<!-- vim:set sw=2 et nocindent smartindent: --> diff --git a/konqueror/about/tips.html b/konqueror/about/tips.html new file mode 100644 index 000000000..cf4a37862 --- /dev/null +++ b/konqueror/about/tips.html @@ -0,0 +1,127 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <meta name="generator" content= + "HTML Tidy for Linux/x86 (vers 1st August 2004), see www.w3.org" /> + + <style type="text/css"> + /*<![CDATA[*/ + @import "%1"; /* kde_infopage.css */ + %1 /* maybe @import "kde_infopage_rtl.css"; */ + @import "konq.css"; + /*]]>*/ + </style> + + <title>%1</title> +</head> + +<body> + <div id="header"> + <div id="headerL"/> + <div id="headerCenter"/> + <div id="headerR"/> + + <div id="title"> + %1 <!-- Konqueror --> + </div> + + <div id="tagline"> + %1 <!-- Conquer your Desktop --> + </div> + </div> + + <!-- the bar --> + <div id="bar"> + <div id="barT"><div id="barTL"/><div id="barTR"/><div id="barTC"/></div> + <div id="barL"> + <div id="barR"> + <div id="barCenter" class="bar_text"> + %1<br /> + <!-- Konqueror is your file manager, web browser and universal document viewer. --> + <ul> + <li><a href="launch.html">%1</a><!--launch--></li> + <li><a href="intro.html">%1<!-- intro --></a></li> + <li><a class="selected">%1<!--tips--></a></li> + <li><a href="specs.html">%1<!-- specs --></a></li> + </ul> + </div> + </div> + </div> + <div id="barB"><div id="barBL"/><div id="barBR"/><div id="barBC"/></div> + </div> + + <!-- the main text box --> + <div id="box"> + <div id="boxT"><div id="boxTL"/><div id="boxTR"/><div id="boxTC"/></div> + <div id="boxL"> + <div id="boxR"> + <div id="boxCenter"> + <h2 style="margin-top: 0px;">%1<!--Tips--></h2> + + <ul> + <li>%1 + <!--Use Internet-Keywords! By typing "gg:KDE" one can search the internet + using google for the search phrase "KDE". There are a lot of + internet-shortcuts predefined to make searching for software or looking up + certain words in an encyclopedia a breeze. And you can even + create your own internet-keywords!--></li> + + <li>%1 + <!--Use the magnifier toolbar-buttons to increase the + fontsize on your webpage.--></li> + + <li>%1 + <!--When you want to paste a new address into the URL-bar you might want to + clear the current entry by pressing the white-crossed black arrow in the + toolbar.--></li> + + <li>%1 + <!--To create a link on your desktop pointing to the current page, + simply drag the "Location" label that is on the left of the Location Toolbar, drop it onto + the desktop, and choose "Link"--></li> + + <li>%1 + <!--You can also find the "Fullscreen Mode" in the Settings-Menu. This Feature + is very useful for "talk" sessions.--></li> + + <li>%1 + <!--Divide et impera (lat. "Divide and Konquer") - by splitting a window + into two Parts (e.g. Window -> Split View Left/Right) you can make konqueror + appear the way you like. You can even Load some example view-profiles + (e.g. Midnight-Commander), or create your own ones.--></li> + + <li>%1 + <!--Use the user-agent feature if the website you're visiting asks you to + use a different browser (and don't forget to send a complaint to the + webmaster!)--></li> + + <li>%1 + <!--The History in your Sidebar makes sure that you will keep track of the + pages you have visited recently.--></li> + + <li>%1 + <!--Use a caching proxy to speed up your internet-connection.--></li> + + <li>%1 + <!--Advanced users will appreciate the konsole which you can embed into + konqueror (Window -> Show Terminal Emulator).--></li> + + <li>%1 + <!--Thanks to DCOP you can have full control over Konqueror using a script.--></li> + </ul> + + <p id="nextlink"><a href="specs.html">%1 %1 + <!-- Continue --></a></p> + </div> + </div> + </div> + <div id="boxB"><div id="boxBL"/><div id="boxBR"/><div id="boxBC"/></div> + </div> + + <div id="footer"><div id="footerL"/><div id="footerR"/></div> +</body> +</html> +<!-- vim:set sw=2 et nocindent smartindent: --> diff --git a/konqueror/about/top-right-konqueror.png b/konqueror/about/top-right-konqueror.png Binary files differnew file mode 100644 index 000000000..453de1f6a --- /dev/null +++ b/konqueror/about/top-right-konqueror.png |