Commit b384099d authored by Klaus-Uwe Mitterer's avatar Klaus-Uwe Mitterer

Restructuring a few things

Finally adding the setup files ._.
parent e196eda8
......@@ -2,14 +2,7 @@
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
session_start();
/* Make changes here. Original values at the bottom of this file */
define('DB_HOST','localhost');
define('DB_USER','voting');
define('DB_PASS','test');
define('DB_NAME','voting');
define('SITE_PATH',$_SERVER['DOCUMENT_ROOT'].'/voting/');
define('SITE_URL','https://'.$_SERVER['HTTP_HOST'].'/voting/');
/* Leave everything as it is from here on. */
include "database.php";
define('SITE_INCLUDES',SITE_PATH.'includes/');
define('SITE_CSS',SITE_URL.'css/');
......@@ -51,13 +44,4 @@ define('STATE_NOTIFICATIONS',STATE_URL.'plugins/notifications/');
$dbCon = mysql_connect(DB_HOST,DB_USER,DB_PASS);
mysql_select_db(DB_NAME);
/*
define('DB_HOST','localhost');
define('DB_USER','voting');
define('DB_PASS','password');
define('DB_NAME','voting');
define('SITE_PATH',$_SERVER['DOCUMENT_ROOT'].'/voting/');
define('SITE_URL','https://'.$_SERVER['HTTP_HOST'].'/voting/');
*/
?>
<?php
$config['header'] = "PHP Setup Wizard";
$config['applicationPath'] = "../../../";
$config['database_file'] = "app/config/database.php";
// INTRODUCTION
$introduction = array();
$introduction["product"] = "PHP Setup Wizard";
$introduction["productVersion"] = "1.0";
$introduction["company"] = "WolveWare e.U.";
// SERVER REQUIREMENTS
$requirements = array();
$requirements["phpVersion"] = "5";
$requirements["extensions"] = array("mysql", "pcre");
// FILE PERMISSIONS
// r = readable, w = writable, x = executable
$filePermissions = array();
$filePermissions["app/config/database.php"] = "rw";
$filePermissions["app/tmp"] = "rw";
\ No newline at end of file
<?php
define('DB_HOST','%%host%%');
define('DB_USER','%%username%%');
define('DB_PASS','%%password%%');
define('DB_NAME','%%database%%');
define('SITE_PATH',$_SERVER['DOCUMENT_ROOT'].'/%%subdir%%/');
define('SITE_URL','https://'.$_SERVER['HTTP_HOST'].'/%%subdir%%/');
?>
\ No newline at end of file
<p>Now you can login with the default administrator account and password</p>
<ul>
<li>Username: <b>admin</b></li>
<li>Password: <b>admin</b></li>
</ul>
<p>Please change the default password after you logged in!</p>
\ No newline at end of file
This diff is collapsed.
......@@ -15,13 +15,6 @@ SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `voting`
--
CREATE DATABASE IF NOT EXISTS `voting` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `voting`;
-- --------------------------------------------------------
--
......
9
dir
176
svn://r2d2.christiantrummer.info/var/svn/ApiCms/app/webroot/setup_/css/blueprint
svn://r2d2.christiantrummer.info/var/svn/ApiCms
2010-10-26T21:58:03.311687Z
77
christian
svn:special svn:externals svn:needs-lock
3d31c25d-1726-41b7-a40c-d7726fbbc509
ie.css
file
2011-03-25T13:07:03.000000Z
60914bd8f21225cdb9e8b956fbc4786b
2010-10-26T21:58:03.311687Z
77
christian
1936
plugins
dir
print.css
file
2011-03-25T13:07:03.000000Z
d1bd2440511227355570735e3392f798
2010-10-26T21:58:03.311687Z
77
christian
1284
screen.css
file
2011-03-25T13:07:03.000000Z
ad22fd52a4090033c04d02590ca42e9f
2010-10-26T21:58:03.311687Z
77
christian
12224
src
dir
/* -----------------------------------------------------------------------
Blueprint CSS Framework 1.0
http://blueprintcss.org
* Copyright (c) 2007-Present. See LICENSE for more info.
* See README for instructions on how to use Blueprint.
* For credits and origins, see AUTHORS.
* This is a compressed file. See the sources in the 'src' directory.
----------------------------------------------------------------------- */
/* ie.css */
body {text-align:center;}
.container {text-align:left;}
* html .column, * html .span-1, * html .span-2, * html .span-3, * html .span-4, * html .span-5, * html .span-6, * html .span-7, * html .span-8, * html .span-9, * html .span-10, * html .span-11, * html .span-12, * html .span-13, * html .span-14, * html .span-15, * html .span-16, * html .span-17, * html .span-18, * html .span-19, * html .span-20, * html .span-21, * html .span-22, * html .span-23, * html .span-24 {display:inline;overflow-x:hidden;}
* html legend {margin:0px -8px 16px 0;padding:0;}
sup {vertical-align:text-top;}
sub {vertical-align:text-bottom;}
html>body p code {*white-space:normal;}
hr {margin:-8px auto 11px;}
img {-ms-interpolation-mode:bicubic;}
.clearfix, .container {display:inline-block;}
* html .clearfix, * html .container {height:1%;}
fieldset {padding-top:0;}
legend {margin-top:-0.2em;margin-bottom:1em;margin-left:-0.5em;}
textarea {overflow:auto;}
label {vertical-align:middle;position:relative;top:-0.25em;}
input.text, input.title, textarea {background-color:#fff;border:1px solid #bbb;}
input.text:focus, input.title:focus {border-color:#666;}
input.text, input.title, textarea, select {margin:0.5em 0;}
input.checkbox, input.radio {position:relative;top:.25em;}
form.inline div, form.inline p {vertical-align:middle;}
form.inline input.checkbox, form.inline input.radio, form.inline input.button, form.inline button {margin:0.5em 0;}
button, input.button {position:relative;top:0.25em;}
\ No newline at end of file
/* -----------------------------------------------------------------------
Blueprint CSS Framework 1.0
http://blueprintcss.org
* Copyright (c) 2007-Present. See LICENSE for more info.
* See README for instructions on how to use Blueprint.
* For credits and origins, see AUTHORS.
* This is a compressed file. See the sources in the 'src' directory.
----------------------------------------------------------------------- */
/* print.css */
body {line-height:1.5;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;color:#000;background:none;font-size:10pt;}
.container {background:none;}
hr {background:#ccc;color:#ccc;width:100%;height:2px;margin:2em 0;padding:0;border:none;}
hr.space {background:#fff;color:#fff;visibility:hidden;}
h1, h2, h3, h4, h5, h6 {font-family:"Helvetica Neue", Arial, "Lucida Grande", sans-serif;}
code {font:.9em "Courier New", Monaco, Courier, monospace;}
a img {border:none;}
p img.top {margin-top:0;}
blockquote {margin:1.5em;padding:1em;font-style:italic;font-size:.9em;}
.small {font-size:.9em;}
.large {font-size:1.1em;}
.quiet {color:#999;}
.hide {display:none;}
a:link, a:visited {background:transparent;font-weight:700;text-decoration:underline;}
a:link:after, a:visited:after {content:" (" attr(href) ")";font-size:90%;}
\ No newline at end of file
This diff is collapsed.
/* -----------------------------------------------------------------------
Blueprint CSS Framework 1.0
http://blueprintcss.org
* Copyright (c) 2007-Present. See LICENSE for more info.
* See README for instructions on how to use Blueprint.
* For credits and origins, see AUTHORS.
* This is a compressed file. See the sources in the 'src' directory.
----------------------------------------------------------------------- */
/* ie.css */
body {text-align:center;}
.container {text-align:left;}
* html .column, * html .span-1, * html .span-2, * html .span-3, * html .span-4, * html .span-5, * html .span-6, * html .span-7, * html .span-8, * html .span-9, * html .span-10, * html .span-11, * html .span-12, * html .span-13, * html .span-14, * html .span-15, * html .span-16, * html .span-17, * html .span-18, * html .span-19, * html .span-20, * html .span-21, * html .span-22, * html .span-23, * html .span-24 {display:inline;overflow-x:hidden;}
* html legend {margin:0px -8px 16px 0;padding:0;}
sup {vertical-align:text-top;}
sub {vertical-align:text-bottom;}
html>body p code {*white-space:normal;}
hr {margin:-8px auto 11px;}
img {-ms-interpolation-mode:bicubic;}
.clearfix, .container {display:inline-block;}
* html .clearfix, * html .container {height:1%;}
fieldset {padding-top:0;}
legend {margin-top:-0.2em;margin-bottom:1em;margin-left:-0.5em;}
textarea {overflow:auto;}
label {vertical-align:middle;position:relative;top:-0.25em;}
input.text, input.title, textarea {background-color:#fff;border:1px solid #bbb;}
input.text:focus, input.title:focus {border-color:#666;}
input.text, input.title, textarea, select {margin:0.5em 0;}
input.checkbox, input.radio {position:relative;top:.25em;}
form.inline div, form.inline p {vertical-align:middle;}
form.inline input.checkbox, form.inline input.radio, form.inline input.button, form.inline button {margin:0.5em 0;}
button, input.button {position:relative;top:0.25em;}
\ No newline at end of file
9
dir
176
svn://r2d2.christiantrummer.info/var/svn/ApiCms/app/webroot/setup_/css/blueprint/plugins
svn://r2d2.christiantrummer.info/var/svn/ApiCms
2010-10-26T21:58:03.311687Z
77
christian
svn:special svn:externals svn:needs-lock
3d31c25d-1726-41b7-a40c-d7726fbbc509
buttons
dir
fancy-type
dir
link-icons
dir
rtl
dir
9
dir
176
svn://r2d2.christiantrummer.info/var/svn/ApiCms/app/webroot/setup_/css/blueprint/plugins/buttons
svn://r2d2.christiantrummer.info/var/svn/ApiCms
2010-10-26T21:58:03.311687Z
77
christian
svn:special svn:externals svn:needs-lock
3d31c25d-1726-41b7-a40c-d7726fbbc509
icons
dir
readme.txt
file
2011-03-25T13:07:03.000000Z
33b07c48a731383cce1e675618712dbe
2010-10-26T21:58:03.311687Z
77
christian
930
screen.css
file
2011-03-25T13:07:03.000000Z
82ca4c1157cea6e2d435c99a63049aa9
2010-10-26T21:58:03.311687Z
77
christian
2004
Buttons
* Gives you great looking CSS buttons, for both <a> and <button>.
* Demo: particletree.com/features/rediscovering-the-button-element
Credits
----------------------------------------------------------------
* Created by Kevin Hale [particletree.com]
* Adapted for Blueprint by Olav Bjorkoy [bjorkoy.com]
Usage
----------------------------------------------------------------
1) Add this plugin to lib/settings.yml.
See compress.rb for instructions.
2) Use the following HTML code to place the buttons on your site:
<button type="submit" class="button positive">
<img src="css/blueprint/plugins/buttons/icons/tick.png" alt=""/> Save
</button>
<a class="button" href="/password/reset/">
<img src="css/blueprint/plugins/buttons/icons/key.png" alt=""/> Change Password
</a>
<a href="#" class="button negative">
<img src="css/blueprint/plugins/buttons/icons/cross.png" alt=""/> Cancel
</a>
/* --------------------------------------------------------------
buttons.css
* Gives you some great CSS-only buttons.
Created by Kevin Hale [particletree.com]
* particletree.com/features/rediscovering-the-button-element
See Readme.txt in this folder for instructions.
-------------------------------------------------------------- */
a.button, button {
display:block;
float:left;
margin: 0.7em 0.5em 0.7em 0;
padding:5px 10px 5px 7px; /* Links */
border:1px solid #dedede;
border-top:1px solid #eee;
border-left:1px solid #eee;
background-color:#f5f5f5;
font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
font-size:100%;
line-height:130%;
text-decoration:none;
font-weight:bold;
color:#565656;
cursor:pointer;
}
button {
width:auto;
overflow:visible;
padding:4px 10px 3px 7px; /* IE6 */
}
button[type] {
padding:4px 10px 4px 7px; /* Firefox */
line-height:17px; /* Safari */
}
*:first-child+html button[type] {
padding:4px 10px 3px 7px; /* IE7 */
}
button img, a.button img{
margin:0 3px -3px 0 !important;
padding:0;
border:none;
width:16px;
height:16px;
float:none;
}
/* Button colors
-------------------------------------------------------------- */
/* Standard */
button:hover, a.button:hover{
background-color:#dff4ff;
border:1px solid #c2e1ef;
color:#336699;
}
a.button:active{
background-color:#6299c5;
border:1px solid #6299c5;
color:#fff;
}
/* Positive */
body .positive {
color:#529214;
}
a.positive:hover, button.positive:hover {
background-color:#E6EFC2;
border:1px solid #C6D880;
color:#529214;
}
a.positive:active {
background-color:#529214;
border:1px solid #529214;
color:#fff;
}
/* Negative */
body .negative {
color:#d12f19;
}
a.negative:hover, button.negative:hover {
background-color:#fbe3e4;
border:1px solid #fbc2c4;
color:#d12f19;
}
a.negative:active {
background-color:#d12f19;
border:1px solid #d12f19;
color:#fff;
}
9
dir
176
svn://r2d2.christiantrummer.info/var/svn/ApiCms/app/webroot/setup_/css/blueprint/plugins/buttons/icons
svn://r2d2.christiantrummer.info/var/svn/ApiCms
2010-10-26T21:58:03.311687Z
77
christian
svn:special svn:externals svn:needs-lock
3d31c25d-1726-41b7-a40c-d7726fbbc509
cross.png
file
2011-03-25T13:07:03.000000Z
42492684e24356a4081134894eabeb9e
2010-10-26T21:58:03.311687Z
77
christian
has-props
655
key.png
file
2011-03-25T13:07:03.000000Z
dc3d4d8784961f01f8baa5b27cf56dde
2010-10-26T21:58:03.311687Z
77
christian
has-props