Skip to content
Snippets Groups Projects
Commit f660bdc7 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fine-tune About window

parent 3c8b8f0b
No related branches found
No related tags found
No related merge requests found
...@@ -22,8 +22,9 @@ public class AboutActivity extends Activity{ ...@@ -22,8 +22,9 @@ public class AboutActivity extends Activity{
catch (android.content.pm.PackageManager.NameNotFoundException e) { catch (android.content.pm.PackageManager.NameNotFoundException e) {
aboutOnelab += "Version ?.?.?"; aboutOnelab += "Version ?.?.?";
} }
aboutOnelab += "<p>Copyright (C) 2014<br>Maxime Graulich and Christophe Geuzaine, University of Li&egrave;ge</p>"; aboutOnelab += "<p>Copyright (C) 2014 Christophe Geuzaine and Maxime Graulich, University of Li&egrave;ge</p>";
aboutOnelab += "<p>Visit <a href=\"http://onelab.info/\">http://onelab.info/</a> for more information</p>"; aboutOnelab += "<p>Visit <a href=\"http://onelab.info/\">http://onelab.info/</a> for more information</p>";
aboutOnelab += "<p>This version of Onelab/Mobile contains:</p>";
webview.loadDataWithBaseURL("", aboutOnelab + aboutGmsh + aboutGetDP, "text/html", "UTF-8", ""); webview.loadDataWithBaseURL("", aboutOnelab + aboutGmsh + aboutGetDP, "text/html", "UTF-8", "");
setContentView(webview); setContentView(webview);
} }
......
...@@ -335,42 +335,28 @@ extern "C" { ...@@ -335,42 +335,28 @@ extern "C" {
(JNIEnv *env, jclass c) (JNIEnv *env, jclass c)
{ {
std::ostringstream sstream; std::ostringstream sstream;
sstream << "<center><h3>Gmsh</h3><br>version " << GMSH_VERSION sstream << "<center><h3>Gmsh</h3>"
<< "<p>Copyright (C) 1997-2014" << "Version " << GMSH_VERSION << " "
<< "<br>Christophe Geuzaine and Jean-Francois Remacle" << "(<i>Build date:</i> " << GMSH_DATE << ")"
<< "<p>Copyright (C) 1997-2014 Christophe Geuzaine and Jean-Fran&ccedil;ois Remacle</p>"
<< "<p><a href=\"http://geuz.org/gmsh/doc/CREDITS.txt\">Credits</a> " << "<p><a href=\"http://geuz.org/gmsh/doc/CREDITS.txt\">Credits</a> "
<< "and <a href=\"http://geuz.org/gmsh/doc/LICENSE.txt\">licensing " << "and <a href=\"http://geuz.org/gmsh/doc/LICENSE.txt\">licensing information</a></p>"
<< "information</a>" << "<p><i>Build options:</i> " << GMSH_CONFIG_OPTIONS << "</p>"
<< "<p>Please send all questions and bug reports to " << "<p>Visit <a href=\"http://gmsh.info\">http://gmsh.info</a> for more information</p></center>";
<< "<a href=\"mailto:gmsh@geuz.org\">gmsh@geuz.org</a></center>"
<< "<ul>"
<< "<li><i>Build OS:</i> " << GMSH_OS
<< "<li><i>Build date:</i> " << GMSH_DATE
<< "<li><i>Build options:</i>" << GMSH_CONFIG_OPTIONS
<< "</ul>"
<< "<center>Visit <a href=\"http://geuz.org/gmsh/\">http://geuz.org/gmsh/</a> "
<< "for more information</center>";
return env->NewStringUTF(sstream.str().c_str()); return env->NewStringUTF(sstream.str().c_str());
} }
JNIEXPORT jstring JNICALL Java_org_geuz_onelab_Gmsh_getAboutGetDP JNIEXPORT jstring JNICALL Java_org_geuz_onelab_Gmsh_getAboutGetDP
(JNIEnv *env, jclass c) (JNIEnv *env, jclass c)
{ {
std::ostringstream sstream; std::ostringstream sstream;
sstream << "<center><h3>GetDP</h3><br>version " << GETDP_VERSION sstream << "<center><h3>GetDP</h3>"
<< "<p>Copyright (C) 1997-2014" << "Version " << GETDP_VERSION << " "
<< "<br>Christophe Geuzaine and Patrick Dular, University of Li&egrave;ge" << "(<i>Build date:</i> " << GETDP_DATE << ")"
<< "<p>Copyright (C) 1997-2014 Patrick Dular and Christophe Geuzaine, University of Li&egrave;ge</p>"
<< "<p><a href=\"http://geuz.org/getdp/doc/CREDITS.txt\">Credits</a> " << "<p><a href=\"http://geuz.org/getdp/doc/CREDITS.txt\">Credits</a> "
<< "and <a href=\"http://geuz.org/getdp/doc/LICENSE.txt\">licensing " << "and <a href=\"http://geuz.org/getdp/doc/LICENSE.txt\">licensing information</a></p>"
<< "information</a>" << "<p><i>Build options:</i> " << GETDP_CONFIG_OPTIONS << "</p>"
<< "<p>Please send all questions and bug reports to " << "<p>Visit <a href=\"http://getdp.info\">http://getdp.info</a> for more information</p></center>";
<< "<a href=\"mailto:getdp@geuz.org\">getdp@geuz.org</a></center>"
<< "<ul>"
<< "<li><i>Build OS:</i> " << GETDP_OS
<< "<li><i>Build date:</i> " << GETDP_DATE
<< "<li><i>Build options:</i>" << GETDP_CONFIG_OPTIONS
<< "</ul>"
<< "<center>Visit <a href=\"http://geuz.org/getdp/\">http://geuz.org/getdp/</a> "
<< "for more information</center>";
return env->NewStringUTF(sstream.str().c_str()); return env->NewStringUTF(sstream.str().c_str());
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment