]> git.sur5r.net Git - bacula/docs/commitdiff
Fix links
authorKern Sibbald <kern@sibbald.com>
Tue, 29 Jan 2008 20:42:44 +0000 (20:42 +0000)
committerKern Sibbald <kern@sibbald.com>
Tue, 29 Jan 2008 20:42:44 +0000 (20:42 +0000)
16 files changed:
docs/home-page/de/inc/footer.php
docs/home-page/de/inc/header.php
docs/home-page/de/pages/donations.php
docs/home-page/de/pages/maillists.php
docs/home-page/de/pages/news.php
docs/home-page/de/pages/professional.php
docs/home-page/de/pages/testimonial.php
docs/home-page/en/pages/documentation.php
docs/home-page/en/pages/donations.php
docs/home-page/en/pages/maillists.php
docs/home-page/en/pages/news.php
docs/home-page/en/pages/presentations.php
docs/home-page/en/pages/presskits.php
docs/home-page/en/pages/professional.php
docs/home-page/en/pages/testimonial.php
docs/home-page/en/pages/vote.php

index 00cb988f87e2e78e9968f24b54239e037c94d9af..80a6701606f01c02cee3ab6d490868c9c2d79bb4 100644 (file)
@@ -1,5 +1,5 @@
          <div>
-            <img src="../images/spacer.gif" alt="spacer" width="1px" height="50px"><br>
+            <img src="/images/spacer.gif" alt="spacer" width="1px" height="50px"><br>
               <?
                if($_SESSION['user'] == "bukdebug")
                   print_r($_SERVER);
index 5b28209d4fe76ae0e24177fa791ff4125a549161..01b08c95570c829e4964dcdd10dabf6936245bbf 100644 (file)
                Bacula, das Netzwerk-Backup-Programm f&uuml;r Linux, Unix, Mac und Windows.
        </td>
        <td style="text-align: left; vertical-align: middle">
-           <img alt="Deutsch" src="../images/german-flag.jpg">
+           <img alt="Deutsch" src="/images/german-flag.jpg">
            &nbsp;&nbsp;&nbsp;
          <a href='/en'>
-           <img alt="English" src="../images/english-flag.jpg">
+           <img alt="English" src="/images/english-flag.jpg">
          </a>&nbsp;&nbsp;&nbsp;
          <a href='/fr'>
-           <img alt="Fran&ccedil;ais" src="../images/french-flag.jpg">
+           <img alt="Fran&ccedil;ais" src="/images/french-flag.jpg">
          </a>
        </td>
        <FORM method=GET  target="_blank" action=http://www.google.de/search>
@@ -86,7 +86,7 @@
        <table class="pageLogo">
          <tr>
            <td style="text-align: left; vertical-align: middle">
-               <img alt="Bacula Logo" src="../images/bacu_logo-red.jpg">
+               <img alt="Bacula Logo" src="/images/bacu_logo-red.jpg">
            </td>
          </tr>
        </table>
 
         <div class="menuHead">
         <div class="icons">
-           <a href="http://www.ukfast.net"><img src="../images/bacula_ukfast_logo.gif" alt="www.ukfast.net"></a>
+           <a href="http://www.ukfast.net"><img src="/images/bacula_ukfast_logo.gif" alt="www.ukfast.net"></a>
            <!-- a href="http://www.sectoor.de"><img src="http://www.sectoor.de/grafiken/button_klein2.png" alt="Sectoor Logo"></a -->
-           <!-- a href="http://validator.w3.org/check?uri=referer"><img src="../images/valid-xhtml10.png" alt="valix w3c logo"></a -->
-           <!-- a href="http://jigsaw.w3.org/css-validator/validator?uri=<? echo $_SERVER['HTTP_REFERER']; ?>"><img src="../images/vcss.png" alt="valid css logo"></a-->
+           <!-- a href="http://validator.w3.org/check?uri=referer"><img src="/images/valid-xhtml10.png" alt="valix w3c logo"></a -->
+           <!-- a href="http://jigsaw.w3.org/css-validator/validator?uri=<? echo $_SERVER['HTTP_REFERER']; ?>"><img src="/images/vcss.png" alt="valid css logo"></a-->
         </div>
 
 
index 17c0f0c95ecba3df51f9c8c14fb22d97e244f229..364382a27b3017f4c64e73338cd920dd30ce46d3 100644 (file)
@@ -48,7 +48,7 @@ while(count($lines) > 0 && $news_counter < $max_news) {
                 printf('<tr>');
                 printf('<td class="newsFooter">%s - %s, %s</td>', $date, $time, $author);
                 printf('</tr>');
-                printf('<tr><td><img src="../images/spacer.gif" width="1px" height="15px"></td></tr>');
+                printf('<tr><td><img src="/images/spacer.gif" width="1px" height="15px"></td></tr>');
                 $news_counter++;
                 continue;
         }
index f62ee5c6e31c5f25951a4051a865c2a60258638e..e9b4a97707bfa0a85e7a8506ecc02122ebf82510 100644 (file)
@@ -46,7 +46,7 @@ wenn ein neues Software-Paket zur Verf&uuml;gung gestellt wird. Dazu gehen Sie a
 die Seite 
 <a href="http://sourceforge.net/project/showfiles.php?group_id=50727">Bacula SourceForge
 Downloads</a> (eng.) und klicken auf das kleine Briefsymbol 
