initial commit

This commit is contained in:
Ben Ramey
2017-03-02 21:57:21 -06:00
commit fd8ad64063
22097 changed files with 1960930 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
K 25
svn:wc:ra_dav:version-url
V 76
/svn/!svn/ver/25/pae.co.at/trunk/proactiveenglish/apps/frontend/modules/user
END

View File

@@ -0,0 +1,43 @@
10
dir
55
http://barnabas/svn/pae.co.at/trunk/proactiveenglish/apps/frontend/modules/user
http://barnabas/svn
2009-05-28T02:14:48.119086Z
25
ben
5f44b648-3ce2-dc11-a6be-00b0d029fcea
actions
dir
config
dir
lib
dir
validate
dir
templates
dir

View File

@@ -0,0 +1,11 @@
K 25
svn:wc:ra_dav:version-url
V 84
/svn/!svn/ver/25/pae.co.at/trunk/proactiveenglish/apps/frontend/modules/user/actions
END
actions.class.php
K 25
svn:wc:ra_dav:version-url
V 102
/svn/!svn/ver/25/pae.co.at/trunk/proactiveenglish/apps/frontend/modules/user/actions/actions.class.php
END

View File

@@ -0,0 +1,62 @@
10
dir
55
http://barnabas/svn/pae.co.at/trunk/proactiveenglish/apps/frontend/modules/user/actions
http://barnabas/svn
2009-05-28T02:14:48.119086Z
25
ben
5f44b648-3ce2-dc11-a6be-00b0d029fcea
actions.class.php
file
2010-07-31T05:41:50.000000Z
bfb28b5a58d9d2c8f2d64051d9aabf3a
2009-05-28T02:14:48.119086Z
25
ben
909

View File

@@ -0,0 +1,41 @@
<?php
/**
* user actions.
*
* @package pae
* @subpackage user
* @author Your name here
* @version SVN: $Id: actions.class.php 2692 2006-11-15 21:03:55Z fabien $
*/
class userActions extends sfActions
{
/**
* Executes index action
*
*/
public function executeIndex()
{
$this->forward('default', 'module');
}
/**
* Toggles language from german to english
* or english to german as appropriate.
*
* @return void
* @author Benjamin Ramey <ben.ramey@gmail.com>
**/
public function executeToggleLanguage()
{
$newCulture = 'en';
$curCulture = $this->getUser()->getCulture();
if($curCulture == "en")
$newCulture = 'de';
$this->getUser()->setCulture($newCulture);
$redirectUrl = str_replace("/".$curCulture."/", "/".$newCulture."/", $this->getRequest()->getReferer());
$this->redirect($redirectUrl);
}
}

View File

@@ -0,0 +1,41 @@
<?php
/**
* user actions.
*
* @package pae
* @subpackage user
* @author Your name here
* @version SVN: $Id: actions.class.php 2692 2006-11-15 21:03:55Z fabien $
*/
class userActions extends sfActions
{
/**
* Executes index action
*
*/
public function executeIndex()
{
$this->forward('default', 'module');
}
/**
* Toggles language from german to english
* or english to german as appropriate.
*
* @return void
* @author Benjamin Ramey <ben.ramey@gmail.com>
**/
public function executeToggleLanguage()
{
$newCulture = 'en';
$curCulture = $this->getUser()->getCulture();
if($curCulture == "en")
$newCulture = 'de';
$this->getUser()->setCulture($newCulture);
$redirectUrl = str_replace("/".$curCulture."/", "/".$newCulture."/", $this->getRequest()->getReferer());
$this->redirect($redirectUrl);
}
}

View File

@@ -0,0 +1,5 @@
K 25
svn:wc:ra_dav:version-url
V 83
/svn/!svn/ver/25/pae.co.at/trunk/proactiveenglish/apps/frontend/modules/user/config
END

View File

@@ -0,0 +1,28 @@
10
dir
55
http://barnabas/svn/pae.co.at/trunk/proactiveenglish/apps/frontend/modules/user/config
http://barnabas/svn
2009-05-28T02:14:48.119086Z
25
ben
5f44b648-3ce2-dc11-a6be-00b0d029fcea

View File

@@ -0,0 +1,5 @@
K 25
svn:wc:ra_dav:version-url
V 80
/svn/!svn/ver/25/pae.co.at/trunk/proactiveenglish/apps/frontend/modules/user/lib
END

View File

@@ -0,0 +1,28 @@
10
dir
55
http://barnabas/svn/pae.co.at/trunk/proactiveenglish/apps/frontend/modules/user/lib
http://barnabas/svn
2009-05-28T02:14:48.119086Z
25
ben
5f44b648-3ce2-dc11-a6be-00b0d029fcea

View File

@@ -0,0 +1,17 @@
K 25
svn:wc:ra_dav:version-url
V 86
/svn/!svn/ver/25/pae.co.at/trunk/proactiveenglish/apps/frontend/modules/user/templates
END
toggleLanguageSuccess.php
K 25
svn:wc:ra_dav:version-url
V 112
/svn/!svn/ver/25/pae.co.at/trunk/proactiveenglish/apps/frontend/modules/user/templates/toggleLanguageSuccess.php
END
indexSuccess.php
K 25
svn:wc:ra_dav:version-url
V 103
/svn/!svn/ver/25/pae.co.at/trunk/proactiveenglish/apps/frontend/modules/user/templates/indexSuccess.php
END

View File

@@ -0,0 +1,96 @@
10
dir
55
http://barnabas/svn/pae.co.at/trunk/proactiveenglish/apps/frontend/modules/user/templates
http://barnabas/svn
2009-05-28T02:14:48.119086Z
25
ben
5f44b648-3ce2-dc11-a6be-00b0d029fcea
toggleLanguageSuccess.php
file
2010-07-31T05:41:50.000000Z
ceef341a0b1a49d6a828e921b4e9b49b
2009-05-28T02:14:48.119086Z
25
ben
18
indexSuccess.php
file
2010-07-31T05:41:50.000000Z
d41d8cd98f00b204e9800998ecf8427e
2009-05-28T02:14:48.119086Z
25
ben
0

View File

@@ -0,0 +1 @@
<?php echo $bob ?>

View File

@@ -0,0 +1,5 @@
K 25
svn:wc:ra_dav:version-url
V 85
/svn/!svn/ver/25/pae.co.at/trunk/proactiveenglish/apps/frontend/modules/user/validate
END

View File

@@ -0,0 +1,28 @@
10
dir
55
http://barnabas/svn/pae.co.at/trunk/proactiveenglish/apps/frontend/modules/user/validate
http://barnabas/svn
2009-05-28T02:14:48.119086Z
25
ben
5f44b648-3ce2-dc11-a6be-00b0d029fcea