Browse code

cleanup & modification of tpl-std

* removed the templatevault, instead a new one is created on first start
* added display of username to tpl-std (corresponds to issue #4)
* removed obsolete css-file
* revamped Readme.md a bit

R.W authored on 22.10.2017 15:45:58
Showing 10 changed files

1 1
similarity index 50%
2 2
rename from README
3 3
rename to README.md
... ...
@@ -1,4 +1,4 @@
1
-SIMPLE VAULT - PASSWORD MANAGER
1
+# SIMPLE VAULT - MULTI-USER PASSWORD MANAGER
2 2
 
3 3
 SimpleVault is a web-based tool that allows you to manage passwords 
4 4
 or other secret information in a safe way. All secret information is 
... ...
@@ -6,45 +6,42 @@ encrypted using strong encryption algorithms. SimpleVault is particularly
6 6
 useful if you want to share secret information within a working group 
7 7
 with trusted members.
8 8
 
9
-The website of this Project can be found here: http://simplevault.sourceforge.net/
10
-This project is kindly hosted by sourceforge.net: http://sourceforge.net/projects/simplevault
9
+This fork adds the following features and improvements the original simplevault 1.9:
10
+* added support for multi-user environments with additional environments using webservers basic authentication.
11
+* Added the "nice theme": https://github.com/AndresBott/simplevault-nice-theme ( background based on http://subtlepatterns.com/black-leather/ )
11 12
 
12
-The entire project is available under the terms of the Gnu Public License.
13
+The original simplevault resides on https://github.com/ckujau/simplevault
13 14
 
15
+The project is available under the terms of the GNU Public License v3 (GPL3).
14 16
 
15
-INSTALLATION
17
+## Prerequisites 
18
+* webserver with htaccess-support
19
+* PHP5 or newer with the mcrypt library
16 20
 
17
-Prerequisites are: PHP4 or PHP5 with the mcrypt library.
18
-
19
-Download and unpack the SimpleVault package to the directory <install-dir>. 
20
-By default, /var/lib/simplevault/simplevault.txt is used as the vault file 
21
+## Installation
22
+1) Download and unpack the SimpleVault package to the directory <install-dir>. 
23
+By default, **/var/lib/simplevault/simplevault.txt** is used as the vault file 
21 24
 where all encrypted and unencrypted data is stored. This file should be 
22 25
 readable and writeable by the web server. 
23
-
24
-NOTE: You must create the folder /var/lib/simplevault, and assign it permissions
26
+NOTE: You must create the folder **/var/lib/simplevault**, and assign it permissions
25 27
 so that your web server can read and write to that folder. If you are using  
26 28
 shared hosting and don't have direct access to the web server, you can change
27 29
 the location of the vault file to "vault/simplevault.txt". Ensure that this 
28 30
 folder is not accessible from the internet!!
29 31
 
30
-Several configuration options, including the path to the vault file, can
32
+2) Several configuration options, including the path to the vault file, can
31 33
 be overridden by editing svconfig.php. By default this file does not exist
32 34
 but a sample configuration file exists in svconfig.php-dist.
33 35
 
34
-That's it. Go to <your-host>/<install-dir>/index.php and start creating 
36
+3) That's it. Go to <your-host>/<install-dir>/index.php and start creating 
35 37
 entries.
36 38
 
37
-A sample vault file can be found in vault/simplevault.txt. This vault file
38
-by default contains 2 categories and 4 entries for demonstration purposes.
39
-All entries are encrypted with the pass phrase 'toto'. You can delete the
40
-entries interactively, or by emptying the vault file.
41
-
42
-
43
-SECURITY CONSIDERATIONS
39
+## SECURITY CONSIDERATIONS
44 40
 
45 41
 1) Always use a strong passphrase.
42
+2) Do **not** use simplevault on unencrypted connections.
46 43
 
47
-2) Ensure that your vault file is NOT accessible from the internet. If you
44
+2) Ensure that your vault file is **not** accessible from the internet. If you
48 45
 are installing simplevault on your own server, put the simplevault.txt file
49 46
 in /var/lib/simplevault so that it is not accessible on the internet. If
50 47
 you are using shared hosting, make sure the "vault" subdirectory is not
... ...
@@ -52,5 +49,4 @@ accessible from the internet by using .htaccess files, or by making the
52 49
 directory private or password protected using your web host's control panel.
53 50
 
54 51
 
55
-(c) Rolf Brugger, Oct 2007
56
-
52
+(c) Rolf Brugger, Oct 2007 & Rene Wagner, Oct 2017
57 53
\ No newline at end of file
... ...
@@ -9,6 +9,8 @@
9 9
 #    Email:  mail at rolfb dot ch
10 10
 #
11 11
 # Versions - History:
12
+#			2.0  Oct 17  - 
13
+#
12 14
 #           1.8  Jan 12  - Mobile Template: framework iui replaced by jQuery Mobile
13 15
 #                        - Mobile Template: can now also create, edit and delete entries.