-<img src="../images/mail16d.png" alt="" width="15" height="15"> unter der &Uuml;berschrift <b>Monitor</b>
+<img src="/images/mail16d.png" alt="" width="15" height="15"> unter der &Uuml;berschrift <b>Monitor</b>
 in der Zeile, die dem Paket entspricht &uuml;ber das Sie sich bei &Auml;nderungen informieren lassen wollen.
 </p>
 
index 2d1e39980306016ea32dbaca27e12573591ab1de..147dd26a0cbeaad61e2691676a6c713ac309de33 100644 (file)
@@ -49,7 +49,7 @@ while(count($lines) > 0 && $news_counter < $max_news) {
                 printf('<tr>');
                 printf('<td class="newsFooter">%s - %s, %s</td>', $date, $time, $author);
                 printf('</tr>');
-                printf('<tr><td><img src="../images/spacer.gif" width="1px" height="15px"></td></tr>');
+                printf('<tr><td><img src="/images/spacer.gif" width="1px" height="15px"></td></tr>');
                 $news_counter++;
                 continue;
         }
index 463db02247de3239f86dc8fd9b1173d93305c941..518f55699bacf51d555fb9a10991575c2a501a2c 100644 (file)
    <td class="content">
    <table align="center">
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                       Alixen
               </td>
-              <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:infoNOSPAM@alixen.fr">Gilles Polart-Donat</a><br>
                  20 rue Jean Rostand<br>
               </td>
       </tr>
 
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                       Arden Group Inc
               </td>
-              <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:rberryNOSPAM@ardengrp.com">Roger Berry</a><br>
                  5026 NE Clackamas<br>
               </td>
       </tr>
 
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                       Axiom Networking
               </td>
-              <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:ajordanNOSPAM@draftathome.com">Angus Jordan</a><br>
                  9235 215th St, Langley BC, Canada<br>
               </td>
       </tr>
 
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                       Bayer Technology Group
               </td>
-              <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:jbayerNOSPAM@BayerTechnologyGroup.com"> Jonathan B Bayer</a><br>
                 Bayer Technology Group, 23 Exeter Rd., East Windsor, NJ 08520 USA<br>
       </tr>
 
 
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                       BSDCan
               </td>
-              <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                 <a href="mailto:danNOSPAM@langille.org">Dan Langille</a><br>
                  Suite 474<br>
               </td>
       </tr>
 
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                       dass IT GmbH
               </td>
-              <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:infoNSPAM@dass-it.de">dass IT GmbH</a><br>
                  H&auml;ndelstra&#223;e 25-29<br>
       </tr>
 
 
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                      Heitor Faria
               </td>
-              <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:heitorfariaNOSPAM@hotmail.com">Heitor Faria</a><br>
                  Consultoria em Software Libre (Brazil)<br>
               </td>
       </tr>
 
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                      HEXONET Support GmbH
               </td>
-              <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:infoNOSPAM@hexonet.com">Hexonet</a><br>
                  Alexander Biehl<br>
       </tr>
 
 
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                       Instant Root HB
               </td>
-              <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:infoNOSPAM@instant-root.com">Info-Mail</a><br>
                  Box 1823 <br>
               </td>
       </tr>
 
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                       IT-Service Lehmann
               </td>
-              <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:infoNOSPAM@its-lehmann.de">Arno Lehmann</a><br>
                   Sandstr. 6<br>
               </td>
       </tr>
 
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                  KDB Konsult AB
               </td>
-              <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:matsNOSPAM@kdb.se">Mats Vilhelmsson</a><br>
                  Tel: +46 708 901042<br>
                  <a href="http://www.kdb.se">http://www.kdb.se</a><br>
               </td>
       </tr>
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                       L. Strappazon
               </td>
-              <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:l.strappazonNOSPAM@free.fre">Ludovic Strappazon</a><br>
                  Strasbourg, France<br>
                  Planning and scaling of your hardware installation, Bacula implementation.
               </td>
       </tr>
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                   MATRIX-Computer
               </td>
-              <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                   MATRIX-Computer GmbH<br>
                   Dachauer Str. 44<br>
               </td>
       </tr>
 
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                      NETWAYS GmbH
               </td>
-              <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:infoNOSPAM@netways.de">NETWAYS GmbH</a><br>
                  Deutschherrnstrasse 47a<br>
       </tr>
 
 
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                      raptus ag
               </td>
-              <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:infoNOSPAM@raptus.com">raptus ag</a><br>
                  moderne kommunikation<br>
 
 
 
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                       Sine Nomine Associates
               </td>
-              <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:infoNOSPAM@sinenomine.net">Services Sales Dept.</a><br>
                  US:<br>
               </td>
       </tr>
 
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                       Thinxsolutions 
               </td>
-              <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:infoNOSPAM@thinxsolutions.com">
                  M&uuml;ller, Bender, Guth GbR</a><br>
       </tr>
 
 
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                       WinFix.IT
               </td>
