[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] folders/inc class.uifolders.inc.php,1.7
From: |
fipsfuchs |
Subject: |
[Phpgroupware-cvs] folders/inc class.uifolders.inc.php,1.7 |
Date: |
Tue, 15 Feb 2005 11:43:00 +0100 |
Update of folders/inc
Modified Files:
Branch: MAIN
class.uifolders.inc.php lines: +7 -15
Log Message:
version changed
https bug fixed
====================================================
Index: folders/inc/class.uifolders.inc.php
diff -u folders/inc/class.uifolders.inc.php:1.6
folders/inc/class.uifolders.inc.php:1.7
--- folders/inc/class.uifolders.inc.php:1.6 Fri Nov 19 09:30:26 2004
+++ folders/inc/class.uifolders.inc.php Tue Feb 15 10:43:32 2005
@@ -71,7 +71,7 @@
*/
function showFolders()
{
- $this->t->set_root(PHPGW_SERVER_ROOT .
'/folders/templates/default/'); // hardcoded path :-(
+ $this->t->set_root(PHPGW_SERVER_ROOT .
'/folders/templates/base/'); // hardcoded path :-(
$this->t->set_file(array('folders_t' => 'folders.tpl'));
$this->bofolders = CreateObject('folders.bofolders');
@@ -88,14 +88,14 @@
*
* @return string parsed HTML iframe
*/
- function get_iframe ()
+ function get_iframe($iframe_linkdata=array())
{
- $this->t->set_root(PHPGW_SERVER_ROOT .
'/folders/templates/default/');
+ $this->t->set_root(PHPGW_SERVER_ROOT .
'/folders/templates/base/');
$this->t->set_file(array('helpers_t' => 'helpers.tpl'));
$this->t->set_block('helpers_t','iframe');
$parameters =
'menuaction=folders.uifolders.showfolders';
- while(list($param_name, $param_value) =
each($iframe_linkdata))
+ foreach($iframe_linkdata as $param_name => $param_value)
{
$parameters .= '&'.$param_name.'='.$param_value;
}
@@ -128,19 +128,11 @@
*/
function get_switchlink()
{
- /* workaround: IE doesn't set the PHP referer variable
*/
- if ($GLOBALS['SSL_VERSION_LIBRARY'])
- {
- $httpMode = 'https://';
- }
- else
- {
- $httpMode = 'http://';
- }
+ $httpMode = $_SERVER['HTTPS'] ? 'https://' : 'http://';
$GLOBALS['phpgw']->session->appsession('link',
'folders', $httpMode.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']);
/* end of workaround */
- $this->t->set_root(PHPGW_SERVER_ROOT .
'/folders/templates/default/'); // hardcoded path :-(
+ $this->t->set_root(PHPGW_SERVER_ROOT .
'/folders/templates/base/'); // hardcoded path :-(
$this->t->set_file(array('helpers_t' => 'helpers.tpl'));
$this->t->set_block('helpers_t','link');
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] folders/inc class.uifolders.inc.php,1.7,
fipsfuchs <=
- Prev by Date:
[Phpgroupware-cvs] email/templates/base/images/evo trash-16.png, 1.2 trash-24.png, 1.2 spellcheck-24.png, 1.2 add-attachment-16.png, 1.2 add-attachment-24.png, 1.2 spellcheck-16.png, 1.2 address-conduit-16.png, 1.2 accounts-24.png, 1.2 accounts-16.png, 1.2 address-conduit-24.png, 1.2 add-attachment.png, 1.2 folder-16.png, 1.2 folder-24.png, 1.2 folder-config-16.png, 1.2 folder-config-24.png, 1.2 filters-config-24.png, 1.2 filters-24.png, 1.2 delete-message.png, 1.2 arrow-2left-16.png, 1.2 filters-16.png, 1.2 folder-config2-24.png, 1.2 forward.png, 1.2 reply-to-all.png, 1.2 reply.png, 1.2 send-16.png, 1.2 send-24.png, 1.2 reply-all2.png, 1.2 reply-all.png, 1.2 move-message.png, 1.2 next-message.png, 1.2 previous-message.png, 1.2 customize4-24.png, 1.2 envelope.png, 1.2 arrow-2right-no-16.png, 1.2 arrow-2right-no-24.png, 1.2 customize3-24.png, 1.2 arrow-left-24.png, 1.2 arrow-2right-24.png, 1.2 arrow-2right-16.png, 1.2 arrow-2left-24.png, 1.2 arrow-2left-no-16.png, 1.2 arrow-2left-no-24.png, 1.2 arrow-left-no-16.png, 1.2 arrow-le ft-16.png, 1.2 compose-message-24.png, 1.2 arrow-left-no-24.png, 1.2 customize-24.png, 1.2 compose-message-16.png, 1.2 customize-16.png, 1.2 arrow-right-no-24.png, 1.2 arrow-right-16.png, 1.2 arrow-right-24.png, 1.2 arrow-right-no-16.png, 1.2
- Next by Date:
[Phpgroupware-cvs] folders/setup setup.inc.php,1.4
- Previous by thread:
[Phpgroupware-cvs] email/templates/base/images/evo trash-16.png, 1.2 trash-24.png, 1.2 spellcheck-24.png, 1.2 add-attachment-16.png, 1.2 add-attachment-24.png, 1.2 spellcheck-16.png, 1.2 address-conduit-16.png, 1.2 accounts-24.png, 1.2 accounts-16.png, 1.2 address-conduit-24.png, 1.2 add-attachment.png, 1.2 folder-16.png, 1.2 folder-24.png, 1.2 folder-config-16.png, 1.2 folder-config-24.png, 1.2 filters-config-24.png, 1.2 filters-24.png, 1.2 delete-message.png, 1.2 arrow-2left-16.png, 1.2 filters-16.png, 1.2 folder-config2-24.png, 1.2 forward.png, 1.2 reply-to-all.png, 1.2 reply.png, 1.2 send-16.png, 1.2 send-24.png, 1.2 reply-all2.png, 1.2 reply-all.png, 1.2 move-message.png, 1.2 next-message.png, 1.2 previous-message.png, 1.2 customize4-24.png, 1.2 envelope.png, 1.2 arrow-2right-no-16.png, 1.2 arrow-2right-no-24.png, 1.2 customize3-24.png, 1.2 arrow-left-24.png, 1.2 arrow-2right-24.png, 1.2 arrow-2right-16.png, 1.2 arrow-2left-24.png, 1.2 arrow-2left-no-16.png, 1.2 arrow-2left-no-24.png, 1.2 arrow-left-no-16.png, 1.2 arrow-le ft-16.png, 1.2 compose-message-24.png, 1.2 arrow-left-no-24.png, 1.2 customize-24.png, 1.2 compose-message-16.png, 1.2 customize-16.png, 1.2 arrow-right-no-24.png, 1.2 arrow-right-16.png, 1.2 arrow-right-24.png, 1.2 arrow-right-no-16.png, 1.2
- Next by thread:
[Phpgroupware-cvs] folders/setup setup.inc.php,1.4
- Index(es):