[pkg-otr-team] [irssi-plugin-otr] 96/167: Adding help files navigation.

Holger Levsen holger at moszumanska.debian.org
Mon Mar 3 21:55:36 UTC 2014


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to tag 4.0.0
in repository irssi-plugin-otr.

commit 933287dbabe7459f212c9719a875a693223f0f1a
Author: Rob Smits <rdfsmits at cs.uwaterloo.ca>
Date:   Wed Jun 6 17:47:22 2012 -0400

    Adding help files navigation.
---
 help/authenticate.php    |  1 +
 help/authenticate_fr.php |  1 +
 help/fingerprint.php     |  1 +
 help/helpnav.php         | 10 ++++++++++
 help/levels_fr.php       |  1 +
 help/main.css            | 14 ++++++++++++++
 help/sessions.php        |  1 +
 7 files changed, 29 insertions(+)

diff --git a/help/authenticate.php b/help/authenticate.php
index 87c627e..7429bf1 100644
--- a/help/authenticate.php
+++ b/help/authenticate.php
@@ -8,6 +8,7 @@ if ($_REQUEST['lang'] == 'fr') {
 <link rel="stylesheet" type="text/css" href="main.css" />
 </head>
 <body><h1>Off-the-Record Messaging</h1>
+<?php include('helpnav.php'); ?>
 <h2>Authentication</h2>
 <p>You've probably received email from people pretending to be banks, credit
 agencies, even wealthy Nigerian expatriates.  People lie about who they
diff --git a/help/authenticate_fr.php b/help/authenticate_fr.php
index a5102ed..ecfcfdd 100644
--- a/help/authenticate_fr.php
+++ b/help/authenticate_fr.php
@@ -4,6 +4,7 @@
 <link rel="stylesheet" type="text/css" href="main.css" />
 </head>
 <body><h1>Messagerie Off-the-Record</h1>
+<?php include('helpnav.php'); ?>
 <h2>Authentification</h2>
 <p>Vous avez probablement déjà reçu des emails de gens prétendant être
 une banque, une agence de crédit, ou un expatrié nigérien. Sur
diff --git a/help/fingerprint.php b/help/fingerprint.php
index be43dc6..4004a05 100644
--- a/help/fingerprint.php
+++ b/help/fingerprint.php
@@ -3,6 +3,7 @@
 <link rel="stylesheet" type="text/css" href="main.css" />
 </head>
 <body><h1>Off-the-Record Messaging</h1>
+<?php include('helpnav.php'); ?>
 <h2>Fingerprints</h2>
 <p>You've probably received email from people pretending to be banks, credit
 agencies, even wealthy Nigerian expatriates.  People lie about who they
diff --git a/help/helpnav.php b/help/helpnav.php
new file mode 100644
index 0000000..14b0505
--- /dev/null
+++ b/help/helpnav.php
@@ -0,0 +1,10 @@
+<?php $lang = isset($_REQUEST['lang']) ? htmlspecialchars($_REQUEST['lang']) : "en";?>
+
+<div class="helpnav">
+<ul>
+<li><a href="authenticate.php?lang=<?php echo $lang;?>">Authentication</a></li>
+<li><a href="fingerprint.php?lang=<?php echo $lang;?>">Fingerprints</a></li>
+<li><a href="levels.php?lang=<?php echo $lang;?>">Privacy Levels</a></li>
+<li><a href="sessions.php?lang=<?php echo $lang;?>">Multiple Sessions</a></li>
+</ul>
+</div>
diff --git a/help/levels_fr.php b/help/levels_fr.php
index f12a2ec..648acaf 100644
--- a/help/levels_fr.php
+++ b/help/levels_fr.php
@@ -4,6 +4,7 @@
 <link rel="stylesheet" type="text/css" href="main.css" />
 </head>
 <body><h1>Messagerie Off-the-Record</h1>
+<?php include('helpnav.php'); ?>
 <h2>Niveaux de confidentialité</h2>
 <p>Une conversation peut avoir quatre <b>niveaux de confidentialité</b> différents :</p>
 <dl>
diff --git a/help/main.css b/help/main.css
index ac7bbb5..839629b 100644
--- a/help/main.css
+++ b/help/main.css
@@ -218,3 +218,17 @@ padding: 10px 0 25px 0;
 background: transparent url(baseimg/bg_h2.png) left top repeat-x;
 font-weight: bold;
 }
+
+.helpnav ul li {
+display:inline
+}
+
+.helpnav {
+border-bottom: solid;
+border-width: 1px;
+color: black
+}
+
+.helpnav ul {
+margin-left: -50px
+}
\ No newline at end of file
diff --git a/help/sessions.php b/help/sessions.php
index adbceb7..0c1e008 100644
--- a/help/sessions.php
+++ b/help/sessions.php
@@ -3,6 +3,7 @@
 <link rel="stylesheet" type="text/css" href="main.css" />
 </head>
 <body><h1>Off-the-Record Messaging</h1>
+<?php include('helpnav.php'); ?>
 <h2>Multiple Sessions</h2>
 <p>With versions of OTR earlier than 4.0.0, if you tried to start a private
 conversation with a buddy who is logged into the same account at multiple

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-otr/packages/irssi-plugin-otr.git



More information about the Pkg-otr-team mailing list