14 16
 #
... ...
@@ -78,7 +80,7 @@ $forcesamepf = '0';
78 80
 $wrongpfdelay = '2';
79 81
 $wrongpfalertthreshold = '10';
80 82
 $vaultfname  = "/var/lib/simplevault/simplevault.txt";
81
-$create_missing_vaultfiles = 0;
83
+$create_missing_vaultfiles = 1;
82 84
 $multiuser = 0;
83 85
 $multiuser_vaultfname = "/var/lib/simplevault/simplevault-[#Username].txt";
84 86
 $defaulttemplate = 'tpl-std';
... ...
@@ -50,12 +50,12 @@ $vaultfname  = "/var/lib/simplevault/simplevault.txt";  // good location for a n
50 50
 
51 51
 // enable this setting (set to 1), when vault-files should automatically be created if not existent
52 52
 // if set to 0 (zero), simplevault will stop with an error when the vaultfile is missing
53
-$create_missing_vaultfiles = 0;
53
+$create_missing_vaultfiles = 1;
54 54
 
55 55
 // enable multi-user environment
56 56
 // you need to set up "basic authentication" with you webserver (see link below) and modify the setting $multiuser_vaultfname to your needs
57 57
 // https://wiki.selfhtml.org/wiki/Webserver/htaccess/Passwortschutz
58
-$multiuser = 1;
58
+$multiuser = 0;
59 59
 
60 60
 // path to user specific vault-files
61 61
 // use the placeholder [#Username] to distinguish vaultfiles between users, [#Username] will be replaced with the name the user authenticates
... ...
@@ -1,7 +1,3 @@
1
-	<?php if(count($records)==0){ ?>
2
-	  <div class="footer"><span>Password manager powered by <a href="http://simplevault.sourceforge.net">SimpleVault</a></span></div>
3
-	<?php } ?>
4
-
5 1
 </div>
6 2
 
7 3
 </body>
... ...
@@ -9,7 +9,7 @@
9 9
   <div data-role="header" data-theme="b">
10 10
     <h1><?php echo escape_for_html($_POST["cat"]); ?></h1>
11 11
 	<a href="index.php" data-icon="home" data-iconpos="notext" data-direction="reverse" class="ui-btn-left jqm-home" data-ajax='false'>Home</a>
12
-  </div><!-- /header -->
12
+  </div>
13 13
 
14 14
   <div data-role="content">    
15 15
   <?php include "$template/incl-titlebar.php"; ?>
... ...
@@ -1,9 +1,9 @@
1 1
 <title><?= $pgtitle ?> - Simple Vault</title> 
2 2
 <meta charset="UTF-8">
3 3
 <meta name="viewport" content="width=device-width, initial-scale=1"> 
4
-<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" />
4
+<link rel="stylesheet" href="https://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" />
5 5
 <link rel="stylesheet" href="tpl-mobile/tpl.css" />
6
-<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
7
-<script type="text/javascript" src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script>
6
+<script type="text/javascript" src="https://code.jquery.com/jquery-1.6.4.min.js"></script>
7
+<script type="text/javascript" src="https://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script>
8 8
 
9 9
 <!-- script type="text/javascript" src="sv.js"></script -->  
