summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorastaf <astaf@proxy.ccwn.org.ccwn.org>2012-06-26 17:10:09 +0200
committerastaf <astaf@proxy.ccwn.org.ccwn.org>2012-06-26 17:10:09 +0200
commit1a52e642b8bb388fd4c4b29798fa3809a2114c9f (patch)
treec50e24f05f5273a3ff78e3d826c2b884f09b801a
parent863e2be14d13de9f42da38e3058d31d268e98366 (diff)
Local changes on server
-rw-r--r--index-test.php15
-rw-r--r--index.php2
-rw-r--r--protected/config/maincfg.php8
-rw-r--r--protected/runtime/application.log186
-rw-r--r--protected/views/myverein/_view.php46
-rw-r--r--protected/views/myverein/index.php17
-rw-r--r--protected/views/myverein/update.php15
-rw-r--r--protected/views/myverein/view.php25
8 files changed, 191 insertions, 123 deletions
diff --git a/index-test.php b/index-test.php
deleted file mode 100644
index 8947767..0000000
--- a/index-test.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-/**
- * This is the bootstrap file for test application.
- * This file should be removed when the application is deployed for production.
- */
-
-// change the following paths if necessary
-$yii=dirname(__FILE__).'/../yii/framework/yii.php';
-$config=dirname(__FILE__).'/protected/config/test.php';
-
-// remove the following line when in production mode
-defined('YII_DEBUG') or define('YII_DEBUG',true);
-
-require_once($yii);
-Yii::createWebApplication($config)->run();
diff --git a/index.php b/index.php
index 86c2e05..cf7ae15 100644
--- a/index.php
+++ b/index.php
@@ -1,7 +1,7 @@
<?php
// change the following paths if necessary
-$yii=dirname(__FILE__).'/../yii/framework/yii.php';
+$yii=dirname(__FILE__).'/../yii-framework/framework/yii.php';
$config=dirname(__FILE__).'/protected/config/maincfg.php';
// remove the following lines when in production mode
diff --git a/protected/config/maincfg.php b/protected/config/maincfg.php
index 124cd3c..52c34bf 100644
--- a/protected/config/maincfg.php
+++ b/protected/config/maincfg.php
@@ -55,7 +55,7 @@ return array(
'transportType' => 'php',
'viewPath' => 'application.views.mail',
'logging' => true,
- 'dryRun' => true
+ 'dryRun' => false
),
// uncomment the following to enable URLs in path-format
@@ -73,11 +73,12 @@ return array(
),*/
// uncomment the following to use a MySQL database
'db'=>array(
- 'connectionString' => 'mysql:host=localhost;dbname=astaf',
+ 'connectionString' => 'mysql:host=database;dbname=astaf_2012',
'emulatePrepare' => true,
'username' => 'astaf',
'password' => 'AsTaF4',
'charset' => 'utf8',
+ 'tablePrefix' => 'tbl_'
),
'errorHandler'=>array(
// use 'site/error' action to display errors
@@ -95,10 +96,9 @@ return array(
'logFile'=>'debug.log',
),
// uncomment the following to show log messages on web pages
- /*
array(
'class'=>'CWebLogRoute',
- ),*/
+ ),
),
),
),
diff --git a/protected/runtime/application.log b/protected/runtime/application.log
index 80c7626..a3235c9 100644
--- a/protected/runtime/application.log
+++ b/protected/runtime/application.log
@@ -6809,3 +6809,189 @@ Stack trace:
REQUEST_URI=/admin.astaf.de/index.php?r=user/newPassword
HTTP_REFERER=http://dev.astaf.de:90/admin.astaf.de/index.php?r=user/admin
---
+2012/06/14 22:22:48 [error] [exception.CException] exception 'CException' with message 'CAssetManager.basePath "/home/astaf/2012/admin.astaf.de/assets" ist ungültig. Bitte stellen Sie sicher, dass das Verzeichnis existiert und der Webserver-Prozess Schreibrechte dafür besitzt.' in /home/astaf/2012/yii-framework/framework/web/CAssetManager.php:116
+Stack trace:
+#0 /home/astaf/2012/yii-framework/framework/web/CAssetManager.php(101): CAssetManager->setBasePath('/home/astaf/201...')
+#1 /home/astaf/2012/yii-framework/framework/web/CAssetManager.php(219): CAssetManager->getBasePath()
+#2 /home/astaf/2012/yii-framework/framework/web/CClientScript.php(449): CAssetManager->publish('/home/astaf/201...')
+#3 /home/astaf/2012/yii-framework/framework/web/CClientScript.php(486): CClientScript->getCoreScriptUrl()
+#4 /home/astaf/2012/yii-framework/framework/web/CClientScript.php(302): CClientScript->getPackageBaseUrl('jquery')
+#5 /home/astaf/2012/yii-framework/framework/web/CClientScript.php(195): CClientScript->renderCoreScripts()
+#6 /home/astaf/2012/yii-framework/framework/web/CController.php(352): CClientScript->render('<!DOCTYPE html>...')
+#7 /home/astaf/2012/yii-framework/framework/web/CController.php(789): CController->processOutput('<!DOCTYPE html>...')
+#8 /home/astaf/2012/admin.astaf.de/protected/controllers/SiteController.php(93): CController->render('login', Array)
+#9 /home/astaf/2012/yii-framework/framework/web/actions/CInlineAction.php(50): SiteController->actionLogin()
+#10 /home/astaf/2012/yii-framework/framework/web/CController.php(309): CInlineAction->runWithParams(Array)
+#11 /home/astaf/2012/yii-framework/framework/web/CController.php(287): CController->runAction(Object(CInlineAction))
+#12 /home/astaf/2012/yii-framework/framework/web/CController.php(266): CController->runActionWithFilters(Object(CInlineAction), Array)
+#13 /home/astaf/2012/yii-framework/framework/web/CWebApplication.php(276): CController->run('login')
+#14 /home/astaf/2012/yii-framework/framework/web/CWebApplication.php(135): CWebApplication->runController('site/login')
+#15 /home/astaf/2012/yii-framework/framework/base/CApplication.php(162): CWebApplication->processRequest()
+#16 /home/astaf/2012/admin.astaf.de/index.php(13): CApplication->run()
+#17 {main}
+REQUEST_URI=/index.php?r=site/login
+---
+2012/06/14 22:23:32 [error] [exception.CDbException] exception 'CDbException' with message 'CDbConnection konnte keine DB-Verbindung herstellen: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' in /home/astaf/2012/yii-framework/framework/db/CDbConnection.php:382
+Stack trace:
+#0 /home/astaf/2012/yii-framework/framework/db/CDbConnection.php(331): CDbConnection->open()
+#1 /home/astaf/2012/yii-framework/framework/db/CDbConnection.php(309): CDbConnection->setActive(true)
+#2 /home/astaf/2012/yii-framework/framework/base/CModule.php(388): CDbConnection->init()
+#3 /home/astaf/2012/yii-framework/framework/base/CApplication.php(431): CModule->getComponent('db')
+#4 /home/astaf/2012/yii-framework/framework/db/ar/CActiveRecord.php(615): CApplication->getDb()
+#5 /home/astaf/2012/yii-framework/framework/db/ar/CActiveRecord.php(2263): CActiveRecord->getDbConnection()
+#6 /home/astaf/2012/yii-framework/framework/db/ar/CActiveRecord.php(379): CActiveRecordMetaData->__construct(Object(User))
+#7 /home/astaf/2012/admin.astaf.de/protected/models/User.php(31): CActiveRecord::model('User')
+#8 /home/astaf/2012/admin.astaf.de/protected/components/UserIdentity.php(16): User::model()
+#9 /home/astaf/2012/admin.astaf.de/protected/models/LoginForm.php(52): UserIdentity->authenticate()
+#10 /home/astaf/2012/yii-framework/framework/validators/CInlineValidator.php(43): LoginForm->authenticate('password', Array)
+#11 /home/astaf/2012/yii-framework/framework/validators/CValidator.php(197): CInlineValidator->validateAttribute(Object(LoginForm), 'password')
+#12 /home/astaf/2012/yii-framework/framework/base/CModel.php(158): CValidator->validate(Object(LoginForm), NULL)
+#13 /home/astaf/2012/admin.astaf.de/protected/controllers/SiteController.php(89): CModel->validate()
+#14 /home/astaf/2012/yii-framework/framework/web/actions/CInlineAction.php(50): SiteController->actionLogin()
+#15 /home/astaf/2012/yii-framework/framework/web/CController.php(309): CInlineAction->runWithParams(Array)
+#16 /home/astaf/2012/yii-framework/framework/web/CController.php(287): CController->runAction(Object(CInlineAction))
+#17 /home/astaf/2012/yii-framework/framework/web/CController.php(266): CController->runActionWithFilters(Object(CInlineAction), Array)
+#18 /home/astaf/2012/yii-framework/framework/web/CWebApplication.php(276): CController->run('login')
+#19 /home/astaf/2012/yii-framework/framework/web/CWebApplication.php(135): CWebApplication->runController('site/login')
+#20 /home/astaf/2012/yii-framework/framework/base/CApplication.php(162): CWebApplication->processRequest()
+#21 /home/astaf/2012/admin.astaf.de/index.php(13): CApplication->run()
+#22 {main}
+REQUEST_URI=/index.php?r=site/login
+HTTP_REFERER=http://admin.astaf.de/index.php?r=site/login
+---
+2012/06/22 10:48:04 [error] [exception.CException] exception 'CException' with message 'Eigenschaft "User.admin_pw_reset ist nicht definiert.' in /home/astaf/2012/yii-framework/framework/base/CComponent.php:131
+Stack trace:
+#0 /home/astaf/2012/yii-framework/framework/db/ar/CActiveRecord.php(144): CComponent->__get('admin_pw_reset')
+#1 /home/astaf/2012/yii-framework/framework/validators/CNumberValidator.php(79): CActiveRecord->__get('admin_pw_reset')
+#2 /home/astaf/2012/yii-framework/framework/validators/CValidator.php(197): CNumberValidator->validateAttribute(Object(User), 'admin_pw_reset')
+#3 /home/astaf/2012/yii-framework/framework/base/CModel.php(158): CValidator->validate(Object(User), NULL)
+#4 /home/astaf/2012/yii-framework/framework/db/ar/CActiveRecord.php(786): CModel->validate(NULL)
+#5 /home/astaf/2012/admin.astaf.de/protected/components/UserIdentity.php(35): CActiveRecord->save()
+#6 /home/astaf/2012/admin.astaf.de/protected/models/LoginForm.php(52): UserIdentity->authenticate()
+#7 /home/astaf/2012/yii-framework/framework/validators/CInlineValidator.php(43): LoginForm->authenticate('password', Array)
+#8 /home/astaf/2012/yii-framework/framework/validators/CValidator.php(197): CInlineValidator->validateAttribute(Object(LoginForm), 'password')
+#9 /home/astaf/2012/yii-framework/framework/base/CModel.php(158): CValidator->validate(Object(LoginForm), NULL)
+#10 /home/astaf/2012/admin.astaf.de/protected/controllers/SiteController.php(89): CModel->validate()
+#11 /home/astaf/2012/yii-framework/framework/web/actions/CInlineAction.php(50): SiteController->actionLogin()
+#12 /home/astaf/2012/yii-framework/framework/web/CController.php(309): CInlineAction->runWithParams(Array)
+#13 /home/astaf/2012/yii-framework/framework/web/CController.php(287): CController->runAction(Object(CInlineAction))
+#14 /home/astaf/2012/yii-framework/framework/web/CController.php(266): CController->runActionWithFilters(Object(CInlineAction), Array)
+#15 /home/astaf/2012/yii-framework/framework/web/CWebApplication.php(276): CController->run('login')
+#16 /home/astaf/2012/yii-framework/framework/web/CWebApplication.php(135): CWebApplication->runController('site/login')
+#17 /home/astaf/2012/yii-framework/framework/base/CApplication.php(162): CWebApplication->processRequest()
+#18 /home/astaf/2012/admin.astaf.de/index.php(13): CApplication->run()
+#19 {main}
+REQUEST_URI=/index.php?r=site/login
+HTTP_REFERER=http://admin.astaf.de/index.php?r=site/login
+---
+2012/06/22 10:49:13 [error] [exception.CException] exception 'CException' with message 'Eigenschaft "User.admin_pw_reset ist nicht definiert.' in /home/astaf/2012/yii-framework/framework/base/CComponent.php:131
+Stack trace:
+#0 /home/astaf/2012/yii-framework/framework/db/ar/CActiveRecord.php(144): CComponent->__get('admin_pw_reset')
+#1 /home/astaf/2012/yii-framework/framework/validators/CNumberValidator.php(79): CActiveRecord->__get('admin_pw_reset')
+#2 /home/astaf/2012/yii-framework/framework/validators/CValidator.php(197): CNumberValidator->validateAttribute(Object(User), 'admin_pw_reset')
+#3 /home/astaf/2012/yii-framework/framework/base/CModel.php(158): CValidator->validate(Object(User), NULL)
+#4 /home/astaf/2012/yii-framework/framework/db/ar/CActiveRecord.php(786): CModel->validate(NULL)
+#5 /home/astaf/2012/admin.astaf.de/protected/components/UserIdentity.php(35): CActiveRecord->save()
+#6 /home/astaf/2012/admin.astaf.de/protected/models/LoginForm.php(52): UserIdentity->authenticate()
+#7 /home/astaf/2012/yii-framework/framework/validators/CInlineValidator.php(43): LoginForm->authenticate('password', Array)
+#8 /home/astaf/2012/yii-framework/framework/validators/CValidator.php(197): CInlineValidator->validateAttribute(Object(LoginForm), 'password')
+#9 /home/astaf/2012/yii-framework/framework/base/CModel.php(158): CValidator->validate(Object(LoginForm), NULL)
+#10 /home/astaf/2012/admin.astaf.de/protected/controllers/SiteController.php(89): CModel->validate()
+#11 /home/astaf/2012/yii-framework/framework/web/actions/CInlineAction.php(50): SiteController->actionLogin()
+#12 /home/astaf/2012/yii-framework/framework/web/CController.php(309): CInlineAction->runWithParams(Array)
+#13 /home/astaf/2012/yii-framework/framework/web/CController.php(287): CController->runAction(Object(CInlineAction))
+#14 /home/astaf/2012/yii-framework/framework/web/CController.php(266): CController->runActionWithFilters(Object(CInlineAction), Array)
+#15 /home/astaf/2012/yii-framework/framework/web/CWebApplication.php(276): CController->run('login')
+#16 /home/astaf/2012/yii-framework/framework/web/CWebApplication.php(135): CWebApplication->runController('site/login')
+#17 /home/astaf/2012/yii-framework/framework/base/CApplication.php(162): CWebApplication->processRequest()
+#18 /home/astaf/2012/admin.astaf.de/index.php(13): CApplication->run()
+#19 {main}
+REQUEST_URI=/index.php?r=site/login
+HTTP_REFERER=http://admin.astaf.de/index.php?r=site/login
+---
+2012/06/25 10:58:53 [error] [exception.CException] exception 'CException' with message 'MyvereinController kann den angeforderten View "view" nicht finden.' in /home/astaf/2012/yii-framework/framework/web/CController.php:879
+Stack trace:
+#0 /home/astaf/2012/yii-framework/framework/web/CController.php(783): CController->renderPartial('view', Array, true)
+#1 /home/astaf/2012/admin.astaf.de/protected/controllers/MyVereinController.php(51): CController->render('view', Array)
+#2 /home/astaf/2012/admin.astaf.de/protected/controllers/MyVereinController.php(102): MyvereinController->actionView()
+#3 /home/astaf/2012/yii-framework/framework/web/actions/CInlineAction.php(50): MyvereinController->actionIndex()
+#4 /home/astaf/2012/yii-framework/framework/web/CController.php(309): CInlineAction->runWithParams(Array)
+#5 /home/astaf/2012/yii-framework/framework/web/filters/CFilterChain.php(134): CController->runAction(Object(CInlineAction))
+#6 /home/astaf/2012/yii-framework/framework/web/filters/CFilter.php(41): CFilterChain->run()
+#7 /home/astaf/2012/yii-framework/framework/web/CController.php(1146): CFilter->filter(Object(CFilterChain))
+#8 /home/astaf/2012/yii-framework/framework/web/filters/CInlineFilter.php(59): CController->filterAccessControl(Object(CFilterChain))
+#9 /home/astaf/2012/yii-framework/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter(Object(CFilterChain))
+#10 /home/astaf/2012/yii-framework/framework/web/CController.php(292): CFilterChain->run()
+#11 /home/astaf/2012/yii-framework/framework/web/CController.php(266): CController->runActionWithFilters(Object(CInlineAction), Array)
+#12 /home/astaf/2012/yii-framework/framework/web/CWebApplication.php(276): CController->run('')
+#13 /home/astaf/2012/yii-framework/framework/web/CWebApplication.php(135): CWebApplication->runController('myVerein')
+#14 /home/astaf/2012/yii-framework/framework/base/CApplication.php(162): CWebApplication->processRequest()
+#15 /home/astaf/2012/admin.astaf.de/index.php(13): CApplication->run()
+#16 {main}
+REQUEST_URI=/index.php?r=myVerein
+HTTP_REFERER=http://vereine.astaf.de/index.php?r=site/login
+---
+2012/06/25 10:58:59 [error] [exception.CException] exception 'CException' with message 'MyvereinController kann den angeforderten View "view" nicht finden.' in /home/astaf/2012/yii-framework/framework/web/CController.php:879
+Stack trace:
+#0 /home/astaf/2012/yii-framework/framework/web/CController.php(783): CController->renderPartial('view', Array, true)
+#1 /home/astaf/2012/admin.astaf.de/protected/controllers/MyVereinController.php(51): CController->render('view', Array)
+#2 /home/astaf/2012/admin.astaf.de/protected/controllers/MyVereinController.php(102): MyvereinController->actionView()
+#3 /home/astaf/2012/yii-framework/framework/web/actions/CInlineAction.php(50): MyvereinController->actionIndex()
+#4 /home/astaf/2012/yii-framework/framework/web/CController.php(309): CInlineAction->runWithParams(Array)
+#5 /home/astaf/2012/yii-framework/framework/web/filters/CFilterChain.php(134): CController->runAction(Object(CInlineAction))
+#6 /home/astaf/2012/yii-framework/framework/web/filters/CFilter.php(41): CFilterChain->run()
+#7 /home/astaf/2012/yii-framework/framework/web/CController.php(1146): CFilter->filter(Object(CFilterChain))
+#8 /home/astaf/2012/yii-framework/framework/web/filters/CInlineFilter.php(59): CController->filterAccessControl(Object(CFilterChain))
+#9 /home/astaf/2012/yii-framework/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter(Object(CFilterChain))
+#10 /home/astaf/2012/yii-framework/framework/web/CController.php(292): CFilterChain->run()
+#11 /home/astaf/2012/yii-framework/framework/web/CController.php(266): CController->runActionWithFilters(Object(CInlineAction), Array)
+#12 /home/astaf/2012/yii-framework/framework/web/CWebApplication.php(276): CController->run('')
+#13 /home/astaf/2012/yii-framework/framework/web/CWebApplication.php(135): CWebApplication->runController('myVerein')
+#14 /home/astaf/2012/yii-framework/framework/base/CApplication.php(162): CWebApplication->processRequest()
+#15 /home/astaf/2012/admin.astaf.de/index.php(13): CApplication->run()
+#16 {main}
+REQUEST_URI=/index.php?r=myVerein
+---
+2012/06/25 15:38:12 [error] [exception.CException] exception 'CException' with message 'MyvereinController kann den angeforderten View "view" nicht finden.' in /home/astaf/2012/yii-framework/framework/web/CController.php:879
+Stack trace:
+#0 /home/astaf/2012/yii-framework/framework/web/CController.php(783): CController->renderPartial('view', Array, true)
+#1 /home/astaf/2012/admin.astaf.de/protected/controllers/MyVereinController.php(51): CController->render('view', Array)
+#2 /home/astaf/2012/admin.astaf.de/protected/controllers/MyVereinController.php(102): MyvereinController->actionView()
+#3 /home/astaf/2012/yii-framework/framework/web/actions/CInlineAction.php(50): MyvereinController->actionIndex()
+#4 /home/astaf/2012/yii-framework/framework/web/CController.php(309): CInlineAction->runWithParams(Array)
+#5 /home/astaf/2012/yii-framework/framework/web/filters/CFilterChain.php(134): CController->runAction(Object(CInlineAction))
+#6 /home/astaf/2012/yii-framework/framework/web/filters/CFilter.php(41): CFilterChain->run()
+#7 /home/astaf/2012/yii-framework/framework/web/CController.php(1146): CFilter->filter(Object(CFilterChain))
+#8 /home/astaf/2012/yii-framework/framework/web/filters/CInlineFilter.php(59): CController->filterAccessControl(Object(CFilterChain))
+#9 /home/astaf/2012/yii-framework/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter(Object(CFilterChain))
+#10 /home/astaf/2012/yii-framework/framework/web/CController.php(292): CFilterChain->run()
+#11 /home/astaf/2012/yii-framework/framework/web/CController.php(266): CController->runActionWithFilters(Object(CInlineAction), Array)
+#12 /home/astaf/2012/yii-framework/framework/web/CWebApplication.php(276): CController->run('')
+#13 /home/astaf/2012/yii-framework/framework/web/CWebApplication.php(135): CWebApplication->runController('myVerein')
+#14 /home/astaf/2012/yii-framework/framework/base/CApplication.php(162): CWebApplication->processRequest()
+#15 /home/astaf/2012/admin.astaf.de/index.php(13): CApplication->run()
+#16 {main}
+REQUEST_URI=/index.php?r=myVerein
+HTTP_REFERER=http://vereine.astaf.de/index.php?r=site/login
+---
+2012/06/25 15:38:32 [error] [exception.CException] exception 'CException' with message 'MyvereinController kann den angeforderten View "view" nicht finden.' in /home/astaf/2012/yii-framework/framework/web/CController.php:879
+Stack trace:
+#0 /home/astaf/2012/yii-framework/framework/web/CController.php(783): CController->renderPartial('view', Array, true)
+#1 /home/astaf/2012/admin.astaf.de/protected/controllers/MyVereinController.php(51): CController->render('view', Array)
+#2 /home/astaf/2012/admin.astaf.de/protected/controllers/MyVereinController.php(102): MyvereinController->actionView()
+#3 /home/astaf/2012/yii-framework/framework/web/actions/CInlineAction.php(50): MyvereinController->actionIndex()
+#4 /home/astaf/2012/yii-framework/framework/web/CController.php(309): CInlineAction->runWithParams(Array)
+#5 /home/astaf/2012/yii-framework/framework/web/filters/CFilterChain.php(134): CController->runAction(Object(CInlineAction))
+#6 /home/astaf/2012/yii-framework/framework/web/filters/CFilter.php(41): CFilterChain->run()
+#7 /home/astaf/2012/yii-framework/framework/web/CController.php(1146): CFilter->filter(Object(CFilterChain))
+#8 /home/astaf/2012/yii-framework/framework/web/filters/CInlineFilter.php(59): CController->filterAccessControl(Object(CFilterChain))
+#9 /home/astaf/2012/yii-framework/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter(Object(CFilterChain))
+#10 /home/astaf/2012/yii-framework/framework/web/CController.php(292): CFilterChain->run()
+#11 /home/astaf/2012/yii-framework/framework/web/CController.php(266): CController->runActionWithFilters(Object(CInlineAction), Array)
+#12 /home/astaf/2012/yii-framework/framework/web/CWebApplication.php(276): CController->run('')
+#13 /home/astaf/2012/yii-framework/framework/web/CWebApplication.php(135): CWebApplication->runController('myVerein')
+#14 /home/astaf/2012/yii-framework/framework/base/CApplication.php(162): CWebApplication->processRequest()
+#15 /home/astaf/2012/admin.astaf.de/index.php(13): CApplication->run()
+#16 {main}
+REQUEST_URI=/index.php?r=myVerein
+---
diff --git a/protected/views/myverein/_view.php b/protected/views/myverein/_view.php
deleted file mode 100644
index fe5758c..0000000
--- a/protected/views/myverein/_view.php
+++ /dev/null
@@ -1,46 +0,0 @@
-<div class="view">
-
- <b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
- <?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
- <br />
-
- <b><?php echo CHtml::encode($data->getAttributeLabel('name')); ?>:</b>
- <?php echo CHtml::encode($data->name); ?>
- <br />
-
- <b><?php echo CHtml::encode($data->getAttributeLabel('url')); ?>:</b>
- <?php echo CHtml::encode($data->url); ?>
- <br />
-
- <b><?php echo CHtml::encode($data->getAttributeLabel('bild')); ?>:</b>
- <?php echo CHtml::encode($data->bild); ?>
- <br />
-
- <b><?php echo CHtml::encode($data->getAttributeLabel('email')); ?>:</b>
- <?php echo CHtml::encode($data->email); ?>
- <br />
-
- <b><?php echo CHtml::encode($data->getAttributeLabel('slug')); ?>:</b>
- <?php echo CHtml::encode($data->slug); ?>
- <br />
-
- <b><?php echo CHtml::encode($data->getAttributeLabel('kontaktdaten')); ?>:</b>
- <?php echo CHtml::encode($data->kontaktdaten); ?>
- <br />
-
- <?php /*
- <b><?php echo CHtml::encode($data->getAttributeLabel('beschreibung')); ?>:</b>
- <?php echo CHtml::encode($data->beschreibung); ?>
- <br />
-
- <b><?php echo CHtml::encode($data->getAttributeLabel('standort_id')); ?>:</b>
- <?php echo CHtml::encode($data->standort_id); ?>
- <br />
-
- <b><?php echo CHtml::encode($data->getAttributeLabel('published')); ?>:</b>
- <?php echo CHtml::encode($data->published); ?>
- <br />
-
- */ ?>
-
-</div> \ No newline at end of file
diff --git a/protected/views/myverein/index.php b/protected/views/myverein/index.php
deleted file mode 100644
index 640dfa1..0000000
--- a/protected/views/myverein/index.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-$this->breadcrumbs=array(
- 'Vereins',
-);
-
-$this->menu=array(
- array('label'=>'Create Verein', 'url'=>array('create')),
- array('label'=>'Manage Verein', 'url'=>array('admin')),
-);
-?>
-
-<h1>Vereins</h1>
-
-<?php $this->widget('zii.widgets.CListView', array(
- 'dataProvider'=>$dataProvider,
- 'itemView'=>'_view',
-)); ?>
diff --git a/protected/views/myverein/update.php b/protected/views/myverein/update.php
deleted file mode 100644
index bd1476c..0000000
--- a/protected/views/myverein/update.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-$this->breadcrumbs=array(
- 'Mein Verein'=>array('index'),
- $model->name=>array('view'),
- 'Bearbeiten',
-);
-
-$this->menu=array(
- array('label'=>'Anzeigen', 'url'=>array('view'))
-);
-?>
-
-<h1>Meinen Verein aktualisieren</h1>
-
-<?php echo $this->renderPartial('/verein/_form', array('model'=>$model)); ?> \ No newline at end of file
diff --git a/protected/views/myverein/view.php b/protected/views/myverein/view.php
deleted file mode 100644
index 52afea7..0000000
--- a/protected/views/myverein/view.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-$this->breadcrumbs=array(
- 'Mein Verein'=>array('index'),
- $model->name,
-);
-
-$this->menu=array(
- array('label'=>'Bearbeiten', 'url'=>array('update'))
-);
-?>
-
-<h1>Mein Verein</h1>
-
-<?php $this->widget('zii.widgets.CDetailView', array(
- 'data'=>$model,
- 'attributes'=>array(
- 'name',
- array('label'=>'Homepage', 'value'=>CHtml::link($model->url, $model->url, array("target"=>"_blank")), 'type'=>'raw'),
- array('label'=>'Bild', 'value'=>CHtml::image($model->bild), 'type'=>'raw'),
- 'email',
- 'kontaktdaten:html',
- 'beschreibung:html',
- array('label'=>'Standort', 'value'=>($model->standort) ? $model->standort->name : "-")
- ),
-)); ?>