1
0

Added About page

This commit is contained in:
Mike Schwörer 2014-05-14 11:15:32 +02:00
parent b8d8e888d2
commit a2b684eee1
16 changed files with 450 additions and 397 deletions

3
.htaccess Normal file
View File

@ -0,0 +1,3 @@
RewriteEngine on
RewriteBase /www/

View File

@ -2,7 +2,11 @@
<project version="4">
<component name="ProjectCodeStyleSettingsManager">
<option name="PER_PROJECT_SETTINGS">
<value />
<value>
<XML>
<option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
</XML>
</value>
</option>
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default (1)" />
</component>

View File

@ -2,13 +2,13 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="802a3fea-d257-43f4-acd0-825667875110" name="Default" comment="">
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/vcs.xml" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/encodings.xml" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/scopes/scope_settings.xml" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/www.mikescher.de.iml" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/scopes/scope_settings.xml" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/vcs.xml" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/modules.xml" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/misc.xml" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/frameworkRootSettings.xml" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/modules.xml" />
</list>
<ignored path="www.mikescher.de.iws" />
<ignored path=".idea/workspace.xml" />
@ -63,48 +63,50 @@
</component>
<component name="FileEditorManager">
<leaf>
<file leaf-file-name="index.php" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/demos/default/index.php">
<file leaf-file-name="main.php" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/www/protected/views/layouts/main.php">
<provider selected="true" editor-type-id="text-editor">
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="-0.0" vertical-offset="0" max-vertical-offset="323">
<state line="17" column="49" selection-start="564" selection-end="564" vertical-scroll-proportion="-9.153846" vertical-offset="51" max-vertical-offset="1734">
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="main.php" pinned="false" current="true" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/www/protected/views/layouts/main.php">
<file leaf-file-name="yiilite.php" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/framework/yiilite.php">
<provider selected="true" editor-type-id="text-editor">
<state line="72" column="2" selection-start="1954" selection-end="1954" vertical-scroll-proportion="0.184" vertical-offset="1132" max-vertical-offset="1632">
<state line="56" column="27" selection-start="2001" selection-end="2001" vertical-scroll-proportion="-6.769231" vertical-offset="436" max-vertical-offset="176647">
<folding>
<marker date="1399998220779" expanded="true" signature="1998:2033" placeholder="..." />
<marker date="1376266513000" expanded="true" signature="261271:261328" placeholder="SELECT MAX(`..." />
<marker date="1376266513000" expanded="true" signature="261469:261536" placeholder="UPDATE sqlit..." />
<marker date="1376266513000" expanded="true" signature="261803:261880" placeholder="SELECT DISTI..sqlite_master..." />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="TbHtml.php" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/www/protected/extensions/bootstrap/helpers/TbHtml.php">
<file leaf-file-name="styles.css" pinned="false" current="true" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/www/css/styles.css">
<provider selected="true" editor-type-id="text-editor">
<state line="2375" column="27" selection-start="93988" selection-end="93988" vertical-scroll-proportion="-7.9615383" vertical-offset="40049" max-vertical-offset="74018">
<state line="33" column="23" selection-start="536" selection-end="536" vertical-scroll-proportion="0.780037" vertical-offset="139" max-vertical-offset="680">
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="CHtml.php" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/framework/web/helpers/CHtml.php">
<file leaf-file-name="CApplication.php" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/framework/base/CApplication.php">
<provider selected="true" editor-type-id="text-editor">
<state line="338" column="21" selection-start="11920" selection-end="11920" vertical-scroll-proportion="-6.576923" vertical-offset="5456" max-vertical-offset="44438">
<state line="708" column="0" selection-start="24111" selection-end="24111" vertical-scroll-proportion="-6.923077" vertical-offset="11737" max-vertical-offset="16813">
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="TbArray.php" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/www/protected/extensions/bootstrap/helpers/TbArray.php">
<file leaf-file-name="about.php" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/www/protected/views/site/about.php">
<provider selected="true" editor-type-id="text-editor">
<state line="33" column="55" selection-start="1094" selection-end="1100" vertical-scroll-proportion="-7.730769" vertical-offset="258" max-vertical-offset="2550">
<state line="10" column="27" selection-start="140" selection-end="140" vertical-scroll-proportion="-6.5384617" vertical-offset="0" max-vertical-offset="1343">
<folding />
</state>
</provider>
@ -113,14 +115,35 @@
<file leaf-file-name="index.php" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/www/protected/views/site/index.php">
<provider selected="true" editor-type-id="text-editor">
<state line="45" column="27" selection-start="1002" selection-end="1002" vertical-scroll-proportion="-11.769231" vertical-offset="459" max-vertical-offset="1513">
<state line="10" column="18" selection-start="120" selection-end="131" vertical-scroll-proportion="-6.5384617" vertical-offset="0" max-vertical-offset="1564">
<folding>
<marker date="1399989827567" expanded="true" signature="746:769" placeholder="SELECT * FRO..programme..." />
<marker date="1400057846386" expanded="true" signature="170:2090" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="271:552" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="303:310" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="314:464" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="605:2025" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="627:1280" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="683:1211" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="778:801" placeholder="SELECT * FRO..programme..." />
<marker date="1400057846386" expanded="true" signature="1302:1643" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="1330:1574" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="1665:2017" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="1693:1948" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="2043:2083" placeholder="..." />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="SiteController.php" pinned="false" current="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/www/protected/controllers/SiteController.php">
<provider selected="true" editor-type-id="text-editor">
<state line="4" column="28" selection-start="74" selection-end="74" vertical-scroll-proportion="-2.6153846" vertical-offset="0" max-vertical-offset="544">
<folding />
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component name="FindManager">
@ -136,8 +159,12 @@
<list>
<option value="$PROJECT_DIR$/www/index.php" />
<option value="$PROJECT_DIR$/www/protected/config/main.php" />
<option value="$PROJECT_DIR$/www/protected/extensions/bootstrap/helpers/TbHtml.php" />
<option value="$PROJECT_DIR$/www/protected/controllers/SiteController.php" />
<option value="$PROJECT_DIR$/www/protected/views/site/index.php" />
<option value="$PROJECT_DIR$/www/protected/views/site/about.php" />
<option value="$PROJECT_DIR$/www/protected/views/layouts/main.php" />
<option value="$PROJECT_DIR$/www/css/styles.css" />
</list>
</option>
</component>
@ -219,7 +246,6 @@
<sortByType />
</navigator>
<panes>
<pane id="Scope" />
<pane id="ProjectPane">
<subPane>
<PATH>
@ -340,7 +366,7 @@
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="extensions" />
<option name="myItemId" value="data" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
@ -362,11 +388,7 @@
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="extensions" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="bootstrap" />
<option name="myItemId" value="controllers" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
@ -388,15 +410,7 @@
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="extensions" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="bootstrap" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="helpers" />
<option name="myItemId" value="config" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
@ -418,118 +432,9 @@
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="www.mikescher.de" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="www.mikescher.de" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="demos" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="www.mikescher.de" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="www.mikescher.de" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="demos" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="default" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="www.mikescher.de" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="www.mikescher.de" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="demos" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="default" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="protected" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="www.mikescher.de" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="www.mikescher.de" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="demos" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="default" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="protected" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="views" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="site" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="www.mikescher.de" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="www.mikescher.de" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="demos" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="default" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="protected" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="views" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
</subPane>
</pane>
<pane id="Scope" />
</panes>
</component>
<component name="PropertiesComponent">
@ -543,6 +448,11 @@
<property name="LayoutCode.rearrangeEntriesPHP" value="false" />
<property name="restartRequiresConfirmation" value="true" />
</component>
<component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS">
<recent name="E:\Eigene Dateien\Dropbox\Programming\Web\Mikescher.de\www.mikescher.de\www\protected\views\site" />
</key>
</component>
<component name="RunManager" selected="PHP HTTP Request.www.mikescher.de - Index">
<configuration default="false" name="index.php" type="JavascriptDebugType" factoryName="JavaScript Debug" singleton="true" temporary="true" uri="http://localhost:63342/www.mikescher.de/www/index.php">
<method />
@ -581,8 +491,8 @@
<method />
</configuration>
<list size="3">
<item index="0" class="java.lang.String" itemvalue="JavaScript Debug.index.php" />
<item index="1" class="java.lang.String" itemvalue="PHP HTTP Request.www.mikescher.de - Index" />
<item index="0" class="java.lang.String" itemvalue="PHP HTTP Request.www.mikescher.de - Index" />
<item index="1" class="java.lang.String" itemvalue="JavaScript Debug.index.php" />
<item index="2" class="java.lang.String" itemvalue="PHP Script.index.php" />
</list>
<recent_temporary>
@ -624,24 +534,24 @@
<layout>
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32943678" sideWeight="0.4997245" order="11" side_tool="false" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32943678" sideWeight="0.4997245" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="PHP-CGI Server" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
<window_info id="Framework" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3294766" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3995749" sideWeight="0.4997245" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3995749" sideWeight="0.5002755" order="9" side_tool="true" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.2214876" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.24958678" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.19008264" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="Framework" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3294766" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.19173554" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.39872748" sideWeight="0.4997245" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.2214876" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.39872748" sideWeight="0.5002755" order="9" side_tool="true" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33900106" sideWeight="0.4997245" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32943678" sideWeight="0.4997245" order="1" side_tool="false" content_ui="tabs" />
<window_info id="PHP-CGI Server" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
</layout>
</component>
<component name="Vcs.Log.UiProperties">
@ -659,17 +569,69 @@
</component>
<component name="XDebuggerManager">
<breakpoint-manager>
<breakpoints>
<line-breakpoint enabled="true" type="php">
<url>file://$PROJECT_DIR$/www/protected/extensions/bootstrap/helpers/TbHtml.php</url>
<line>3350</line>
<option name="timeStamp" value="2" />
</line-breakpoint>
</breakpoints>
<option name="time" value="3" />
<breakpoints-dialog>
<breakpoints-dialog />
</breakpoints-dialog>
<option name="time" value="12" />
</breakpoint-manager>
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/demos/default/index.php">
<provider selected="true" editor-type-id="text-editor">
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="323">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/www/protected/views/layouts/main.php">
<provider selected="true" editor-type-id="text-editor">
<state line="72" column="2" selection-start="1954" selection-end="1954" vertical-scroll-proportion="0.0" vertical-offset="1224" max-vertical-offset="1632">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/www/protected/extensions/bootstrap/helpers/TbHtml.php">
<provider selected="true" editor-type-id="text-editor">
<state line="2375" column="27" selection-start="93988" selection-end="93988" vertical-scroll-proportion="0.0" vertical-offset="40375" max-vertical-offset="74137">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/framework/web/helpers/CHtml.php">
<provider selected="true" editor-type-id="text-editor">
<state line="338" column="21" selection-start="11920" selection-end="11920" vertical-scroll-proportion="0.0" vertical-offset="5746" max-vertical-offset="44557">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/www/protected/extensions/bootstrap/helpers/TbArray.php">
<provider selected="true" editor-type-id="text-editor">
<state line="33" column="55" selection-start="1094" selection-end="1100" vertical-scroll-proportion="0.0" vertical-offset="561" max-vertical-offset="2652">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/www/protected/views/site/index.php">
<provider selected="true" editor-type-id="text-editor">
<state line="45" column="27" selection-start="1002" selection-end="1002" vertical-scroll-proportion="0.0" vertical-offset="459" max-vertical-offset="1513">
<folding>
<marker date="1400057846386" expanded="true" signature="170:2090" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="271:552" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="303:310" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="314:464" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="605:2025" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="627:1280" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="683:1211" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="778:801" placeholder="SELECT * FRO..programme..." />
<marker date="1400057846386" expanded="true" signature="1302:1643" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="1330:1574" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="1665:2017" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="1693:1948" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="2043:2083" placeholder="..." />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/www/index.php">
<provider selected="true" editor-type-id="text-editor">
<state line="6" column="18" selection-start="173" selection-end="173" vertical-scroll-proportion="0.0" vertical-offset="102" max-vertical-offset="323">
@ -686,65 +648,79 @@
</entry>
<entry file="file://$PROJECT_DIR$/www/protected/config/env/dev.php">
<provider selected="true" editor-type-id="text-editor">
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="714">
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="714" />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/demos/blog/protected/views/site/login.php">
<provider selected="true" editor-type-id="text-editor">
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="884" />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/demos/blog/index.php">
<provider selected="true" editor-type-id="text-editor">
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="596" />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/demos/default/protected/views/site/login.php">
<provider selected="true" editor-type-id="text-editor">
<state line="6" column="0" selection-start="145" selection-end="183" vertical-scroll-proportion="0.17894737" vertical-offset="0" max-vertical-offset="1003" />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/demos/default/protected/views/layouts/main.php">
<provider selected="true" editor-type-id="text-editor">
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="-0.40175438" vertical-offset="229" max-vertical-offset="1105" />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/www/protected/extensions/bootstrap/helpers/TbArray.php">
<provider selected="true" editor-type-id="text-editor">
<state line="33" column="55" selection-start="1094" selection-end="1100" vertical-scroll-proportion="0.0" vertical-offset="561" max-vertical-offset="2652">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/framework/web/helpers/CHtml.php">
<provider selected="true" editor-type-id="text-editor">
<state line="338" column="21" selection-start="11920" selection-end="11920" vertical-scroll-proportion="0.0" vertical-offset="5746" max-vertical-offset="44557">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/framework/gii/assets/js/main.js">
<provider selected="true" editor-type-id="text-editor">
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1428" />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/www/index.php">
<provider selected="true" editor-type-id="text-editor">
<state line="11" column="0" selection-start="376" selection-end="376" vertical-scroll-proportion="0.32807016" vertical-offset="0" max-vertical-offset="570">
<state line="12" column="16" selection-start="412" selection-end="412" vertical-scroll-proportion="0.30357143" vertical-offset="0" max-vertical-offset="672">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/framework/web/CController.php">
<provider selected="true" editor-type-id="text-editor">
<state line="777" column="20" selection-start="29350" selection-end="29350" vertical-scroll-proportion="-1.0349514" vertical-offset="13623" max-vertical-offset="20910">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/www/protected/extensions/bootstrap/widgets/TbNavbar.php">
<provider selected="true" editor-type-id="text-editor">
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="-0.9475728" vertical-offset="488" max-vertical-offset="2176">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/www/protected/extensions/bootstrap/helpers/TbHtml.php">
<provider selected="true" editor-type-id="text-editor">
<state line="2724" column="0" selection-start="107442" selection-end="107442" vertical-scroll-proportion="0.33203885" vertical-offset="46018" max-vertical-offset="74018">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/www/protected/config/main.php">
<provider selected="true" editor-type-id="text-editor">
<state line="55" column="61" selection-start="1250" selection-end="1250" vertical-scroll-proportion="-35.96154" vertical-offset="0" max-vertical-offset="1666">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/demos/blog/protected/views/site/login.php">
<provider selected="true" editor-type-id="text-editor">
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="884">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/demos/blog/index.php">
<provider selected="true" editor-type-id="text-editor">
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="596">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/demos/default/protected/views/site/login.php">
<provider selected="true" editor-type-id="text-editor">
<state line="6" column="0" selection-start="145" selection-end="183" vertical-scroll-proportion="0.17894737" vertical-offset="0" max-vertical-offset="1003">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/demos/default/protected/views/layouts/main.php">
<provider selected="true" editor-type-id="text-editor">
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="-0.40175438" vertical-offset="229" max-vertical-offset="1105">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/www/protected/views/site/index.php">
<provider selected="true" editor-type-id="text-editor">
<state line="45" column="27" selection-start="1002" selection-end="1002" vertical-scroll-proportion="-11.769231" vertical-offset="459" max-vertical-offset="1513">
<folding>
<marker date="1399989827567" expanded="true" signature="746:769" placeholder="SELECT * FRO..programme..." />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/www/protected/extensions/bootstrap/helpers/TbArray.php">
<provider selected="true" editor-type-id="text-editor">
<state line="33" column="55" selection-start="1094" selection-end="1100" vertical-scroll-proportion="-7.730769" vertical-offset="258" max-vertical-offset="2550">
<state line="58" column="34" selection-start="1342" selection-end="1342" vertical-scroll-proportion="-37.923077" vertical-offset="0" max-vertical-offset="1666">
<folding />
</state>
</provider>
@ -756,33 +732,105 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/framework/web/helpers/CHtml.php">
<entry file="file://$PROJECT_DIR$/framework/web/CBaseController.php">
<provider selected="true" editor-type-id="text-editor">
<state line="338" column="21" selection-start="11920" selection-end="11920" vertical-scroll-proportion="-6.576923" vertical-offset="5456" max-vertical-offset="44438">
<state line="145" column="0" selection-start="5067" selection-end="5067" vertical-scroll-proportion="-6.576923" vertical-offset="2175" max-vertical-offset="5117">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/www/protected/extensions/bootstrap/helpers/TbHtml.php">
<entry file="file://$PROJECT_DIR$/framework/YiiBase.php">
<provider selected="true" editor-type-id="text-editor">
<state line="2375" column="27" selection-start="93988" selection-end="93988" vertical-scroll-proportion="-7.9615383" vertical-offset="40049" max-vertical-offset="74018">
<state line="133" column="0" selection-start="4774" selection-end="4774" vertical-scroll-proportion="-6.576923" vertical-offset="1937" max-vertical-offset="14739">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/framework/gii/assets/js/main.js">
<entry file="file://$PROJECT_DIR$/framework/web/CWebApplication.php">
<provider selected="true" editor-type-id="text-editor">
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1428">
<state line="239" column="0" selection-start="8032" selection-end="8032" vertical-scroll-proportion="-6.576923" vertical-offset="3773" max-vertical-offset="9282">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/framework/web/CWidgetFactory.php">
<provider selected="true" editor-type-id="text-editor">
<state line="159" column="0" selection-start="6496" selection-end="6496" vertical-scroll-proportion="-6.576923" vertical-offset="2413" max-vertical-offset="3315">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/www/protected/components/Controller.php">
<provider selected="true" editor-type-id="text-editor">
<state line="5" column="6" selection-start="158" selection-end="158" vertical-scroll-proportion="0.16504854" vertical-offset="0" max-vertical-offset="515">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/www/protected/controllers/SiteController.php">
<provider selected="true" editor-type-id="text-editor">
<state line="4" column="28" selection-start="74" selection-end="74" vertical-scroll-proportion="-2.6153846" vertical-offset="0" max-vertical-offset="544">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/framework/base/CApplication.php">
<provider selected="true" editor-type-id="text-editor">
<state line="708" column="0" selection-start="24111" selection-end="24111" vertical-scroll-proportion="-6.923077" vertical-offset="11737" max-vertical-offset="16813">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/www/protected/views/site/index.php">
<provider selected="true" editor-type-id="text-editor">
<state line="10" column="18" selection-start="120" selection-end="131" vertical-scroll-proportion="-6.5384617" vertical-offset="0" max-vertical-offset="1564">
<folding>
<marker date="1400057846386" expanded="true" signature="170:2090" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="271:552" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="303:310" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="314:464" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="605:2025" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="627:1280" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="683:1211" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="778:801" placeholder="SELECT * FRO..programme..." />
<marker date="1400057846386" expanded="true" signature="1302:1643" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="1330:1574" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="1665:2017" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="1693:1948" placeholder="..." />
<marker date="1400057846386" expanded="true" signature="2043:2083" placeholder="..." />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/www/protected/views/site/about.php">
<provider selected="true" editor-type-id="text-editor">
<state line="10" column="27" selection-start="140" selection-end="140" vertical-scroll-proportion="-6.5384617" vertical-offset="0" max-vertical-offset="1343">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/framework/yiilite.php">
<provider selected="true" editor-type-id="text-editor">
<state line="56" column="27" selection-start="2001" selection-end="2001" vertical-scroll-proportion="-6.769231" vertical-offset="436" max-vertical-offset="176647">
<folding>
<marker date="1376266513000" expanded="true" signature="261271:261328" placeholder="SELECT MAX(`..." />
<marker date="1376266513000" expanded="true" signature="261469:261536" placeholder="UPDATE sqlit..." />
<marker date="1376266513000" expanded="true" signature="261803:261880" placeholder="SELECT DISTI..sqlite_master..." />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/www/protected/views/layouts/main.php">
<provider selected="true" editor-type-id="text-editor">
<state line="72" column="2" selection-start="1954" selection-end="1954" vertical-scroll-proportion="0.184" vertical-offset="1132" max-vertical-offset="1632">
<folding>
<marker date="1399998220779" expanded="true" signature="1998:2033" placeholder="..." />
</folding>
<state line="17" column="49" selection-start="564" selection-end="564" vertical-scroll-proportion="-9.153846" vertical-offset="51" max-vertical-offset="1734">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/www/css/styles.css">
<provider selected="true" editor-type-id="text-editor">
<state line="33" column="23" selection-start="536" selection-end="536" vertical-scroll-proportion="0.780037" vertical-offset="139" max-vertical-offset="680">
<folding />
</state>
</provider>
</entry>

