vpnmanager 1.0.0 new theme
@ -11,12 +11,12 @@ include ($_SERVER["DOCUMENT_ROOT"]."/Site/mysql.php");
|
|||||||
|
|
||||||
//Header Modules -----------------------------
|
//Header Modules -----------------------------
|
||||||
$SITE_MODULES[0]="Home#Home"; // Home Module required!
|
$SITE_MODULES[0]="Home#Home"; // Home Module required!
|
||||||
$SITE_MODULES[1]="Contact#Contact";
|
//$SITE_MODULES[1]="Contact#Contact";
|
||||||
$SITE_MODULES[2]="Services#Services";
|
//$SITE_MODULES[2]="Services#Services";
|
||||||
$SITE_MODULES[3]="Server Traffic#ServerTraffic";
|
$SITE_MODULES[1]="Server Traffic#ServerTraffic";
|
||||||
$SITE_MODULES[4]="Downloads#Downloads";
|
$SITE_MODULES[2]="Downloads#Downloads";
|
||||||
$SITE_MODULES[5]="Forum#Forum";
|
$SITE_MODULES[3]="Forum#Forum";
|
||||||
$SITE_MODULES[6]="Userinfo#UserControl";
|
$SITE_MODULES[4]="Userinfo#UserControl";
|
||||||
|
|
||||||
//Header Modules Admin -----------------------
|
//Header Modules Admin -----------------------
|
||||||
$SITE_MODULES_ADMIN[0]="Home#Home"; // Home Module required!
|
$SITE_MODULES_ADMIN[0]="Home#Home"; // Home Module required!
|
||||||
|
Before Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 10 KiB |
@ -1,66 +0,0 @@
|
|||||||
<!-- MAIN CONTENT BEGINN ################################################################################ -->
|
|
||||||
<div class="art-content">
|
|
||||||
<div class="art-Post">
|
|
||||||
<div class="art-Post-body">
|
|
||||||
<div class="art-Post-inner">
|
|
||||||
<h2 class="art-PostHeaderIcon-wrapper">
|
|
||||||
<span class="art-PostHeader">Contact</span>
|
|
||||||
</h2>
|
|
||||||
<div class="art-PostContent">
|
|
||||||
<!-- h44z -->
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<h4>Christoph Haas</h4>
|
|
||||||
<p># Initiator des Projekts</p>
|
|
||||||
<p># Webprogrammierung</p>
|
|
||||||
<p># Serverkonfiguration</p>
|
|
||||||
<p>Klasse: 5bHELT</p>
|
|
||||||
<p>Email:
|
|
||||||
<a href="mailto:antispam.org" onClick="Mailto(this,'christoph','haas2','students.htlinn','ac.at');">Christoph Haas</a>
|
|
||||||
</p>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<img src="/Modules/Contact/img/avatar_christoph.gif" width="90" height="90" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<!-- Mario -->
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<h4>Mario Stöckholzer</h4>
|
|
||||||
<p># Serverkonfiguration</p>
|
|
||||||
<p># Scriptentwickung</p>
|
|
||||||
<p>Klasse: 5bHELT</p>
|
|
||||||
<p>Email:
|
|
||||||
<a href="mailto:antispam.org" onClick="Mailto(this,'mario','stoeckholzer','students.htlinn','ac.at');">Mario Stöckholzer</a>
|
|
||||||
</p>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<img src="/Modules/Contact/img/avatar_mario.png" width="90" height="90" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<!-- Mr Kucher -->
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<h4>Josua Kucher</h4>
|
|
||||||
<p># Beta-tester</p>
|
|
||||||
<p># Serverbesitzer</p>
|
|
||||||
<p># Art and Design</p>
|
|
||||||
<p>Klasse: 5bHELT</p>
|
|
||||||
<p>Email:
|
|
||||||
<a href="mailto:antispam.org" onClick="Mailto(this,'josua','kucher','students.htlinn','ac.at');">Josua Kucher</a>
|
|
||||||
</p>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<img src="/Modules/Contact/img/avatar_josua.png" width="90" height="90" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!-- END CONTENT BEGINN ################################################################################# -->
|
|
@ -1 +0,0 @@
|
|||||||
deny from all
|
|
@ -1,3 +0,0 @@
|
|||||||
<?php $GLOBALS["users"]=array(
|
|
||||||
array("admin","9628d0d187029e6337baa86780b2abb6",".","http://localhost",1,"",7,1),
|
|
||||||
); ?>
|
|
@ -1,37 +0,0 @@
|
|||||||
<?php
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Configuration Variables
|
|
||||||
|
|
||||||
$GLOBALS["require_login"] = false;
|
|
||||||
|
|
||||||
// language: (en, de, es, fr, nl, ru)
|
|
||||||
$GLOBALS["language"] = "en";
|
|
||||||
|
|
||||||
// the filename of the script: (you rarely need to change this)
|
|
||||||
$GLOBALS["script_name"] = "http://".$GLOBALS['__SERVER']['HTTP_HOST'].$GLOBALS['__SERVER']["PHP_SELF"];
|
|
||||||
|
|
||||||
// allow Zip, Tar, TGz -> Only (experimental) Zip-support
|
|
||||||
$GLOBALS["zip"] = false; //function_exists("gzcompress");
|
|
||||||
$GLOBALS["tar"] = false;
|
|
||||||
$GLOBALS["tgz"] = false;
|
|
||||||
|
|
||||||
// QuiXplorer version:
|
|
||||||
$GLOBALS["version"] = "2.3";
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Global User Variables (used when $require_login==false)
|
|
||||||
|
|
||||||
// the home directory for the filemanager: (use '/', not '\' or '\\', no trailing '/')
|
|
||||||
$GLOBALS["home_dir"] = db_getconfval("downdir");
|
|
||||||
|
|
||||||
// the url corresponding with the home directory: (no trailing '/')
|
|
||||||
$GLOBALS["home_url"] = "http://localhost/explorer";
|
|
||||||
|
|
||||||
// show hidden files in QuiXplorer: (hide files starting with '.', as in Linux/UNIX)
|
|
||||||
$GLOBALS["show_hidden"] = false;
|
|
||||||
|
|
||||||
// filenames not allowed to access: (uses PCRE regex syntax)
|
|
||||||
$GLOBALS["no_access"] = "^\.ht";
|
|
||||||
|
|
||||||
// user permissions bitfield: (1=modify, 2=password, 4=admin, add the numbers)
|
|
||||||
$GLOBALS["permissions"] = 7;
|
|
||||||
?>
|
|
@ -1,78 +0,0 @@
|
|||||||
<?php
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// editable files:
|
|
||||||
$GLOBALS["editable_ext"]=array(
|
|
||||||
"\.txt$|\.php$|\.php3$|\.phtml$|\.inc$|\.sql$|\.pl$",
|
|
||||||
"\.htm$|\.html$|\.shtml$|\.dhtml$|\.xml$",
|
|
||||||
"\.js$|\.css$|\.cgi$|\.cpp$\.c$|\.cc$|\.cxx$|\.hpp$|\.h$",
|
|
||||||
"\.pas$|\.p$|\.java$|\.py$|\.sh$\.tcl$|\.tk$"
|
|
||||||
);
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// image files:
|
|
||||||
$GLOBALS["images_ext"]="\.png$|\.bmp$|\.jpg$|\.jpeg$|\.gif$";
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// mime types: (description,image,extension)
|
|
||||||
$GLOBALS["super_mimes"]=array(
|
|
||||||
// dir, exe, file
|
|
||||||
"dir" => array($GLOBALS["mimes"]["dir"],"dir.gif"),
|
|
||||||
"exe" => array($GLOBALS["mimes"]["exe"],"exe.gif","\.exe$|\.com$|\.bin$"),
|
|
||||||
"file" => array($GLOBALS["mimes"]["file"],"file.gif")
|
|
||||||
);
|
|
||||||
$GLOBALS["used_mime_types"]=array(
|
|
||||||
// text
|
|
||||||
"text" => array($GLOBALS["mimes"]["text"],"txt.gif","\.txt$"),
|
|
||||||
|
|
||||||
// programming
|
|
||||||
"php" => array($GLOBALS["mimes"]["php"],"php.gif","\.php$|\.php3$|\.phtml$|\.inc$"),
|
|
||||||
"sql" => array($GLOBALS["mimes"]["sql"],"src.gif","\.sql$"),
|
|
||||||
"perl" => array($GLOBALS["mimes"]["perl"],"pl.gif","\.pl$"),
|
|
||||||
"html" => array($GLOBALS["mimes"]["html"],"html.gif","\.htm$|\.html$|\.shtml$|\.dhtml$|\.xml$"),
|
|
||||||
"js" => array($GLOBALS["mimes"]["js"],"js.gif","\.js$"),
|
|
||||||
"css" => array($GLOBALS["mimes"]["css"],"src.gif","\.css$"),
|
|
||||||
"cgi" => array($GLOBALS["mimes"]["cgi"],"exe.gif","\.cgi$"),
|
|
||||||
//"py" => array($GLOBALS["mimes"]["py"],"py.gif","\.py$"),
|
|
||||||
//"sh" => array($GLOBALS["mimes"]["sh"],"sh.gif","\.sh$"),
|
|
||||||
// C++
|
|
||||||
"cpps" => array($GLOBALS["mimes"]["cpps"],"cpp.gif","\.cpp$|\.c$|\.cc$|\.cxx$"),
|
|
||||||
"cpph" => array($GLOBALS["mimes"]["cpph"],"h.gif","\.hpp$|\.h$"),
|
|
||||||
// Java
|
|
||||||
"javas" => array($GLOBALS["mimes"]["javas"],"java.gif","\.java$"),
|
|
||||||
"javac" => array($GLOBALS["mimes"]["javac"],"java.gif","\.class$|\.jar$"),
|
|
||||||
// Pascal
|
|
||||||
"pas" => array($GLOBALS["mimes"]["pas"],"src.gif","\.p$|\.pas$"),
|
|
||||||
|
|
||||||
// images
|
|
||||||
"gif" => array($GLOBALS["mimes"]["gif"],"image.gif","\.gif$"),
|
|
||||||
"jpg" => array($GLOBALS["mimes"]["jpg"],"image.gif","\.jpg$|\.jpeg$"),
|
|
||||||
"bmp" => array($GLOBALS["mimes"]["bmp"],"image.gif","\.bmp$"),
|
|
||||||
"png" => array($GLOBALS["mimes"]["png"],"image.gif","\.png$"),
|
|
||||||
|
|
||||||
// compressed
|
|
||||||
"zip" => array($GLOBALS["mimes"]["zip"],"zip.gif","\.zip$"),
|
|
||||||
"tar" => array($GLOBALS["mimes"]["tar"],"tar.gif","\.tar$"),
|
|
||||||
"gzip" => array($GLOBALS["mimes"]["gzip"],"tgz.gif","\.tgz$|\.gz$"),
|
|
||||||
"bzip2" => array($GLOBALS["mimes"]["bzip2"],"tgz.gif","\.bz2$"),
|
|
||||||
"rar" => array($GLOBALS["mimes"]["rar"],"tgz.gif","\.rar$"),
|
|
||||||
//"deb" => array($GLOBALS["mimes"]["deb"],"package.gif","\.deb$"),
|
|
||||||
//"rpm" => array($GLOBALS["mimes"]["rpm"],"package.gif","\.rpm$"),
|
|
||||||
|
|
||||||
// music
|
|
||||||
"mp3" => array($GLOBALS["mimes"]["mp3"],"mp3.gif","\.mp3$"),
|
|
||||||
"wav" => array($GLOBALS["mimes"]["wav"],"sound.gif","\.wav$"),
|
|
||||||
"midi" => array($GLOBALS["mimes"]["midi"],"midi.gif","\.mid$"),
|
|
||||||
"real" => array($GLOBALS["mimes"]["real"],"real.gif","\.rm$|\.ra$|\.ram$"),
|
|
||||||
//"play" => array($GLOBALS["mimes"]["play"],"mp3.gif","\.pls$|\.m3u$"),
|
|
||||||
|
|
||||||
// movie
|
|
||||||
"mpg" => array($GLOBALS["mimes"]["mpg"],"video.gif","\.mpg$|\.mpeg$"),
|
|
||||||
"mov" => array($GLOBALS["mimes"]["mov"],"video.gif","\.mov$"),
|
|
||||||
"avi" => array($GLOBALS["mimes"]["avi"],"video.gif","\.avi$"),
|
|
||||||
"flash" => array($GLOBALS["mimes"]["flash"],"flash.gif","\.swf$"),
|
|
||||||
|
|
||||||
// Micosoft / Adobe
|
|
||||||
"word" => array($GLOBALS["mimes"]["word"],"word.gif","\.doc$"),
|
|
||||||
"excel" => array($GLOBALS["mimes"]["excel"],"spread.gif","\.xls$"),
|
|
||||||
"pdf" => array($GLOBALS["mimes"]["pdf"],"pdf.gif","\.pdf$")
|
|
||||||
);
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
?>
|
|
@ -1,10 +0,0 @@
|
|||||||
<?php
|
|
||||||
ob_start(); // prevent unwanted output
|
|
||||||
require $_SERVER["DOCUMENT_ROOT"]."/Site/mysql.php";
|
|
||||||
require $_SERVER["DOCUMENT_ROOT"]."/Modules/Downloads/include/init.php";
|
|
||||||
require $_SERVER["DOCUMENT_ROOT"]."/Modules/Downloads/include/fun_down.php";
|
|
||||||
ob_end_clean(); // get rid of cached unwanted output
|
|
||||||
download_item($GLOBALS["dir"], $GLOBALS["item"]);
|
|
||||||
ob_start(false); // prevent unwanted output
|
|
||||||
exit;
|
|
||||||
?>
|
|
@ -1,123 +0,0 @@
|
|||||||
<?php
|
|
||||||
$dir = $_GET[dir];
|
|
||||||
$item = $_GET[file];
|
|
||||||
|
|
||||||
$dir = substr($dir,10,strlen($dir)-17);
|
|
||||||
$item = substr($item,1,strlen($item)-2);
|
|
||||||
$abs_item = get_abs_item($dir,$item);
|
|
||||||
|
|
||||||
//SECURITY FIXX ------------------------------
|
|
||||||
//um falscheingaben beim pfad/datei abzufangen
|
|
||||||
if(!get_show_item($dir, $item))
|
|
||||||
{
|
|
||||||
$abs_dir = "DONTTRYTOHACK";
|
|
||||||
echo "<h1>DONT TRY TO HACK!</h1><br>";
|
|
||||||
echo "<b>Your IP is logged, an administrator has been informed!</b><br>";
|
|
||||||
echo "Script written by h44z";
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
elseif(down_home($abs_dir)==true)
|
|
||||||
{
|
|
||||||
$abs_dir = "DONTTRYTOHACK";
|
|
||||||
echo "<h1>DONT TRY TO HACK!</h1><br>";
|
|
||||||
echo "<b>Your IP is logged, an administrator has been informed!</b><br>";
|
|
||||||
echo "Script written by h44z";
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
//SECURITY FIXX ------------------------------
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$abs_dir = $abs_dir;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
ob_start();
|
|
||||||
$browser=id_browser();
|
|
||||||
header('Content-Type: '.(($browser=='IE' || $browser=='OPERA')?
|
|
||||||
'application/octetstream':'application/octet-stream'));
|
|
||||||
header('Expires: '.gmdate('D, d M Y H:i:s').' GMT');
|
|
||||||
header('Content-Transfer-Encoding: binary');
|
|
||||||
header('Content-Length: '.filesize($abs_item));
|
|
||||||
if($browser=='IE') {
|
|
||||||
header('Content-Disposition: attachment; filename="'.$item.'"');
|
|
||||||
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
|
|
||||||
header('Pragma: public');
|
|
||||||
} else {
|
|
||||||
header('Content-Disposition: attachment; filename="'.$item.'"');
|
|
||||||
header('Cache-Control: no-cache, must-revalidate');
|
|
||||||
header('Pragma: no-cache');
|
|
||||||
}
|
|
||||||
ob_end_flush();
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function get_abs_dir($dir)
|
|
||||||
{ // get absolute path
|
|
||||||
$abs_dir="/home/christoph/explorer";
|
|
||||||
if($dir!="") $abs_dir.="/".$dir;
|
|
||||||
return $abs_dir;
|
|
||||||
}
|
|
||||||
|
|
||||||
function get_abs_item($dir, $item)
|
|
||||||
{ // get absolute file+path
|
|
||||||
return get_abs_dir($dir)."/".$item;
|
|
||||||
}
|
|
||||||
|
|
||||||
function id_browser() {
|
|
||||||
$browser=$GLOBALS['__SERVER']['HTTP_USER_AGENT'];
|
|
||||||
|
|
||||||
if(ereg('Opera(/| )([0-9].[0-9]{1,2})', $browser)) {
|
|
||||||
return 'OPERA';
|
|
||||||
} else if(ereg('MSIE ([0-9].[0-9]{1,2})', $browser)) {
|
|
||||||
return 'IE';
|
|
||||||
} else if(ereg('OmniWeb/([0-9].[0-9]{1,2})', $browser)) {
|
|
||||||
return 'OMNIWEB';
|
|
||||||
} else if(ereg('(Konqueror/)(.*)', $browser)) {
|
|
||||||
return 'KONQUEROR';
|
|
||||||
} else if(ereg('Mozilla/([0-9].[0-9]{1,2})', $browser)) {
|
|
||||||
return 'MOZILLA';
|
|
||||||
} else {
|
|
||||||
return 'OTHER';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//String contains funktion
|
|
||||||
function contains($str, $content, $ignorecase=true)
|
|
||||||
{
|
|
||||||
if ($ignorecase){
|
|
||||||
$str = strtolower($str);
|
|
||||||
$content = strtolower($content);
|
|
||||||
}
|
|
||||||
return strpos($content,$str) ? true : false;
|
|
||||||
}
|
|
||||||
|
|
||||||
function get_show_item($dir, $item) { // show this file?
|
|
||||||
if($item == "..") return false;
|
|
||||||
|
|
||||||
if("^\.ht"!="" && @eregi("^\.ht",$item)) return false;
|
|
||||||
|
|
||||||
if(false==false) {
|
|
||||||
$dirs=explode("/",$dir);
|
|
||||||
foreach($dirs as $i) if(substr($i,0,1)==".") return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
function down_home($abs_dir) { // dir deeper than home?
|
|
||||||
$real_home = @realpath("/home/christoph/explorer");
|
|
||||||
$real_dir = @realpath($abs_dir);
|
|
||||||
|
|
||||||
if($real_home===false || $real_dir===false) {
|
|
||||||
if(@eregi("\\.\\.",$abs_dir)) return false;
|
|
||||||
} else if(strcmp($real_home,@substr($real_dir,0,strlen($real_home)))) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
@readfile($abs_item);
|
|
||||||
exit;
|
|
||||||
|
|
||||||
?>
|
|
Before Width: | Height: | Size: 43 B |
Before Width: | Height: | Size: 270 B |
Before Width: | Height: | Size: 585 B |
Before Width: | Height: | Size: 635 B |
Before Width: | Height: | Size: 649 B |
Before Width: | Height: | Size: 70 B |
Before Width: | Height: | Size: 70 B |
Before Width: | Height: | Size: 591 B |
Before Width: | Height: | Size: 587 B |
Before Width: | Height: | Size: 159 B |
Before Width: | Height: | Size: 159 B |
Before Width: | Height: | Size: 394 B |
Before Width: | Height: | Size: 391 B |
Before Width: | Height: | Size: 628 B |
Before Width: | Height: | Size: 628 B |
Before Width: | Height: | Size: 634 B |
Before Width: | Height: | Size: 643 B |
Before Width: | Height: | Size: 427 B |
Before Width: | Height: | Size: 598 B |
Before Width: | Height: | Size: 592 B |
Before Width: | Height: | Size: 641 B |
Before Width: | Height: | Size: 630 B |
Before Width: | Height: | Size: 640 B |
Before Width: | Height: | Size: 394 B |
Before Width: | Height: | Size: 389 B |
Before Width: | Height: | Size: 621 B |
Before Width: | Height: | Size: 592 B |
Before Width: | Height: | Size: 646 B |
Before Width: | Height: | Size: 359 B |
Before Width: | Height: | Size: 388 B |
Before Width: | Height: | Size: 626 B |
Before Width: | Height: | Size: 659 B |
Before Width: | Height: | Size: 607 B |
Before Width: | Height: | Size: 625 B |
Before Width: | Height: | Size: 610 B |
Before Width: | Height: | Size: 632 B |
Before Width: | Height: | Size: 246 B |
Before Width: | Height: | Size: 372 B |
Before Width: | Height: | Size: 139 B |
Before Width: | Height: | Size: 406 B |
Before Width: | Height: | Size: 645 B |
Before Width: | Height: | Size: 603 B |
Before Width: | Height: | Size: 43 B |
Before Width: | Height: | Size: 367 B |
Before Width: | Height: | Size: 181 B |
Before Width: | Height: | Size: 644 B |
Before Width: | Height: | Size: 649 B |
Before Width: | Height: | Size: 591 B |
Before Width: | Height: | Size: 393 B |
Before Width: | Height: | Size: 372 B |
Before Width: | Height: | Size: 119 B |
@ -1 +0,0 @@
|
|||||||
deny from all
|
|
@ -1,51 +0,0 @@
|
|||||||
<?php
|
|
||||||
/*------------------------------------------------------------------------------
|
|
||||||
The contents of this file are subject to the Mozilla Public License
|
|
||||||
Version 1.1 (the "License"); you may not use this file except in
|
|
||||||
compliance with the License. You may obtain a copy of the License at
|
|
||||||
http://www.mozilla.org/MPL/
|
|
||||||
|
|
||||||
Software distributed under the License is distributed on an "AS IS"
|
|
||||||
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
|
||||||
License for the specific language governing rights and limitations
|
|
||||||
under the License.
|
|
||||||
|
|
||||||
The Original Code is error.php, released on 2003-02-21.
|
|
||||||
|
|
||||||
The Initial Developer of the Original Code is The QuiX project.
|
|
||||||
|
|
||||||
Alternatively, the contents of this file may be used under the terms
|
|
||||||
of the GNU General Public License Version 2 or later (the "GPL"), in
|
|
||||||
which case the provisions of the GPL are applicable instead of
|
|
||||||
those above. If you wish to allow use of your version of this file only
|
|
||||||
under the terms of the GPL and not to allow others to use
|
|
||||||
your version of this file under the MPL, indicate your decision by
|
|
||||||
deleting the provisions above and replace them with the notice and
|
|
||||||
other provisions required by the GPL. If you do not delete
|
|
||||||
the provisions above, a recipient may use your version of this file
|
|
||||||
under either the MPL or the GPL."
|
|
||||||
------------------------------------------------------------------------------*/
|
|
||||||
/*------------------------------------------------------------------------------
|
|
||||||
Author: The QuiX project
|
|
||||||
quix@free.fr
|
|
||||||
http://www.quix.tk
|
|
||||||
http://quixplorer.sourceforge.net
|
|
||||||
|
|
||||||
Comment:
|
|
||||||
QuiXplorer Version 2.3
|
|
||||||
Error Reporting File
|
|
||||||
|
|
||||||
Have Fun...
|
|
||||||
------------------------------------------------------------------------------*/
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
function show_error($error,$extra=NULL) { // show error-message
|
|
||||||
show_header($GLOBALS["error_msg"]["error"]);
|
|
||||||
echo "<CENTER><BR>".$GLOBALS["error_msg"]["error"].":"."<BR><BR>\n";
|
|
||||||
echo $error."\n<BR><BR><A HREF=\"javascript:window.history.back()\">";
|
|
||||||
echo $GLOBALS["error_msg"]["back"]."</A>";
|
|
||||||
if($extra!=NULL) echo " - ".$extra;
|
|
||||||
echo "<BR><BR></CENTER>\n";
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
?>
|
|
@ -1,32 +0,0 @@
|
|||||||
<?php
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
function download_item($dir, $item) { // download file
|
|
||||||
// Security Fix:
|
|
||||||
$item=basename($item);
|
|
||||||
|
|
||||||
if(($GLOBALS["permissions"]&01)!=01) show_error($GLOBALS["error_msg"]["accessfunc"]);
|
|
||||||
if(!get_is_file($dir,$item)) show_error($item.": ".$GLOBALS["error_msg"]["fileexist"]);
|
|
||||||
if(!get_show_item($dir, $item)) show_error($item.": ".$GLOBALS["error_msg"]["accessfile"]);
|
|
||||||
|
|
||||||
$abs_item = get_abs_item($dir,$item);
|
|
||||||
$browser=id_browser();
|
|
||||||
header('Content-Type: '.(($browser=='IE' || $browser=='OPERA')?
|
|
||||||
'application/octetstream':'application/octet-stream'));
|
|
||||||
header('Expires: '.gmdate('D, d M Y H:i:s').' GMT');
|
|
||||||
header('Content-Transfer-Encoding: binary');
|
|
||||||
header('Content-Length: '.filesize($abs_item));
|
|
||||||
if($browser=='IE') {
|
|
||||||
header('Content-Disposition: attachment; filename="'.$item.'"');
|
|
||||||
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
|
|
||||||
header('Pragma: public');
|
|
||||||
} else {
|
|
||||||
header('Content-Disposition: attachment; filename="'.$item.'"');
|
|
||||||
header('Cache-Control: no-cache, must-revalidate');
|
|
||||||
header('Pragma: no-cache');
|
|
||||||
}
|
|
||||||
|
|
||||||
@readfile($abs_item);
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
?>
|
|
@ -1,259 +0,0 @@
|
|||||||
<?php
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// THESE ARE NUMEROUS HELPER FUNCTIONS FOR THE OTHER INCLUDE FILES
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
function make_link($_action,$_dir,$_item=NULL,$_order=NULL,$_srt=NULL,$_lang=NULL) {
|
|
||||||
// make link to next page
|
|
||||||
if($_action=="" || $_action==NULL) $_action="list";
|
|
||||||
if($_dir=="") $_dir=NULL;
|
|
||||||
if($_item=="") $_item=NULL;
|
|
||||||
if($_order==NULL) $_order=$GLOBALS["order"];
|
|
||||||
if($_srt==NULL) $_srt=$GLOBALS["srt"];
|
|
||||||
if($_lang==NULL) $_lang=(isset($GLOBALS["lang"])?$GLOBALS["lang"]:NULL);
|
|
||||||
|
|
||||||
if($_action != "download")
|
|
||||||
{
|
|
||||||
$link=$GLOBALS["script_name"]."&uebergabe=".$_action;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$link="/Modules/Downloads/getdown.php?action=".$_action;
|
|
||||||
}
|
|
||||||
if($_dir!=NULL) $link.="&dir=".urlencode($_dir);
|
|
||||||
if($_item!=NULL) $link.="&item=".urlencode($_item);
|
|
||||||
if($_order!=NULL) $link.="&order=".$_order;
|
|
||||||
if($_srt!=NULL) $link.="&srt=".$_srt;
|
|
||||||
if($_lang!=NULL) $link.="&lang=".$_lang;
|
|
||||||
|
|
||||||
return $link;
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
function get_abs_dir($dir) { // get absolute path
|
|
||||||
$abs_dir=$GLOBALS["home_dir"];
|
|
||||||
if($dir!="") $abs_dir.="/".$dir;
|
|
||||||
return $abs_dir;
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
function get_abs_item($dir, $item) { // get absolute file+path
|
|
||||||
return get_abs_dir($dir)."/".$item;
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
function get_rel_item($dir,$item) { // get file relative from home
|
|
||||||
if($dir!="") return $dir."/".$item;
|
|
||||||
else return $item;
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
function get_is_file($dir, $item) { // can this file be edited?
|
|
||||||
return @is_file(get_abs_item($dir,$item));
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
function get_is_dir($dir, $item) { // is this a directory?
|
|
||||||
return @is_dir(get_abs_item($dir,$item));
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
function parse_file_type($dir,$item) { // parsed file type (d / l / -)
|
|
||||||
$abs_item = get_abs_item($dir, $item);
|
|
||||||
if(@is_dir($abs_item)) return "d";
|
|
||||||
if(@is_link($abs_item)) return "l";
|
|
||||||
return "-";
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
function get_file_perms($dir,$item) { // file permissions
|
|
||||||
return @decoct(@fileperms(get_abs_item($dir,$item)) & 0777);
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
function parse_file_perms($mode) { // parsed file permisions
|
|
||||||
if(strlen($mode)<3) return "---------";
|
|
||||||
$parsed_mode="";
|
|
||||||
for($i=0;$i<3;$i++) {
|
|
||||||
// read
|
|
||||||
if(($mode{$i} & 04)) $parsed_mode .= "r";
|
|
||||||
else $parsed_mode .= "-";
|
|
||||||
// write
|
|
||||||
if(($mode{$i} & 02)) $parsed_mode .= "w";
|
|
||||||
else $parsed_mode .= "-";
|
|
||||||
// execute
|
|
||||||
if(($mode{$i} & 01)) $parsed_mode .= "x";
|
|
||||||
else $parsed_mode .= "-";
|
|
||||||
}
|
|
||||||
return $parsed_mode;
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
function get_file_size($dir, $item) { // file size
|
|
||||||
return @filesize(get_abs_item($dir, $item));
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
function parse_file_size($size) { // parsed file size
|
|
||||||
if($size >= 1073741824) {
|
|
||||||
$size = round($size / 1073741824 * 100) / 100 . " GB";
|
|
||||||
} elseif($size >= 1048576) {
|
|
||||||
$size = round($size / 1048576 * 100) / 100 . " MB";
|
|
||||||
} elseif($size >= 1024) {
|
|
||||||
$size = round($size / 1024 * 100) / 100 . " KB";
|
|
||||||
} else $size = $size . " Bytes";
|
|
||||||
if($size==0) $size="-";
|
|
||||||
|
|
||||||
return $size;
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
function get_file_date($dir, $item) { // file date
|
|
||||||
return @filemtime(get_abs_item($dir, $item));
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
function parse_file_date($date) { // parsed file date
|
|
||||||
return @date($GLOBALS["date_fmt"],$date);
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
function get_is_image($dir, $item) { // is this file an image?
|
|
||||||
if(!get_is_file($dir, $item)) return false;
|
|
||||||
return @eregi($GLOBALS["images_ext"], $item);
|
|
||||||
}
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
function get_is_editable($dir, $item) { // is this file editable?
|
|
||||||
if(!get_is_file($dir, $item)) return false;
|
|
||||||
foreach($GLOBALS["editable_ext"] as $pat) if(@eregi($pat,$item)) return true;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
function get_mime_type($dir, $item, $query) { // get file's mimetype
|
|
||||||
if(get_is_dir($dir, $item)) { // directory
|
|
||||||
$mime_type = $GLOBALS["super_mimes"]["dir"][0];
|
|
||||||
$image = $GLOBALS["super_mimes"]["dir"][1];
|
|
||||||
|
|
||||||
if($query=="img") return $image;
|
|
||||||
else return $mime_type;
|
|
||||||
}
|
|
||||||
// mime_type
|
|
||||||
foreach($GLOBALS["used_mime_types"] as $mime) {
|
|
||||||
list($desc,$img,$ext) = $mime;
|
|
||||||
if(@eregi($ext,$item)) {
|
|
||||||
$mime_type = $desc;
|
|
||||||
$image = $img;
|
|
||||||
if($query=="img") return $image;
|
|
||||||
else return $mime_type;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if((function_exists("is_executable") &&
|
|
||||||
@is_executable(get_abs_item($dir,$item))) ||
|
|
||||||
@eregi($GLOBALS["super_mimes"]["exe"][2],$item))
|
|
||||||
{ // executable
|
|
||||||
$mime_type = $GLOBALS["super_mimes"]["exe"][0];
|
|
||||||
$image = $GLOBALS["super_mimes"]["exe"][1];
|
|
||||||
} else { // unknown file
|
|
||||||
$mime_type = $GLOBALS["super_mimes"]["file"][0];
|
|
||||||
$image = $GLOBALS["super_mimes"]["file"][1];
|
|
||||||
}
|
|
||||||
|
|
||||||
if($query=="img") return $image;
|
|
||||||
else return $mime_type;
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
function get_show_item($dir, $item) { // show this file?
|
|
||||||
if($item == "." || $item == ".." ||
|
|
||||||
(substr($item,0,1)=="." && $GLOBALS["show_hidden"]==false)) return false;
|
|
||||||
|
|
||||||
if($GLOBALS["no_access"]!="" && @eregi($GLOBALS["no_access"],$item)) return false;
|
|
||||||
|
|
||||||
if($GLOBALS["show_hidden"]==false) {
|
|
||||||
$dirs=explode("/",$dir);
|
|
||||||
foreach($dirs as $i) if(substr($i,0,1)==".") return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
function copy_dir($source,$dest) { // copy dir
|
|
||||||
$ok = true;
|
|
||||||
|
|
||||||
if(!@mkdir($dest,0777)) return false;
|
|
||||||
if(($handle=@opendir($source))===false) show_error(basename($source).": ".$GLOBALS["error_msg"]["opendir"]);
|
|
||||||
|
|
||||||
while(($file=readdir($handle))!==false) {
|
|
||||||
if(($file==".." || $file==".")) continue;
|
|
||||||
|
|
||||||
$new_source = $source."/".$file;
|
|
||||||
$new_dest = $dest."/".$file;
|
|
||||||
if(@is_dir($new_source)) {
|
|
||||||
$ok=copy_dir($new_source,$new_dest);
|
|
||||||
} else {
|
|
||||||
$ok=@copy($new_source,$new_dest);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
closedir($handle);
|
|
||||||
return $ok;
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
function remove($item) { // remove file / dir
|
|
||||||
$ok = true;
|
|
||||||
if(@is_link($item) || @is_file($item)) $ok=@unlink($item);
|
|
||||||
elseif(@is_dir($item)) {
|
|
||||||
if(($handle=@opendir($item))===false) show_error(basename($item).": ".$GLOBALS["error_msg"]["opendir"]);
|
|
||||||
|
|
||||||
while(($file=readdir($handle))!==false) {
|
|
||||||
if(($file==".." || $file==".")) continue;
|
|
||||||
|
|
||||||
$new_item = $item."/".$file;
|
|
||||||
if(!@file_exists($new_item)) show_error(basename($item).": ".$GLOBALS["error_msg"]["readdir"]);
|
|
||||||
//if(!get_show_item($item, $new_item)) continue;
|
|
||||||
|
|
||||||
if(@is_dir($new_item)) {
|
|
||||||
$ok=remove($new_item);
|
|
||||||
} else {
|
|
||||||
$ok=@unlink($new_item);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
closedir($handle);
|
|
||||||
$ok=@rmdir($item);
|
|
||||||
}
|
|
||||||
return $ok;
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
function get_max_file_size() { // get php max_upload_file_size
|
|
||||||
$max = get_cfg_var("upload_max_filesize");
|
|
||||||
if(@eregi("G$",$max)) {
|
|
||||||
$max = substr($max,0,-1);
|
|
||||||
$max = round($max*1073741824);
|
|
||||||
} elseif(@eregi("M$",$max)) {
|
|
||||||
$max = substr($max,0,-1);
|
|
||||||
$max = round($max*1048576);
|
|
||||||
} elseif(@eregi("K$",$max)) {
|
|
||||||
$max = substr($max,0,-1);
|
|
||||||
$max = round($max*1024);
|
|
||||||
}
|
|
||||||
|
|
||||||
return $max;
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
function down_home($abs_dir) { // dir deeper than home?
|
|
||||||
$real_home = @realpath($GLOBALS["home_dir"]);
|
|
||||||
$real_dir = @realpath($abs_dir);
|
|
||||||
|
|
||||||
if($real_home===false || $real_dir===false) {
|
|
||||||
if(@eregi("\\.\\.",$abs_dir)) return false;
|
|
||||||
} else if(strcmp($real_home,@substr($real_dir,0,strlen($real_home)))) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
function id_browser() {
|
|
||||||
$browser=$GLOBALS['__SERVER']['HTTP_USER_AGENT'];
|
|
||||||
|
|
||||||
if(ereg('Opera(/| )([0-9].[0-9]{1,2})', $browser)) {
|
|
||||||
return 'OPERA';
|
|
||||||
} else if(ereg('MSIE ([0-9].[0-9]{1,2})', $browser)) {
|
|
||||||
return 'IE';
|
|
||||||
} else if(ereg('OmniWeb/([0-9].[0-9]{1,2})', $browser)) {
|
|
||||||
return 'OMNIWEB';
|
|
||||||
} else if(ereg('(Konqueror/)(.*)', $browser)) {
|
|
||||||
return 'KONQUEROR';
|
|
||||||
} else if(ereg('Mozilla/([0-9].[0-9]{1,2})', $browser)) {
|
|
||||||
return 'MOZILLA';
|
|
||||||
} else {
|
|
||||||
return 'OTHER';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
?>
|
|
@ -1,241 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
// HELPER FUNCTIONS (USED BY MAIN FUNCTION 'list_dir', SEE BOTTOM)
|
|
||||||
function make_list($_list1, $_list2) { // make list of files
|
|
||||||
$list = array();
|
|
||||||
|
|
||||||
if($GLOBALS["srt"]=="yes") {
|
|
||||||
$list1 = $_list1;
|
|
||||||
$list2 = $_list2;
|
|
||||||
} else {
|
|
||||||
$list1 = $_list2;
|
|
||||||
$list2 = $_list1;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(is_array($list1)) {
|
|
||||||
while (list($key, $val) = each($list1)) {
|
|
||||||
$list[$key] = $val;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if(is_array($list2)) {
|
|
||||||
while (list($key, $val) = each($list2)) {
|
|
||||||
$list[$key] = $val;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return $list;
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
function make_tables($dir, &$dir_list, &$file_list, &$tot_file_size, &$num_items)
|
|
||||||
{ // make table of files in dir
|
|
||||||
// make tables & place results in reference-variables passed to function
|
|
||||||
// also 'return' total filesize & total number of items
|
|
||||||
|
|
||||||
$tot_file_size = $num_items = 0;
|
|
||||||
|
|
||||||
// Open directory
|
|
||||||
$handle = @opendir(get_abs_dir($dir));
|
|
||||||
if($handle===false) show_error($dir.": ".$GLOBALS["error_msg"]["opendir"]);
|
|
||||||
|
|
||||||
// Read directory
|
|
||||||
while(($new_item = readdir($handle))!==false) {
|
|
||||||
$abs_new_item = get_abs_item($dir, $new_item);
|
|
||||||
|
|
||||||
if(!@file_exists($abs_new_item)) show_error($dir.": ".$GLOBALS["error_msg"]["readdir"]);
|
|
||||||
if(!get_show_item($dir, $new_item)) continue;
|
|
||||||
|
|
||||||
$new_file_size = filesize($abs_new_item);
|
|
||||||
$tot_file_size += $new_file_size;
|
|
||||||
$num_items++;
|
|
||||||
|
|
||||||
if(get_is_dir($dir, $new_item)) {
|
|
||||||
if($GLOBALS["order"]=="mod") {
|
|
||||||
$dir_list[$new_item] =
|
|
||||||
@filemtime($abs_new_item);
|
|
||||||
} else { // order == "size", "type" or "name"
|
|
||||||
$dir_list[$new_item] = $new_item;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if($GLOBALS["order"]=="size") {
|
|
||||||
$file_list[$new_item] = $new_file_size;
|
|
||||||
} elseif($GLOBALS["order"]=="mod") {
|
|
||||||
$file_list[$new_item] =
|
|
||||||
@filemtime($abs_new_item);
|
|
||||||
} elseif($GLOBALS["order"]=="type") {
|
|
||||||
$file_list[$new_item] =
|
|
||||||
get_mime_type($dir, $new_item, "type");
|
|
||||||
} else { // order == "name"
|
|
||||||
$file_list[$new_item] = $new_item;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
closedir($handle);
|
|
||||||
|
|
||||||
|
|
||||||
// sort
|
|
||||||
if(is_array($dir_list)) {
|
|
||||||
if($GLOBALS["order"]=="mod") {
|
|
||||||
if($GLOBALS["srt"]=="yes") arsort($dir_list);
|
|
||||||
else asort($dir_list);
|
|
||||||
} else { // order == "size", "type" or "name"
|
|
||||||
if($GLOBALS["srt"]=="yes") ksort($dir_list);
|
|
||||||
else krsort($dir_list);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// sort
|
|
||||||
if(is_array($file_list)) {
|
|
||||||
if($GLOBALS["order"]=="mod") {
|
|
||||||
if($GLOBALS["srt"]=="yes") arsort($file_list);
|
|
||||||
else asort($file_list);
|
|
||||||
} elseif($GLOBALS["order"]=="size" || $GLOBALS["order"]=="type") {
|
|
||||||
if($GLOBALS["srt"]=="yes") asort($file_list);
|
|
||||||
else arsort($file_list);
|
|
||||||
} else { // order == "name"
|
|
||||||
if($GLOBALS["srt"]=="yes") ksort($file_list);
|
|
||||||
else krsort($file_list);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
function print_table($dir, $list, $allow) { // print table of files
|
|
||||||
if(!is_array($list)) return;
|
|
||||||
|
|
||||||
while(list($item,) = each($list)){
|
|
||||||
// link to dir / file
|
|
||||||
$abs_item=get_abs_item($dir,$item);
|
|
||||||
$target="";
|
|
||||||
//$extra="";
|
|
||||||
//if(is_link($abs_item)) $extra=" -> ".@readlink($abs_item);
|
|
||||||
if(is_dir($abs_item)) {
|
|
||||||
$link = make_link("list",get_rel_item($dir, $item),NULL);
|
|
||||||
} else { //if(get_is_editable($dir,$item) || get_is_image($dir,$item)) {
|
|
||||||
$link = make_link("download",$dir,$item);
|
|
||||||
$target = "_blank";
|
|
||||||
} //else $link = "";
|
|
||||||
|
|
||||||
echo "<TR class=\"rowdata\">\n";
|
|
||||||
// Icon + Link
|
|
||||||
echo "<TD nowrap>";
|
|
||||||
/*if($link!="") */ echo"<A HREF=\"".$link."\">";
|
|
||||||
//else echo "<A>";
|
|
||||||
echo "<IMG border=\"0\" width=\"16\" height=\"16\" ";
|
|
||||||
echo "align=\"ABSMIDDLE\" src=\"/Modules/Downloads/img/".get_mime_type($dir, $item, "img")."\" ALT=\"\"> ";
|
|
||||||
$s_item=$item; if(strlen($s_item)>50) $s_item=substr($s_item,0,47)."...";
|
|
||||||
echo htmlspecialchars($s_item)."</A></TD>\n"; // ...$extra...
|
|
||||||
// Size
|
|
||||||
echo "<TD>".parse_file_size(get_file_size($dir,$item))."</TD>\n";
|
|
||||||
// Type
|
|
||||||
echo "<TD>".get_mime_type($dir, $item, "type")."</TD>\n";
|
|
||||||
// Modified
|
|
||||||
echo "<TD>".parse_file_date(get_file_date($dir,$item))."</TD>\n";
|
|
||||||
// Permissions
|
|
||||||
// echo "<TD>";
|
|
||||||
|
|
||||||
// echo parse_file_type($dir,$item).parse_file_perms(get_file_perms($dir,$item));
|
|
||||||
// if($allow) echo "</A>";
|
|
||||||
// echo "</TD>\n";
|
|
||||||
// Actions
|
|
||||||
echo "<TD>\n<TABLE>\n";
|
|
||||||
// DOWNLOAD
|
|
||||||
if(get_is_file($dir,$item)) {
|
|
||||||
if($allow) {
|
|
||||||
echo "<TD><A HREF=\"".make_link("download",$dir,$item)."\">";
|
|
||||||
echo "<IMG border=\"0\" width=\"16\" height=\"16\" align=\"ABSMIDDLE\" ";
|
|
||||||
echo "src=\"/Modules/Downloads/img/_download.gif\" ALT=\"".$GLOBALS["messages"]["downlink"];
|
|
||||||
echo "\" TITLE=\"".$GLOBALS["messages"]["downlink"]."\"></A></TD>\n";
|
|
||||||
} else if(!$allow) {
|
|
||||||
echo "<TD><IMG border=\"0\" width=\"16\" height=\"16\" align=\"ABSMIDDLE\" ";
|
|
||||||
echo "src=\"/Modules/Downloads/img/_download_.gif\" ALT=\"".$GLOBALS["messages"]["downlink"];
|
|
||||||
echo "\" TITLE=\"".$GLOBALS["messages"]["downlink"]."\"></TD>\n";
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
echo "<TD><IMG border=\"0\" width=\"16\" height=\"16\" align=\"ABSMIDDLE\" ";
|
|
||||||
echo "src=\"/Modules/Downloads/img/_.gif\" ALT=\"\"></TD>\n";
|
|
||||||
}
|
|
||||||
echo "</TABLE>\n</TD></TR>\n";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// MAIN FUNCTION
|
|
||||||
function list_dir($dir) { // list directory contents
|
|
||||||
$allow=($GLOBALS["permissions"]&01)==01;
|
|
||||||
$admin=((($GLOBALS["permissions"]&04)==04) || (($GLOBALS["permissions"]&02)==02));
|
|
||||||
|
|
||||||
$dir_up = dirname($dir);
|
|
||||||
if($dir_up==".") $dir_up = "";
|
|
||||||
|
|
||||||
if(!get_show_item($dir_up,basename($dir))) show_error($dir." : ".$GLOBALS["error_msg"]["accessdir"]);
|
|
||||||
|
|
||||||
// make file & dir tables, & get total filesize & number of items
|
|
||||||
make_tables($dir, $dir_list, $file_list, $tot_file_size, $num_items);
|
|
||||||
|
|
||||||
$s_dir=$dir; if(strlen($s_dir)>50) $s_dir="...".substr($s_dir,-47);
|
|
||||||
echo "Directory: /".get_rel_item("",$s_dir);
|
|
||||||
|
|
||||||
// Javascript functions:
|
|
||||||
include $_SERVER["DOCUMENT_ROOT"]."/Modules/Downloads/include/javascript.php";
|
|
||||||
|
|
||||||
|
|
||||||
// Toolbar
|
|
||||||
echo "<BR><TABLE width=\"95%\"><TR><TD><TABLE><TR>\n";
|
|
||||||
|
|
||||||
// PARENT DIR
|
|
||||||
echo "<TD><A HREF=\"".make_link("list",$dir_up,NULL)."\">";
|
|
||||||
echo "<IMG border=\"0\" width=\"16\" height=\"16\" align=\"ABSMIDDLE\" src=\"/Modules/Downloads/img/_up.gif\" ";
|
|
||||||
echo "ALT=\"".$GLOBALS["messages"]["uplink"]."\" TITLE=\"".$GLOBALS["messages"]["uplink"]."\"></A></TD>\n";
|
|
||||||
// HOME DIR
|
|
||||||
echo "<TD><A HREF=\"".make_link("list",NULL,NULL)."\">";
|
|
||||||
echo "<IMG border=\"0\" width=\"16\" height=\"16\" align=\"ABSMIDDLE\" src=\"/Modules/Downloads/img/_home.gif\" ";
|
|
||||||
echo "ALT=\"".$GLOBALS["messages"]["homelink"]."\" TITLE=\"".$GLOBALS["messages"]["homelink"]."\"></A></TD>\n";
|
|
||||||
// RELOAD
|
|
||||||
echo "<TD><A HREF=\"javascript:location.reload();\"><IMG border=\"0\" width=\"16\" height=\"16\" ";
|
|
||||||
echo "align=\"ABSMIDDLE\" src=\"/Modules/Downloads/img/_refresh.gif\" ALT=\"".$GLOBALS["messages"]["reloadlink"];
|
|
||||||
echo "\" TITLE=\"".$GLOBALS["messages"]["reloadlink"]."\"></A></TD>\n";
|
|
||||||
|
|
||||||
echo "</TR></TABLE></TD>\n";
|
|
||||||
|
|
||||||
echo "</TR></TABLE>\n";
|
|
||||||
|
|
||||||
// End Toolbar
|
|
||||||
|
|
||||||
|
|
||||||
// Begin Table + Form for checkboxes
|
|
||||||
echo"<TABLE WIDTH=\"95%\"><FORM name=\"selform\" method=\"POST\" action=\"".make_link("post",$dir,NULL)."\">\n";
|
|
||||||
|
|
||||||
// Table Header
|
|
||||||
echo "<TR><TD colspan=\"5\"><HR></TD></TR><TR>\n";
|
|
||||||
echo "<TD WIDTH=\"70%\" class=\"header\"><B>\n";
|
|
||||||
echo $GLOBALS["messages"]["nameheader"];
|
|
||||||
echo "</B></TD>\n<TD WIDTH=\"10%\" class=\"header\"><B>";
|
|
||||||
echo $GLOBALS["messages"]["sizeheader"];
|
|
||||||
echo "</B></TD>\n<TD WIDTH=\"10%\" class=\"header\"><B>";
|
|
||||||
echo $GLOBALS["messages"]["typeheader"];
|
|
||||||
echo "</B></TD>\n<TD WIDTH=\"10%\" class=\"header\"><B>";
|
|
||||||
echo $GLOBALS["messages"]["modifheader"];
|
|
||||||
echo "</B></TD>\n";
|
|
||||||
echo "<TD ALIGN=\"right\" WIDTH=\"6%\" class=\"header\"><B>".$GLOBALS["messages"]["actionheader"]."</B></TD></TR>\n";
|
|
||||||
echo "<TR><TD colspan=\"5\"><HR></TD></TR>\n";
|
|
||||||
|
|
||||||
// make & print Table using lists
|
|
||||||
print_table($dir, make_list($dir_list, $file_list), $allow);
|
|
||||||
|
|
||||||
// print number of items & total filesize
|
|
||||||
echo "<TR><TD colspan=\"5\"><HR></TD></TR><TR>\n";
|
|
||||||
echo "<TD WIDTH=\"70%\" class=\"header\">".$num_items." ".$GLOBALS["messages"]["miscitems"]." (";
|
|
||||||
if(function_exists("disk_free_space")) {
|
|
||||||
$free=parse_file_size(disk_free_space(get_abs_dir($dir)));
|
|
||||||
} elseif(function_exists("diskfreespace")) {
|
|
||||||
$free=parse_file_size(diskfreespace(get_abs_dir($dir)));
|
|
||||||
} else $free="?";
|
|
||||||
// echo "Total: ".parse_file_size(disk_total_space(get_abs_dir($dir))).", ";
|
|
||||||
echo $GLOBALS["messages"]["miscfree"].": ".$free.")</TD>\n";
|
|
||||||
echo "<TD WIDTH=\"30%\" class=\"header\">".parse_file_size($tot_file_size)."</TD>\n";
|
|
||||||
for($i=0;$i<3;++$i) echo"<TD class=\"header\"></TD>";
|
|
||||||
echo "</TR>\n<TR><TD colspan=\"5\"><HR></TD></TR></FORM></TABLE>\n";
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
?>
|
|
@ -1,67 +0,0 @@
|
|||||||
<?php
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Vars
|
|
||||||
if(isset($_SERVER)) {
|
|
||||||
$GLOBALS['__GET'] =&$_GET;
|
|
||||||
$GLOBALS['__POST'] =&$_POST;
|
|
||||||
$GLOBALS['__SERVER'] =&$_SERVER;
|
|
||||||
$GLOBALS['__FILES'] =&$_FILES;
|
|
||||||
} elseif(isset($HTTP_SERVER_VARS)) {
|
|
||||||
$GLOBALS['__GET'] =&$HTTP_GET_VARS;
|
|
||||||
$GLOBALS['__POST'] =&$HTTP_POST_VARS;
|
|
||||||
$GLOBALS['__SERVER'] =&$HTTP_SERVER_VARS;
|
|
||||||
$GLOBALS['__FILES'] =&$HTTP_POST_FILES;
|
|
||||||
} else {
|
|
||||||
die("<B>ERROR: Your PHP version is too old</B><BR>".
|
|
||||||
"You need at least PHP 4.0.0, preferably PHP 4.3.1 or higher.");
|
|
||||||
}
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Get Action
|
|
||||||
$GLOBALS['__GET']["action"] = $GLOBALS['__GET']["uebergabe"];
|
|
||||||
|
|
||||||
if(isset($GLOBALS['__GET']["action"])) $GLOBALS["action"]=$GLOBALS['__GET']["action"];
|
|
||||||
else $GLOBALS["action"]="list";
|
|
||||||
if($GLOBALS["action"]=="post" && isset($GLOBALS['__POST']["do_action"])) {
|
|
||||||
$GLOBALS["action"]=$GLOBALS['__POST']["do_action"];
|
|
||||||
}
|
|
||||||
if($GLOBALS["action"]=="") $GLOBALS["action"]="list";
|
|
||||||
$GLOBALS["action"]=stripslashes($GLOBALS["action"]);
|
|
||||||
// Default Dir
|
|
||||||
if(isset($GLOBALS['__GET']["dir"])) $GLOBALS["dir"]=stripslashes($GLOBALS['__GET']["dir"]);
|
|
||||||
else $GLOBALS["dir"]="";
|
|
||||||
if($GLOBALS["dir"]==".") $GLOBALS["dir"]=="";
|
|
||||||
// Get Item
|
|
||||||
if(isset($GLOBALS['__GET']["item"])) $GLOBALS["item"]=stripslashes($GLOBALS['__GET']["item"]);
|
|
||||||
else $GLOBALS["item"]="";
|
|
||||||
// Get Sort
|
|
||||||
if(isset($GLOBALS['__GET']["order"])) $GLOBALS["order"]=stripslashes($GLOBALS['__GET']["order"]);
|
|
||||||
else $GLOBALS["order"]="name";
|
|
||||||
if($GLOBALS["order"]=="") $GLOBALS["order"]=="name";
|
|
||||||
// Get Sortorder (yes==up)
|
|
||||||
if(isset($GLOBALS['__GET']["srt"])) $GLOBALS["srt"]=stripslashes($GLOBALS['__GET']["srt"]);
|
|
||||||
else $GLOBALS["srt"]="yes";
|
|
||||||
if($GLOBALS["srt"]=="") $GLOBALS["srt"]=="yes";
|
|
||||||
// Get Language
|
|
||||||
if(isset($GLOBALS['__GET']["lang"])) $GLOBALS["lang"]=$GLOBALS['__GET']["lang"];
|
|
||||||
elseif(isset($GLOBALS['__POST']["lang"])) $GLOBALS["lang"]=$GLOBALS['__POST']["lang"];
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Necessary files
|
|
||||||
ob_start(); // prevent unwanted output
|
|
||||||
require $_SERVER["DOCUMENT_ROOT"]."/Modules/Downloads/config/conf.php";
|
|
||||||
if(isset($GLOBALS["lang"])) $GLOBALS["language"]=$GLOBALS["lang"];
|
|
||||||
require $_SERVER["DOCUMENT_ROOT"]."/Modules/Downloads/lang/".$GLOBALS["language"].".php";
|
|
||||||
require $_SERVER["DOCUMENT_ROOT"]."/Modules/Downloads/lang/".$GLOBALS["language"]."_mimes.php";
|
|
||||||
require $_SERVER["DOCUMENT_ROOT"]."/Modules/Downloads/config/mimes.php";
|
|
||||||
require $_SERVER["DOCUMENT_ROOT"]."/Modules/Downloads/include/fun_extra.php";
|
|
||||||
require $_SERVER["DOCUMENT_ROOT"]."/Modules/Downloads/include/error.php";
|
|
||||||
ob_end_clean(); // get rid of cached unwanted output
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
$abs_dir=get_abs_dir($GLOBALS["dir"]);
|
|
||||||
if(!@file_exists($GLOBALS["home_dir"])) {
|
|
||||||
$extra=NULL;
|
|
||||||
show_error($GLOBALS["error_msg"]["home"],$extra);
|
|
||||||
}
|
|
||||||
if(!down_home($abs_dir)) show_error($GLOBALS["dir"]." : ".$GLOBALS["error_msg"]["abovehome"]);
|
|
||||||
if(!is_dir($abs_dir)) show_error($GLOBALS["dir"]." : ".$GLOBALS["error_msg"]["direxist"]);
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
?>
|
|
@ -1,137 +0,0 @@
|
|||||||
<script language="JavaScript1.2" type="text/javascript">
|
|
||||||
<!--
|
|
||||||
// Checkboxes
|
|
||||||
function Toggle(e) {
|
|
||||||
if(e.checked) {
|
|
||||||
Highlight(e);
|
|
||||||
document.selform.toggleAllC.checked = AllChecked();
|
|
||||||
} else {
|
|
||||||
UnHighlight(e);
|
|
||||||
document.selform.toggleAllC.checked = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function ToggleAll(e) {
|
|
||||||
if(e.checked) CheckAll();
|
|
||||||
else ClearAll();
|
|
||||||
}
|
|
||||||
|
|
||||||
function CheckAll() {
|
|
||||||
var ml = document.selform;
|
|
||||||
var len = ml.elements.length;
|
|
||||||
for(var i=0; i<len; ++i) {
|
|
||||||
var e = ml.elements[i];
|
|
||||||
if(e.name == "selitems[]") {
|
|
||||||
e.checked = true;
|
|
||||||
Highlight(e);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
ml.toggleAllC.checked = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
function ClearAll() {
|
|
||||||
var ml = document.selform;
|
|
||||||
var len = ml.elements.length;
|
|
||||||
for (var i=0; i<len; ++i) {
|
|
||||||
var e = ml.elements[i];
|
|
||||||
if(e.name == "selitems[]") {
|
|
||||||
e.checked = false;
|
|
||||||
UnHighlight(e);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
ml.toggleAllC.checked = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
function AllChecked() {
|
|
||||||
ml = document.selform;
|
|
||||||
len = ml.elements.length;
|
|
||||||
for(var i=0; i<len; ++i) {
|
|
||||||
if(ml.elements[i].name == "selitems[]" && !ml.elements[i].checked) return false;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
function NumChecked() {
|
|
||||||
ml = document.selform;
|
|
||||||
len = ml.elements.length;
|
|
||||||
num = 0;
|
|
||||||
for(var i=0; i<len; ++i) {
|
|
||||||
if(ml.elements[i].name == "selitems[]" && ml.elements[i].checked) ++num;
|
|
||||||
}
|
|
||||||
return num;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Row highlight
|
|
||||||
|
|
||||||
function Highlight(e) {
|
|
||||||
var r = null;
|
|
||||||
if(e.parentNode && e.parentNode.parentNode) {
|
|
||||||
r = e.parentNode.parentNode;
|
|
||||||
} else if(e.parentElement && e.parentElement.parentElement) {
|
|
||||||
r = e.parentElement.parentElement;
|
|
||||||
}
|
|
||||||
if(r && r.className=="rowdata") {
|
|
||||||
r.className = "rowdatasel";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function UnHighlight(e) {
|
|
||||||
var r = null;
|
|
||||||
if(e.parentNode && e.parentNode.parentNode) {
|
|
||||||
r = e.parentNode.parentNode;
|
|
||||||
} else if (e.parentElement && e.parentElement.parentElement) {
|
|
||||||
r = e.parentElement.parentElement;
|
|
||||||
}
|
|
||||||
if(r && r.className=="rowdatasel") {
|
|
||||||
r.className = "rowdata";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
<?php if($allow) { ?>
|
|
||||||
|
|
||||||
// Copy / Move / Delete
|
|
||||||
|
|
||||||
function Copy() {
|
|
||||||
if(NumChecked()==0) {
|
|
||||||
alert("<?php echo $GLOBALS["error_msg"]["miscselitems"]; ?>");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
document.selform.do_action.value = "copy";
|
|
||||||
document.selform.submit();
|
|
||||||
}
|
|
||||||
|
|
||||||
function Move() {
|
|
||||||
if(NumChecked()==0) {
|
|
||||||
alert("<?php echo $GLOBALS["error_msg"]["miscselitems"]; ?>");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
document.selform.do_action.value = "move";
|
|
||||||
document.selform.submit();
|
|
||||||
}
|
|
||||||
|
|
||||||
function Delete() {
|
|
||||||
num=NumChecked();
|
|
||||||
if(num==0) {
|
|
||||||
alert("<?php echo $GLOBALS["error_msg"]["miscselitems"]; ?>");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if(confirm("<?php echo $GLOBALS["error_msg"]["miscdelitems"]; ?>")) {
|
|
||||||
document.selform.do_action.value = "delete";
|
|
||||||
document.selform.submit();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function Archive() {
|
|
||||||
if(NumChecked()==0) {
|
|
||||||
alert("<?php echo $GLOBALS["error_msg"]["miscselitems"]; ?>");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
document.selform.do_action.value = "arch";
|
|
||||||
document.selform.submit();
|
|
||||||
}
|
|
||||||
|
|
||||||
<?php } ?>
|
|
||||||
|
|
||||||
// -->
|
|
||||||
</script>
|
|
@ -1,40 +0,0 @@
|
|||||||
<?php
|
|
||||||
$moduleurl = $_SERVER["REQUEST_URI"];
|
|
||||||
$urlcut = strpos($moduleurl, "&");
|
|
||||||
$moduleurl = substr($moduleurl,0,$urlcut);
|
|
||||||
?>
|
|
||||||
<!-- MAIN CONTENT BEGINN ################################################################################ -->
|
|
||||||
<div class="art-content">
|
|
||||||
<div class="art-Post">
|
|
||||||
<div class="art-Post-body">
|
|
||||||
<div class="art-Post-inner">
|
|
||||||
<h2 class="art-PostHeaderIcon-wrapper">
|
|
||||||
<span class="art-PostHeader">Downloads</span>
|
|
||||||
</h2>
|
|
||||||
<div class="art-PostContent">
|
|
||||||
<?php
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
umask(002); // Added to make created files/dirs group writable
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
require $_SERVER["DOCUMENT_ROOT"]."/Modules/Downloads/include/init.php"; // Init
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
switch($GLOBALS["action"]) { // Execute action
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// DEFAULT: LIST FILES & DIRS
|
|
||||||
case "list":
|
|
||||||
default:
|
|
||||||
$GLOBALS["script_name"] = $moduleurl;
|
|
||||||
include( $_SERVER["DOCUMENT_ROOT"]."/Modules/Downloads/include/fun_list.php");
|
|
||||||
list_dir($GLOBALS["dir"]);
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
} // end switch-statement
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- END CONTENT BEGINN ################################################################################# -->
|
|
@ -1,6 +0,0 @@
|
|||||||
<OPTION value="en">English</OPTION>
|
|
||||||
<OPTION value="de">Deutsch</OPTION>
|
|
||||||
<OPTION value="es">Español</OPTION>
|
|
||||||
<OPTION value="fr">Français</OPTION>
|
|
||||||
<OPTION value="nl">Nederlands</OPTION>
|
|
||||||
<OPTION value="ru">Russian</OPTION>
|
|
@ -1,158 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
// German Language Module for v2.3 (translated by the QuiX project)
|
|
||||||
|
|
||||||
$GLOBALS["charset"] = "iso-8859-1";
|
|
||||||
$GLOBALS["text_dir"] = "ltr"; // ('ltr' for left to right, 'rtl' for right to left)
|
|
||||||
$GLOBALS["date_fmt"] = "d.m.Y H:i";
|
|
||||||
$GLOBALS["error_msg"] = array(
|
|
||||||
// error
|
|
||||||
"error" => "FEHLER",
|
|
||||||
"back" => "Zurück",
|
|
||||||
|
|
||||||
// root
|
|
||||||
"home" => "Das Home-Verzeichnis existiert nicht, kontrollieren sie ihre Einstellungen.",
|
|
||||||
"abovehome" => "Das aktuelle Verzeichnis darf nicht höher liegen als das Home-Verzeichnis.",
|
|
||||||
"targetabovehome" => "Das Zielverzeichnis darf nicht höher liegen als das Home-Verzeichnis.",
|
|
||||||
|
|
||||||
// exist
|
|
||||||
"direxist" => "Dieses Verzeichnis existiert nicht.",
|
|
||||||
//"filedoesexist" => "Diese Datei existiert bereits.",
|
|
||||||
"fileexist" => "Diese Datei existiert nicht.",
|
|
||||||
"itemdoesexist" => "Dieses Objekt existiert bereits.",
|
|
||||||
"itemexist" => "Dieses Objekt existiert nicht.",
|
|
||||||
"targetexist" => "Das Zielverzeichnis existiert nicht.",
|
|
||||||
"targetdoesexist" => "Das Zielobjekt existiert bereits.",
|
|
||||||
|
|
||||||
// open
|
|
||||||
"opendir" => "Kann Verzeichnis nicht öffnen.",
|
|
||||||
"readdir" => "Kann Verzeichnis nicht lesen",
|
|
||||||
|
|
||||||
// access
|
|
||||||
"accessdir" => "Zugriff auf dieses Verzeichnis verweigert.",
|
|
||||||
"accessfile" => "Zugriff auf diese Datei verweigert.",
|
|
||||||
"accessitem" => "Zugriff auf dieses Objekt verweigert.",
|
|
||||||
"accessfunc" => "Zugriff auf diese Funktion verweigert.",
|
|
||||||
"accesstarget" => "Zugriff auf das Zielverzeichnis verweigert.",
|
|
||||||
|
|
||||||
// actions
|
|
||||||
"permread" => "Rechte lesen fehlgeschlagen.",
|
|
||||||
"permchange" => "Rechte ändern fehlgeschlagen.",
|
|
||||||
"openfile" => "Datei öffnen fehlgeschlagen.",
|
|
||||||
"savefile" => "Datei speichern fehlgeschlagen.",
|
|
||||||
"createfile" => "Datei anlegen fehlgeschlagen.",
|
|
||||||
"createdir" => "Verzeichnis anlegen fehlgeschlagen.",
|
|
||||||
"uploadfile" => "Datei hochladen fehlgeschlagen.",
|
|
||||||
"copyitem" => "Kopieren fehlgeschlagen.",
|
|
||||||
"moveitem" => "Versetzen fehlgeschlagen.",
|
|
||||||
"delitem" => "Löschen fehlgeschlagen.",
|
|
||||||
"chpass" => "Passwort ändern fehlgeschlagen.",
|
|
||||||
"deluser" => "Benutzer löschen fehlgeschlagen.",
|
|
||||||
"adduser" => "Benutzer hinzufügen fehlgeschlagen.",
|
|
||||||
"saveuser" => "Benutzer speichern fehlgeschlagen.",
|
|
||||||
"searchnothing" => "Sie müssen etwas zum suchen eintragen.",
|
|
||||||
|
|
||||||
// misc
|
|
||||||
"miscnofunc" => "Funktion nicht vorhanden.",
|
|
||||||
"miscfilesize" => "Datei ist größer als die maximale Größe.",
|
|
||||||
"miscfilepart" => "Datei wurde nur zum Teil hochgeladen.",
|
|
||||||
"miscnoname" => "Sie müssen einen Namen eintragen",
|
|
||||||
"miscselitems" => "Sie haben keine Objekt(e) ausgewählt.",
|
|
||||||
"miscdelitems" => "Sollen die \"+num+\" markierten Objekt(e) gelöscht werden?",
|
|
||||||
"miscdeluser" => "Soll der Benutzer '\"+user+\"' gelöscht werden?",
|
|
||||||
"miscnopassdiff" => "Das neue und das heutige Passwort sind nicht verschieden.",
|
|
||||||
"miscnopassmatch" => "Passwörter sind nicht gleich.",
|
|
||||||
"miscfieldmissed" => "Sie haben ein wichtiges Eingabefeld vergessen auszufüllen",
|
|
||||||
"miscnouserpass" => "Benutzer oder Passwort unbekannt.",
|
|
||||||
"miscselfremove" => "Sie können sich selbst nicht löschen.",
|
|
||||||
"miscuserexist" => "Der Benutzer existiert bereits.",
|
|
||||||
"miscnofinduser" => "Kann Benutzer nicht finden.",
|
|
||||||
);
|
|
||||||
$GLOBALS["messages"] = array(
|
|
||||||
// links
|
|
||||||
"permlink" => "RECHTE ÄNDERN",
|
|
||||||
"editlink" => "BEARBEITEN",
|
|
||||||
"downlink" => "HERUNTERLADEN",
|
|
||||||
"uplink" => "HÖHER",
|
|
||||||
"homelink" => "HOME",
|
|
||||||
"reloadlink" => "ERNEUERN",
|
|
||||||
"copylink" => "KOPIEREN",
|
|
||||||
"movelink" => "VERSETZEN",
|
|
||||||
"dellink" => "LÖSCHEN",
|
|
||||||
"comprlink" => "ARCHIVIEREN",
|
|
||||||
"adminlink" => "ADMINISTRATION",
|
|
||||||
"logoutlink" => "ABMELDEN",
|
|
||||||
"uploadlink" => "HOCHLADEN",
|
|
||||||
"searchlink" => "SUCHEN",
|
|
||||||
|
|
||||||
// list
|
|
||||||
"nameheader" => "Name",
|
|
||||||
"sizeheader" => "Größe",
|
|
||||||
"typeheader" => "Typ",
|
|
||||||
"modifheader" => "Geändert",
|
|
||||||
"permheader" => "Rechte",
|
|
||||||
"actionheader" => "Aktionen",
|
|
||||||
"pathheader" => "Pfad",
|
|
||||||
|
|
||||||
// buttons
|
|
||||||
"btncancel" => "Abbrechen",
|
|
||||||
"btnsave" => "Speichern",
|
|
||||||
"btnchange" => "Ändern",
|
|
||||||
"btnreset" => "Zurücksetzen",
|
|
||||||
"btnclose" => "Schließen",
|
|
||||||
"btncreate" => "Anlegen",
|
|
||||||
"btnsearch" => "Suchen",
|
|
||||||
"btnupload" => "Hochladen",
|
|
||||||
"btncopy" => "Kopieren",
|
|
||||||
"btnmove" => "Verschieben",
|
|
||||||
"btnlogin" => "Anmelden",
|
|
||||||
"btnlogout" => "Abmelden",
|
|
||||||
"btnadd" => "Hinzufügen",
|
|
||||||
"btnedit" => "Ändern",
|
|
||||||
"btnremove" => "Löschen",
|
|
||||||
|
|
||||||
// actions
|
|
||||||
"actdir" => "Verzeichnis",
|
|
||||||
"actperms" => "Rechte ändern",
|
|
||||||
"actedit" => "Datei bearbeiten",
|
|
||||||
"actsearchresults" => "Suchergebnisse",
|
|
||||||
"actcopyitems" => "Objekt(e) kopieren",
|
|
||||||
"actcopyfrom" => "Kopiere von /%s nach /%s ",
|
|
||||||
"actmoveitems" => "Objekt(e) verschieben",
|
|
||||||
"actmovefrom" => "Versetze von /%s nach /%s ",
|
|
||||||
"actlogin" => "Anmelden",
|
|
||||||
"actloginheader" => "Melden sie sich an um QuiXplorer zu benutzen",
|
|
||||||
"actadmin" => "Administration",
|
|
||||||
"actchpwd" => "Passwort ändern",
|
|
||||||
"actusers" => "Benutzer",
|
|
||||||
"actarchive" => "Objekt(e) archivieren",
|
|
||||||
"actupload" => "Datei(en) hochladen",
|
|
||||||
|
|
||||||
// misc
|
|
||||||
"miscitems" => "Objekt(e)",
|
|
||||||
"miscfree" => "Freier Speicher",
|
|
||||||
"miscusername" => "Benutzername",
|
|
||||||
"miscpassword" => "Passwort",
|
|
||||||
"miscoldpass" => "Altes Passwort",
|
|
||||||
"miscnewpass" => "Neues Passwort",
|
|
||||||
"miscconfpass" => "Bestätige Passwort",
|
|
||||||
"miscconfnewpass" => "Bestätige neues Passwort",
|
|
||||||
"miscchpass" => "Ändere Passwort",
|
|
||||||
"mischomedir" => "Home-Verzeichnis",
|
|
||||||
"mischomeurl" => "Home URL",
|
|
||||||
"miscshowhidden" => "Versteckte Objekte anzeigen",
|
|
||||||
"mischidepattern" => "Versteck-Filter",
|
|
||||||
"miscperms" => "Rechte",
|
|
||||||
"miscuseritems" => "(Name, Home-Verzeichnis, versteckte Objekte anzeigen, Rechte, aktiviert)",
|
|
||||||
"miscadduser" => "Benutzer hinzufügen",
|
|
||||||
"miscedituser" => "Benutzer '%s' ändern",
|
|
||||||
"miscactive" => "Aktiviert",
|
|
||||||
"misclang" => "Sprache",
|
|
||||||
"miscnoresult" => "Suche ergebnislos.",
|
|
||||||
"miscsubdirs" => "Suche in Unterverzeichnisse",
|
|
||||||
"miscpermnames" => array("Nur ansehen","Ändern","Passwort ändern",
|
|
||||||
"Ändern & Passwort ändern","Administrator"),
|
|
||||||
"miscyesno" => array("Ja","Nein","J","N"),
|
|
||||||
"miscchmod" => array("Besitzer", "Gruppe", "Publik"),
|
|
||||||
);
|
|
||||||
?>
|
|
@ -1,60 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
// German Mimes Module for v2.3 (translated by the QuiX project)
|
|
||||||
|
|
||||||
$GLOBALS["mimes"]=array(
|
|
||||||
// dir, exe, file
|
|
||||||
"dir" => "Verzeichnis",
|
|
||||||
"exe" => "Programm",
|
|
||||||
"file" => "Datei",
|
|
||||||
|
|
||||||
// text
|
|
||||||
"text" => "Text Dokument",
|
|
||||||
|
|
||||||
// programming
|
|
||||||
"php" => "PHP Script",
|
|
||||||
"sql" => "SQL Datei",
|
|
||||||
"perl" => "PERL Script",
|
|
||||||
"html" => "HTML Seite",
|
|
||||||
"js" => "Javascript Datei",
|
|
||||||
"css" => "CSS Datei",
|
|
||||||
"cgi" => "CGI Script",
|
|
||||||
// C++
|
|
||||||
"cpps" => "C++ Quellcode",
|
|
||||||
"cpph" => "C++ Header Datei",
|
|
||||||
// Java
|
|
||||||
"javas" => "Java Quellcode",
|
|
||||||
"javac" => "Java Klasse Datei",
|
|
||||||
// Pascal
|
|
||||||
"pas" => "Pascal Quellcode",
|
|
||||||
|
|
||||||
// images
|
|
||||||
"gif" => "GIF Bild",
|
|
||||||
"jpg" => "JPG Bild",
|
|
||||||
"bmp" => "BMP Bild",
|
|
||||||
"png" => "PNG Bild",
|
|
||||||
|
|
||||||
// compressed
|
|
||||||
"zip" => "ZIP Archiv",
|
|
||||||
"tar" => "TAR Archiv",
|
|
||||||
"gzip" => "GZIP Archiv",
|
|
||||||
"bzip2" => "BZIP2 Archiv",
|
|
||||||
"rar" => "RAR Archiv",
|
|
||||||
|
|
||||||
// music
|
|
||||||
"mp3" => "MP3 Audio Datei",
|
|
||||||
"wav" => "WAV Audio Datei",
|
|
||||||
"midi" => "MIDI Audio Datei",
|
|
||||||
"real" => "RealAudio Datei",
|
|
||||||
|
|
||||||
// movie
|
|
||||||
"mpg" => "MPG Video Datei",
|
|
||||||
"mov" => "Movie Datei",
|
|
||||||
"avi" => "AVI Video Datei",
|
|
||||||
"flash" => "Flash Movie Datei",
|
|
||||||
|
|
||||||
// Micosoft / Adobe
|
|
||||||
"word" => "Word Dokument",
|
|
||||||
"excel" => "Excel Dokument",
|
|
||||||
"pdf" => "PDF Datei"
|
|
||||||
); ?>
|
|
@ -1,158 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
// English Language Module for v2.3 (translated by the QuiX project)
|
|
||||||
|
|
||||||
$GLOBALS["charset"] = "iso-8859-1";
|
|
||||||
$GLOBALS["text_dir"] = "ltr"; // ('ltr' for left to right, 'rtl' for right to left)
|
|
||||||
$GLOBALS["date_fmt"] = "Y/m/d H:i";
|
|
||||||
$GLOBALS["error_msg"] = array(
|
|
||||||
// error
|
|
||||||
"error" => "ERROR(S)",
|
|
||||||
"back" => "Go Back",
|
|
||||||
|
|
||||||
// root
|
|
||||||
"home" => "The home directory doesn't exist, check your settings.",
|
|
||||||
"abovehome" => "The current directory may not be above the home directory.",
|
|
||||||
"targetabovehome" => "The target directory may not be above the home directory.",
|
|
||||||
|
|
||||||
// exist
|
|
||||||
"direxist" => "This directory doesn't exist.",
|
|
||||||
//"filedoesexist" => "This file already exists.",
|
|
||||||
"fileexist" => "This file doesn't exist.",
|
|
||||||
"itemdoesexist" => "This item already exists.",
|
|
||||||
"itemexist" => "This item doesn't exist.",
|
|
||||||
"targetexist" => "The target directory doesn't exist.",
|
|
||||||
"targetdoesexist" => "The target item already exists.",
|
|
||||||
|
|
||||||
// open
|
|
||||||
"opendir" => "Unable to open directory.",
|
|
||||||
"readdir" => "Unable to read directory.",
|
|
||||||
|
|
||||||
// access
|
|
||||||
"accessdir" => "You are not allowed to access this directory.",
|
|
||||||
"accessfile" => "You are not allowed to access this file.",
|
|
||||||
"accessitem" => "You are not allowed to access this item.",
|
|
||||||
"accessfunc" => "You are not allowed to use this function.",
|
|
||||||
"accesstarget" => "You are not allowed to access the target directory.",
|
|
||||||
|
|
||||||
// actions
|
|
||||||
"permread" => "Getting permissions failed.",
|
|
||||||
"permchange" => "Permission-change failed.",
|
|
||||||
"openfile" => "File opening failed.",
|
|
||||||
"savefile" => "File saving failed.",
|
|
||||||
"createfile" => "File creation failed.",
|
|
||||||
"createdir" => "Directory creation failed.",
|
|
||||||
"uploadfile" => "File upload failed.",
|
|
||||||
"copyitem" => "Copying failed.",
|
|
||||||
"moveitem" => "Moving failed.",
|
|
||||||
"delitem" => "Deleting failed.",
|
|
||||||
"chpass" => "Changing password failed.",
|
|
||||||
"deluser" => "Removing user failed.",
|
|
||||||
"adduser" => "Adding user failed.",
|
|
||||||
"saveuser" => "Saving user failed.",
|
|
||||||
"searchnothing" => "You must supply something to search for.",
|
|
||||||
|
|
||||||
// misc
|
|
||||||
"miscnofunc" => "Function unavailable.",
|
|
||||||
"miscfilesize" => "File exceeds maximum size.",
|
|
||||||
"miscfilepart" => "File was only partially uploaded.",
|
|
||||||
"miscnoname" => "You must supply a name.",
|
|
||||||
"miscselitems" => "You haven't selected any item(s).",
|
|
||||||
"miscdelitems" => "Are you sure you want to delete these \"+num+\" item(s)?",
|
|
||||||
"miscdeluser" => "Are you sure you want to delete user '\"+user+\"'?",
|
|
||||||
"miscnopassdiff" => "New password doesn't differ from current.",
|
|
||||||
"miscnopassmatch" => "Passwords don't match.",
|
|
||||||
"miscfieldmissed" => "You missed an important field.",
|
|
||||||
"miscnouserpass" => "Username or password incorrect.",
|
|
||||||
"miscselfremove" => "You can't remove yourself.",
|
|
||||||
"miscuserexist" => "User already exists.",
|
|
||||||
"miscnofinduser" => "Can't find user.",
|
|
||||||
);
|
|
||||||
$GLOBALS["messages"] = array(
|
|
||||||
// links
|
|
||||||
"permlink" => "CHANGE PERMISSIONS",
|
|
||||||
"editlink" => "EDIT",
|
|
||||||
"downlink" => "DOWNLOAD",
|
|
||||||
"uplink" => "UP",
|
|
||||||
"homelink" => "HOME",
|
|
||||||
"reloadlink" => "RELOAD",
|
|
||||||
"copylink" => "COPY",
|
|
||||||
"movelink" => "MOVE",
|
|
||||||
"dellink" => "DELETE",
|
|
||||||
"comprlink" => "ARCHIVE",
|
|
||||||
"adminlink" => "ADMIN",
|
|
||||||
"logoutlink" => "LOGOUT",
|
|
||||||
"uploadlink" => "UPLOAD",
|
|
||||||
"searchlink" => "SEARCH",
|
|
||||||
|
|
||||||
// list
|
|
||||||
"nameheader" => "Name",
|
|
||||||
"sizeheader" => "Size",
|
|
||||||
"typeheader" => "Type",
|
|
||||||
"modifheader" => "Modified",
|
|
||||||
"permheader" => "Perm's",
|
|
||||||
"actionheader" => "Actions",
|
|
||||||
"pathheader" => "Path",
|
|
||||||
|
|
||||||
// buttons
|
|
||||||
"btncancel" => "Cancel",
|
|
||||||
"btnsave" => "Save",
|
|
||||||
"btnchange" => "Change",
|
|
||||||
"btnreset" => "Reset",
|
|
||||||
"btnclose" => "Close",
|
|
||||||
"btncreate" => "Create",
|
|
||||||
"btnsearch" => "Search",
|
|
||||||
"btnupload" => "Upload",
|
|
||||||
"btncopy" => "Copy",
|
|
||||||
"btnmove" => "Move",
|
|
||||||
"btnlogin" => "Login",
|
|
||||||
"btnlogout" => "Logout",
|
|
||||||
"btnadd" => "Add",
|
|
||||||
"btnedit" => "Edit",
|
|
||||||
"btnremove" => "Remove",
|
|
||||||
|
|
||||||
// actions
|
|
||||||
"actdir" => "Directory",
|
|
||||||
"actperms" => "Change permissions",
|
|
||||||
"actedit" => "Edit file",
|
|
||||||
"actsearchresults" => "Search results",
|
|
||||||
"actcopyitems" => "Copy item(s)",
|
|
||||||
"actcopyfrom" => "Copy from /%s to /%s ",
|
|
||||||
"actmoveitems" => "Move item(s)",
|
|
||||||
"actmovefrom" => "Move from /%s to /%s ",
|
|
||||||
"actlogin" => "Login",
|
|
||||||
"actloginheader" => "Login to use QuiXplorer",
|
|
||||||
"actadmin" => "Administration",
|
|
||||||
"actchpwd" => "Change password",
|
|
||||||
"actusers" => "Users",
|
|
||||||
"actarchive" => "Archive item(s)",
|
|
||||||
"actupload" => "Upload file(s)",
|
|
||||||
|
|
||||||
// misc
|
|
||||||
"miscitems" => "Item(s)",
|
|
||||||
"miscfree" => "Free",
|
|
||||||
"miscusername" => "Username",
|
|
||||||
"miscpassword" => "Password",
|
|
||||||
"miscoldpass" => "Old password",
|
|
||||||
"miscnewpass" => "New password",
|
|
||||||
"miscconfpass" => "Confirm password",
|
|
||||||
"miscconfnewpass" => "Confirm new password",
|
|
||||||
"miscchpass" => "Change password",
|
|
||||||
"mischomedir" => "Home directory",
|
|
||||||
"mischomeurl" => "Home URL",
|
|
||||||
"miscshowhidden" => "Show hidden items",
|
|
||||||
"mischidepattern" => "Hide pattern",
|
|
||||||
"miscperms" => "Permissions",
|
|
||||||
"miscuseritems" => "(name, home directory, show hidden items, permissions, active)",
|
|
||||||
"miscadduser" => "add user",
|
|
||||||
"miscedituser" => "edit user '%s'",
|
|
||||||
"miscactive" => "Active",
|
|
||||||
"misclang" => "Language",
|
|
||||||
"miscnoresult" => "No results available.",
|
|
||||||
"miscsubdirs" => "Search subdirectories",
|
|
||||||
"miscpermnames" => array("View only","Modify","Change password","Modify & Change password",
|
|
||||||
"Administrator"),
|
|
||||||
"miscyesno" => array("Yes","No","Y","N"),
|
|
||||||
"miscchmod" => array("Owner", "Group", "Public"),
|
|
||||||
);
|
|
||||||
?>
|
|
@ -1,60 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
// English Mimes Module for v2.3 (translated by the QuiX project)
|
|
||||||
|
|
||||||
$GLOBALS["mimes"]=array(
|
|
||||||
// dir, exe, file
|
|
||||||
"dir" => "Directory",
|
|
||||||
"exe" => "Executable File",
|
|
||||||
"file" => "File",
|
|
||||||
|
|
||||||
// text
|
|
||||||
"text" => "Text File",
|
|
||||||
|
|
||||||
// programming
|
|
||||||
"php" => "PHP Script",
|
|
||||||
"sql" => "SQL File",
|
|
||||||
"perl" => "PERL Script",
|
|
||||||
"html" => "HTML Page",
|
|
||||||
"js" => "Javascript File",
|
|
||||||
"css" => "CSS File",
|
|
||||||
"cgi" => "CGI Script",
|
|
||||||
// C++
|
|
||||||
"cpps" => "C++ Source File",
|
|
||||||
"cpph" => "C++ Header File",
|
|
||||||
// Java
|
|
||||||
"javas" => "Java Source File",
|
|
||||||
"javac" => "Java Class File",
|
|
||||||
// Pascal
|
|
||||||
"pas" => "Pascal File",
|
|
||||||
|
|
||||||
// images
|
|
||||||
"gif" => "GIF Picture",
|
|
||||||
"jpg" => "JPG Picture",
|
|
||||||
"bmp" => "BMP Picture",
|
|
||||||
"png" => "PNG Picture",
|
|
||||||
|
|
||||||
// compressed
|
|
||||||
"zip" => "ZIP Archive",
|
|
||||||
"tar" => "TAR Archive",
|
|
||||||
"gzip" => "GZIP Archive",
|
|
||||||
"bzip2" => "BZIP2 Archive",
|
|
||||||
"rar" => "RAR Archive",
|
|
||||||
|
|
||||||
// music
|
|
||||||
"mp3" => "MP3 Audio File",
|
|
||||||
"wav" => "WAV Audio File",
|
|
||||||
"midi" => "MIDI Audio File",
|
|
||||||
"real" => "RealAudio File",
|
|
||||||
|
|
||||||
// movie
|
|
||||||
"mpg" => "MPG Video File",
|
|
||||||
"mov" => "Movie File",
|
|
||||||
"avi" => "AVI Video File",
|
|
||||||
"flash" => "Flash Movie File",
|
|
||||||
|
|
||||||
// Micosoft / Adobe
|
|
||||||
"word" => "Word Document",
|
|
||||||
"excel" => "Excel Document",
|
|
||||||
"pdf" => "PDF File"
|
|
||||||
); ?>
|
|
@ -1,157 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
// Spanish Language Module for v2.3 (translated by J. Pedro Flor P.)
|
|
||||||
|
|
||||||
$GLOBALS["charset"] = "iso-8859-1";
|
|
||||||
$GLOBALS["text_dir"] = "ltr"; // ('ltr' for left to right, 'rtl' for right to left)
|
|
||||||
$GLOBALS["date_fmt"] = "Y/m/d H:i";
|
|
||||||
$GLOBALS["error_msg"] = array(
|
|
||||||
// error
|
|
||||||
"error" => "ERROR(ES)",
|
|
||||||
"back" => "Ir Atrás",
|
|
||||||
|
|
||||||
// root
|
|
||||||
"home" => "El directorio home no existe, revise su configuración.",
|
|
||||||
"abovehome" => "El directorio actual no puede estar arriba del directorio home.",
|
|
||||||
"targetabovehome" => "El directorio objetivo no puede estar arriba del directorio home.",
|
|
||||||
|
|
||||||
// exist
|
|
||||||
"direxist" => "Este directorio no existe.",
|
|
||||||
//"filedoesexist" => "Este archivo ya existe.",
|
|
||||||
"fileexist" => "Este archivo no existe.",
|
|
||||||
"itemdoesexist" => "Este artículo ya existe.",
|
|
||||||
"itemexist" => "Este artículo no existe.",
|
|
||||||
"targetexist" => "El directorio objetivo no existe.",
|
|
||||||
"targetdoesexist" => "El artículo objetivo ya existe.",
|
|
||||||
|
|
||||||
// open
|
|
||||||
"opendir" => "Incapaz de abrir directorio.",
|
|
||||||
"readdir" => "Incapaz de leer directorio.",
|
|
||||||
|
|
||||||
// access
|
|
||||||
"accessdir" => "Ud. no está permitido accesar este directorio.",
|
|
||||||
"accessfile" => "Ud. no está permitido accesar a este archivo.",
|
|
||||||
"accessitem" => "Ud. no está permitido accesar a este artículo.",
|
|
||||||
"accessfunc" => "Ud. no está permitido usar esta funcion.",
|
|
||||||
"accesstarget" => "Ud. no está permitido accesar al directorio objetivo.",
|
|
||||||
|
|
||||||
// actions
|
|
||||||
"permread" => "Fracaso reuniendo permisos.",
|
|
||||||
"permchange" => "Fracaso en Cambio de permisos.",
|
|
||||||
"openfile" => "Fracaso abriendo archivo.",
|
|
||||||
"savefile" => "Fracaso guardando archivo.",
|
|
||||||
"createfile" => "Fracaso creando archivo.",
|
|
||||||
"createdir" => "Fracaso creando Directorio.",
|
|
||||||
"uploadfile" => "Fracaso subiendo archivo.",
|
|
||||||
"copyitem" => "Fracaso Copiando.",
|
|
||||||
"moveitem" => "Fracaso Moviendo.",
|
|
||||||
"delitem" => "Fracaso Borrando.",
|
|
||||||
"chpass" => "Fracaso Cambiando password.",
|
|
||||||
"deluser" => "Fracaso Removiendo usuario.",
|
|
||||||
"adduser" => "Fracaso Agragando usuario.",
|
|
||||||
"saveuser" => "Fracaso Guardadno usuario.",
|
|
||||||
"searchnothing" => "Ud. debe suministrar algo para la busqueda.",
|
|
||||||
|
|
||||||
// misc
|
|
||||||
"miscnofunc" => "Función no disponible.",
|
|
||||||
"miscfilesize" => "Archivo excede maximo tamaño.",
|
|
||||||
"miscfilepart" => "Archivo fue parcialmente subido.",
|
|
||||||
"miscnoname" => "Ud. debe suministrar un nombre.",
|
|
||||||
"miscselitems" => "Ud. no tiene seleccionado(s) ningun artículo.",
|
|
||||||
"miscdelitems" => "Está seguro de querer borrar este(os) \"+num+\" artículo(s)?",
|
|
||||||
"miscdeluser" => "Está seguro de querer borrar usuario '\"+user+\"'?",
|
|
||||||
"miscnopassdiff" => "Nuevo password no difiere del actual.",
|
|
||||||
"miscnopassmatch" => "No coinciden los Passwords.",
|
|
||||||
"miscfieldmissed" => "Ud. falló en un importante campo.",
|
|
||||||
"miscnouserpass" => "Usuario o password incorrecto.",
|
|
||||||
"miscselfremove" => "Ud. no puede borrarse a si mismo.",
|
|
||||||
"miscuserexist" => "Usuario ya existe.",
|
|
||||||
"miscnofinduser" => "No se puede encontrar usuario.",
|
|
||||||
);
|
|
||||||
$GLOBALS["messages"] = array(
|
|
||||||
// links
|
|
||||||
"permlink" => "PORMISOS CAMBIADOS",
|
|
||||||
"editlink" => "EDITAR",
|
|
||||||
"downlink" => "DESCARGAR",
|
|
||||||
"uplink" => "ARRIBA",
|
|
||||||
"homelink" => "HOME",
|
|
||||||
"reloadlink" => "RECARGAR",
|
|
||||||
"copylink" => "COPIAR",
|
|
||||||
"movelink" => "MOVER",
|
|
||||||
"dellink" => "BORRAR",
|
|
||||||
"comprlink" => "ARCHIVAR",
|
|
||||||
"adminlink" => "ADMINISTRAR",
|
|
||||||
"logoutlink" => "SALIR",
|
|
||||||
"uploadlink" => "SUBIR",
|
|
||||||
"searchlink" => "BÚSQUEDA",
|
|
||||||
|
|
||||||
// list
|
|
||||||
"nameheader" => "Nombre",
|
|
||||||
"sizeheader" => "Tamaño",
|
|
||||||
"typeheader" => "Tipo",
|
|
||||||
"modifheader" => "Modificado",
|
|
||||||
"permheader" => "Permisos",
|
|
||||||
"actionheader" => "Acciones",
|
|
||||||
"pathheader" => "Ruta",
|
|
||||||
|
|
||||||
// buttons
|
|
||||||
"btncancel" => "Cancelar",
|
|
||||||
"btnsave" => "Grabar",
|
|
||||||
"btnchange" => "Cambiar",
|
|
||||||
"btnreset" => "Restablecer",
|
|
||||||
"btnclose" => "Cerrar",
|
|
||||||
"btncreate" => "Crear",
|
|
||||||
"btnsearch" => "Buscar",
|
|
||||||
"btnupload" => "Subir",
|
|
||||||
"btncopy" => "Copiar",
|
|
||||||
"btnmove" => "Mover",
|
|
||||||
"btnlogin" => "Login",
|
|
||||||
"btnlogout" => "Salir",
|
|
||||||
"btnadd" => "Añadir",
|
|
||||||
"btnedit" => "Editar",
|
|
||||||
"btnremove" => "Remover",
|
|
||||||
|
|
||||||
// actions
|
|
||||||
"actdir" => "Directorio",
|
|
||||||
"actperms" => "Cambiar permisos",
|
|
||||||
"actedit" => "Editar archivo",
|
|
||||||
"actsearchresults" => "Resultado de busqueda.",
|
|
||||||
"actcopyitems" => "Copiar artículos(s)",
|
|
||||||
"actcopyfrom" => "Copia de /%s a /%s ",
|
|
||||||
"actmoveitems" => "Mover artículo(s)",
|
|
||||||
"actmovefrom" => "Mover de /%s a /%s ",
|
|
||||||
"actlogin" => "Login",
|
|
||||||
"actloginheader" => "Login para usar QuiXplorer",
|
|
||||||
"actadmin" => "Administración",
|
|
||||||
"actchpwd" => "Cambiar password",
|
|
||||||
"actusers" => "Usuarios",
|
|
||||||
"actarchive" => "Archivar item(s)",
|
|
||||||
"actupload" => "Subir Archivo(s)",
|
|
||||||
|
|
||||||
// misc
|
|
||||||
"miscitems" => "Artículo(s)",
|
|
||||||
"miscfree" => "Libre",
|
|
||||||
"miscusername" => "Nombre de usuario",
|
|
||||||
"miscpassword" => "Password",
|
|
||||||
"miscoldpass" => "Password Antiguo",
|
|
||||||
"miscnewpass" => "Password Nuevo",
|
|
||||||
"miscconfpass" => "Confirmar password",
|
|
||||||
"miscconfnewpass" => "Confirmar nuevo password",
|
|
||||||
"miscchpass" => "Cambiar password",
|
|
||||||
"mischomedir" => "Directorio Home",
|
|
||||||
"mischomeurl" => "URL Home",
|
|
||||||
"miscshowhidden" => "Mostrar artículos ocultos",
|
|
||||||
"mischidepattern" => "Ocultar patrón",
|
|
||||||
"miscperms" => "Permisos",
|
|
||||||
"miscuseritems" => "(nombre, directorio home, mostrar artículos ocultos, permisos, activar)",
|
|
||||||
"miscadduser" => "añadir usuario",
|
|
||||||
"miscedituser" => "editar usario '%s'",
|
|
||||||
"miscactive" => "Activar",
|
|
||||||
"misclang" => "Lenguaje",
|
|
||||||
"miscnoresult" => "Resultado(s) no disponible(s).",
|
|
||||||
"miscsubdirs" => "Búsqueda de subdirectorios",
|
|
||||||
"miscpermnames" => array("Solo ver","Modificar","Cambiar password","Modificar & Cambiar password", "Administrador"),
|
|
||||||
"miscyesno" => array("Si","No","S","N"),
|
|
||||||
"miscchmod" => array("Propietario", "Grupo", "Público"),
|
|
||||||
);
|
|
||||||
?>
|
|
@ -1,60 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
// Spanish Mimes Module for v2.3 (translated by J. Pedro Flor P.)
|
|
||||||
|
|
||||||
$GLOBALS["mimes"]=array(
|
|
||||||
// dir, exe, file
|
|
||||||
"dir" => "Directorio",
|
|
||||||
"exe" => "Archivo Ejecutable",
|
|
||||||
"file" => "Archivo",
|
|
||||||
|
|
||||||
// text
|
|
||||||
"text" => "Archivo de Texto",
|
|
||||||
|
|
||||||
// programming
|
|
||||||
"php" => "Script PHP",
|
|
||||||
"sql" => "Archivo SQL",
|
|
||||||
"perl" => "Script PERL",
|
|
||||||
"html" => "Pagina HTML",
|
|
||||||
"js" => "Archivo Javascript",
|
|
||||||
"css" => "Archivo CSS",
|
|
||||||
"cgi" => "Script CGI",
|
|
||||||
// C++
|
|
||||||
"cpps" => "Archivo C++ Source",
|
|
||||||
"cpph" => "Archivo C++ Header",
|
|
||||||
// Java
|
|
||||||
"javas" => "Archivo Java Source",
|
|
||||||
"javac" => "Archivo Java Class",
|
|
||||||
// Pascal
|
|
||||||
"pas" => "Archivo Pascal",
|
|
||||||
|
|
||||||
// images
|
|
||||||
"gif" => "Imagen GIF",
|
|
||||||
"jpg" => "Imagen JPG",
|
|
||||||
"bmp" => "Imagen BMP",
|
|
||||||
"png" => "Imagen PNG",
|
|
||||||
|
|
||||||
// compressed
|
|
||||||
"zip" => "Archivo ZIP",
|
|
||||||
"tar" => "Archivo TAR",
|
|
||||||
"gzip" => "Archivo GZIP",
|
|
||||||
"bzip2" => "Archivo BZIP2",
|
|
||||||
"rar" => "Archivo RAR",
|
|
||||||
|
|
||||||
// music
|
|
||||||
"mp3" => "Archivo MP3 Audio",
|
|
||||||
"wav" => "Archivo WAV Audio",
|
|
||||||
"midi" => "Archivo MIDI Audio",
|
|
||||||
"real" => "Archivo RealAudio",
|
|
||||||
|
|
||||||
// movie
|
|
||||||
"mpg" => "Archivo MPG Video",
|
|
||||||
"mov" => "Archivo Movie",
|
|
||||||
"avi" => "Archivo AVI Video",
|
|
||||||
"flash" => "Archivo Flash Movie",
|
|
||||||
|
|
||||||
// Micosoft / Adobe
|
|
||||||
"word" => "Documento Word",
|
|
||||||
"excel" => "Documento Excel",
|
|
||||||
"pdf" => "Archivo PDF"
|
|
||||||
); ?>
|
|
@ -1,158 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
// French Language Module for v2.3 (translated by Olivier Pariseau & the QuiX project)
|
|
||||||
|
|
||||||
$GLOBALS["charset"] = "iso-8859-1";
|
|
||||||
$GLOBALS["text_dir"] = "ltr"; // ('ltr' for left to right, 'rtl' for right to left)
|
|
||||||
$GLOBALS["date_fmt"] = "d/m/Y H:i";
|
|
||||||
$GLOBALS["error_msg"] = array(
|
|
||||||
// error
|
|
||||||
"error" => "ERREUR(S)",
|
|
||||||
"back" => "Page précédente",
|
|
||||||
|
|
||||||
// root
|
|
||||||
"home" => "Le répertoire home n'existe pas, vérifiez vos préférences.",
|
|
||||||
"abovehome" => "Le répertoire courant n'a pas l'air d'etre au-dessus du répertoire home.",
|
|
||||||
"targetabovehome" => "Le répertoire cible n'a pas l'air d'etre au-dessus du répertoire home.",
|
|
||||||
|
|
||||||
// exist
|
|
||||||
"direxist" => "Ce répertoire n'existe pas.",
|
|
||||||
//"filedoesexist" => "Ce fichier existe deja.",
|
|
||||||
"fileexist" => "Ce fichier n'existe pas.",
|
|
||||||
"itemdoesexist" => "Cet item existe deja.",
|
|
||||||
"itemexist" => "Cet item n'existe pas.",
|
|
||||||
"targetexist" => "Le répertoire cible n'existe pas.",
|
|
||||||
"targetdoesexist" => "L'item cible existe deja.",
|
|
||||||
|
|
||||||
// open
|
|
||||||
"opendir" => "Impossible d'ouvrir le répertoire.",
|
|
||||||
"readdir" => "Impossible de lire le répertoire.",
|
|
||||||
|
|
||||||
// access
|
|
||||||
"accessdir" => "Vous n'etes pas autorisé a acceder a ce répertoire.",
|
|
||||||
"accessfile" => "Vous n'etes pas autorisé a accéder a ce fichier.",
|
|
||||||
"accessitem" => "Vous n'etes pas autorisé a accéder a cet item.",
|
|
||||||
"accessfunc" => "Vous ne pouvez pas utiliser cette fonction.",
|
|
||||||
"accesstarget" => "Vous n'etes pas autorisé a accéder au repertoire cible.",
|
|
||||||
|
|
||||||
// actions
|
|
||||||
"permread" => "Lecture des permissions échouée.",
|
|
||||||
"permchange" => "Changement des permissions échoué.",
|
|
||||||
"openfile" => "Ouverture du fichier échouée.",
|
|
||||||
"savefile" => "Sauvegarde du fichier échouée.",
|
|
||||||
"createfile" => "Création du fichier échouée.",
|
|
||||||
"createdir" => "Création du répertoire échouée.",
|
|
||||||
"uploadfile" => "Envoie du fichier échoué.",
|
|
||||||
"copyitem" => "La copie a échouée.",
|
|
||||||
"moveitem" => "Le déplacement a échoué.",
|
|
||||||
"delitem" => "La supression a échouée.",
|
|
||||||
"chpass" => "Le changement de mot de passe a échoué.",
|
|
||||||
"deluser" => "La supression de l'usager a échouée.",
|
|
||||||
"adduser" => "L'ajout de l'usager a échouée.",
|
|
||||||
"saveuser" => "La sauvegarde de l'usager a échouée.",
|
|
||||||
"searchnothing" => "Vous devez entrez quelquechose à chercher.",
|
|
||||||
|
|
||||||
// misc
|
|
||||||
"miscnofunc" => "Fonctionalité non disponible.",
|
|
||||||
"miscfilesize" => "La taille du fichier excède la taille maximale autorisée.",
|
|
||||||
"miscfilepart" => "L'envoi du fichier n'a pas été complété.",
|
|
||||||
"miscnoname" => "Vous devez entrer un nom.",
|
|
||||||
"miscselitems" => "Vous n'avez sélectionné aucuns item(s).",
|
|
||||||
"miscdelitems" => "Êtes-vous certain de vouloir supprimer ces \"+num+\" item(s)?",
|
|
||||||
"miscdeluser" => "Êtes-vous certain de vouloir supprimer l'usager '\"+user+\"'?",
|
|
||||||
"miscnopassdiff" => "Le nouveau mot de passe est indentique au précédent.",
|
|
||||||
"miscnopassmatch" => "Les mots de passe diffèrent.",
|
|
||||||
"miscfieldmissed" => "Un champs requis n'a pas été rempli.",
|
|
||||||
"miscnouserpass" => "Nom d'usager ou mot de passe invalide.",
|
|
||||||
"miscselfremove" => "Vous ne pouvez pas supprimer votre compte.",
|
|
||||||
"miscuserexist" => "Ce nom d'usager existe déjà.",
|
|
||||||
"miscnofinduser" => "Usager non trouvé.",
|
|
||||||
);
|
|
||||||
$GLOBALS["messages"] = array(
|
|
||||||
// links
|
|
||||||
"permlink" => "CHANGER LES PERMISSIONS",
|
|
||||||
"editlink" => "ÉDITER",
|
|
||||||
"downlink" => "TÉLÉCHARGER",
|
|
||||||
"uplink" => "PARENT",
|
|
||||||
"homelink" => "HOME",
|
|
||||||
"reloadlink" => "RAFRAÎCHIR",
|
|
||||||
"copylink" => "COPIER",
|
|
||||||
"movelink" => "DÉPLACER",
|
|
||||||
"dellink" => "SUPPRIMER",
|
|
||||||
"comprlink" => "ARCHIVER",
|
|
||||||
"adminlink" => "ADMINISTRATION",
|
|
||||||
"logoutlink" => "DÉCONNECTER",
|
|
||||||
"uploadlink" => "ENVOYER",
|
|
||||||
"searchlink" => "RECHERCHER",
|
|
||||||
|
|
||||||
// list
|
|
||||||
"nameheader" => "Nom",
|
|
||||||
"sizeheader" => "Taille",
|
|
||||||
"typeheader" => "Type",
|
|
||||||
"modifheader" => "Modifié",
|
|
||||||
"permheader" => "Perm's",
|
|
||||||
"actionheader" => "Actions",
|
|
||||||
"pathheader" => "Chemin",
|
|
||||||
|
|
||||||
// buttons
|
|
||||||
"btncancel" => "Annuler",
|
|
||||||
"btnsave" => "Sauver",
|
|
||||||
"btnchange" => "Changer",
|
|
||||||
"btnreset" => "Réinitialiser",
|
|
||||||
"btnclose" => "Fermer",
|
|
||||||
"btncreate" => "Créer",
|
|
||||||
"btnsearch" => "Chercher",
|
|
||||||
"btnupload" => "Envoyer",
|
|
||||||
"btncopy" => "Copier",
|
|
||||||
"btnmove" => "Déplacer",
|
|
||||||
"btnlogin" => "Connecter",
|
|
||||||
"btnlogout" => "Déconnecter",
|
|
||||||
"btnadd" => "Ajouter",
|
|
||||||
"btnedit" => "Éditer",
|
|
||||||
"btnremove" => "Supprimer",
|
|
||||||
|
|
||||||
// actions
|
|
||||||
"actdir" => "Répertoire",
|
|
||||||
"actperms" => "Changer les permissions",
|
|
||||||
"actedit" => "Éditer le fichier",
|
|
||||||
"actsearchresults" => "Résultats de la recherche",
|
|
||||||
"actcopyitems" => "Copier le(s) item(s)",
|
|
||||||
"actcopyfrom" => "Copier de /%s à /%s ",
|
|
||||||
"actmoveitems" => "Déplacer le(s) item(s)",
|
|
||||||
"actmovefrom" => "Déplacer de /%s à /%s ",
|
|
||||||
"actlogin" => "Connecter",
|
|
||||||
"actloginheader" => "Connecter pour utiliser QuiXplorer",
|
|
||||||
"actadmin" => "Administration",
|
|
||||||
"actchpwd" => "Changer le mot de passe",
|
|
||||||
"actusers" => "Usagers",
|
|
||||||
"actarchive" => "Archiver le(s) item(s)",
|
|
||||||
"actupload" => "Envoyer le(s) fichier(s)",
|
|
||||||
|
|
||||||
// misc
|
|
||||||
"miscitems" => "Item(s)",
|
|
||||||
"miscfree" => "Disponible",
|
|
||||||
"miscusername" => "Usager",
|
|
||||||
"miscpassword" => "Mot de passe",
|
|
||||||
"miscoldpass" => "Ancien mot de passe",
|
|
||||||
"miscnewpass" => "Nouveau mot de passe",
|
|
||||||
"miscconfpass" => "Confirmer le mot de passe",
|
|
||||||
"miscconfnewpass" => "Confirmer le nouveau mot de passe",
|
|
||||||
"miscchpass" => "Changer le mot de passe",
|
|
||||||
"mischomedir" => "Répertoire home",
|
|
||||||
"mischomeurl" => "URL home",
|
|
||||||
"miscshowhidden" => "Voir les items cachés",
|
|
||||||
"mischidepattern" => "Cacher pattern",
|
|
||||||
"miscperms" => "Permissions",
|
|
||||||
"miscuseritems" => "(nom, répertoire home, Voir les items cachés, permissions, actif)",
|
|
||||||
"miscadduser" => "ajouter un usager",
|
|
||||||
"miscedituser" => "editer l'usager '%s'",
|
|
||||||
"miscactive" => "Actif",
|
|
||||||
"misclang" => "Langage",
|
|
||||||
"miscnoresult" => "Aucun résultats.",
|
|
||||||
"miscsubdirs" => "Rechercher dans les sous-répertoires",
|
|
||||||
"miscpermnames" => array("Lecture seulement","Modifier","Changement le mot de passe","Modifier & Changer le mot de passe",
|
|
||||||
"Administrateur"),
|
|
||||||
"miscyesno" => array("Oui","Non","O","N"),
|
|
||||||
"miscchmod" => array("Propriétaire", "Groupe", "Publique"),
|
|
||||||
);
|
|
||||||
?>
|
|
@ -1,60 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
// French Mimes Module for v2.3 (translated by Olivier Pariseau)
|
|
||||||
|
|
||||||
$GLOBALS["mimes"]=array(
|
|
||||||
// dir, exe, file
|
|
||||||
"dir" => "Répertoire",
|
|
||||||
"exe" => "Exécutable",
|
|
||||||
"file" => "Fichier",
|
|
||||||
|
|
||||||
// text
|
|
||||||
"text" => "Fichier texte",
|
|
||||||
|
|
||||||
// programming
|
|
||||||
"php" => "Script PHP",
|
|
||||||
"sql" => "Fichier SQL",
|
|
||||||
"perl" => "Script PERL",
|
|
||||||
"html" => "Page HTML",
|
|
||||||
"js" => "Fichier Javascript",
|
|
||||||
"css" => "Fichier CSS",
|
|
||||||
"cgi" => "Script CGI",
|
|
||||||
// C++
|
|
||||||
"cpps" => "Fichier source C++",
|
|
||||||
"cpph" => "Fichier source C++",
|
|
||||||
// Java
|
|
||||||
"javas" => "Fichier source Java",
|
|
||||||
"javac" => "Fichier classe Java",
|
|
||||||
// Pascal
|
|
||||||
"pas" => "Fichie Pascal",
|
|
||||||
|
|
||||||
// images
|
|
||||||
"gif" => "Image GIF",
|
|
||||||
"jpg" => "Image JPG",
|
|
||||||
"bmp" => "Image BMP",
|
|
||||||
"png" => "Image PNG",
|
|
||||||
|
|
||||||
// compressed
|
|
||||||
"zip" => "Archive ZIP",
|
|
||||||
"tar" => "Archive TAR",
|
|
||||||
"gzip" => "Archive GZIP",
|
|
||||||
"bzip2" => "Archive BZIP2",
|
|
||||||
"rar" => "Archive RAR",
|
|
||||||
|
|
||||||
// music
|
|
||||||
"mp3" => "Fichier audio MP3",
|
|
||||||
"wav" => "Fichier audio WAV",
|
|
||||||
"midi" => "Fichier audio MIDI",
|
|
||||||
"real" => "Fichier RealAudio",
|
|
||||||
|
|
||||||
// movie
|
|
||||||
"mpg" => "Fichier vidéo MPG",
|
|
||||||
"mov" => "Fichier Vidéo",
|
|
||||||
"avi" => "Fichier vidéo AVI",
|
|
||||||
"flash" => "Fichier vidéo Flash",
|
|
||||||
|
|
||||||
// Micosoft / Adobe
|
|
||||||
"word" => "Document Word",
|
|
||||||
"excel" => "Document Excel",
|
|
||||||
"pdf" => "Fichier PDF"
|
|
||||||
); ?>
|
|
@ -1,158 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
// Dutch Language Module for v2.3 (translated by the QuiX project)
|
|
||||||
|
|
||||||
$GLOBALS["charset"] = "iso-8859-1";
|
|
||||||
$GLOBALS["text_dir"] = "ltr"; // ('ltr' for left to right, 'rtl' for right to left)
|
|
||||||
$GLOBALS["date_fmt"] = "d-m-Y H:i";
|
|
||||||
$GLOBALS["error_msg"] = array(
|
|
||||||
// error
|
|
||||||
"error" => "FOUT(EN)",
|
|
||||||
"back" => "Ga Terug",
|
|
||||||
|
|
||||||
// root
|
|
||||||
"home" => "De thuis map bestaat niet, controleer uw instellingen.",
|
|
||||||
"abovehome" => "De huidige map mag niet hoger liggen dan de thuis map.",
|
|
||||||
"targetabovehome" => "De doel map mag niet hoger liggen dan de thuis map.",
|
|
||||||
|
|
||||||
// exist
|
|
||||||
"direxist" => "Deze map bestaat niet.",
|
|
||||||
//"filedoesexist" => "Dit bestand bestaat al.",
|
|
||||||
"fileexist" => "Dit bestand bestaat niet.",
|
|
||||||
"itemdoesexist" => "Dit item bestaat al.",
|
|
||||||
"itemexist" => "Dit item bestaat niet.",
|
|
||||||
"targetexist" => "De doel map bestaat niet.",
|
|
||||||
"targetdoesexist" => "Het doel item bestaat al.",
|
|
||||||
|
|
||||||
// open
|
|
||||||
"opendir" => "Kan map niet openen.",
|
|
||||||
"readdir" => "Kan map niet lezen.",
|
|
||||||
|
|
||||||
// access
|
|
||||||
"accessdir" => "U hebt geen toegang tot deze map.",
|
|
||||||
"accessfile" => "U hebt geen toegang tot dit bestand.",
|
|
||||||
"accessitem" => "U hebt geen toegang tot dit item.",
|
|
||||||
"accessfunc" => "U hebt geen rechten deze functie te gebruiken.",
|
|
||||||
"accesstarget" => "U hebt geen toegang tot de doel map.",
|
|
||||||
|
|
||||||
// actions
|
|
||||||
"permread" => "Rechten opvragen mislukt.",
|
|
||||||
"permchange" => "Rechten wijzigen mislukt.",
|
|
||||||
"openfile" => "Bestand openen mislukt.",
|
|
||||||
"savefile" => "Bestand opslaan mislukt.",
|
|
||||||
"createfile" => "Bestand maken mislukt.",
|
|
||||||
"createdir" => "Map maken mislukt.",
|
|
||||||
"uploadfile" => "Bestand uploaden mislukt.",
|
|
||||||
"copyitem" => "Kopiëren mislukt.",
|
|
||||||
"moveitem" => "Verplaatsen mislukt.",
|
|
||||||
"delitem" => "Verwijderen mislukt.",
|
|
||||||
"chpass" => "Wachtwoord wijzigen mislukt.",
|
|
||||||
"deluser" => "Gebruiker verwijderen mislukt.",
|
|
||||||
"adduser" => "Gebruiker toevoegen mislukt.",
|
|
||||||
"saveuser" => "Gebruiker opslaan mislukt.",
|
|
||||||
"searchnothing" => "U moet iets te zoeken opgeven.",
|
|
||||||
|
|
||||||
// misc
|
|
||||||
"miscnofunc" => "Functie niet beschikbaar.",
|
|
||||||
"miscfilesize" => "Bestand is groter dan de maximum grootte.",
|
|
||||||
"miscfilepart" => "Bestand is maar gedeeltelijk geupload.",
|
|
||||||
"miscnoname" => "U moet een naam opgeven.",
|
|
||||||
"miscselitems" => "U hebt geen item(s) geselecteerd.",
|
|
||||||
"miscdelitems" => "Weet u zeker dat u deze \"+num+\" item(s) wilt verwijderen?",
|
|
||||||
"miscdeluser" => "Weet u zeker dat u gebruiker '\"+user+\"' wilt verwijderen?",
|
|
||||||
"miscnopassdiff" => "Het nieuwe wachtwoord verschilt niet van het huidige.",
|
|
||||||
"miscnopassmatch" => "Wachtwoorden komen niet overeen.",
|
|
||||||
"miscfieldmissed" => "U bent een belangrijk veld vergeten in te vullen.",
|
|
||||||
"miscnouserpass" => "Gebruiker of wachtwoord onjuist.",
|
|
||||||
"miscselfremove" => "U kunt zichzelf niet verwijderen.",
|
|
||||||
"miscuserexist" => "De gebruiker bestaat al.",
|
|
||||||
"miscnofinduser" => "Kan gebruiker niet vinden.",
|
|
||||||
);
|
|
||||||
$GLOBALS["messages"] = array(
|
|
||||||
// links
|
|
||||||
"permlink" => "RECHTEN WIJZIGEN",
|
|
||||||
"editlink" => "BEWERKEN",
|
|
||||||
"downlink" => "DOWNLOADEN",
|
|
||||||
"uplink" => "OMHOOG",
|
|
||||||
"homelink" => "THUIS",
|
|
||||||
"reloadlink" => "VERNIEUWEN",
|
|
||||||
"copylink" => "KOPIËREN",
|
|
||||||
"movelink" => "VERPLAATSEN",
|
|
||||||
"dellink" => "VERWIJDEREN",
|
|
||||||
"comprlink" => "ARCHIVEREN",
|
|
||||||
"adminlink" => "BEHEER",
|
|
||||||
"logoutlink" => "AFMELDEN",
|
|
||||||
"uploadlink" => "UPLOADEN",
|
|
||||||
"searchlink" => "ZOEKEN",
|
|
||||||
|
|
||||||
// list
|
|
||||||
"nameheader" => "Naam",
|
|
||||||
"sizeheader" => "Grootte",
|
|
||||||
"typeheader" => "Type",
|
|
||||||
"modifheader" => "Gewijzigd",
|
|
||||||
"permheader" => "Rechten",
|
|
||||||
"actionheader" => "Acties",
|
|
||||||
"pathheader" => "Pad",
|
|
||||||
|
|
||||||
// buttons
|
|
||||||
"btncancel" => "Annuleren",
|
|
||||||
"btnsave" => "Opslaan",
|
|
||||||
"btnchange" => "Wijzigen",
|
|
||||||
"btnreset" => "Opnieuw",
|
|
||||||
"btnclose" => "Sluiten",
|
|
||||||
"btncreate" => "Maken",
|
|
||||||
"btnsearch" => "Zoeken",
|
|
||||||
"btnupload" => "Uploaden",
|
|
||||||
"btncopy" => "Kopiëren",
|
|
||||||
"btnmove" => "Verplaatsen",
|
|
||||||
"btnlogin" => "Aanmelden",
|
|
||||||
"btnlogout" => "Afmelden",
|
|
||||||
"btnadd" => "Toevoegen",
|
|
||||||
"btnedit" => "Bewerken",
|
|
||||||
"btnremove" => "Verwijderen",
|
|
||||||
|
|
||||||
// actions
|
|
||||||
"actdir" => "Map",
|
|
||||||
"actperms" => "Rechten wijzigen",
|
|
||||||
"actedit" => "Bestand bewerken",
|
|
||||||
"actsearchresults" => "Zoek resultaten",
|
|
||||||
"actcopyitems" => "Item(s) kopiëren",
|
|
||||||
"actcopyfrom" => "Kopieer van /%s naar /%s ",
|
|
||||||
"actmoveitems" => "Item(s) verplaatsen",
|
|
||||||
"actmovefrom" => "Verplaats van /%s naar /%s ",
|
|
||||||
"actlogin" => "Aanmelden",
|
|
||||||
"actloginheader" => "Meld u aan om QuiXplorer te gebruiken",
|
|
||||||
"actadmin" => "Beheer",
|
|
||||||
"actchpwd" => "Wachtwoord wijzigen",
|
|
||||||
"actusers" => "Gebruikers",
|
|
||||||
"actarchive" => "Item(s) archiveren",
|
|
||||||
"actupload" => "Bestand(en) uploaden",
|
|
||||||
|
|
||||||
// misc
|
|
||||||
"miscitems" => "Item(s)",
|
|
||||||
"miscfree" => "Beschikbaar",
|
|
||||||
"miscusername" => "Gebruikersnaam",
|
|
||||||
"miscpassword" => "Wachtwoord",
|
|
||||||
"miscoldpass" => "Oud wachtwoord",
|
|
||||||
"miscnewpass" => "Nieuw wachtwoord",
|
|
||||||
"miscconfpass" => "Bevestig wachtwoord",
|
|
||||||
"miscconfnewpass" => "Bevestig nieuw wachtwoord",
|
|
||||||
"miscchpass" => "Wijzig wachtwoord",
|
|
||||||
"mischomedir" => "Thuismap",
|
|
||||||
"mischomeurl" => "Thuis URL",
|
|
||||||
"miscshowhidden" => "Verborgen items weergeven",
|
|
||||||
"mischidepattern" => "Verberg patroon",
|
|
||||||
"miscperms" => "Rechten",
|
|
||||||
"miscuseritems" => "(naam, thuis map, verborgen items weergeven, rechten, geactiveerd)",
|
|
||||||
"miscadduser" => "gebruiker toevoegen",
|
|
||||||
"miscedituser" => "gebruiker '%s' bewerken",
|
|
||||||
"miscactive" => "Geactiveerd",
|
|
||||||
"misclang" => "Taal",
|
|
||||||
"miscnoresult" => "Geen resultaten beschikbaar.",
|
|
||||||
"miscsubdirs" => "Zoek in subdirectories",
|
|
||||||
"miscpermnames" => array("Alleen kijken","Wijzigen","Wachtwoord wijzigen",
|
|
||||||
"Wijzigen & Wachtwoord wijzigen","Beheerder"),
|
|
||||||
"miscyesno" => array("Ja","Nee","J","N"),
|
|
||||||
"miscchmod" => array("Eigenaar", "Groep", "Publiek"),
|
|
||||||
);
|
|
||||||
?>
|
|
@ -1,60 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
// Dutch Mimes Module for v2.3 (translated by the QuiX project)
|
|
||||||
|
|
||||||
$GLOBALS["mimes"]=array(
|
|
||||||
// dir, exe, file
|
|
||||||
"dir" => "Map",
|
|
||||||
"exe" => "Programma",
|
|
||||||
"file" => "Bestand",
|
|
||||||
|
|
||||||
// text
|
|
||||||
"text" => "Tekstbestand",
|
|
||||||
|
|
||||||
// programming
|
|
||||||
"php" => "PHP Script",
|
|
||||||
"sql" => "SQL Bestand",
|
|
||||||
"perl" => "PERL Script",
|
|
||||||
"html" => "HTML Pagina",
|
|
||||||
"js" => "Javascript Bestand",
|
|
||||||
"css" => "CSS Bestand",
|
|
||||||
"cgi" => "CGI Script",
|
|
||||||
// C++
|
|
||||||
"cpps" => "C++ Bronbestand",
|
|
||||||
"cpph" => "C++ Header Bestand",
|
|
||||||
// Java
|
|
||||||
"javas" => "Java Bronbestand",
|
|
||||||
"javac" => "Java Class Bestand",
|
|
||||||
// Pascal
|
|
||||||
"pas" => "Pascal Bestand",
|
|
||||||
|
|
||||||
// images
|
|
||||||
"gif" => "GIF Afbeelding",
|
|
||||||
"jpg" => "JPG Afbeelding",
|
|
||||||
"bmp" => "BMP Afbeelding",
|
|
||||||
"png" => "PNG Afbeelding",
|
|
||||||
|
|
||||||
// compressed
|
|
||||||
"zip" => "ZIP Archief",
|
|
||||||
"tar" => "TAR Archief",
|
|
||||||
"gzip" => "GZIP Archief",
|
|
||||||
"bzip2" => "BZIP2 Archief",
|
|
||||||
"rar" => "RAR Archief",
|
|
||||||
|
|
||||||
// music
|
|
||||||
"mp3" => "MP3 Audio Bestand",
|
|
||||||
"wav" => "WAV Audio Bestand",
|
|
||||||
"midi" => "MIDI Audio Bestand",
|
|
||||||
"real" => "RealAudio Bestand",
|
|
||||||
|
|
||||||
// movie
|
|
||||||
"mpg" => "MPG Video Bestand",
|
|
||||||
"mov" => "Movie Bestand",
|
|
||||||
"avi" => "AVI Video Bestand",
|
|
||||||
"flash" => "Flash Movie Bestand",
|
|
||||||
|
|
||||||
// Micosoft / Adobe
|
|
||||||
"word" => "Word Document",
|
|
||||||
"excel" => "Excel Document",
|
|
||||||
"pdf" => "PDF Bestand"
|
|
||||||
); ?>
|
|
@ -1,158 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
// Russian Language Module (translated by Mikhail M. Pigulsky - mikhail@mikhail.pp.ru)
|
|
||||||
|
|
||||||
$GLOBALS["charset"] = "windows-1251";
|
|
||||||
$GLOBALS["text_dir"] = "ltr"; // ('ltr' for left to right, 'rtl' for right to left)
|
|
||||||
$GLOBALS["date_fmt"] = "Y/m/d H:i";
|
|
||||||
$GLOBALS["error_msg"] = array(
|
|
||||||
// error
|
|
||||||
"error" => "ОШИБКА(И)",
|
|
||||||
"back" => "Вернуться",
|
|
||||||
|
|
||||||
// root
|
|
||||||
"home" => "Домашняя директория не существует! Проверьте настройки.",
|
|
||||||
"abovehome" => "Текущая директория не может находится выше домашнего каталога.",
|
|
||||||
"targetabovehome" => "Запрошенная директория не может находится выше домашнего каталога.",
|
|
||||||
|
|
||||||
// exist
|
|
||||||
"direxist" => "Директория не существует",
|
|
||||||
//"filedoesexist" => "Такой файл уже существует",
|
|
||||||
"fileexist" => "Такого файла не существует",
|
|
||||||
"itemdoesexist" => "Такой объект уже существует",
|
|
||||||
"itemexist" => "Такого объекта существует",
|
|
||||||
"targetexist" => "Назначенной директории не существует",
|
|
||||||
"targetdoesexist" => "Назначенного объекта не существует",
|
|
||||||
|
|
||||||
// open
|
|
||||||
"opendir" => "Невозможно открыть директорию",
|
|
||||||
"readdir" => "Невозможно прочитать директорию",
|
|
||||||
|
|
||||||
// access
|
|
||||||
"accessdir" => "Вам запрещено заходить в данную директорию",
|
|
||||||
"accessfile" => "Вам запрещено использовать данный файл",
|
|
||||||
"accessitem" => "Вам запрещено использовать данный объект",
|
|
||||||
"accessfunc" => "Вам запрещено использовать данную функцию",
|
|
||||||
"accesstarget" => "Вам запрещено входить в заданную директорию",
|
|
||||||
|
|
||||||
// actions
|
|
||||||
"permread" => "Ошибка в получении прав доступа",
|
|
||||||
"permchange" => "Ошибка в смене прав доступа",
|
|
||||||
"openfile" => "Провал в открытии файла",
|
|
||||||
"savefile" => "Провал в сохранении файла",
|
|
||||||
"createfile" => "Провал в создании файла",
|
|
||||||
"createdir" => "Провал в создании директории",
|
|
||||||
"uploadfile" => "Провал в загрузке файла",
|
|
||||||
"copyitem" => "Провал в копировании",
|
|
||||||
"moveitem" => "Провал в переименовании",
|
|
||||||
"delitem" => "Провал в удалении",
|
|
||||||
"chpass" => "Провал в смене пароля",
|
|
||||||
"deluser" => "Провал в удалении пользователя",
|
|
||||||
"adduser" => "Провал в удалении пользователя",
|
|
||||||
"saveuser" => "Провал в сохранении пользователя",
|
|
||||||
"searchnothing" => "Строка поиска не должна быть пустой",
|
|
||||||
|
|
||||||
// misc
|
|
||||||
"miscnofunc" => "Функция недоступна",
|
|
||||||
"miscfilesize" => "Файл превышает максимальный размер",
|
|
||||||
"miscfilepart" => "Файл был загружен частично",
|
|
||||||
"miscnoname" => "Вы должны дать задать имя",
|
|
||||||
"miscselitems" => "Вы не выбрали объект(ы)",
|
|
||||||
"miscdelitems" => "Вы уверены, что хотите удалить \"+num+\" объект(а/ов)?",
|
|
||||||
"miscdeluser" => "Вы уверены, что хотите удалить пользователя '\"+user+\"'?",
|
|
||||||
"miscnopassdiff" => "Новый пароль не отличается от текущего",
|
|
||||||
"miscnopassmatch" => "Пароли не совпадают",
|
|
||||||
"miscfieldmissed" => "Вы пропустили важное поле",
|
|
||||||
"miscnouserpass" => "Имя пользователя или пароль не правильны",
|
|
||||||
"miscselfremove" => "Вы не можете удалить самого себя",
|
|
||||||
"miscuserexist" => "Такой пользователь уже существует",
|
|
||||||
"miscnofinduser" => "Невозможно найти пользователя",
|
|
||||||
);
|
|
||||||
$GLOBALS["messages"] = array(
|
|
||||||
// links
|
|
||||||
"permlink" => "ПОМЕНЯТЬ ПРАВА ДОСТУПА",
|
|
||||||
"editlink" => "РЕДАКТИРОВАТЬ",
|
|
||||||
"downlink" => "СКАЧАТЬ",
|
|
||||||
"uplink" => "НАВЕРХ",
|
|
||||||
"homelink" => "ДОМОЙ",
|
|
||||||
"reloadlink" => "ОБНОВИТЬ",
|
|
||||||
"copylink" => "КОПИРОВАТЬ",
|
|
||||||
"movelink" => "ПЕРЕМЕСТИТЬ",
|
|
||||||
"dellink" => "УДАЛИТЬ",
|
|
||||||
"comprlink" => "АРХИВИРОВАТЬ",
|
|
||||||
"adminlink" => "АДМИНИСТРИРОВАНИЕ",
|
|
||||||
"logoutlink" => "ВЫЙТИ",
|
|
||||||
"uploadlink" => "ЗАКАЧАТЬ",
|
|
||||||
"searchlink" => "ПОИСК",
|
|
||||||
|
|
||||||
// list
|
|
||||||
"nameheader" => "Файл",
|
|
||||||
"sizeheader" => "Размер",
|
|
||||||
"typeheader" => "Тип",
|
|
||||||
"modifheader" => "Изменен",
|
|
||||||
"permheader" => "Права",
|
|
||||||
"actionheader" => "Действия",
|
|
||||||
"pathheader" => "Путь",
|
|
||||||
|
|
||||||
// buttons
|
|
||||||
"btncancel" => "Отменя",
|
|
||||||
"btnsave" => "Сохранить",
|
|
||||||
"btnchange" => "Изменить",
|
|
||||||
"btnreset" => "Очистить",
|
|
||||||
"btnclose" => "Закрыть",
|
|
||||||
"btncreate" => "Создать",
|
|
||||||
"btnsearch" => "Поиск",
|
|
||||||
"btnupload" => "Закачать",
|
|
||||||
"btncopy" => "Копировать",
|
|
||||||
"btnmove" => "Переместить",
|
|
||||||
"btnlogin" => "Войти",
|
|
||||||
"btnlogout" => "Выйти",
|
|
||||||
"btnadd" => "Добавить",
|
|
||||||
"btnedit" => "Редактировать",
|
|
||||||
"btnremove" => "Удалить",
|
|
||||||
|
|
||||||
// actions
|
|
||||||
"actdir" => "Папка",
|
|
||||||
"actperms" => "Поменять права",
|
|
||||||
"actedit" => "Правит файл",
|
|
||||||
"actsearchresults" => "Результаты поиска",
|
|
||||||
"actcopyitems" => "Копировать объект(ы)",
|
|
||||||
"actcopyfrom" => "Копировать из /%s в /%s ",
|
|
||||||
"actmoveitems" => "Переместить объект(ы)",
|
|
||||||
"actmovefrom" => "Переместить из /%s в /%s ",
|
|
||||||
"actlogin" => "Войти",
|
|
||||||
"actloginheader" => "Войти, чтобы начать использовать QuiXplorer",
|
|
||||||
"actadmin" => "Администрирование",
|
|
||||||
"actchpwd" => "Сменить пароль",
|
|
||||||
"actusers" => "Пользователи",
|
|
||||||
"actarchive" => "Заархивировать объект(ы)",
|
|
||||||
"actupload" => "Закачать файл(ы)",
|
|
||||||
|
|
||||||
// misc
|
|
||||||
"miscitems" => "Объект(а/ов)",
|
|
||||||
"miscfree" => "Свободно",
|
|
||||||
"miscusername" => "Пользователь",
|
|
||||||
"miscpassword" => "Пароль",
|
|
||||||
"miscoldpass" => "Старый пароль",
|
|
||||||
"miscnewpass" => "Новый пароль",
|
|
||||||
"miscconfpass" => "Подтвердите пароль",
|
|
||||||
"miscconfnewpass" => "Подтвердите новый пароль",
|
|
||||||
"miscchpass" => "Поменять пароль",
|
|
||||||
"mischomedir" => "Домашняя директория",
|
|
||||||
"mischomeurl" => "Домашний URL",
|
|
||||||
"miscshowhidden" => "Показывать спрятанные объекты",
|
|
||||||
"mischidepattern" => "Прятать файлы",
|
|
||||||
"miscperms" => "Права",
|
|
||||||
"miscuseritems" => "(имя, домашняя директория, показывать спрятанные объекты, права досутпа, активен)",
|
|
||||||
"miscadduser" => "добавить пользователя",
|
|
||||||
"miscedituser" => "редактировать пользователя '%s'",
|
|
||||||
"miscactive" => "Активен",
|
|
||||||
"misclang" => "Язык",
|
|
||||||
"miscnoresult" => "Нет результатов",
|
|
||||||
"miscsubdirs" => "Искать в поддиректориях",
|
|
||||||
"miscpermnames" => array("Только просмотр","Редактирование","Сменя пароля","Правка и смена пароля",
|
|
||||||
"Администратор"),
|
|
||||||
"miscyesno" => array("Да","Нет","Д","Н"),
|
|
||||||
"miscchmod" => array("Владелец", "Группа", "Интернет"),
|
|
||||||
);
|
|
||||||
?>
|
|
@ -1,60 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
// Russian Mimes Module (translated by Mikhail M. Pigulsky - mikhail@mikhail.pp.ru)
|
|
||||||
|
|
||||||
$GLOBALS["mimes"]=array(
|
|
||||||
// dir, exe, file
|
|
||||||
"dir" => "Äèðåêòîðèÿ",
|
|
||||||
"exe" => "Èñïîëíÿåìûé ôàéë",
|
|
||||||
"file" => "Ôàéë",
|
|
||||||
|
|
||||||
// text
|
|
||||||
"text" => "Òåêñòîâûé ôàéë",
|
|
||||||
|
|
||||||
// programming
|
|
||||||
"php" => "PHP ñêðèïò",
|
|
||||||
"sql" => "ôàéë SQL",
|
|
||||||
"perl" => "PERL ñêðèïò",
|
|
||||||
"html" => "ñòðàíèöà HTML",
|
|
||||||
"js" => "ôàéë Javascript",
|
|
||||||
"css" => "CSS ñòèëü",
|
|
||||||
"cgi" => "CGI ñêðèïò",
|
|
||||||
// C++
|
|
||||||
"cpps" => "èñõîäíûé êîä C++",
|
|
||||||
"cpph" => "çàãîëîâîê êîäà C++",
|
|
||||||
// Java
|
|
||||||
"javas" => "èñõîäíûé êîä Java",
|
|
||||||
"javac" => "èñõîäíûé êîä Java class",
|
|
||||||
// Pascal
|
|
||||||
"pas" => "ôàéë Pascal",
|
|
||||||
|
|
||||||
// images
|
|
||||||
"gif" => "èçîáðàæåíèå GIF",
|
|
||||||
"jpg" => "èçîáðàæåíèå JPG",
|
|
||||||
"bmp" => "èçîáðàæåíèå BMP",
|
|
||||||
"png" => "èçîáðàæåíèå PNG",
|
|
||||||
|
|
||||||
// compressed
|
|
||||||
"zip" => "àðõèâ ZIP",
|
|
||||||
"tar" => "àðõèâ TAR",
|
|
||||||
"gzip" => "àðõèâ GZIP",
|
|
||||||
"bzip2" => "àðõèâ BZIP2e",
|
|
||||||
"rar" => "àðõèâ RAR",
|
|
||||||
|
|
||||||
// music
|
|
||||||
"mp3" => "ôàéë MP3",
|
|
||||||
"wav" => "ôàéë WAV",
|
|
||||||
"midi" => "ôàéë MIDI",
|
|
||||||
"real" => "ôàéë RealAudio",
|
|
||||||
|
|
||||||
// movie
|
|
||||||
"mpg" => "âèäåî-ôàéë MPG",
|
|
||||||
"mov" => "âèäåî-ôàéë Movie",
|
|
||||||
"avi" => "âèäåî-ôàéë AVI",
|
|
||||||
"flash" => "Flash ôàéë",
|
|
||||||
|
|
||||||
// Micosoft / Adobe
|
|
||||||
"word" => "äîêóìåíò Word",
|
|
||||||
"excel" => "äîêóìåíò Excel",
|
|
||||||
"pdf" => "ôàéë PDF"
|
|
||||||
); ?>
|
|
@ -1,25 +1,23 @@
|
|||||||
<?php
|
<?php
|
||||||
$moduleurl = $_SERVER["REQUEST_URI"];
|
$moduleurl = $_SERVER["REQUEST_URI"];
|
||||||
$urlcut = strpos($moduleurl, "&");
|
$urlcut = strpos($moduleurl, "&");
|
||||||
if($urlcut > 0)
|
if($urlcut > 0) {
|
||||||
{
|
|
||||||
$moduleurl = substr($moduleurl,0,$urlcut);
|
$moduleurl = substr($moduleurl,0,$urlcut);
|
||||||
}
|
} else {
|
||||||
else
|
if(strpos($moduleurl, "?") == 0) {
|
||||||
{
|
|
||||||
if(strpos($moduleurl, "?") == 0)
|
|
||||||
{
|
|
||||||
$moduleurl = $_SERVER["REQUEST_URI"] . "?site=1";
|
$moduleurl = $_SERVER["REQUEST_URI"] . "?site=1";
|
||||||
}
|
}
|
||||||
if($_SERVER["REQUEST_URI"] == "/" || is_null($_SERVER["REQUEST_URI"]))
|
if($_SERVER["REQUEST_URI"] == "/" || is_null($_SERVER["REQUEST_URI"])) {
|
||||||
{
|
|
||||||
$moduleurl = "/index.php?site=1";
|
$moduleurl = "/index.php?site=1";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$moduleurl1 = $moduleurl;
|
$moduleurl1 = $moduleurl;
|
||||||
|
?>
|
||||||
switch($uebergabe)
|
<!-- MAIN -->
|
||||||
{
|
<div id="main">
|
||||||
|
<div class="wrapper">
|
||||||
|
<?php
|
||||||
|
switch($uebergabe) {
|
||||||
//-----------------------------------------------------------------------------------------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
case "0":
|
case "0":
|
||||||
include($_SERVER["DOCUMENT_ROOT"]."/Modules/Forum/include/viewforum.php");
|
include($_SERVER["DOCUMENT_ROOT"]."/Modules/Forum/include/viewforum.php");
|
||||||
@ -40,4 +38,7 @@ default:
|
|||||||
include($_SERVER["DOCUMENT_ROOT"]."/Modules/Forum/include/viewforum.php");
|
include($_SERVER["DOCUMENT_ROOT"]."/Modules/Forum/include/viewforum.php");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
@ -2,30 +2,30 @@
|
|||||||
<div id="main">
|
<div id="main">
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<h2>
|
<h2>
|
||||||
<span>Welcome</span>
|
Welcome
|
||||||
</h2>
|
</h2>
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
<h3> Infos über das Projekt:</h3>
|
<h3> Infos über das Projekt:</h3>
|
||||||
<br />
|
<br />
|
||||||
<p>Mit Hilfe von OpenVPN wird der gesamte Netzwerkverkehr der ueber das WLAN uebertragen wird verschluesselt.
|
<p>Mit Hilfe von OpenVPN wird der gesamte Netzwerkverkehr der über das WLAN übertragen wird verschlüsselt.
|
||||||
Dies hat den Vorteil, dass private Daten, wie z.B Login-Informationen usw., wirklich privat bleiben.</p>
|
Dies hat den Vorteil, dass private Daten, wie z.B Login-Informationen usw., wirklich privat bleiben.</p>
|
||||||
<p>In der HTL wird ein Verschluesselter Tunnel von einem Client (z.B. Schueler-Laptop) zum VPN-Server aufgebaut. Der VPN Server Leitet dann den gesamten
|
<p>Des weiteren können durch die GEMA gesperrte Videos auf Youtube angeschaut werden, da der VPN-Server in den USA steht :)</p>
|
||||||
Traffic direkt an den Hauptrouter/Proxy der HTL weiter. Die Verbindung vom VPN-Server zum Router erfolgt direkt ueber Kabel und wird somit als "sicher"
|
|
||||||
bezeichnet.</p>
|
|
||||||
<table class="table" width="100%">
|
<table class="table" width="100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td width="50%" valign="top">
|
<td width="50%" valign="top">
|
||||||
<center>Mitmachen</center>
|
<center>Mitmachen</center>
|
||||||
<img src="/Modules/Home/img/01.png" width="55" height="55" alt="an image" style="margin: 0 auto; display: block; border: 0" />
|
<img src="/Modules/Home/img/01.png" width="55" height="55" alt="an image" style="margin: 0 auto; display: block; border: 0" />
|
||||||
<p>Besteht interresse an einem Account fuer SchulVPN? Dann melde dich einfach bei einen von den Administratoren!</p>
|
<p>Besteht interresse an einem Account für SprinterVPN? Dann melde dich einfach bei einen von den Administratoren!</p>
|
||||||
</td>
|
</td>
|
||||||
<td width="50%" valign="top">
|
<td width="50%" valign="top">
|
||||||
<center>Development</center>
|
<center>Development</center>
|
||||||
<img src="/Modules/Home/img/02.png" width="55" height="55" alt="an image" style="margin: 0 auto; display: block; border: 0" />
|
<img src="/Modules/Home/img/02.png" width="55" height="55" alt="an image" style="margin: 0 auto; display: block; border: 0" />
|
||||||
<p>Du wuerdest gerne mithelfen oder hast Fehler und Anregungen zu melden? Sende uns eine Email oder erstelle einen Forenbeitrag!</p>
|
<p>Du würdest gerne mithelfen oder hast Fehler und Anregungen zu melden? Sende uns eine Email oder erstelle einen Forenbeitrag!</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
<br />
|
||||||
<h3> Powered by:</h3>
|
<h3> Powered by:</h3>
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -1,65 +0,0 @@
|
|||||||
<!-- MAIN CONTENT BEGINN ################################################################################ -->
|
|
||||||
|
|
||||||
<div class="art-content">
|
|
||||||
<div class="art-Post">
|
|
||||||
<div class="art-Post-body">
|
|
||||||
<div class="art-Post-inner">
|
|
||||||
<h2 class="art-PostHeaderIcon-wrapper">
|
|
||||||
<span class="art-PostHeader">Privacy Information</span>
|
|
||||||
</h2>
|
|
||||||
<div class="art-PostContent">
|
|
||||||
|
|
||||||
<h4>Consent to Collection of Your Personal Information</h4>
|
|
||||||
|
|
||||||
When you visit this site, certain kinds of non-personal information, such as the website that referred you to us, your IP address, browser type and language, and access times, may be collected automatically as part of the site's operation. We also may collect navigational information, including information about the pages you view, the links you click, and other actions taken in connection with the site. Demographic information (e.g., your occupation, hobbies, gender, or interests) may also be collected and may be linked to your personal information.
|
|
||||||
|
|
||||||
We only collect personal information about you after you have provided us with your consent to collect that specific information. By voluntarily providing this information to us, you consent to the collection and use of your personal information as set out in this privacy policy.
|
|
||||||
|
|
||||||
<h4>Personal information includes:</h4>
|
|
||||||
Information collected when you place the order including your name, billing address, email address, and phone number.
|
|
||||||
|
|
||||||
<h4>Please note:</h4> we do not collect the credit card details, because we use payment gateways to process your order(s).
|
|
||||||
|
|
||||||
You may always choose not to provide personal information, but if you so choose, the offered products and services may not be available to you.
|
|
||||||
|
|
||||||
<h4>Use of Your Personal Information</h4>
|
|
||||||
|
|
||||||
We collect and use your personal information to:
|
|
||||||
<p>* process your transactions;</p>
|
|
||||||
<p>* provide customer service;</p>
|
|
||||||
<p>* perform research and analysis aimed at improving our products, services and technologies;</p>
|
|
||||||
<p>* to display content that is customized to your interests and preferences;</p>
|
|
||||||
<p>* to run contests, select entrants, and choose prize winners;</p>
|
|
||||||
<p>* to communicate with you about your transactions, new products and services. We may send transaction-related communications such as welcome letters, billing reminders, and purchase confirmations. We may also send you surveys or marketing communications to inform you of new products or services or other information or offers that may be of interest.</p>
|
|
||||||
|
|
||||||
<h4>Disclosing Your Personal Information</h4>
|
|
||||||
|
|
||||||
Except as set out in this privacy policy, we do not disclose or sell your personal information to any third-parties.
|
|
||||||
|
|
||||||
We may disclose your personal information to third-party service providers who perform services on our behalf. For example, we may hire other companies to handle the processing of payments, to provide data storage, to host websites, to fulfill orders and shipments, to assist in marketing, to conduct audits, etc. Those third-party service providers (i) shall be permitted to obtain only the personal information they need to provide the service, (ii) must protect personal information to the same extent as FlashMint, and (iii) shall be prohibited from using it for any other purpose.
|
|
||||||
|
|
||||||
We reserve the right to disclose your personal information if required or permitted to do so by law.
|
|
||||||
|
|
||||||
<h4>Security of Your Personal Information</h4>
|
|
||||||
|
|
||||||
The security of your personal information is important to us. We follow generally accepted industry standards to help protect your personal information including without limitation:
|
|
||||||
<p>* limiting access to your personal information to those of our employees who require it to provide services to you;</p>
|
|
||||||
<p>* requiring employees to sign confidentiality agreements to protect customer and other confidential information;</p>
|
|
||||||
<p>* ensuring that third-party service providers sign confidentiality agreements to maintain the confidentiality of your personal information and not to use it for any unauthorized purposes;</p>
|
|
||||||
<p>* storing your personal information in secure computer systems which protect it from unauthorized access or use.</p>
|
|
||||||
|
|
||||||
No method of transmission over the Internet, or method of electronic storage, is 100% secure. Therefore, while we strive to protect your personal information, we cannot guarantee its absolute security.
|
|
||||||
|
|
||||||
<h4>Changes to This Privacy Policy</h4>
|
|
||||||
|
|
||||||
We reserve the right to change the terms of this privacy policy at any time. When we make changes, we will revise the "last updated" date at the top of the policy. If there are material changes to this statement or in how we will use your personal information, we will notify you by prominently posting a notice of such changes here or on our home page, or by sending you an email. We encourage you to review this policy whenever you visit one of our sites.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Last update: 6. Nov 2009
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!-- END CONTENT BEGINN ################################################################################# -->
|
|
@ -51,6 +51,9 @@ function Potenz($sent_sum)
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<!-- MAIN CONTENT BEGINN ################################################################################ -->
|
<!-- MAIN CONTENT BEGINN ################################################################################ -->
|
||||||
|
<!-- MAIN -->
|
||||||
|
<div id="main">
|
||||||
|
<div class="wrapper">
|
||||||
<br />
|
<br />
|
||||||
<form action="<?php echo $PHP_SELF; ?>" method="post">
|
<form action="<?php echo $PHP_SELF; ?>" method="post">
|
||||||
<select name="dirsort" size=1>
|
<select name="dirsort" size=1>
|
||||||
@ -212,4 +215,6 @@ function Potenz($sent_sum)
|
|||||||
echo "</table>";
|
echo "</table>";
|
||||||
mysql_close();
|
mysql_close();
|
||||||
?>
|
?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<!-- END CONTENT BEGINN ################################################################################# -->
|
<!-- END CONTENT BEGINN ################################################################################# -->
|
||||||
|
@ -1,232 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
echo "Config-Installationsprogramm für SchulVPN"
|
|
||||||
|
|
||||||
if [ $USER != "root" ];
|
|
||||||
then
|
|
||||||
echo Root-Rechte benoetigt!
|
|
||||||
read
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
echo "Geben Sie das Standard-Wireless Interface ein: "
|
|
||||||
read WLAN
|
|
||||||
echo "Geben Sie die ESSID an, bei dem OpenVPN nicht verbinden soll: "
|
|
||||||
read NOVPNESSID
|
|
||||||
echo "Geben Sie das Interface an, bei dem OpvenVPN nicht verbinden soll: "
|
|
||||||
read NOVPNINT
|
|
||||||
echo "Geben Sie Ihren Benutzernamen ein: "
|
|
||||||
read BENUTZER
|
|
||||||
|
|
||||||
mkdir $HOME/.vpn
|
|
||||||
mkdir $HOME/.vpn/keys
|
|
||||||
|
|
||||||
##------------------------------------------------------------------------------
|
|
||||||
#/etc/NetworkManager/dispatcher.d/02vpn
|
|
||||||
##------------------------------------------------------------------------------
|
|
||||||
echo "#!/bin/bash
|
|
||||||
|
|
||||||
INTERFACE=\$1
|
|
||||||
ACTION=\$2
|
|
||||||
|
|
||||||
ESSID=\$(iwconfig "$WLAN" | grep ESSID | cut -d':' -f2 | sed -e 's/Nickname//g' | sed -e 's/\"//g'| sed -e 's/ //g')
|
|
||||||
|
|
||||||
echo '\$ESSID + \$INTERFACE + \$ACTION' >> /var/log/vpnscript.log
|
|
||||||
|
|
||||||
case \$ACTION in
|
|
||||||
up)
|
|
||||||
if [ \$ESSID != "$NOVPNESSID" ]; then
|
|
||||||
if [ \$INTERFACE != "$NOVPNINT" ]; then
|
|
||||||
echo 'starte script' >> /var/log/vpnscript.log
|
|
||||||
|
|
||||||
"$HOME"/.vpn/scriptconn.sh
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
|
|
||||||
down)
|
|
||||||
if [ '\$(pidof openvpn)' ]; then
|
|
||||||
echo 'killall openvpn' >> /var/log/vpnscript.log
|
|
||||||
killall openvpn
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
|
|
||||||
pre-up)
|
|
||||||
;;
|
|
||||||
|
|
||||||
post-down)
|
|
||||||
;;
|
|
||||||
|
|
||||||
*)
|
|
||||||
echo 'Usage: \$0 {up|down|pre-up|post-down}'
|
|
||||||
echo 'finish' >> /var/log/vpnscript.log
|
|
||||||
exit 1
|
|
||||||
esac
|
|
||||||
" > /etc/NetworkManager/dispatcher.d/02vpn
|
|
||||||
chown root:root /etc/NetworkManager/dispatcher.d/02vpn
|
|
||||||
chmod +x /etc/NetworkManager/dispatcher.d/02vpn
|
|
||||||
|
|
||||||
##------------------------------------------------------------------------------
|
|
||||||
#~/.vpn/scriptconn.sh
|
|
||||||
##------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
echo "#!/bin/bash
|
|
||||||
|
|
||||||
echo 'Starte Openvpn' >> /var/log/vpnscript.log
|
|
||||||
openvpn --config "$HOME"/.vpn/schulvpn.ovpn &
|
|
||||||
|
|
||||||
#sudo -u "$BENUTZER" kdialog --title 'OpenVPN' --passivepopup 'Verbindung wird hergestellt!' 4 --display :0
|
|
||||||
#echo 'Dialog angezeit - fin' >> /var/log/vpnscript.log
|
|
||||||
|
|
||||||
exit 0
|
|
||||||
" > $HOME/.vpn/scriptconn.sh
|
|
||||||
##------------------------------------------------------------------------------
|
|
||||||
#~/.vpn/scriptstate.sh
|
|
||||||
##------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
echo "#!/bin/bash
|
|
||||||
|
|
||||||
if [ \$1 = 'connected' ]
|
|
||||||
then sudo -u "$BENUTZER" kdialog --title 'OpenVPN' --passivepopup 'Verbunden!' 4 --display :0
|
|
||||||
elif [ \$1 = 'disconnected' ]
|
|
||||||
then sudo -u "$BENUTZER" kdialog --title 'OpenVPN' --passivepopup 'Verbindung getrennt!' 4 --display :0
|
|
||||||
else
|
|
||||||
echo 'fail'
|
|
||||||
echo 'scriptconn started' >> /var/log/vpnlog.log
|
|
||||||
fi
|
|
||||||
|
|
||||||
exit 0
|
|
||||||
" > $HOME/.vpn/scriptstate.sh
|
|
||||||
|
|
||||||
##------------------------------------------------------------------------------
|
|
||||||
#CertCopy
|
|
||||||
##------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
cert=$(ls *.key |cut -d "." -f1 |cut -d "/" -f3)
|
|
||||||
#cert=$(echo $cert | cut -d " " -f1)
|
|
||||||
|
|
||||||
controll="0"
|
|
||||||
|
|
||||||
if [ -z "$cert" ];
|
|
||||||
then
|
|
||||||
echo "Es wurde kein Zertifikat gefunden"
|
|
||||||
controll="1"
|
|
||||||
else
|
|
||||||
echo "Es wurde ein Zertifikat gefunden: "$cert".key"
|
|
||||||
|
|
||||||
cp $cert.key $HOME/.vpn/keys/$cert.key
|
|
||||||
cp $cert.crt $HOME/.vpn/keys/$cert.crt
|
|
||||||
cp ca.crt $HOME/.vpn/keys/ca.crt
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ $controll == "0" ]
|
|
||||||
then
|
|
||||||
|
|
||||||
test -e "$HOME/.vpn/keys/$cert.crt"
|
|
||||||
if [ 1 == $? ];
|
|
||||||
then
|
|
||||||
echo $cert.crt nicht richtig kopiert
|
|
||||||
controll="1"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
test -e "$HOME/.vpn/keys/$cert.key"
|
|
||||||
if [ 1 == $? ];
|
|
||||||
then
|
|
||||||
echo $cert.key nicht richtig kopiert
|
|
||||||
controll="1"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
test -e "$HOME/.vpn/keys/ca.crt"
|
|
||||||
if [ 1 == $? ];
|
|
||||||
then
|
|
||||||
echo ca.crt nicht richtig kopiert
|
|
||||||
controll="1"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
if [ 0 == $controll ];
|
|
||||||
then
|
|
||||||
echo "#Konfiguriert by Christoph Haas
|
|
||||||
#Copyleft CyberLabs 2008-09
|
|
||||||
#Veraendern auf EIGENE GEFAHR...
|
|
||||||
|
|
||||||
#Start
|
|
||||||
|
|
||||||
##########################################################
|
|
||||||
# AENDERUNGEN START
|
|
||||||
##########################################################
|
|
||||||
#Zertifikate
|
|
||||||
ca "$HOME"/.vpn/keys/ca.crt
|
|
||||||
cert "$HOME"/.vpn/keys/"$cert".crt
|
|
||||||
key "$HOME"/.vpn/keys/"$cert".key
|
|
||||||
|
|
||||||
##########################################################
|
|
||||||
# AENDERUNGEN ENDE
|
|
||||||
#########################################################
|
|
||||||
#Modus
|
|
||||||
client
|
|
||||||
|
|
||||||
#IP Modus
|
|
||||||
float
|
|
||||||
|
|
||||||
#Tunnel Modus/Device
|
|
||||||
dev tap
|
|
||||||
|
|
||||||
#MTU laenge
|
|
||||||
tun-mtu 1500
|
|
||||||
|
|
||||||
#probleme mit windoof clients verhindern
|
|
||||||
;fragment 1500 #udp only
|
|
||||||
mssfix
|
|
||||||
|
|
||||||
#LAN Adapter Name (optional^^)
|
|
||||||
;dev-node my-tap
|
|
||||||
|
|
||||||
#Protokoll fuern Tunnel (in da schule tcp)
|
|
||||||
proto tcp-client
|
|
||||||
|
|
||||||
#Pushs vom Server abarbeiten
|
|
||||||
pull
|
|
||||||
|
|
||||||
#Server IP / PORT
|
|
||||||
remote 10.10.63.60 1194
|
|
||||||
|
|
||||||
#Server COMMON Name
|
|
||||||
#tls-remote VPNServer
|
|
||||||
|
|
||||||
#Authentifizierung/Encryption
|
|
||||||
;auth SHA1
|
|
||||||
cipher aes-256-cbc
|
|
||||||
|
|
||||||
#Adress bind verhindern
|
|
||||||
nobind
|
|
||||||
|
|
||||||
#Komprimierung
|
|
||||||
comp-lzo
|
|
||||||
|
|
||||||
#LINUX/UNIX only
|
|
||||||
;persist-key
|
|
||||||
;persist-tun
|
|
||||||
|
|
||||||
script-security 2
|
|
||||||
|
|
||||||
# eventuelle kde4 integration
|
|
||||||
;route-up '"$HOME"/.vpn/scriptstate.sh connected'
|
|
||||||
;down '"$HOME"/.vpn/scriptstate.sh disconnected'
|
|
||||||
|
|
||||||
#Ende
|
|
||||||
" > $HOME/.vpn/schulvpn.ovpn
|
|
||||||
chmod +x $HOME/.vpn/*
|
|
||||||
echo SchulVPN ist jetzt verwendbar!
|
|
||||||
read
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
echo "Überprüfen Sie, ob das zip paket richtig entpackt wurde!"
|
|
||||||
echo "Führen Sie anschließend das Setup nocheinmal aus!"
|
|
||||||
read
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
fi
|
|
@ -1,232 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
echo "Config-Installationsprogramm für SchulVPN"
|
|
||||||
|
|
||||||
if [ $USER != "root" ];
|
|
||||||
then
|
|
||||||
echo Root-Rechte benoetigt!
|
|
||||||
read
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
echo "Geben Sie das Standard-Wireless Interface ein: "
|
|
||||||
read WLAN
|
|
||||||
echo "Geben Sie die ESSID an, bei dem OpenVPN nicht verbinden soll: "
|
|
||||||
read NOVPNESSID
|
|
||||||
echo "Geben Sie das Interface an, bei dem OpvenVPN nicht verbinden soll: "
|
|
||||||
read NOVPNINT
|
|
||||||
|
|
||||||
mkdir $HOME/.vpn
|
|
||||||
mkdir $HOME/.vpn/keys
|
|
||||||
|
|
||||||
##------------------------------------------------------------------------------
|
|
||||||
#/etc/NetworkManager/dispatcher.d/02vpn
|
|
||||||
##------------------------------------------------------------------------------
|
|
||||||
echo "#!/bin/bash
|
|
||||||
|
|
||||||
INTERFACE=\$1
|
|
||||||
ACTION=\$2
|
|
||||||
|
|
||||||
ESSID=\$(iwconfig "$WLAN" | grep ESSID | cut -d':' -f2 | sed -e 's/Nickname//g' | sed -e 's/\"//g'| sed -e 's/ //g')
|
|
||||||
|
|
||||||
echo '\$ESSID + \$INTERFACE + \$ACTION' >> /var/log/vpnscript.log
|
|
||||||
|
|
||||||
case \$ACTION in
|
|
||||||
up)
|
|
||||||
if [ \$ESSID != \""$NOVPNESSID"\" ]; then
|
|
||||||
if [ \$INTERFACE != \""$NOVPNINT"\" ]; then
|
|
||||||
echo 'starte script' >> /var/log/vpnscript.log
|
|
||||||
|
|
||||||
"$HOME"/.vpn/scriptconn.sh
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
|
|
||||||
down)
|
|
||||||
if [ '\$(pidof openvpn)' ]; then
|
|
||||||
echo 'killall openvpn' >> /var/log/vpnscript.log
|
|
||||||
killall openvpn
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
|
|
||||||
pre-up)
|
|
||||||
;;
|
|
||||||
|
|
||||||
post-down)
|
|
||||||
;;
|
|
||||||
|
|
||||||
*)
|
|
||||||
echo $'Usage: \$0 {up|down|pre-up|post-down}'
|
|
||||||
echo 'finish' >> /var/log/vpnscript.log
|
|
||||||
exit 1
|
|
||||||
esac
|
|
||||||
" > /etc/NetworkManager/dispatcher.d/02vpn
|
|
||||||
chown root:root /etc/NetworkManager/dispatcher.d/02vpn
|
|
||||||
chmod +x /etc/NetworkManager/dispatcher.d/02vpn
|
|
||||||
|
|
||||||
##------------------------------------------------------------------------------
|
|
||||||
#~/.vpn/scriptconn.sh
|
|
||||||
##------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
echo "#!/bin/bash
|
|
||||||
|
|
||||||
echo 'Starte Openvpn' >> /var/log/vpnscript.log
|
|
||||||
openvpn --config "$HOME"/.vpn/schulvpn.ovpn &
|
|
||||||
|
|
||||||
#sudo -u "$USER" kdialog --title 'OpenVPN' --passivepopup 'OpenVPN - Verbindung wird hergestellt!' 4 --display :0
|
|
||||||
|
|
||||||
#echo 'Dialog angezeit - fin' >> /var/log/vpnscript.log
|
|
||||||
exit 0
|
|
||||||
" > $HOME/.vpn/scriptconn.sh
|
|
||||||
##------------------------------------------------------------------------------
|
|
||||||
#~/.vpn/scriptstate.sh
|
|
||||||
##------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
echo "#!/bin/bash
|
|
||||||
|
|
||||||
BENUTZER=$(cat /etc/passwd |grep 1000 |cut -d ':' -f1)
|
|
||||||
|
|
||||||
if [ $1 = 'connected' ]
|
|
||||||
then sudo -u "$BENUTZER" kdialog --title 'OpenVPN' --passivepopup 'OpenVPN - Verbunden!' 4 --display :0
|
|
||||||
elif [ $1 = 'disconnected' ]
|
|
||||||
then sudo -u "$BENUTZER" kdialog --title 'OpenVPN' --passivepopup 'OpenVPN - Verbindung getrennt!' 4 --display :0
|
|
||||||
else
|
|
||||||
echo 'fail'
|
|
||||||
echo 'scriptconn started' >> /var/log/vpnlog.log
|
|
||||||
fi
|
|
||||||
|
|
||||||
exit 0
|
|
||||||
" > $HOME/.vpn/scriptstate.sh
|
|
||||||
|
|
||||||
##------------------------------------------------------------------------------
|
|
||||||
#CertCopy
|
|
||||||
##------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
cert=$(ls *.key |cut -d "." -f1 |cut -d "/" -f3)
|
|
||||||
#cert=$(echo $cert | cut -d " " -f1)
|
|
||||||
|
|
||||||
controll="0"
|
|
||||||
|
|
||||||
if [ -z "$cert" ];
|
|
||||||
then
|
|
||||||
echo "Es wurde kein Zertifikat gefunden"
|
|
||||||
controll="1"
|
|
||||||
else
|
|
||||||
echo "Es wurde ein Zertifikat gefunden: "$cert".key"
|
|
||||||
|
|
||||||
cp $cert.key $HOME/.vpn/keys/$cert.key
|
|
||||||
cp $cert.crt $HOME/.vpn/keys/$cert.crt
|
|
||||||
cp ca.crt $HOME/.vpn/keys/ca.crt
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ $controll == "0" ]
|
|
||||||
then
|
|
||||||
|
|
||||||
test -e "$HOME/.vpn/keys/$cert.crt"
|
|
||||||
if [ 1 == $? ];
|
|
||||||
then
|
|
||||||
echo $cert.crt nicht richtig kopiert
|
|
||||||
controll="1"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
test -e "$HOME/.vpn/keys/$cert.key"
|
|
||||||
if [ 1 == $? ];
|
|
||||||
then
|
|
||||||
echo $cert.key nicht richtig kopiert
|
|
||||||
controll="1"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
test -e "$HOME/.vpn/keys/ca.crt"
|
|
||||||
if [ 1 == $? ];
|
|
||||||
then
|
|
||||||
echo ca.crt nicht richtig kopiert
|
|
||||||
controll="1"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
if [ 0 == $controll ];
|
|
||||||
then
|
|
||||||
echo "#Konfiguriert by Christoph Haas
|
|
||||||
#Copyleft CyberLabs 2008-09
|
|
||||||
#Veraendern auf EIGENE GEFAHR...
|
|
||||||
|
|
||||||
#Start
|
|
||||||
|
|
||||||
##########################################################
|
|
||||||
# AENDERUNGEN START
|
|
||||||
##########################################################
|
|
||||||
#Zertifikate
|
|
||||||
ca "$HOME"/.vpn/keys/ca.crt
|
|
||||||
cert "$HOME"/.vpn/keys/"$cert".crt
|
|
||||||
key "$HOME"/.vpn/keys/"$cert".key
|
|
||||||
|
|
||||||
##########################################################
|
|
||||||
# AENDERUNGEN ENDE
|
|
||||||
#########################################################
|
|
||||||
#Modus
|
|
||||||
client
|
|
||||||
|
|
||||||
#IP Modus
|
|
||||||
float
|
|
||||||
|
|
||||||
#Tunnel Modus/Device
|
|
||||||
dev tap
|
|
||||||
|
|
||||||
#MTU laenge
|
|
||||||
tun-mtu 1500
|
|
||||||
|
|
||||||
#probleme mit windoof clients verhindern
|
|
||||||
;fragment 1500 #udp only
|
|
||||||
mssfix
|
|
||||||
|
|
||||||
#LAN Adapter Name (optional^^)
|
|
||||||
;dev-node my-tap
|
|
||||||
|
|
||||||
#Protokoll fuern Tunnel (in da schule tcp)
|
|
||||||
proto tcp-client
|
|
||||||
|
|
||||||
#Pushs vom Server abarbeiten
|
|
||||||
pull
|
|
||||||
|
|
||||||
#Server IP / PORT
|
|
||||||
remote 10.10.63.60 1194
|
|
||||||
|
|
||||||
#Server COMMON Name
|
|
||||||
#tls-remote VPNServer
|
|
||||||
|
|
||||||
#Authentifizierung/Encryption
|
|
||||||
;auth SHA1
|
|
||||||
cipher aes-256-cbc
|
|
||||||
|
|
||||||
#Adress bind verhindern
|
|
||||||
nobind
|
|
||||||
|
|
||||||
#Komprimierung
|
|
||||||
comp-lzo
|
|
||||||
|
|
||||||
#LINUX/UNIX only
|
|
||||||
;persist-key
|
|
||||||
;persist-tun
|
|
||||||
|
|
||||||
script-security 2
|
|
||||||
|
|
||||||
# eventuelle kde4 integration
|
|
||||||
;route-up '"$HOME"/.vpn/scriptstate.sh connected'
|
|
||||||
;down '"$HOME"/.vpn/scriptstate.sh disconnected'
|
|
||||||
|
|
||||||
#Ende
|
|
||||||
" > $HOME/.vpn/schulvpn.ovpn
|
|
||||||
chmod +x $HOME/.vpn/*
|
|
||||||
echo SchulVPN ist jetzt verwendbar!
|
|
||||||
read
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
echo "Überprüfen Sie, ob das zip paket richtig entpackt wurde!"
|
|
||||||
echo "Führen Sie anschließend das Setup nocheinmal aus!"
|
|
||||||
read
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
fi
|
|
@ -1,19 +0,0 @@
|
|||||||
LINUX:
|
|
||||||
openvpn installieren (am besten über apt-get oder synaptic)
|
|
||||||
|
|
||||||
und einfach:
|
|
||||||
chmod +x certinstall.sh // Script ausfuehrbar machen
|
|
||||||
sudo ./certinstall.sh // Installation starten
|
|
||||||
ausfuehren.
|
|
||||||
|
|
||||||
WINDOWS:
|
|
||||||
OpenVPN-Client herunterladen
|
|
||||||
EXE-Ausführen
|
|
||||||
Alle Keyfiles ("number".key, "number".crt, ca.crt) ins (evt zuvor angelegte) "keys" Directory im "SchulVPN\config\" Ordner kopieren. (Keys liegen dann zb. unter "C:/Programme/SchulVPN/config/keys/")
|
|
||||||
Anschließend die schulvpn.ovpn nach "SchulVPN/config" kopieren und darin die Pfade und Nummern anpassen.
|
|
||||||
|
|
||||||
Bsp ordnerstruktur:
|
|
||||||
"C:/Programme/SchulVPN/config/schulvpn.ovpn"
|
|
||||||
"C:/Programme/SchulVPN/config/keys/01.crt"
|
|
||||||
"C:/Programme/SchulVPN/config/keys/01.key"
|
|
||||||
"C:/Programme/SchulVPN/config/keys/ca.crt"
|
|
@ -1,69 +0,0 @@
|
|||||||
#Konfiguriert by Christoph Haas
|
|
||||||
#Copyleft CyberLabs 2008-10
|
|
||||||
#Veraendern auf EIGENE GEFAHR...
|
|
||||||
|
|
||||||
#Start
|
|
||||||
|
|
||||||
##########################################################
|
|
||||||
# AENDERUNGEN START
|
|
||||||
##########################################################
|
|
||||||
#Zertifikate (evt pfad anpassen)
|
|
||||||
ca /pfad/zur/config/ca.crt # pfad anpassen!
|
|
||||||
cert /pfad/zur/config/muster.crt # pfad anpassen! & muster zu nummer aendern!
|
|
||||||
key /pfad/zur/config/muster.key # pfad anpassen! & muster zu nummer aendern!
|
|
||||||
|
|
||||||
##########################################################
|
|
||||||
# AENDERUNGEN ENDE
|
|
||||||
#########################################################
|
|
||||||
#Modus
|
|
||||||
client
|
|
||||||
|
|
||||||
#IP Modus
|
|
||||||
float
|
|
||||||
|
|
||||||
#Tunnel Modus/Device
|
|
||||||
dev tap
|
|
||||||
|
|
||||||
#MTU laenge
|
|
||||||
tun-mtu 1500
|
|
||||||
|
|
||||||
#probleme mit windoof clients verhindern
|
|
||||||
;fragment 1500 #udp only
|
|
||||||
mssfix
|
|
||||||
|
|
||||||
#LAN Adapter Name (optional^^)
|
|
||||||
;dev-node my-tap
|
|
||||||
|
|
||||||
#Protokoll fuern Tunnel (in da schule tcp)
|
|
||||||
proto tcp-client
|
|
||||||
|
|
||||||
#Pushs vom Server abarbeiten
|
|
||||||
pull
|
|
||||||
|
|
||||||
#Server IP / PORT
|
|
||||||
remote 10.10.63.60 1194
|
|
||||||
|
|
||||||
#Server COMMON Name
|
|
||||||
#tls-remote VPNServer
|
|
||||||
|
|
||||||
#Authentifizierung/Encryption
|
|
||||||
;auth SHA1
|
|
||||||
cipher aes-256-cbc
|
|
||||||
|
|
||||||
#Adress bind verhindern
|
|
||||||
nobind
|
|
||||||
|
|
||||||
#Komprimierung
|
|
||||||
comp-lzo
|
|
||||||
|
|
||||||
#LINUX/UNIX only
|
|
||||||
;persist-key
|
|
||||||
;persist-tun
|
|
||||||
|
|
||||||
script-security 2
|
|
||||||
|
|
||||||
# kde4 notification
|
|
||||||
# route-up "/home/christoph/.vpn/scriptstate.sh connected"
|
|
||||||
# down "/home/christoph/.vpn/scriptstate.sh disconnected"
|
|
||||||
|
|
||||||
#Ende
|
|
Before Width: | Height: | Size: 35 KiB |