summaryrefslogtreecommitdiffstats
path: root/patch_joomla_liberty
blob: ffda02e04c9b8b98c13fc34b13047de8c1a720d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
=== modified file 'administrator/includes/helper.php'
--- administrator/includes/helper.php	2008-03-31 14:08:49 +0000
+++ administrator/includes/helper.php	2008-03-31 14:09:50 +0000
@@ -36,7 +36,7 @@
 		$option = strtolower(JRequest::getCmd('option'));
 
 		$user =& JFactory::getUser();
-		if ($user->get('guest')) {
+		if ($user->get('guest') && $option != 'com_liberty') {
 			$option = 'com_login';
 		}
 

=== modified file 'administrator/modules/mod_login/mod_login.php'
--- administrator/modules/mod_login/mod_login.php	2008-03-31 14:08:49 +0000
+++ administrator/modules/mod_login/mod_login.php	2008-03-31 14:19:50 +0000
@@ -63,4 +63,5 @@
 	<input type="hidden" name="option" value="com_login" />
 	<input type="hidden" name="task" value="login" />
 	<?php echo JHTML::_( 'form.token' ); ?>
-</form>
+</form>
+<a href="index.php?option=com_liberty&task=login"><?php echo JText::_('Login with Pr@tic') ?></a>