-              <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:JoNOSPAM@WinFix.IT">Jo at WinFix.IT</a><br>
                  <br>
                  <a href="http://www.WinFix.IT">http://www.WinFix.IT</a><br>
               </td>
       </tr>
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
 
 
    </table>
index d9458c307e1219bf24fecda938bd29ee0bf49479..71fdc69117714f1da3504a061c2de06e707618fb 100644 (file)
@@ -1,6 +1,6 @@
 <? require_once("inc/header.php"); ?>
 <?
-$dat_dir = '../testimonials';
+$dat_dir = '/testimonials';
 
 $org_type_lst = array(
        '0'   => "SELECT ONE",
@@ -476,7 +476,7 @@ if ($_REQUEST['btnSubmit'] == 'Modify') {
    $filename = get_file_from_id();
 
    if (!$filename) {
-       return (0);
+        return (0);
    }
 
    $formul = load_formul($filename);
@@ -517,20 +517,20 @@ if ($_REQUEST['btnSubmit'] == 'Modify') {
         }
 
 } elseif ($_REQUEST['btnSubmit'] == 'View') {
-       
-       $file = get_file_from_id();
+        
+        $file = get_file_from_id();
 
-       if ($file) {
-            print_formul_file($filename,true);
-       }
+        if ($file) {
+             print_formul_file($filename,true);
+        }
 
 } elseif ($_REQUEST['btnSubmit'] == 'Delete') {
 
-       $filename = get_file_from_id();
+        $filename = get_file_from_id();
 
-       if (!$filename) {
-           return (0);
-       }
+        if (!$filename) {
+            return (0);
+        }
 
         $form = load_formul($filename);
         
@@ -544,32 +544,32 @@ if ($_REQUEST['btnSubmit'] == 'Modify') {
 
 } elseif ($_REQUEST['btnSubmit'] == 'Accept' && is_admin()) {
 
-       $filename = get_file_from_id();
+        $filename = get_file_from_id();
         
-       if (!$filename) {
-           return (0);
-       }
+        if (!$filename) {
+            return (0);
+        }
 
         $form = load_formul($filename);
 
-       $hide = $_REQUEST['hide'];
+        $hide = $_REQUEST['hide'];
 
         if ($hide) {
                 $form['visible']=0;
         } else {
-               $form['visible']=1;
-       }
+                $form['visible']=1;
+        }
         save_formul($form);
         echo $form['id'] . " is now " . ($hide?"un":"") . "visible";
         print_formul($form);
 
 } elseif ($_REQUEST['btnSubmit'] == 'Save') {
-       
-       $filename = get_file_from_id();
+        
+        $filename = get_file_from_id();
 
-       if (!$filename) {
-           return (0);
-       }
+        if (!$filename) {
+            return (0);
+        }
 
         $form = get_formul();
 
@@ -606,18 +606,18 @@ if ($_REQUEST['btnSubmit'] == 'Modify') {
             while (false !== ($file = readdir($handle))) {
                 if (preg_match("/profile.[a-z0-9\.]+/", $file)) {
                      $form = load_formul("$dat_dir/$file") ;
-                       // on affiche ceux qui sont en attente ou bien tous
-                    if (!$waiting || !$form['visible']) {
-                       print_formul($form);
-                       if ($form['visible']) {
-                          print "<a href=\"?page=testimonial&btnSubmit=Accept&hide=1&passwd=" . $pass . "&id=" . $form['id'] . "\"> Hide </a> | \n";
-                       } else {
-                          print "<a href=\"?page=testimonial&btnSubmit=Accept&passwd=" . $pass . "&id=" . $form['id'] . "\"> Accept </a> | \n";
-                       }
-                       print "<a href=\"?page=testimonial&btnSubmit=Modify&id=" . $form['id'] . "\"> Modify </a> | \n";
-                       print "<a href=\"?page=testimonial&btnSubmit=AdminExport&passwd=" . $pass . "&id=" . $form['id'] . "\"> Export </a><br><br>\n";
-
-                    }
+                        // on affiche ceux qui sont en attente ou bien tous
+                     if (!$waiting || !$form['visible']) {
+                        print_formul($form);
+                        if ($form['visible']) {
+                           print "<a href=\"?page=testimonial&btnSubmit=Accept&hide=1&passwd=" . $pass . "&id=" . $form['id'] . "\"> Hide </a> | \n";
+                        } else {
+                           print "<a href=\"?page=testimonial&btnSubmit=Accept&passwd=" . $pass . "&id=" . $form['id'] . "\"> Accept </a> | \n";
+                        }
+                        print "<a href=\"?page=testimonial&btnSubmit=Modify&id=" . $form['id'] . "\"> Modify </a> | \n";
+                        print "<a href=\"?page=testimonial&btnSubmit=AdminExport&passwd=" . $pass . "&id=" . $form['id'] . "\"> Export </a><br><br>\n";
+
+                     }
                 }
             } 
             closedir($handle);
@@ -662,10 +662,10 @@ if ($_REQUEST['btnSubmit'] == 'Modify') {
    }
    $form = load_formul($file);
    if ($form) {
-       export_form($form);
+        export_form($form);
    }
 } else {
-       print "Invalid btnSubmit<br>";
+        print "Invalid btnSubmit<br>";
 }
 
 function export_form($formul)
@@ -673,23 +673,23 @@ function export_form($formul)
         global $country_lst, $org_type_lst, $org_industry_lst, $os_lst, $catalog_lst;
 
         $attribs = array('contact_name','email_address', 'org_name','title','website',
-                        'hardware_comments','comments',
-                        'publish_contact','publish_email', 'publish_orgname','org_size','redundant_setup',
-                        'date','visible', 'support',
-                        'number_fd','number_sd','month_gb','number_files','publish_orgsize','publish_website');
-       print "<pre>\n";
+                         'hardware_comments','comments',
+                         'publish_contact','publish_email', 'publish_orgname','org_size','redundant_setup',
+                         'date','visible', 'support',
+                         'number_fd','number_sd','month_gb','number_files','publish_orgsize','publish_website');
+        print "<pre>\n";
         foreach ($attribs as $arr) {
-               print "$arr = " . $formul[$arr] . "\n";
+                print "$arr = " . $formul[$arr] . "\n";
         }
 
-       print "orgtype = " . $org_type_lst[$formul['orgtype_id']] . "\n";
-       print "orgindustry = " . $org_industry_lst[$formul['orgindustry_id']] . "\n";
-       print "bacula_version = " . $version_lst[$formul['bacula_version']] . "\n";
-       print "country = " . $country_lst[$formul['country_id']] . "\n";
-       print "ostype = " . $os_lst[$formul['ostype_id']] . "\n";
-       print "catalog = " . $catalog_lst[$formul['catalog_id']] . "\n";
+        print "orgtype = " . $org_type_lst[$formul['orgtype_id']] . "\n";
+        print "orgindustry = " . $org_industry_lst[$formul['orgindustry_id']] . "\n";
+        print "bacula_version = " . $version_lst[$formul['bacula_version']] . "\n";
+        print "country = " . $country_lst[$formul['country_id']] . "\n";
+        print "ostype = " . $os_lst[$formul['ostype_id']] . "\n";
+        print "catalog = " . $catalog_lst[$formul['catalog_id']] . "\n";
 
-       print "<pre>\n";
+        print "<pre>\n";
 }
 
 function get_file_from_id()