View File

@ -6,3 +6,4 @@ RewriteCond %{REQUEST_FILENAME} !-d
# Leite andernfalls auf index.php um
RewriteRule . index.php

35
www/css/styles.css Normal file
View File

@ -0,0 +1,35 @@
/* Footer
-------------------------------------------------- */
.footer {
padding: 70px 0;
margin-top: 70px;
border-top: 1px solid #e5e5e5;
background-color: #f5f5f5;
text-align: center;
}
.footer p {
margin-bottom: 0;
color: #777;
}
.footer-links {
margin: 10px 0;
}
.footer-links li {
display: inline;
margin-right: 10px;
}
/* Helper
-------------------------------------------------- */
.cstm-background-white {
background-color: white;
}
.cstm-main-navbar {
margin-bottom: 0px;
}

View File

@ -49,7 +49,7 @@ return ArrayX::merge(array(
'urlManager'=>array(
'urlFormat' => 'path',
//'caseSensitive' => true,
'caseSensitive' => false,
'showScriptName' => true,
'rules'=>array(

View File

@ -2,39 +2,13 @@
class SiteController extends Controller
{
/**
* Declares class-based actions.
*/
public function actions()
{
return array(
// captcha action renders the CAPTCHA image displayed on the contact page
'captcha'=>array(
'class'=>'CCaptchaAction',
'backColor'=>0xFFFFFF,
),
// page action renders "static" pages stored under 'protected/views/site/pages'
// They can be accessed via: index.php?r=site/page&view=FileName
'page'=>array(
'class'=>'CViewAction',
),
);
}
public $selectedNav = '';
/**
* This is the default 'index' action that is invoked
* when an action is not explicitly requested by users.
*/
public function actionIndex()
{
// renders the view file 'protected/views/site/index.php'
// using the default layout 'protected/views/layouts/main.php'
$this->render('index');
}
/**
* This is the action to handle external exceptions.
*/
public function actionError()
{
if($error=Yii::app()->errorHandler->error)
@ -46,64 +20,8 @@ class SiteController extends Controller
}
}
/**
* Displays the contact page
*/
public function actionContact()
public function actionAbout()
{
$model=new ContactForm;
if(isset($_POST['ContactForm']))
{
$model->attributes=$_POST['ContactForm'];
if($model->validate())
{
$name='=?UTF-8?B?'.base64_encode($model->name).'?=';
$subject='=?UTF-8?B?'.base64_encode($model->subject).'?=';
$headers="From: $name <{$model->email}>\r\n".
"Reply-To: {$model->email}\r\n".
"MIME-Version: 1.0\r\n".
"Content-Type: text/plain; charset=UTF-8";
mail(Yii::app()->params['adminEmail'],$subject,$model->body,$headers);
Yii::app()->user->setFlash('contact','Thank you for contacting us. We will respond to you as soon as possible.');
$this->refresh();
}
}
$this->render('contact',array('model'=>$model));
}
/**
* Displays the login page
*/
public function actionLogin()
{
$model=new LoginForm;
// if it is ajax validation request
if(isset($_POST['ajax']) && $_POST['ajax']==='login-form')
{
echo CActiveForm::validate($model);
Yii::app()->end();
}
// collect user input data
if(isset($_POST['LoginForm']))
{
$model->attributes=$_POST['LoginForm'];
// validate user input and redirect to the previous page if valid
if($model->validate() && $model->login())
$this->redirect(Yii::app()->user->returnUrl);
}
// display the login form
$this->render('login',array('model'=>$model));
}
/**
* Logs out the current user and redirect to homepage.
*/
public function actionLogout()
{
Yii::app()->user->logout();
$this->redirect(Yii::app()->homeUrl);
$this->render('about');
}
}

View File

@ -0,0 +1,17 @@
<h2>Disclaimer</h2>
<h3>Haftung für Inhalte</h3>
<p>Obwohl wir uns um Aktualität, Vollständigkeit und Richtigkeit der Inhalte unserer Seiten bemühen, können wir hierfür keine Garantie übernehmen.</p>
<p>Nach § 7 Absatz 1 TMG sind wir als Diensteanbieter für eigene Inhalte auf unseren Seiten nach den allgemeinen Gesetzen verantwortlich. </p>
<p>Eine Verpflichtung zur Überwachung übermittelter oder gespeicherter fremder Informationen besteht jedoch nicht (§§ 8-10 TMG). Sobald uns Rechtsverstöße bekannt werden, werden wir die entsprechenden Inhalte umgehend entfernen. Eine dahingehende Haftung wird jedoch erst ab dem Zeitpunkt der Kenntnis konkreter Rechtsverletzungen übernommen.</p>
<h3>Haftung für Links</h3>
<p>Unsere Seiten enthalten Links auf externe Webseiten Dritter. Auf die Inhalte dieser direkt oder indirekt verlinkten Webseiten haben wir keinen Einfluss. Für die Richtigkeit der Inhalte ist immer der jeweilige Anbieter oder Betreiber verantwortlich, weshalb wir diesbezüglich keinerlei Gewähr übernehmen.</p>
<p>Die fremden Webseiten haben wir zum Zeitpunkt der Verlinkung auf mögliche Rechtsverstöße überprüft. Zum Zeitpunkt der Verlinkung waren keinerlei Rechtsverletzungen erkennbar. Eine ständige Überprüfung sämtlicher Inhalte der von uns verlinkten Seiten ohne tatsächliche Anhaltspunkte für einen Rechtsverstoß können wir nicht leisten. Falls uns Rechtsverletzungen bekannt werden, werden wir die entsprechenden Links sofort entfernen.</p>
<h3>Urheberrecht</h3>
<p>Die durch den Betreiber dieser Seite erstellten Inhalte und Werke auf diesen Webseiten unterliegen dem deutschen Urheberrecht. Sämtliche Beiträge Dritter sind als solche gekennzeichnet. Die Vervielfältigung, Bearbeitung, Verbreitung und jede Art der Verwertung außerhalb der Grenzen des Urheberrechts bedürfen der schriftlichen Zustimmung des jeweiligen Autors bzw. Erstellers. Kopien von diesen Seiten sind nur für den privaten Bereich gestattet, nicht jedoch für kommerzielle Zwecke.</p>
<h3>Datenschutz</h3>
<p>Für die Sicherheit der Datenübertragung im Internet können wir keine Gewähr übernehmen, insbesondere besteht bei der Übertragung von Daten per E-Mail die Gefahr des Zugriffs durch Dritte.</p>
<p>Im Falle der Erhebung personenbezogener oder geschäftlicher Daten (E-Mail-Adressen, Namen, Anschriften) auf unseren Seiten erfolgt die Preisgabe dieser Daten seitens des Nutzers stets auf freiwilliger Basis. Die Inanspruchnahme und Bezahlung aller angebotenen Dienste ist auch ohne Angabe solcher Daten bzw. unter Angabe anonymisierter Daten oder eines Pseudonyms gestattet, soweit dies technisch möglich und zumutbar ist.</p>
<p>Einer Nutzung der im Impressum veröffentlichten Kontaktdaten durch Dritte zu Werbezwecken wird hiermit ausdrücklich widersprochen. Der Betreiber behält sich für den Fall unverlangt zugesandter Werbe- oder Informationsmaterialien ausdrücklich rechtliche Schritte vor.</p>
<h3>Rechtswirksamkeit dieses Haftungsausschlusses</h3>
<p>Vorstehender Haftungsausschluss ist Teil des Internetangebots, von dem aus auf diese Seite verwiesen wurde. Sollten einzelne Regelungen oder Formulierungen dieses Haftungsausschlusses unwirksam sein oder werden, bleiben die übrigen Regelungen in ihrem Inhalt und ihrer Gültigkeit hiervon unberührt.</p>
<p>Quelle: <a href="http://www.anwalt-seiten.de">anwalt-seiten.de</a></p>

View File

@ -1,28 +0,0 @@
CREATE TABLE tbl_user (
id INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
username VARCHAR(128) NOT NULL,
password VARCHAR(128) NOT NULL,
email VARCHAR(128) NOT NULL
);
INSERT INTO tbl_user (username, password, email) VALUES ('test1', 'pass1', 'test1@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test2', 'pass2', 'test2@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test3', 'pass3', 'test3@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test4', 'pass4', 'test4@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test5', 'pass5', 'test5@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test6', 'pass6', 'test6@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test7', 'pass7', 'test7@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test8', 'pass8', 'test8@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test9', 'pass9', 'test9@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test10', 'pass10', 'test10@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test11', 'pass11', 'test11@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test12', 'pass12', 'test12@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test13', 'pass13', 'test13@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test14', 'pass14', 'test14@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test15', 'pass15', 'test15@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test16', 'pass16', 'test16@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test17', 'pass17', 'test17@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test18', 'pass18', 'test18@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test19', 'pass19', 'test19@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test20', 'pass20', 'test20@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test21', 'pass21', 'test21@example.com');

View File

@ -1,28 +0,0 @@
CREATE TABLE tbl_user (
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
username VARCHAR(128) NOT NULL,
password VARCHAR(128) NOT NULL,
email VARCHAR(128) NOT NULL
);
INSERT INTO tbl_user (username, password, email) VALUES ('test1', 'pass1', 'test1@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test2', 'pass2', 'test2@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test3', 'pass3', 'test3@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test4', 'pass4', 'test4@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test5', 'pass5', 'test5@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test6', 'pass6', 'test6@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test7', 'pass7', 'test7@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test8', 'pass8', 'test8@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test9', 'pass9', 'test9@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test10', 'pass10', 'test10@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test11', 'pass11', 'test11@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test12', 'pass12', 'test12@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test13', 'pass13', 'test13@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test14', 'pass14', 'test14@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test15', 'pass15', 'test15@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test16', 'pass16', 'test16@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test17', 'pass17', 'test17@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test18', 'pass18', 'test18@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test19', 'pass19', 'test19@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test20', 'pass20', 'test20@example.com');
INSERT INTO tbl_user (username, password, email) VALUES ('test21', 'pass21', 'test21@example.com');

Binary file not shown.

View File

@ -2351,21 +2351,6 @@ EOD;
return self::controls($controls, $htmlOptions);
}
/**
* Generates form actions.
* @param mixed $actions the actions.
* @param array $htmlOptions additional HTML attributes.
* @return string the generated actions.
*/
public static function formActions($actions, $htmlOptions = array())
{
self::addCssClass('form-actions', $htmlOptions);
if (is_array($actions)) {
$actions = implode(' ', $actions);
}
return self::tag('div', $htmlOptions, $actions);
}
/**
* Generates a search form.
* @param mixed $action the form action URL.
@ -2386,6 +2371,21 @@ EOD;
return $output;
}
/**
* Generates form actions.
* @param mixed $actions the actions.
* @param array $htmlOptions additional HTML attributes.
* @return string the generated actions.
*/
public static function formActions($actions, $htmlOptions = array())
{
self::addCssClass('form-actions', $htmlOptions);
if (is_array($actions)) {
$actions = implode(' ', $actions);
}
return self::tag('div', $htmlOptions, $actions);
}
// Buttons
// http://twitter.github.io/bootstrap/2.3.2/base-css.html#buttons
// --------------------------------------------------

View File

View File

@ -15,6 +15,7 @@
<meta name="viewport" content="width=device-width">
<?php Yii::app()->bootstrap->register(); ?>
<link rel="stylesheet" type="text/css" href="/css/styles.css" />
<title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>
@ -27,19 +28,21 @@
$this->widget('bootstrap.widgets.TbNavbar',
[
'brandLabel' => Yii::app()->name,
'display' => null, // default is static to top
'display' => null,
'htmlOptions' =>
[
'class' => 'cstm-main-navbar'
],
'items' =>
[
[
'class' => 'bootstrap.widgets.TbNav',
'items' =>
[
array('label' => 'Home', 'url' => '/', 'active' => true),
array('label' => 'Blog', 'url' => '#', 'active' => false),
array('label' => 'Programme', 'url' => '#', 'active' => false),
array('label' => 'About', 'url' => '#', 'active' => false),
array('label' => 'Home', 'url' => '/', 'active' => ($this->selectedNav === 'index')),
array('label' => 'Blog', 'url' => '#', 'active' => ($this->selectedNav === 'blog')),
array('label' => 'Programme', 'url' => '#', 'active' => ($this->selectedNav === 'prog')),
array('label' => 'About', 'url' => 'About', 'active' => ($this->selectedNav === 'about')),
],
],
@ -66,9 +69,10 @@
<?php
if(isset($this->breadcrumbs))
{
$this->widget('bootstrap.widgets.TbBreadcrumb', array(
$this->widget('bootstrap.widgets.TbBreadcrumb',
[
'links'=>$this->breadcrumbs,
));
]);
}
?>
@ -76,8 +80,10 @@
echo $content;
?>
<div id="footer">
Copyright &copy; <?php echo date('Y'); ?> by My Company.<br/>
<hr>
<div class="footer">
Copyright &copy; <?php echo date('Y'); ?> by Mike Schwörer.<br/>
All Rights Reserved.<br/>
<?php echo Yii::powered(); ?>
</div>

View File

@ -0,0 +1,74 @@
<?php
/* @var $this SiteController */
$this->pageTitle=Yii::app()->name;
$this->breadcrumbs=
[
'About'
];
$this->selectedNav = 'about';
?>
<div class="container">
<?php echo TbHtml::pageHeader('About Mikescher.de', ''); ?>
<p>Welcome to my private homepage.</p>
<p>My name is Mike Schwörer, and this is my homepage - here i upload programs i write in my free time and sometimes i even write a blog entry ...'); </p>
<p>If you want you can look <?php echo TbHtml::link('here', '#'); // TODO Add Link ?> at the things I programmed </p>
<?php echo TbHtml::well( file_get_contents('protected/data/disclaimer.php') ); ?>
<?php $form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array('layout' => TbHtml::FORM_LAYOUT_HORIZONTAL)); ?>
<div class="well cstm-background-white">
<fieldset>
<legend>Contact Me</legend>
<?php
echo TbHtml::textFieldControlGroup('name', '',
[
'label' => 'Name:',
'placeholder' => 'Name'
]);
echo TbHtml::textFieldControlGroup('email', '',
[
'label' => 'Email address:',
'placeholder' => 'Email'
]);
echo TbHtml::textFieldControlGroup('header', '',
[
'label' => 'Title:',
'placeholder' => 'Header'
]);
echo TbHtml::textAreaControlGroup('text', '',
[
'label' => 'Message:',
'rows' => 6
]);
?>
</fieldset>
<?php echo TbHtml::formActions(
[
TbHtml::submitButton('Submit', array('color' => TbHtml::BUTTON_COLOR_PRIMARY)),
TbHtml::resetButton('Reset'),
],
[
'class' => 'cstm-background-white',
]);
?>
<?php $this->endWidget(); ?>
</div>
</div>

View File

@ -7,6 +7,9 @@ $this->breadcrumbs=
[
'Index'
];
$this->selectedNav = 'index';
?>
<div class="container">