fixed most of the files in http-root and includes
git-svn-id: svn://svn.cccv.de/engel-system@282 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
parent
b00d5b96c6
commit
83a90af930
|
@ -0,0 +1,71 @@
|
|||
ich@DenkBrett www-ssl % find . -type l
|
||||
./admin/inc
|
||||
./admin/pic
|
||||
./inc/inc
|
||||
./nonpublic/inc
|
||||
./nonpublic/pic
|
||||
|
||||
find . -name \*.php -exec grep -l './inc' {} \;
|
||||
|
||||
ich@DenkBrett www-ssl % find . -name \*.php -exec grep -l './inc' {} \;
|
||||
./admin/EngelType.php
|
||||
./admin/schichtplan.php
|
||||
./admin/user2.php
|
||||
./admin/dbUpdateFromXLS.php
|
||||
./admin/index.php
|
||||
./admin/faq.php
|
||||
./admin/Recentchanges.php
|
||||
./admin/dect_call.php
|
||||
./admin/UserPicture.php
|
||||
./admin/room.php
|
||||
./admin/news.php
|
||||
./admin/tshirt.php
|
||||
./admin/aktiv.php
|
||||
./admin/user.php
|
||||
./admin/dect.php
|
||||
./admin/free.php
|
||||
./admin/userDefaultSetting.php
|
||||
./admin/sprache.php
|
||||
./admin/debug.php
|
||||
./admin/shiftadd.php
|
||||
./admin/schichtplan_druck.php
|
||||
#./inc/funktion_schichtplan_aray.php
|
||||
#./inc/footer.php
|
||||
#./inc/menu.php
|
||||
#./inc/funktion_modem.php
|
||||
./inc/funktion_flag.php # Special fix needed. ich geh ins bett
|
||||
#./inc/error_handler.php
|
||||
./inc/header.php # Special fix needed
|
||||
./inc/funktion_user.php # Special fix needed
|
||||
#./inc/crypt.php
|
||||
#./inc/ShowUserPicture.php
|
||||
#./inc/login_eingabefeld.php
|
||||
#./inc/funktion_SendMessenges.php
|
||||
./nonpublic/waeckliste.php
|
||||
./nonpublic/schichtplan.1.php
|
||||
./nonpublic/schichtplan.php
|
||||
./nonpublic/schichtplan.2.php
|
||||
./nonpublic/myschichtplan.php
|
||||
./nonpublic/messages.php
|
||||
./nonpublic/index.php
|
||||
./nonpublic/faq.php
|
||||
./nonpublic/schichtplan_add.php
|
||||
./nonpublic/schichtplan_beamer.php
|
||||
./nonpublic/news.php
|
||||
./nonpublic/einstellungen.php
|
||||
./nonpublic/wecken.php
|
||||
./nonpublic/engelbesprechung.php
|
||||
./nonpublic/news_comments.php
|
||||
#./logout.php
|
||||
#./makeuser.php
|
||||
#./lageplan.php
|
||||
#./faq.php
|
||||
#./index.php
|
||||
|
||||
|
||||
todo:
|
||||
./inc > ../inc
|
||||
change includes in every fucking file
|
||||
FUCKING MOOOOOVE the pictures out of inc to /pic, where they belong. -.-'
|
||||
same as above for css-files
|
||||
change installscript to place inc outside of http-root. exactly ONE dir ahead.
|
|
@ -1,10 +1,10 @@
|
|||
<?PHP
|
||||
|
||||
include ("./inc/config.php");
|
||||
include ("./inc/error_handler.php");
|
||||
include ("./inc/config_db.php");
|
||||
include ("./config.php");
|
||||
include ("./error_handler.php");
|
||||
include ("./config_db.php");
|
||||
if( !isset($_SESSION)) session_start();
|
||||
include ("./inc/secure.php");
|
||||
include ("./secure.php");
|
||||
|
||||
|
||||
// Parameter check
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
|
||||
function PassCrypt($passwort) {
|
||||
include "./inc/config.php";
|
||||
include "./config.php";
|
||||
|
||||
switch ($crypt_system) {
|
||||
case "crypt":
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
require_once("./inc/funktion_jabber.php");
|
||||
require_once("./funktion_jabber.php");
|
||||
|
||||
// global array for collected error_messages
|
||||
$error_messages = array();
|
||||
|
@ -104,7 +104,7 @@
|
|||
function send_message(&$message)
|
||||
{
|
||||
chdir(dirname(__FILE__));
|
||||
require_once('../inc/config_jabber.php');
|
||||
require_once('./config_jabber.php');
|
||||
|
||||
if (isset($jabber_recipient) && count($jabber_recipient)) {
|
||||
$jabber = new Jabber($server, $port, $username, $password, $resource);
|
||||
|
|
|
@ -30,7 +30,7 @@ if( $Page["ShowTabel"]=="Y" )
|
|||
|
||||
<!-- anfang des menue parts //-->
|
||||
<?PHP
|
||||
if( $_SESSION['Menu'] =="R") include("./inc/menu.php");
|
||||
if( $_SESSION['Menu'] =="R") include("./menu.php");
|
||||
?>
|
||||
</td>
|
||||
|
||||
|
@ -45,8 +45,8 @@ if( $_SESSION['Menu'] =="R") include("./inc/menu.php");
|
|||
<td colspan="2">
|
||||
<h5 align="center"> © copyleft - <a href="mailto:erzengel@lists.ccc.de">Kontakt</a>
|
||||
<?PHP
|
||||
include( "./inc/funktion_counter.php");
|
||||
include( "./inc/funktion_flag.php");
|
||||
include( "./funktion_counter.php");
|
||||
include( "./funktion_flag.php");
|
||||
?></h5>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
function SendData($Data)
|
||||
{
|
||||
include("./inc/config_MessegeServer.php");
|
||||
include("./config_MessegeServer.php");
|
||||
// Create a UDP socket
|
||||
$sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
|
||||
//send packed
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?PHP
|
||||
include "./inc/config_modem.php";
|
||||
include "./config_modem.php";
|
||||
|
||||
function DialNumber( $Number )
|
||||
{
|
||||
|
|
|
@ -34,5 +34,5 @@
|
|||
$TID2Name[ mysql_result($Erg, $i, "TID") ] = mysql_result($Erg, $i, "Name");
|
||||
}
|
||||
|
||||
include ("./inc/funktion_schichtplan_Tage.php");
|
||||
include ("./funktion_schichtplan_Tage.php");
|
||||
?>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
|
||||
<form action="<?PHP
|
||||
include ("./inc/config.php");
|
||||
include ("./config.php");
|
||||
echo substr($url, 0, strlen($url)-1). $ENGEL_ROOT
|
||||
?>nonpublic/index.php" method="post">
|
||||
<table>
|
||||
|
|
|
@ -51,7 +51,7 @@ if( isset($_SESSION['UID']))
|
|||
<table align="center" class="border" cellpadding="3" cellspacing="1">
|
||||
<tr>
|
||||
<td width="160" class="menu">
|
||||
<?php include("./inc/funktion_activeUser.php"); ?>
|
||||
<?php include("./funktion_activeUser.php"); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
../inc
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
$title = "Index";
|
||||
$header = "FAQ";
|
||||
include ("./inc/header.php");
|
||||
include ("../includes/header.php");
|
||||
|
||||
|
||||
$SQL = "SELECT * FROM `FAQ`";
|
||||
|
@ -17,6 +17,6 @@ for ($n = 0 ; $n < $Zeilen ; $n++) {
|
|||
}
|
||||
}
|
||||
|
||||
include ("./inc/footer.php");
|
||||
include ("../includes/footer.php");
|
||||
?>
|
||||
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
<?php
|
||||
$title = "Index";
|
||||
$header = "Index";
|
||||
include ("./inc/header.php");
|
||||
include ("../includes/header.php");
|
||||
|
||||
echo Get_Text("index_text1")."<br><br>";
|
||||
echo Get_Text("index_text2")."<br>";
|
||||
echo Get_Text("index_text3")."<br>";
|
||||
|
||||
include ("./inc/login_eingabefeld.php");
|
||||
include ("../includes/login_eingabefeld.php");
|
||||
|
||||
echo "<h6>".Get_Text("index_text4")."</h6>";
|
||||
|
||||
echo Get_Text("index_text5"). "<br>". $show_SSLCERT;
|
||||
|
||||
include ("./inc/footer.php");
|
||||
include ("../includes/footer.php");
|
||||
?>
|
||||
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<?php
|
||||
$title = "Index";
|
||||
$header = "Lageplan";
|
||||
include ("./inc/header.php");
|
||||
include ("../includes/header.php");
|
||||
|
||||
echo "<p>". Get_Text("lageplan_text1"). "</p>";
|
||||
echo "<p><img src=\"./pic/lageplan/lageplan.jpg\"/>.";
|
||||
|
||||
include ("./inc/footer.php");
|
||||
include ("../includes/footer.php");
|
||||
?>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
include ("./inc/config.php");
|
||||
include ("../includes/config.php");
|
||||
|
||||
// Die Session zerstoeren...
|
||||
session_start();
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
$title = "Anmeldung zum Chaos-Engel";
|
||||
$header = "";
|
||||
$success = "none";
|
||||
include ("./inc/config.php");
|
||||
include ("./inc/header.php");
|
||||
include ("./inc/config_db.php");
|
||||
include ("./inc/crypt.php");
|
||||
include ("../includes/config.php");
|
||||
include ("../includes/header.php");
|
||||
include ("../includes/config_db.php");
|
||||
include ("../includes/crypt.php");
|
||||
|
||||
|
||||
if( isset($_POST["send"]))
|
||||
|
@ -194,6 +194,6 @@ echo "\t\t</table>\n";
|
|||
echo "\t</form>\n";
|
||||
Print_Text("makeuser_text3");
|
||||
}
|
||||
include ("./inc/footer.php");
|
||||
include ("../includes/footer.php");
|
||||
?>
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
../inc
|
Loading…
Reference in New Issue