@@ -862,10 +862,10 @@ function print_formul_file($filename, $admin) {
                         return 0;
                 }
         } else {
-               print "<a href=\"?page=testimonial&btnSubmit=Modify&id=" . $formul['id'] . "\">Modify</a><br>\n";
-       }
+                print "<a href=\"?page=testimonial&btnSubmit=Modify&id=" . $formul['id'] . "\">Modify</a><br>\n";
+        }
 
-       return print_formul($formul);
+        return print_formul($formul);
 }
 
 function print_formul($formul)
index 42c5307649a400af8590fcd4efc4a01971c78f64..c6dc9afdae70257d0805d8f9c9ae40810d754c46 100644 (file)
@@ -25,7 +25,7 @@
    <ul>
    <li> <a href="rel-manual/index.html" >HTML User's Manual</a>
     <br>(released version of the User's Manual)<br></li>
-   <li> <a href="<? echo $spath ?>/rel-bacula.pdf">PDF User's Manual</a>
+   <li> <a href="rel-bacula.pdf">PDF User's Manual</a>
     <br>(released version of the User's Manual)<br></li>
    </ul>
    </td>
@@ -33,7 +33,7 @@
    <ul>
    <li> <a href="dev-manual/index.html" >HTML Development Manual</a>
     <br>(User's manual for code under development)<br></li>
-   <li> <a href="<? echo $spath ?>/bacula.pdf">PDF Development Manual</a>
+   <li> <a href="/bacula.pdf">PDF Development Manual</a>
     <br>(User's Manual for code under development)</li>
    </ul>
    </td>
@@ -49,9 +49,9 @@
       <ul>
       <li><a href="developers/index.html">HTML Developer's Guide</a>
       <br>(Guide for Bacula developers)</li>
-      <li> <a href="<? echo $spath ?>/developers.pdf">PDF Developer's Guide</a>
+      <li> <a href="developers.pdf">PDF Developer's Guide</a>
       <br>(Guide for Bacula developers)</li>
-      <li><a href="<? echo $spath ?>/FLA-bacula.en.pdf">PDF FLA</a>
+      <li><a href="FLA-bacula.en.pdf">PDF FLA</a>
       <br>(Developer's Fiduciary License Agreement)</li>
       </ul>
      </td>
      <td class="content">
       <ul>
       <li>New Concepts and Overview Guide
-         <a href="<? echo $spath ?>/manuals/en/concepts/concepts.pdf"> PDF</a>
-         <a href="<? echo $spath ?>/manuals/en/concepts/concepts/index.html">/HTML </a>
+         <a href="/manuals/en/concepts/concepts.pdf"> PDF</a>
+         <a href="/manuals/en/concepts/concepts/index.html">/HTML </a>
          <br>
       <li>New Installation and Configuration Guide
-         <a href="<? echo $spath ?>/manuals/en/install/install.pdf"> PDF</a>
-         <a href="<? echo $spath ?>/manuals/en/install/install/index.html">/HTML </a>
+         <a href="/manuals/en/install/install.pdf"> PDF</a>
+         <a href="/manuals/en/install/install/index.html">/HTML </a>
          <br>
       <li>New Console and Operators Guide
-         <a href="<? echo $spath ?>/manuals/en/console/console.pdf"> PDF</a>
-         <a href="<? echo $spath ?>/manuals/en/console/console/index.html">/HTML </a>
+         <a href="/manuals/en/console/console.pdf"> PDF</a>
+         <a href="/manuals/en/console/console/index.html">/HTML </a>
          <br>
       <li>New Problem Resolution Guide
-         <a href="<? echo $spath ?>/manuals/en/problems/problems.pdf"> PDF</a>
-         <a href="<? echo $spath ?>/manuals/en/problems/problems/index.html">/HTML </a>
+         <a href="/manuals/en/problems/problems.pdf"> PDF</a>
+         <a href="/manuals/en/problems/problems/index.html">/HTML </a>
          <br>
       <li>New Catalog Database Guide
-         <a href="<? echo $spath ?>/manuals/en/catalog/catalog.pdf"> PDF</a>
-         <a href="<? echo $spath ?>/manuals/en/catalog/catalog/index.html">/HTML </a>
+         <a href="/manuals/en/catalog/catalog.pdf"> PDF</a>
+         <a href="/manuals/en/catalog/catalog/index.html">/HTML </a>
       <br>
       <li>New Utility Programs
-         <a href="<? echo $spath ?>/manuals/en/utility/utility.pdf"> PDF</a>
-         <a href="<? echo $spath ?>/manuals/en/utility/utility/index.html">/HTML </a>
+         <a href="/manuals/en/utility/utility.pdf"> PDF</a>
+         <a href="/manuals/en/utility/utility/index.html">/HTML </a>
       <br>
       <li>New Developers' Guide
-         <a href="<? echo $spath ?>/manuals/en/developers/developers.pdf"> PDF</a>
-         <a href="<? echo $spath ?>/manuals/en/developers/developers/index.html">/HTML </a>
+         <a href="/manuals/en/developers/developers.pdf"> PDF</a>
+         <a href="/manuals/en/developers/developers/index.html">/HTML </a>
       </ul>
      </td>
    </tr>
index b38f7c1f6a7148bc6d06fb321d07cb6f7d693ea3..f03c6ec4e1c88e102875cec2f461ca58ff08d043 100644 (file)
@@ -48,7 +48,7 @@ while(count($lines) > 0 && $news_counter < $max_news) {
                 printf('<tr>');
                 printf('<td class="newsFooter">%s - %s, %s</td>', $date, $time, $author);
                 printf('</tr>');
-                printf('<tr><td><img src="images/spacer.gif" width="1px" height="15px"></td></tr>');
+                printf('<tr><td><img src="/images/spacer.gif" width="1px" height="15px"></td></tr>');
                 $news_counter++;
                 continue;
         }
index c65fcc8f18ed0260c58c525e3e8d1892fef1cc26..361ffc77c4e789fe90c30b214f4863ddcd9c18d7 100644 (file)
@@ -48,7 +48,7 @@ Please do not send email directly to this list.
 is released on SourceForge. This is accomplished by going to
 the <a href="http://sourceforge.net/projects/bacula">Bacula SourceForge
 Project</a> page and clicking on the little letter or mail icon
-<img src="images/mail16d.png" alt="" width="15" height="15"> under the heading <b>Monitor</b> in the
+<img src="/images/mail16d.png" alt="" width="15" height="15"> under the heading <b>Monitor</b> in the
 row corresponding to the package you want to monitor.
 </p>
 
index 9aab65e81e0976c53129732975d86a29b9b967de..3c0ac237ed4e2a2015d269483e1858ef814e2f0e 100644 (file)
@@ -2,15 +2,15 @@
 
 <table width="100%">
 <tr>
-       <td class="contentTopic">
-               News
-       </td>
+        <td class="contentTopic">
+                News
+        </td>
 </tr>
 </table>
 <table width="90%" align="center">
 <tr>
-       <td class="content">
-       <table class="news" style="width: 99%">
+        <td class="content">
+        <table class="news" style="width: 99%">
 <?
 
 $max_news = 5;
@@ -21,44 +21,44 @@ $news_counter = 0;
 //
 $file = "news.txt";
 $lines = array_reverse(file($file)) or
-       die("No newsfile!");
+        die("No newsfile!");
 
 // as long as there are lines ...
 //
 while(count($lines) > 0 && $news_counter < $max_news) {
-       // next line
-       $line = array_pop($lines);
+        // next line
+        $line = array_pop($lines);
 
-       // start of news
-       if(eregi("^[a-z0-9]+;;;", $line)) {
-               // news header
-               list($author,$date,$time) = explode(";;;",$line);
+        // start of news
+        if(eregi("^[a-z0-9]+;;;", $line)) {
+                // news header
+                list($author,$date,$time) = explode(";;;",$line);
 
-               // news subject
-               $subject = array_pop($lines);
-               printf('<tr><td class="newsHeader">%s</td></tr>', $subject);
-               printf('<tr><td class="newsContent"><pre class="newsContent">');
+                // news subject
+                $subject = array_pop($lines);
+                printf('<tr><td class="newsHeader">%s</td></tr>', $subject);
+                printf('<tr><td class="newsContent"><pre class="newsContent">');
 
-               continue;
-       }
+                continue;
+        }
 
-       // end of news
-       if(eregi("^;;;", $line)) {
-               printf('</pre></td></tr>');
-               printf('<tr>');
-               printf('<td class="newsFooter">%s - %s, %s</td>', $date, $time, $author);
-               printf('</tr>');
-               printf('<tr><td><img src="images/spacer.gif" width="1px" height="15px"></td></tr>');
-               $news_counter++;
-               continue;
-       }
+        // end of news
+        if(eregi("^;;;", $line)) {
+                printf('</pre></td></tr>');
+                printf('<tr>');
+                printf('<td class="newsFooter">%s - %s, %s</td>', $date, $time, $author);
+                printf('</tr>');
+                printf('<tr><td><img src="/images/spacer.gif" width="1px" height="15px"></td></tr>');
+                $news_counter++;
+                continue;
+        }
 
-       // news content
-       printf('%s', $line);
+        // news content
+        printf('%s', $line);
 }
 ?>
-       </table>
-       </td>
+        </table>
+        </td>
 </tr>
 </table>
 <? require_once("inc/header.php"); ?>
index 248570e1bc635ce93d272c36a6002862dc0b8b7c..5b023b7d0a425684f3607a425cfed3520981b72f 100644 (file)
@@ -9,7 +9,7 @@
    <tr>
      <td class="content">
    <ul>
-   <li> <a href="presentations/Bacula-FOSDEM-talk-25Feb07.pdf" >PDF FOSDEM Slide Show</a>
+   <li> <a href="/presentations/Bacula-FOSDEM-talk-25Feb07.pdf" >PDF FOSDEM Slide Show</a>
     <br>Slide Show Presented at FOSDEM 2007<br></li>
    </ul>
    </td>
index 63d137d08df92173985495c710874c9bc0d3464f..2eee912a80a41443fbb4209e822f4c8e9c20ab29 100644 (file)
 
    <h3>Bacula 2.2.0 Press Information</h3>   
    <ul>
-   <li> <a href="about/press/presskit220.html.en" >Press Kit</a></li>
-   <li> <a href="/rel-manual/Bacula_Freque_Asked_Questi.html" >Frequently Asked Questions</a></li>
+   <li> <a href="/about/press/presskit220.html.en" >Press Kit</a></li>
+   <li> <a href="rel-manual/Bacula_Freque_Asked_Questi.html" >Frequently Asked Questions</a></li>
    </ul>
 
    <h3>Press Kit in Other Languages</h3>
 
    <ul>
-   <li> <a href="about/press/presskit220.html.en" >Catalan</a></li>
-   <li> <a href="about/press/presskit200.html.fr" >French</a></li>
-   <li> <a href="about/press/presskit200.html.de" >German</a></li>
-   <li> <a href="about/press/presskit200.html.es" >Spanish</a></li>
+   <li> <a href="/about/press/presskit220.html.en" >Catalan</a></li>
+   <li> <a href="/about/press/presskit200.html.fr" >French</a></li>
+   <li> <a href="/about/press/presskit200.html.de" >German</a></li>
+   <li> <a href="/about/press/presskit200.html.es" >Spanish</a></li>
    </ul>
    </td>
    </tr>
index a795a195611216c7fc797fd40d6fe3e201407800..26f6c362bb81b8f4aef31a91cd676ba4a1f1a5f8 100644 (file)
    <td class="content">
    <table align="center">
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                       Alixen
               </td>
-              <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:infoNOSPAM@alixen.fr">Gilles Polart-Donat</a><br>
                  20 rue Jean Rostand<br>
               </td>
       </tr>
 
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                       Arden Group Inc
               </td>
-              <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:rberryNOSPAM@ardengrp.com">Roger Berry</a><br>
                  5026 NE Clackamas<br>
               </td>
       </tr>
 
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                       Axiom Networking
               </td>
-              <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:ajordanNOSPAM@draftathome.com">Angus Jordan</a><br>
                  9235 215th St, Langley BC, Canada<br>
               </td>
       </tr>
 
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                       Bayer Technology Group
               </td>
-              <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:jbayerNOSPAM@BayerTechnologyGroup.com"> Jonathan B Bayer</a><br>
                 Bayer Technology Group, 23 Exeter Rd., East Windsor, NJ 08520 USA<br>
       </tr>
 
 
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                       BSDCan
               </td>
-              <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:danNOSPAM@langille.org">Dan Langille</a><br>
                  Suite 474<br>
               </td>
       </tr>
 
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                       dass IT GmbH
               </td>
-              <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:infoNSPAM@dass-it.de">dass IT GmbH</a><br>
                  H&auml;ndelstra&#223;e 25-29<br>
       </tr>
 
 
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                      Heitor Faria
               </td>
-              <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:heitorfariaNOSPAM@hotmail.com">Heitor Faria</a><br>
                  Consultoria em Software Libre (Brazil)<br>
       </tr>
 
 
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                      HEXONET Support GmbH
               </td>
-              <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:infoNOSPAM@hexonet.com">Hexonet</a><br>
                  Alexander Biehl<br>
       </tr>
 
 
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                       Instant Root HB
               </td>
-              <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:infoNOSPAM@instant-root.com">Info-Mail</a><br>
                  Box 1823 <br>
               </td>
       </tr>
 
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                       IT-Service Lehmann
               </td>
-              <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:infoNOSPAM@its-lehmann.de">Arno Lehmann</a><br>
                   Sandstr. 6<br>
               </td>
       </tr>
 
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                  KDB Konsult AB
               </td>
-              <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:matsNOSPAM@kdb.se">Mats Vilhelmsson</a><br>
                  Tel: +46 708 901042<br>
                  <a href="http://www.kdb.se">http://www.kdb.se</a><br>
               </td>
       </tr>
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                       L. Strappazon
               </td>
-              <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:l.strappazonNOSPAM@free.fre">Ludovic Strappazon</a><br>
                  Strasbourg, France<br>
                  Planning and scaling of your hardware installation, Bacula implementation.
               </td>
       </tr>
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                   MATRIX-Computer
               </td>
-              <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                   MATRIX-Computer GmbH<br>
                   Dachauer Str. 44<br>
               </td>
       </tr>
 
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                      NETWAYS GmbH
               </td>
-              <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:infoNOSPAM@netways.de">NETWAYS GmbH</a><br>
                  Deutschherrnstrasse 47a<br>
       </tr>
 
 
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                      raptus ag
               </td>
-              <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:infoNOSPAM@raptus.com">raptus ag</a><br>
                  moderne kommunikation<br>
 
 
 
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                       Sine Nomine Associates
               </td>
-              <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:infoNOSPAM@sinenomine.net">Services Sales Dept.</a><br>
                  US:<br>
               </td>
       </tr>
 
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                       Thinxsolutions 
               </td>
-              <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:infoNOSPAM@thinxsolutions.com">
                  M&uuml;ller, Bender, Guth GbR</a><br>
       </tr>
 
 
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr>
               <td style="font-weight: bold">
                       WinFix.IT
               </td>
-              <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+              <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
               <td>
                  <a href="mailto:JoNOSPAM@WinFix.IT">Jo at WinFix.IT</a><br>
                  <br>
                  <a href="http://www.WinFix.IT">http://www.WinFix.IT</a><br>
               </td>
       </tr>
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
       <tr> <td colspan="3"><hr></td>
-      <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+      <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
 
 
    </table>
index d9458c307e1219bf24fecda938bd29ee0bf49479..71fdc69117714f1da3504a061c2de06e707618fb 100644 (file)
@@ -1,6 +1,6 @@
 <? require_once("inc/header.php"); ?>
 <?
-$dat_dir = '../testimonials';
+$dat_dir = '/testimonials';
 
 $org_type_lst = array(
        '0'   => "SELECT ONE",
@@ -476,7 +476,7 @@ if ($_REQUEST['btnSubmit'] == 'Modify') {
    $filename = get_file_from_id();
 
    if (!$filename) {
-       return (0);
+        return (0);
    }
 
    $formul = load_formul($filename);
@@ -517,20 +517,20 @@ if ($_REQUEST['btnSubmit'] == 'Modify') {
         }
 
 } elseif ($_REQUEST['btnSubmit'] == 'View') {
-       
-       $file = get_file_from_id();
+        
+        $file = get_file_from_id();
 
-       if ($file) {
-            print_formul_file($filename,true);
-       }
+        if ($file) {
+             print_formul_file($filename,true);
+        }
 
 } elseif ($_REQUEST['btnSubmit'] == 'Delete') {
 
-       $filename = get_file_from_id();
+        $filename = get_file_from_id();
 
-       if (!$filename) {
-           return (0);
-       }
+        if (!$filename) {
+            return (0);
+        }
 
         $form = load_formul($filename);
         
@@ -544,32 +544,32 @@ if ($_REQUEST['btnSubmit'] == 'Modify') {
 
 } elseif ($_REQUEST['btnSubmit'] == 'Accept' && is_admin()) {
 
-       $filename = get_file_from_id();
+        $filename = get_file_from_id();
         
-       if (!$filename) {
-           return (0);
-       }
+        if (!$filename) {
+            return (0);
+        }
 
         $form = load_formul($filename);
 
-       $hide = $_REQUEST['hide'];
+        $hide = $_REQUEST['hide'];
 
         if ($hide) {
                 $form['visible']=0;
         } else {
-               $form['visible']=1;
-       }
+                $form['visible']=1;
+        }
         save_formul($form);
         echo $form['id'] . " is now " . ($hide?"un":"") . "visible";
         print_formul($form);
 
 } elseif ($_REQUEST['btnSubmit'] == 'Save') {
-       
-       $filename = get_file_from_id();
+        
+        $filename = get_file_from_id();
 
-       if (!$filename) {
-           return (0);
-       }
+        if (!$filename) {
+            return (0);
+        }
 
         $form = get_formul();
 
@@ -606,18 +606,18 @@ if ($_REQUEST['btnSubmit'] == 'Modify') {
             while (false !== ($file = readdir($handle))) {
                 if (preg_match("/profile.[a-z0-9\.]+/", $file)) {
                      $form = load_formul("$dat_dir/$file") ;
-                       // on affiche ceux qui sont en attente ou bien tous
-                    if (!$waiting || !$form['visible']) {
-                       print_formul($form);
-                       if ($form['visible']) {
-                          print "<a href=\"?page=testimonial&btnSubmit=Accept&hide=1&passwd=" . $pass . "&id=" . $form['id'] . "\"> Hide </a> | \n";
-                       } else {
-                          print "<a href=\"?page=testimonial&btnSubmit=Accept&passwd=" . $pass . "&id=" . $form['id'] . "\"> Accept </a> | \n";
-                       }
-                       print "<a href=\"?page=testimonial&btnSubmit=Modify&id=" . $form['id'] . "\"> Modify </a> | \n";
-                       print "<a href=\"?page=testimonial&btnSubmit=AdminExport&passwd=" . $pass . "&id=" . $form['id'] . "\"> Export </a><br><br>\n";
-
-                    }
+                        // on affiche ceux qui sont en attente ou bien tous
+                     if (!$waiting || !$form['visible']) {
+                        print_formul($form);
+                        if ($form['visible']) {
+                           print "<a href=\"?page=testimonial&btnSubmit=Accept&hide=1&passwd=" . $pass . "&id=" . $form['id'] . "\"> Hide </a> | \n";
+                        } else {
+                           print "<a href=\"?page=testimonial&btnSubmit=Accept&passwd=" . $pass . "&id=" . $form['id'] . "\"> Accept </a> | \n";
+                        }
+                        print "<a href=\"?page=testimonial&btnSubmit=Modify&id=" . $form['id'] . "\"> Modify </a> | \n";
+                        print "<a href=\"?page=testimonial&btnSubmit=AdminExport&passwd=" . $pass . "&id=" . $form['id'] . "\"> Export </a><br><br>\n";
+
+                     }
                 }
             } 
             closedir($handle);
@@ -662,10 +662,10 @@ if ($_REQUEST['btnSubmit'] == 'Modify') {
    }
    $form = load_formul($file);
    if ($form) {
-       export_form($form);
+        export_form($form);
    }
 } else {
-       print "Invalid btnSubmit<br>";
+        print "Invalid btnSubmit<br>";
 }
 
 function export_form($formul)
@@ -673,23 +673,23 @@ function export_form($formul)
         global $country_lst, $org_type_lst, $org_industry_lst, $os_lst, $catalog_lst;
 
         $attribs = array('contact_name','email_address', 'org_name','title','website',
-                        'hardware_comments','comments',
-                        'publish_contact','publish_email', 'publish_orgname','org_size','redundant_setup',
-                        'date','visible', 'support',
-                        'number_fd','number_sd','month_gb','number_files','publish_orgsize','publish_website');
-       print "<pre>\n";
+                         'hardware_comments','comments',
+                         'publish_contact','publish_email', 'publish_orgname','org_size','redundant_setup',
+                         'date','visible', 'support',
+                         'number_fd','number_sd','month_gb','number_files','publish_orgsize','publish_website');
+        print "<pre>\n";
         foreach ($attribs as $arr) {
-               print "$arr = " . $formul[$arr] . "\n";
+                print "$arr = " . $formul[$arr] . "\n";
         }
 
-       print "orgtype = " . $org_type_lst[$formul['orgtype_id']] . "\n";
-       print "orgindustry = " . $org_industry_lst[$formul['orgindustry_id']] . "\n";
-       print "bacula_version = " . $version_lst[$formul['bacula_version']] . "\n";
-       print "country = " . $country_lst[$formul['country_id']] . "\n";
-       print "ostype = " . $os_lst[$formul['ostype_id']] . "\n";
-       print "catalog = " . $catalog_lst[$formul['catalog_id']] . "\n";
+        print "orgtype = " . $org_type_lst[$formul['orgtype_id']] . "\n";
+        print "orgindustry = " . $org_industry_lst[$formul['orgindustry_id']] . "\n";
+        print "bacula_version = " . $version_lst[$formul['bacula_version']] . "\n";
+        print "country = " . $country_lst[$formul['country_id']] . "\n";
+        print "ostype = " . $os_lst[$formul['ostype_id']] . "\n";
+        print "catalog = " . $catalog_lst[$formul['catalog_id']] . "\n";
 
-       print "<pre>\n";
+        print "<pre>\n";
 }
 
 function get_file_from_id()
@@ -862,10 +862,10 @@ function print_formul_file($filename, $admin) {
                         return 0;
                 }
         } else {
-               print "<a href=\"?page=testimonial&btnSubmit=Modify&id=" . $formul['id'] . "\">Modify</a><br>\n";
-       }
+                print "<a href=\"?page=testimonial&btnSubmit=Modify&id=" . $formul['id'] . "\">Modify</a><br>\n";
+        }
 
-       return print_formul($formul);
+        return print_formul($formul);
 }
 
 function print_formul($formul)
index db055aae5c54f9c98627d95efbd4db65daec04c3..df30bbe0325ca96c63baa11d446709712c77efc0 100644 (file)
@@ -4,7 +4,7 @@
 <tr>
         <td class="content">
         <p>
-        <img src="images/1.39-wishlist-votes.png">
+        <img src="/images/1.39-wishlist-votes.png">
         </td>
 </tr>
 </table>