@@ -28,23 +28,46 @@ if($this->preview) // module visualize
28
28
?>
29
29
</div>
30
30
<div class="genericInfo">
31
- <div class="genericBigButton genericWrapperTopRight">
32
- <?php
33
- echo "<a href=' {$ this ->webroot }/download/?items= {$ this ->itemDao ->getKey ()}'> " ;
34
- if ($ this ->itemIsLink )
31
+ <div class ="genericWrapperTopRight">
32
+ <div style="float:right;" class="genericBigButton ">
33
+ <?php
34
+ echo "<a href=' {$ this ->webroot }/download/?items= {$ this ->itemDao ->getKey ()}'><img style='float:left;margin-right:2px;' alt='' src=' {$ this ->coreWebroot }/public/images/icons/download.png'/> " ;
35
+ if ($ this ->itemIsLink )
36
+ {
37
+ echo $ this ->t ('View as weblink ' );
38
+ }
39
+ else
40
+ {
41
+ echo $ this ->t ('Download ' );
42
+ }
43
+ echo '</a> ' ;
44
+ ?>
45
+ </div>
46
+
47
+ <?php
48
+ if ($ this ->backUploaded )
35
49
{
36
- echo $ this ->t ('View as weblink ' );
50
+ echo '<div style="float:right;margin-right:2px;" class="genericBigButton "> ' ;
51
+ echo "<a href=' {$ this ->webroot }/browse/uploaded'><img style='float:left;margin-right:2px;' alt='' src=' {$ this ->coreWebroot }/public/images/icons/back.png'/> " ;
52
+ echo $ this ->t ('Back ' );
53
+ echo "</a> " ;
54
+ echo '</div> ' ;
37
55
}
38
- else
56
+ else if ( $ this -> currentFolder )
39
57
{
40
- echo $ this ->t ('Download ' );
58
+ echo '<div style="float:right;margin-right:2px;" class="genericBigButton "> ' ;
59
+ echo "<a href=' {$ this ->webroot }/folder/ {$ this ->currentFolder ->getKey ()}'><img style='float:left;margin-right:2px;' alt='' src=' {$ this ->coreWebroot }/public/images/icons/back.png'/> " ;
60
+ echo $ this ->t ('Back ' );
61
+ echo "</a> " ;
62
+ echo '</div> ' ;
41
63
}
42
- echo '</a> ' ;
43
- ?>
64
+ ?>
65
+
66
+ <br/>
67
+ <div class="itemStats">
68
+ <?php echo $ this ->itemDao ->getView ()?> <?php echo $ this ->t ('views ' ); ?> ,
69
+ <?php echo $ this ->itemDao ->getDownload ()?> <?php echo $ this ->t ('downloads ' );?> </div>
44
70
</div>
45
- <div class="itemStats">
46
- <?php echo $ this ->itemDao ->getView ()?> <?php echo $ this ->t ('views ' ); ?> ,
47
- <?php echo $ this ->itemDao ->getDownload ()?> <?php echo $ this ->t ('downloads ' );?> </div>
48
71
<div class="genericName <?php if (strlen ($ this ->itemDao ->getName ()) > 30 ) echo "tips " ;?> " <?php if (strlen ($ this ->itemDao ->getName ()) > 30 ) echo "style='cursor:help;' title=' " .$ this ->itemDao ->getName ()."' " ;?> ><?php echo $ this ->slicename ($ this ->itemDao ->getName (),30 ); ?> </div>
49
72
<div class="genericSubtitle" style="color:grey;"><?php echo $ this ->itemSize ;?> </div>
50
73
0 commit comments