From d50b3996c581aa1dafa930dc7e2302e4062430db Mon Sep 17 00:00:00 2001
From: Patrick Seeger <pseeger@ccwn.org>
Date: Fri, 18 May 2012 09:04:37 +0200
Subject: =?UTF-8?q?CMS-Datenbankstruktur=20eingef=C3=BCgt=20(und=20n=C3=B6?=
 =?UTF-8?q?tige=20Daten)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 protected/data/sitecontent.sql      | 58 +++++++++++++++++++++++++++++++++++++
 themes/astaf/views/layouts/main.php |  4 +--
 2 files changed, 60 insertions(+), 2 deletions(-)
 create mode 100644 protected/data/sitecontent.sql

diff --git a/protected/data/sitecontent.sql b/protected/data/sitecontent.sql
new file mode 100644
index 0000000..bce6b59
--- /dev/null
+++ b/protected/data/sitecontent.sql
@@ -0,0 +1,58 @@
+-- phpMyAdmin SQL Dump
+-- version 3.4.5
+-- http://www.phpmyadmin.net
+--
+-- Host: localhost
+-- Erstellungszeit: 18. Mai 2012 um 09:03
+-- Server Version: 5.5.16
+-- PHP-Version: 5.3.8
+
+SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
+SET time_zone = "+00:00";
+
+
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
+/*!40101 SET NAMES utf8 */;
+
+--
+-- Datenbank: `astaf`
+--
+
+-- --------------------------------------------------------
+
+--
+-- Tabellenstruktur für Tabelle `sitecontent`
+--
+
+CREATE TABLE IF NOT EXISTS `sitecontent` (
+  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
+  `parent` int(11) NOT NULL,
+  `authorid` varchar(255) DEFAULT NULL,
+  `language` varchar(5) NOT NULL,
+  `position` int(10) unsigned NOT NULL,
+  `keywords` varchar(255) DEFAULT NULL,
+  `description` varchar(255) DEFAULT NULL,
+  `title_url` varchar(80) NOT NULL,
+  `title_browser` varchar(80) NOT NULL,
+  `title` varchar(255) NOT NULL,
+  `content` text NOT NULL,
+  `createtime` int(11) DEFAULT NULL,
+  `updatetime` int(11) DEFAULT NULL,
+  PRIMARY KEY (`id`,`language`)
+) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ;
+
+--
+-- Daten für Tabelle `sitecontent`
+--
+
+INSERT INTO `sitecontent` (`id`, `parent`, `authorid`, `language`, `position`, `keywords`, `description`, `title_url`, `title_browser`, `title`, `content`, `createtime`, `updatetime`) VALUES
+(1, 0, NULL, '0', 0, 'Willkommen', 'Willkommen auf dem Waiblinger Altstadtfest', 'home', 'Home', 'Waiblinger Altstadtfest', '<p>\r\n	Willkommen auf dem Waiblinger Altstaftfest 2012</p>\r\n', 1335045073, 1336035130),
+(6, 7, NULL, '0', 0, 'Template', '', 'info_seitenleiste', 'info_seitenleiste', 'Seitenleiste', '<p>\r\n	<strong>Fragen, Kritik zum Altstadtfest Internet Angebot?</strong></p>\r\n<ul><li>\r\n		<a href="mailto:info@astaf.de">ASTAF.de Redaktion</a></li>\r\n	<li>\r\n		<a href="mailto:rathaus@waiblingen.de?subject=ASTAF%3A%20">Stadt Waiblingen</a></li>\r\n	<li>\r\n		Auftritte</li>\r\n</ul><p>\r\n	<img alt="" src="http://www.123find.me/uploads/images/icons/blume.jpg" style="width:48px;height:48px;" /></p>\r\n', 1336034115, 1337104897),
+(7, 0, NULL, '0', 0, 'Template', '', '', '', 'DUMMY - Platzhalter für Templateelemente', '', 1336034787, 1336034787),
+(8, 7, NULL, '0', 0, 'Template', '', 'info_box_seitenleiste', 'info_box_seitenleiste', 'Infobox Seitenleiste', 'Das nächste Altstadtfest findet vom <strong>29.06.2012</strong> bis zum <strong>1.7.2012</strong> statt.\r\n', 1336034903, 1336035025);
+
+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
diff --git a/themes/astaf/views/layouts/main.php b/themes/astaf/views/layouts/main.php
index 1fec929..20c87fd 100644
--- a/themes/astaf/views/layouts/main.php
+++ b/themes/astaf/views/layouts/main.php
@@ -157,7 +157,7 @@
 							<div class="ym-vlist">
 							
 							
-							<?php $this->widget('zii.widgets.CMenu',
+							<?php /*$this->widget('zii.widgets.CMenu',
 									array('items'=>array_merge(array(array('activeCssClass' => 'active'),
 				array('label'=>'Impressum', 'url'=>array('/cms/sitecontent/view', 'page'=>'impressum')),
 				),
@@ -169,7 +169,7 @@
 				)
 			)
 		)); 
-			?>
+			*/?>
 							</div>
 						</div> -->
 
-- 
cgit v1.0-28-g1787