10 10
deleted file mode 100644
... ...
@@ -1 +0,0 @@
1
-html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary{display:block}@font-face{font-family:'PTSans-Regular';src:url("fonts/PTSans-Bold.woff");font-weight:normal;font-style:normal}@font-face{font-family:'FontAwesome';src:url("../fonts/fontawesome-webfont.eot");src:url("../fonts/fontawesome-webfont.eot?#iefix") format("embedded-opentype"),url("../fonts/fontawesome-webfont.woff") format("woff"),url("../fonts/fontawesome-webfont.ttf") format("truetype");font-weight:normal;font-style:normal}[class^="icon-"],[class*=" icon-"]{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;display:inline;width:auto;height:auto;line-height:normal;vertical-align:baseline;background-image:none !important;background-position:0% 0%;background-repeat:repeat}[class^="icon-"]:before,[class*=" icon-"]:before{text-decoration:inherit;display:inline-block;speak:none}a [class^="icon-"],a [class*=" icon-"]{display:inline-block}.icon-large:before{vertical-align:-10%;font-size:1.3333333333333333em}.btn [class^="icon-"],.btn [class*=" icon-"],.nav [class^="icon-"],.nav [class*=" icon-"]{display:inline;line-height:.6em}.btn [class^="icon-"].icon-spin,.btn [class*=" icon-"].icon-spin,.nav [class^="icon-"].icon-spin,.nav [class*=" icon-"].icon-spin{display:inline-block}li [class^="icon-"],li [class*=" icon-"]{display:inline-block;width:1.25em;text-align:center}li [class^="icon-"].icon-large,li [class*=" icon-"].icon-large{width:1.563em}ul.icons{list-style-type:none;text-indent:-0.75em}ul.icons li [class^="icon-"],ul.icons li [class*=" icon-"]{width:.75em}.icon-muted{color:#eee}.icon-border{border:solid 1px #eee;padding:.2em .25em .15em;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.icon-2x{font-size:2em}.icon-2x.icon-border{border-width:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.icon-3x{font-size:3em}.icon-3x.icon-border{border-width:3px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.icon-4x{font-size:4em}.icon-4x.icon-border{border-width:4px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.pull-right{float:right}.pull-left{float:left}[class^="icon-"].pull-left,[class*=" icon-"].pull-left{margin-right:.35em}[class^="icon-"].pull-right,[class*=" icon-"].pull-right{margin-left:.35em}.btn [class^="icon-"].pull-left.icon-2x,.btn [class^="icon-"].pull-right.icon-2x,.btn [class*=" icon-"].pull-left.icon-2x,.btn [class*=" icon-"].pull-right.icon-2x{margin-top:.35em}.btn [class^="icon-"].icon-spin.icon-large,.btn [class*=" icon-"].icon-spin.icon-large{height:.75em}.btn.btn-small [class^="icon-"].pull-left.icon-2x,.btn.btn-small [class^="icon-"].pull-right.icon-2x,.btn.btn-small [class*=" icon-"].pull-left.icon-2x,.btn.btn-small [class*=" icon-"].pull-right.icon-2x{margin-top:.45em}.btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-top:.2em}.icon-spin{display:inline-block;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-moz-keyframes spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes spin{0%{-o-transform:rotate(0deg)}100%{-o-transform:rotate(359deg)}}@-ms-keyframes spin{0%{-ms-transform:rotate(0deg)}100%{-ms-transform:rotate(359deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}.icon-glass:before{content:"\f000"}.icon-music:before{content:"\f001"}.icon-search:before{content:"\f002"}.icon-envelope:before{content:"\f003"}.icon-heart:before{content:"\f004"}.icon-star:before{content:"\f005"}.icon-star-empty:before{content:"\f006"}.icon-user:before{content:"\f007"}.icon-film:before{content:"\f008"}.icon-th-large:before{content:"\f009"}.icon-th:before{content:"\f00a"}.icon-th-list:before{content:"\f00b"}.icon-ok:before{content:"\f00c"}.icon-remove:before{content:"\f00d"}.icon-zoom-in:before{content:"\f00e"}.icon-zoom-out:before{content:"\f010"}.icon-off:before{content:"\f011"}.icon-signal:before{content:"\f012"}.icon-cog:before{content:"\f013"}.icon-trash:before{content:"\f014"}.icon-home:before{content:"\f015"}.icon-file:before{content:"\f016"}.icon-time:before{content:"\f017"}.icon-road:before{content:"\f018"}.icon-download-alt:before{content:"\f019"}.icon-download:before{content:"\f01a"}.icon-upload:before{content:"\f01b"}.icon-inbox:before{content:"\f01c"}.icon-play-circle:before{content:"\f01d"}.icon-repeat:before{content:"\f01e"}.icon-refresh:before{content:"\f021"}.icon-list-alt:before{content:"\f022"}.icon-lock:before{content:"\f023"}.icon-flag:before{content:"\f024"}.icon-headphones:before{content:"\f025"}.icon-volume-off:before{content:"\f026"}.icon-volume-down:before{content:"\f027"}.icon-volume-up:before{content:"\f028"}.icon-qrcode:before{content:"\f029"}.icon-barcode:before{content:"\f02a"}.icon-tag:before{content:"\f02b"}.icon-tags:before{content:"\f02c"}.icon-book:before{content:"\f02d"}.icon-bookmark:before{content:"\f02e"}.icon-print:before{content:"\f02f"}.icon-camera:before{content:"\f030"}.icon-font:before{content:"\f031"}.icon-bold:before{content:"\f032"}.icon-italic:before{content:"\f033"}.icon-text-height:before{content:"\f034"}.icon-text-width:before{content:"\f035"}.icon-align-left:before{content:"\f036"}.icon-align-center:before{content:"\f037"}.icon-align-right:before{content:"\f038"}.icon-align-justify:before{content:"\f039"}.icon-list:before{content:"\f03a"}.icon-indent-left:before{content:"\f03b"}.icon-indent-right:before{content:"\f03c"}.icon-facetime-video:before{content:"\f03d"}.icon-picture:before{content:"\f03e"}.icon-pencil:before{content:"\f040"}.icon-map-marker:before{content:"\f041"}.icon-adjust:before{content:"\f042"}.icon-tint:before{content:"\f043"}.icon-edit:before{content:"\f044"}.icon-share:before{content:"\f045"}.icon-check:before{content:"\f046"}.icon-move:before{content:"\f047"}.icon-step-backward:before{content:"\f048"}.icon-fast-backward:before{content:"\f049"}.icon-backward:before{content:"\f04a"}.icon-play:before{content:"\f04b"}.icon-pause:before{content:"\f04c"}.icon-stop:before{content:"\f04d"}.icon-forward:before{content:"\f04e"}.icon-fast-forward:before{content:"\f050"}.icon-step-forward:before{content:"\f051"}.icon-eject:before{content:"\f052"}.icon-chevron-left:before{content:"\f053"}.icon-chevron-right:before{content:"\f054"}.icon-plus-sign:before{content:"\f055"}.icon-minus-sign:before{content:"\f056"}.icon-remove-sign:before{content:"\f057"}.icon-ok-sign:before{content:"\f058"}.icon-question-sign:before{content:"\f059"}.icon-info-sign:before{content:"\f05a"}.icon-screenshot:before{content:"\f05b"}.icon-remove-circle:before{content:"\f05c"}.icon-ok-circle:before{content:"\f05d"}.icon-ban-circle:before{content:"\f05e"}.icon-arrow-left:before{content:"\f060"}.icon-arrow-right:before{content:"\f061"}.icon-arrow-up:before{content:"\f062"}.icon-arrow-down:before{content:"\f063"}.icon-share-alt:before{content:"\f064"}.icon-resize-full:before{content:"\f065"}.icon-resize-small:before{content:"\f066"}.icon-plus:before{content:"\f067"}.icon-minus:before{content:"\f068"}.icon-asterisk:before{content:"\f069"}.icon-exclamation-sign:before{content:"\f06a"}.icon-gift:before{content:"\f06b"}.icon-leaf:before{content:"\f06c"}.icon-fire:before{content:"\f06d"}.icon-eye-open:before{content:"\f06e"}.icon-eye-close:before{content:"\f070"}.icon-warning-sign:before{content:"\f071"}.icon-plane:before{content:"\f072"}.icon-calendar:before{content:"\f073"}.icon-random:before{content:"\f074"}.icon-comment:before{content:"\f075"}.icon-magnet:before{content:"\f076"}.icon-chevron-up:before{content:"\f077"}.icon-chevron-down:before{content:"\f078"}.icon-retweet:before{content:"\f079"}.icon-shopping-cart:before{content:"\f07a"}.icon-folder-close:before{content:"\f07b"}.icon-folder-open:before{content:"\f07c"}.icon-resize-vertical:before{content:"\f07d"}.icon-resize-horizontal:before{content:"\f07e"}.icon-bar-chart:before{content:"\f080"}.icon-twitter-sign:before{content:"\f081"}.icon-facebook-sign:before{content:"\f082"}.icon-camera-retro:before{content:"\f083"}.icon-key:before{content:"\f084"}.icon-cogs:before{content:"\f085"}.icon-comments:before{content:"\f086"}.icon-thumbs-up:before{content:"\f087"}.icon-thumbs-down:before{content:"\f088"}.icon-star-half:before{content:"\f089"}.icon-heart-empty:before{content:"\f08a"}.icon-signout:before{content:"\f08b"}.icon-linkedin-sign:before{content:"\f08c"}.icon-pushpin:before{content:"\f08d"}.icon-external-link:before{content:"\f08e"}.icon-signin:before{content:"\f090"}.icon-trophy:before{content:"\f091"}.icon-github-sign:before{content:"\f092"}.icon-upload-alt:before{content:"\f093"}.icon-lemon:before{content:"\f094"}.icon-phone:before{content:"\f095"}.icon-check-empty:before{content:"\f096"}.icon-bookmark-empty:before{content:"\f097"}.icon-phone-sign:before{content:"\f098"}.icon-twitter:before{content:"\f099"}.icon-facebook:before{content:"\f09a"}.icon-github:before{content:"\f09b"}.icon-unlock:before{content:"\f09c"}.icon-credit-card:before{content:"\f09d"}.icon-rss:before{content:"\f09e"}.icon-hdd:before{content:"\f0a0"}.icon-bullhorn:before{content:"\f0a1"}.icon-bell:before{content:"\f0a2"}.icon-certificate:before{content:"\f0a3"}.icon-hand-right:before{content:"\f0a4"}.icon-hand-left:before{content:"\f0a5"}.icon-hand-up:before{content:"\f0a6"}.icon-hand-down:before{content:"\f0a7"}.icon-circle-arrow-left:before{content:"\f0a8"}.icon-circle-arrow-right:before{content:"\f0a9"}.icon-circle-arrow-up:before{content:"\f0aa"}.icon-circle-arrow-down:before{content:"\f0ab"}.icon-globe:before{content:"\f0ac"}.icon-wrench:before{content:"\f0ad"}.icon-tasks:before{content:"\f0ae"}.icon-filter:before{content:"\f0b0"}.icon-briefcase:before{content:"\f0b1"}.icon-fullscreen:before{content:"\f0b2"}.icon-group:before{content:"\f0c0"}.icon-link:before{content:"\f0c1"}.icon-cloud:before{content:"\f0c2"}.icon-beaker:before{content:"\f0c3"}.icon-cut:before{content:"\f0c4"}.icon-copy:before{content:"\f0c5"}.icon-paper-clip:before{content:"\f0c6"}.icon-save:before{content:"\f0c7"}.icon-sign-blank:before{content:"\f0c8"}.icon-reorder:before{content:"\f0c9"}.icon-list-ul:before{content:"\f0ca"}.icon-list-ol:before{content:"\f0cb"}.icon-strikethrough:before{content:"\f0cc"}.icon-underline:before{content:"\f0cd"}.icon-table:before{content:"\f0ce"}.icon-magic:before{content:"\f0d0"}.icon-truck:before{content:"\f0d1"}.icon-pinterest:before{content:"\f0d2"}.icon-pinterest-sign:before{content:"\f0d3"}.icon-google-plus-sign:before{content:"\f0d4"}.icon-google-plus:before{content:"\f0d5"}.icon-money:before{content:"\f0d6"}.icon-caret-down:before{content:"\f0d7"}.icon-caret-up:before{content:"\f0d8"}.icon-caret-left:before{content:"\f0d9"}.icon-caret-right:before{content:"\f0da"}.icon-columns:before{content:"\f0db"}.icon-sort:before{content:"\f0dc"}.icon-sort-down:before{content:"\f0dd"}.icon-sort-up:before{content:"\f0de"}.icon-envelope-alt:before{content:"\f0e0"}.icon-linkedin:before{content:"\f0e1"}.icon-undo:before{content:"\f0e2"}.icon-legal:before{content:"\f0e3"}.icon-dashboard:before{content:"\f0e4"}.icon-comment-alt:before{content:"\f0e5"}.icon-comments-alt:before{content:"\f0e6"}.icon-bolt:before{content:"\f0e7"}.icon-sitemap:before{content:"\f0e8"}.icon-umbrella:before{content:"\f0e9"}.icon-paste:before{content:"\f0ea"}.icon-lightbulb:before{content:"\f0eb"}.icon-exchange:before{content:"\f0ec"}.icon-cloud-download:before{content:"\f0ed"}.icon-cloud-upload:before{content:"\f0ee"}.icon-user-md:before{content:"\f0f0"}.icon-stethoscope:before{content:"\f0f1"}.icon-suitcase:before{content:"\f0f2"}.icon-bell-alt:before{content:"\f0f3"}.icon-coffee:before{content:"\f0f4"}.icon-food:before{content:"\f0f5"}.icon-file-alt:before{content:"\f0f6"}.icon-building:before{content:"\f0f7"}.icon-hospital:before{content:"\f0f8"}.icon-ambulance:before{content:"\f0f9"}.icon-medkit:before{content:"\f0fa"}.icon-fighter-jet:before{content:"\f0fb"}.icon-beer:before{content:"\f0fc"}.icon-h-sign:before{content:"\f0fd"}.icon-plus-sign-alt:before{content:"\f0fe"}.icon-double-angle-left:before{content:"\f100"}.icon-double-angle-right:before{content:"\f101"}.icon-double-angle-up:before{content:"\f102"}.icon-double-angle-down:before{content:"\f103"}.icon-angle-left:before{content:"\f104"}.icon-angle-right:before{content:"\f105"}.icon-angle-up:before{content:"\f106"}.icon-angle-down:before{content:"\f107"}.icon-desktop:before{content:"\f108"}.icon-laptop:before{content:"\f109"}.icon-tablet:before{content:"\f10a"}.icon-mobile-phone:before{content:"\f10b"}.icon-circle-blank:before{content:"\f10c"}.icon-quote-left:before{content:"\f10d"}.icon-quote-right:before{content:"\f10e"}.icon-spinner:before{content:"\f110"}.icon-circle:before{content:"\f111"}.icon-reply:before{content:"\f112"}.icon-github-alt:before{content:"\f113"}.icon-folder-close-alt:before{content:"\f114"}.icon-folder-open-alt:before{content:"\f115"}#wrap #head{padding:15px;padding-left:31px}#wrap #head .title{font-size:25px}#wrap #menu{clear:both;height:28px;-webkit-box-shadow:0 1px 0 #fff,0 1px 0 #fff inset;-moz-box-shadow:0 1px 0 #fff,0 1px 0 #fff inset;box-shadow:0 1px 0 #fff,0 1px 0 #fff inset;background-image:-webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(-13%, #e1e1e1), color-stop(50%, #f6f6f6));background-image:-webkit-linear-gradient(bottom, #e1e1e1 -13%,#f6f6f6 50%);background-image:-moz-linear-gradient(bottom, #e1e1e1 -13%,#f6f6f6 50%);background-image:-o-linear-gradient(bottom, #e1e1e1 -13%,#f6f6f6 50%);background-image:-ms-linear-gradient(bottom, #e1e1e1 -13%,#f6f6f6 50%);background-image:linear-gradient(bottom, #e1e1e1 -13%,#f6f6f6 50%);border-top:1px solid #c3c3c3;border-bottom:1px solid #c3c3c3;padding:0 15px}#wrap #menu .leftmenu{float:left}#wrap #menu .rightmenu{float:right}#wrap #menu .rightmenu a{text-decoration:none}#wrap #menu .rightmenu .elediv{font-size:11px;line-height:13px;padding:6px 12px 3px 12px;height:20px;border-left:1px solid #c3c3c3;border-right:1px solid #c3c3c3}#wrap #menu #cat.element{cursor:pointer;position:relative;color:#4d4d4d;text-decoration:none;display:inline-block}#wrap #menu #cat.element .elediv{font-size:11px;line-height:13px;padding:6px 12px 3px 12px;height:20px;border-left:1px solid #c3c3c3;border-right:1px solid #c3c3c3}#wrap #menu #cat.element #submenu{display:none;transition:opacity 0.5s linear;position:absolute;width:150px;background:#fff;border:1px solid silver;-webkit-box-shadow:0 1px 0 #fff,0 1px 0 #fff inset;-moz-box-shadow:0 1px 0 #fff,0 1px 0 #fff inset;box-shadow:0 1px 0 #fff,0 1px 0 #fff inset}#wrap #menu #cat.element #submenu .menuentry{font-size:11px;line-height:13px;padding:5px 12px;display:block;color:#4d4d4d;text-decoration:none}#wrap #menu #cat.element #submenu .menuentry:nth-child(2n){background:#f2f2f2}#wrap #menu .element{color:#4d4d4d;display:inline-block;margin-left:4px}#wrap #menu .element input{outline:none;position:relative;top:1px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;font-size:11px;color:#858585;-webkit-box-shadow:0 1px 0 #fff;-moz-box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 #fff;padding:5px;border:1px solid #d7d7d7;background:#fdfdfd;height:22px}#wrap #menu .element #perform-search{cursor:pointer !important}#wrap #menu a.last .elediv{border-left:0;margin-left:-5px}#wrap #menu .add{float:right}#wrap #keytable{width:95%;border:1px solid #dfdfdf;border-top:0px;border-left:0px;margin:20px auto}#wrap #keytable table{width:100%;table-layout:fixed;border-collapse:collapse}#wrap #keytable table tr{border-top:1px solid #dfdfdf}#wrap #keytable table tr .icons{width:130px;text-align:center}#wrap #keytable table tr td,#wrap #keytable table tr th{border-left:1px solid #dfdfdf;padding:5px 9px;font-size:12px;line-height:22px;color:#5f5f5f}#wrap #keytable table tr th{text-align:center;font-weight:bold;color:#eee;background:#4d4d4d;padding:4px 9px}#wrap #keytable table tr:nth-child(2n){background:#f2f2f2}#wrap #keytable .catlink a{text-decoration:none;color:#5f5f5f;font-weight:bold}#wrap #keytable .catlink a:hover{text-decoration:underline}body{background:url("../img/leather_1.png");background:url("../img/light_leather.png");font-family:"PT Sans",sans-serif}.bold{font-weight:bold}.nodeco{text-decoration:none!important}#wrap{width:80%;max-width:1100px;min-height:500px;background:#f7f7f7;border:2px solid #c3c3c3;margin:30px auto;font-size:12px;line-height:15px;color:#5f5f5f;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 0px 20px rgba(0,0,0,0.9);-moz-box-shadow:0 0px 20px rgba(0,0,0,0.9);box-shadow:0 0px 20px rgba(0,0,0,0.9)}#wrap .small-icon{font-size:60%}#wrap .abstop{position:absolute;top:-2px}#wrap form input,#wrap form select,#wrap form textarea{outline:none;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;font-size:11px;color:#858585;-webkit-box-shadow:0 1px 0 #fff;-moz-box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 #fff;padding:6px 5px 5px 5px;border:1px solid #d7d7d7;background:#fdfdfd}#wrap .btn{text-decoration:none;font-size:13px;display:inline-block;padding:4px 9px;margin-bottom:0;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,0.75);background-color:#f5f5f5;border:1px solid #c3c3c3;border-bottom-color:#a2a2a2;-webkit-box-shadow:0 1px 0 rgba(255,255,255,0.2) inset,0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:0 1px 0 rgba(255,255,255,0.2) inset,0 1px 2px rgba(0,0,0,0.05);box-shadow:0 1px 0 rgba(255,255,255,0.2) inset,0 1px 2px rgba(0,0,0,0.05);background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #e6e6e6));background-image:-webkit-linear-gradient(top, #ffffff 0%,#e6e6e6 100%);background-image:-moz-linear-gradient(top, #ffffff 0%,#e6e6e6 100%);background-image:-o-linear-gradient(top, #ffffff 0%,#e6e6e6 100%);background-image:-ms-linear-gradient(top, #ffffff 0%,#e6e6e6 100%);background-image:linear-gradient(top, #ffffff 0%,#e6e6e6 100%)}#wrap .btn i{line-height:15px;vertical-align:middle}#wrap .btn:hover{background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #c1c1c1));background-image:-webkit-linear-gradient(top, #ffffff 0%,#c1c1c1 100%);background-image:-moz-linear-gradient(top, #ffffff 0%,#c1c1c1 100%);background-image:-o-linear-gradient(top, #ffffff 0%,#c1c1c1 100%);background-image:-ms-linear-gradient(top, #ffffff 0%,#c1c1c1 100%);background-image:linear-gradient(top, #ffffff 0%,#c1c1c1 100%);transition:background-image .1s linear}#wrap .btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05)}#wrap .tool{margin:15px 25px;border:1px solid #dfdfdf;background:#f2f2f2;padding:10px 20px}#wrap .tool .element{margin:15px 0px}#wrap .tool label{position:relative;width:110px;display:inline-block}#wrap .tool h2{font-size:22px;line-height:40px;display:inline;vertical-align:middle}#wrap .tool input{width:250px}#wrap .tool .btn{vertical-align:baseline;min-width:110px}#wrap .tool h4{font-size:16px;line-height:20px;vertical-align:bottom;font-weight:bold}#wrap .tool .helptext{margin:5px 0px}#wrap .tool .helptext i{font-style:italic}#wrap .tool .helptext tt{font-weight:bold;margin:0px 2px}#wrap .tool .helptext .format{border:1px dotted silver;margin:20px 0px;padding:20px}#wrap .tool.encrypted{background:#F2CFCF}#wrap .tool.encrypted h4{color:#5F1616}#wrap .tool.follow{margin-top:-18px;border-top:0px}#wrap.entries .subWrap{padding:0px 25px}#wrap.entries .info{width:90%;font-size:13px;line-height:22px;font-weight:bold;padding:5px;text-align:left;margin:10px;background:none;color:#333;box-shadow:none}#wrap.entries .info .icon-info-sign{font-size:20px}#wrap.entries .info .icon-remove{display:none}#wrap.entries .tool{display:table;width:100%;margin:20px 0px;padding:0px}#wrap.entries .tool .element{margin:5px 0px}#wrap.entries .tool>h4{display:table-caption;margin-left:20px}#wrap.entries .tool .entryInfo{vertical-align:top;display:table-cell;padding:5px 20px}#wrap.entries .tool .unenc{width:35%}#wrap.entries .tool .enc{background:#F2CFCF}#wrap.entries .tool .enc h4{color:#5F1616}.warn{width:80%;font-size:13px;line-height:22px;font-weight:bold;padding:20px;text-align:center;margin:20px auto;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #6f0e0e), color-stop(100%, #b73b3b));background-image:-webkit-linear-gradient(top, #6f0e0e 0%,#b73b3b 100%);background-image:-moz-linear-gradient(top, #6f0e0e 0%,#b73b3b 100%);background-image:-o-linear-gradient(top, #6f0e0e 0%,#b73b3b 100%);background-image:-ms-linear-gradient(top, #6f0e0e 0%,#b73b3b 100%);background-image:linear-gradient(top, #6f0e0e 0%,#b73b3b 100%);color:white;-webkit-box-shadow:4px 4px 8px rgba(0,0,0,0.5);-moz-box-shadow:4px 4px 8px rgba(0,0,0,0.5);box-shadow:4px 4px 8px rgba(0,0,0,0.5)}.warn .icon-remove{cursor:pointer}.info{width:80%;font-size:13px;line-height:22px;font-weight:bold;padding:20px;text-align:center;margin:20px auto;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #d49d3c), color-stop(100%, #f1c84c));background-image:-webkit-linear-gradient(top, #d49d3c 0%,#f1c84c 100%);background-image:-moz-linear-gradient(top, #d49d3c 0%,#f1c84c 100%);background-image:-o-linear-gradient(top, #d49d3c 0%,#f1c84c 100%);background-image:-ms-linear-gradient(top, #d49d3c 0%,#f1c84c 100%);background-image:linear-gradient(top, #d49d3c 0%,#f1c84c 100%);color:white;-webkit-box-shadow:4px 4px 8px rgba(0,0,0,0.5);-moz-box-shadow:4px 4px 8px rgba(0,0,0,0.5);box-shadow:4px 4px 8px rgba(0,0,0,0.5)}.info .icon-remove{cursor:pointer}.confirm{width:80%;font-size:13px;line-height:22px;font-weight:bold;padding:20px;text-align:center;margin:20px auto;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #469e13), color-stop(100%, #437f20));background-image:-webkit-linear-gradient(top, #469e13 0%,#437f20 100%);background-image:-moz-linear-gradient(top, #469e13 0%,#437f20 100%);background-image:-o-linear-gradient(top, #469e13 0%,#437f20 100%);background-image:-ms-linear-gradient(top, #469e13 0%,#437f20 100%);background-image:linear-gradient(top, #469e13 0%,#437f20 100%);color:white;-webkit-box-shadow:4px 4px 8px rgba(0,0,0,0.5);-moz-box-shadow:4px 4px 8px rgba(0,0,0,0.5);box-shadow:4px 4px 8px rgba(0,0,0,0.5)}.confirm a{text-decoration:none;color:white}.confirm .icon-arrow-left{cursor:pointer}.footer{padding:10px;font-size:11px;text-align:center;color:#333}.footer a{color:#333}@media handheld, only screen and (max-width: 1023px){#wrap{width:95%}}@media handheld, only screen and (max-width: 620px){#wrap{width:620px}}
... ...
@@ -1,7 +1,7 @@
1 1
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
2 2
 <meta name="robots" content="noarchive,nofollow" />
3 3
 <meta http-equiv="cache-control" content="no-cache" />
4
-<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
4
+<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
5 5
 <title><?= $pgtitle ?> - Simple Vault</title>
6 6
 <link href="tpl-std/tpl.css" rel="stylesheet" type="text/css" media="screen" />
7 7
 <link rel="shortcut icon" href="img/favicon.ico" />
... ...
@@ -4,7 +4,7 @@
4 4
 <div class="topbar">
5 5
   <div class="leftblock">
6 6
     <span>
7
-    <a href="index.php"><b>Home</b></a> &nbsp;  &nbsp; 
7
+    <a href="index.php"><b>Home</b></a>&nbsp;&nbsp; 
8 8
     <input type="text" name="s" value="<?= htmlspecialchars ($filter) ?>" size ="7" id="inpfield" />
9 9
     <input type="image" src="img/go-arr.png" name="image"  title="run filter" />
10 10
     </span>
... ...
@@ -12,11 +12,23 @@
12 12
   <div class="rightblock"><span><a href="?tools">Tools</a></span></div>
13 13
 </div>
14 14
 <div class="catbar">
15
-  <span>Categories: &nbsp; 
16
-    <?php foreach ($cats as $currcat){ ?>
17
-      <a href="?cat=<?php echo urlencode($currcat); ?>"><?php echo escape_for_html($currcat); ?></a> <?php echo " (".svcountcatentries($currcat).")"; ?> &nbsp; 
18
-    <?php } ?>
19
-  </span>
15
+  <div class="leftblock">
16
+	<span>Categories:&nbsp; 
17
+		<?php foreach ($cats as $currcat){ ?>
18
+			<a href="?cat=<?php echo urlencode($currcat); ?>"><?php echo escape_for_html($currcat); ?></a> <?php echo " (".svcountcatentries($currcat).")"; ?>&nbsp; 
19
+		<?php } ?>
20
+	</span>
21
+  </div>
22
+  <div class="rightblock">
23
+	<span>
24
+	<?php
25
+		if ( $multiuser == 1 && isset($_SERVER['PHP_AUTH_USER']) ) {
26
+    ?>User:&nbsp;<b><?php echo $_SERVER['PHP_AUTH_USER'] ?></b>
27
+	<?php
28
+		}
29
+    ?>
30
+    </span>
31
+  </div>
20 32
 </div>
21 33
 </form>
22 34
 
23 35
deleted file mode 100644
... ...
@@ -1,4 +0,0 @@
1
-Home Servers	host jupiter	mysql user for PHP	1191191342						q%D8%01%95%D5Q%97%B2z%09%04%E6%9E%DFw%91%AD%26z%BE%5E%891%0D%FA%5E%B1%C4%87S%D5%D0%E7%0C%8A%F1%D3%EB%25%AC1%24%FA+%10%98YO%0E%C6%93%3B%02%B6%C2%AAJ%EDq%C37%90r%F2
2
-Home Servers	host saturn	forum admin	1191224454						W%09%953%FD%FBV%9C%22%19%1ETL-%86%E0%C5%D0%8B5%FFd%CE%8E%AD%D5%D2%97%E9%3A0%F9nc%7F%04%8D%F3%BA%B3%7D%A3%00jk.%FC%E61%FF%F9CGf%7B%E8%8E%0Fg%15%C0%F8%BD%24VOo%9CR%E4%C4%A3%AB%8E%22%7Ce%D2%7C%FB4N%E0%7E%D8%B0%5DZ%2Ap%8B%91v%96%99%06
3
-Work - Development	host matterhorn	ssh - user heinrich	1191224611						%97%EC%15%2A%85%7E%E3%0D%DA%088%FDr%5E%AF%BEq%B35+%04XF%17%80%C8%1Df%B1%C1%EA%3Bp%BFL%C2%E1g7%9E%DEy%C5%0D%D6%1Bld_%1D%257%F9%CD%CE%07%0D%1F%09%F8l%D1%D88
4
-Work - Development	host montblanc	root	1191224537						2%B9%99%9Ao%3F%C8luN%D6u%A6%E3%22%E8%F2%90%7D%C5%9DTmG%96Wk%3E%8D%22%A3%E0VOo%9CR%E4%C4%A3%AB%8E%22%7Ce%D2%7C%FB4N%E0%7E%D8%B0%5DZ%2Ap%8B%91v%96%99%06
5 0
\ No newline at end of file