Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 29a4017

Browse files
author
Charles Marion
committed
BUG: Fixed style IE7-8
Added no javascript and IE6 detection refs #130
1 parent cb29547 commit 29a4017

File tree

18 files changed

+189
-43
lines changed

18 files changed

+189
-43
lines changed

core/controllers/IndexController.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,16 @@ function indexAction()
3838
$this->_forward('index', "feed");
3939
} // end method indexAction
4040

41+
/* no javascript*/
42+
function nojsAction()
43+
{
44+
$this->disableLayout();
45+
} // end method indexAction
46+
47+
/* no javascript*/
48+
function nobrowserAction()
49+
{
50+
$this->disableLayout();
51+
} // end method indexAction
52+
4153
}//end class

core/controllers/ItemController.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,11 @@ function viewAction()
130130
}
131131

132132
$items = array();
133+
$this->view->backUploaded = false;
134+
$this->view->currentFolder = false;
133135
if(isset($this->userSession->uploaded) && in_array($itemDao->getKey(), $this->userSession->uploaded))
134136
{
137+
$this->view->backUploaded = true;
135138
$items = $this->Item->load($this->userSession->uploaded);
136139
}
137140
else
@@ -150,9 +153,9 @@ function viewAction()
150153
if(isset($currentFolder))
151154
{
152155
$items = $this->Folder->getItemsFiltered($currentFolder, $this->userSession->Dao, MIDAS_POLICY_READ);
156+
$this->view->currentFolder = $currentFolder;
153157
}
154158
}
155-
156159
}
157160

158161
foreach($items as $key => $item)

core/layouts/layout.phtml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ echo $this->doctype()
2020

2121
<meta name="Description" content="<?php echo htmlentities($this->metaDescription)?>" />
2222
<meta name="Keywords" content="<?php echo htmlentities($this->metaKeywords)?>" />
23+
<noscript>
24+
<meta http-equiv="refresh" content="1; URL=<?php echo $this->webroot?>/index/nojs">
25+
</noscript>
26+
27+
<!--[if lte IE 6]>
28+
<meta http-equiv="refresh" content="1; URL=<?php echo $this->webroot?>/index/nobrowser">
29+
<![endif]-->
2330

2431
<!-- Import CSS -->
2532
<link rel="shortcut icon" href="<?php echo $this->coreWebroot ?>/public/images/icons/favicon.ico" />

core/public/css/common/common.browser.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
}*/
55

66
ul.pathBrowser{
7+
padding-top: 3px;
78
display: block;
89
list-style-type: disc;
910
margin: 0px;

core/public/css/layout/jquery.treeTable.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
* ========================================================================= */
66

77
.treeTable .browserPrivacyInformation{
8-
float:right;
8+
position: absolute;
9+
right: 195px;
910
color: grey;
1011
font-size: 10px;
1112
padding-right: 8px;
12-
padding-left
13-
: 0px;
13+
padding-left : 0px;
1414
}
1515

1616
/* jquery.treeTable.collapsible

core/public/css/layout/main.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ div.Topbar {
169169
font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;
170170
font-size: 12px;
171171
background: #000;
172-
position: relative;
173172
text-align: left;
174173
z-index: 99;
175174
background-color: #414141;
@@ -198,6 +197,7 @@ div.Topbar ul{
198197
list-style-type: disc;
199198
margin: 0px 25px 0px 15px;
200199
padding: 0px;
200+
position: relative;
201201
}
202202

203203
div.Topbar ul li{
@@ -207,6 +207,7 @@ div.Topbar ul li{
207207
margin-left: 10px;
208208
padding-left: 10px;
209209
border-left: 1px grey solid;
210+
position: relative;
210211
}
211212

212213
div.Topbar ul li.first{
@@ -495,14 +496,17 @@ div.SideBar ul li a span{
495496
div.SideBar hr {
496497
border-bottom: 1px solid white;
497498
border-top: 1px solid #DAD8D4;
498-
margin: 1em -30px 1em 0px;
499+
margin: 5px -30px 5px 0px;
499500
}
500501

501502
div.SideBar h1, div.viewSideBar h1 {
502503
color: #999;
503504
font-size: 11px;
504505
text-shadow: white 0px 1px 1px;
505506
text-transform: uppercase;
507+
margin-top: 0.67em;
508+
margin-bottom: 0.67em;
509+
506510
}
507511

508512

@@ -532,7 +536,6 @@ div.TopbarRight li ul{
532536
border:0px;
533537
position:absolute;
534538
width:120px;
535-
z-index:200;
536539

537540
/*top:1em;
538541
/*left:0;*/

core/public/css/layout/mainIE.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,9 @@ div.SideBar {
33
}
44

55
div.viewHeader {
6-
border-bottom: none !important;
6+
7+
}
8+
9+
div.TopbarRight li ul{
10+
padding:0px 0px 0px 0px!important;
711
}

core/public/css/user/user.register.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ div.registerContent {
77
div.registerInfo {
88
float: left;
99
color: white;
10-
height: 140px;
10+
height: 110px;
1111
width: 250px;
1212
border: 1px solid grey;
1313
margin-top: 15px;

core/public/css/user/user.settings.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ div#accountPrivacy{
2020

2121
div#accountPrivacy label{
2222
width: auto!important;
23+
float: none!important;
24+
}
25+
div#accountPrivacy br{
26+
display:none;
2327
}
24-
2528
div#imageActual{
2629
float:right;
2730
}

core/public/images/icons/back.png

795 Bytes
Loading

0 commit comments

Comments
 (0)