|
6 | 6 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
7 | 7 | <title><?= $this->title ?></title>
|
8 | 8 | <!-- Import CSS -->
|
9 |
| - <link rel="shortcut icon" href="<?php echo $this->webroot ?>/public/images/icons/favicon.ico" /> |
| 9 | + <link rel="shortcut icon" href="<?php echo $this->coreWebroot ?>/public/images/icons/favicon.ico" /> |
10 | 10 | <?php
|
11 | 11 | if (Zend_Registry::get("configGlobal")->smartoptimizer == 1)
|
12 | 12 | {
|
13 |
| - echo '<link type="text/css" rel="stylesheet" href="' . $this->webroot . '/public/css/layout/main.css,view.css,jquery-ui.css,form.css,loginForm.css,jquery.treeTable.css,jquery.cluetip.css" />'; |
| 13 | + echo '<link type="text/css" rel="stylesheet" href="' . $this->coreWebroot . '/public/css/layout/main.css,view.css,jquery-ui.css,form.css,loginForm.css,jquery.treeTable.css,jquery.cluetip.css" />'; |
14 | 14 | }
|
15 | 15 | else
|
16 | 16 | {
|
17 |
| - echo '<link type="text/css" rel="stylesheet" href="' . $this->webroot . '/public/css/layout/main.css" />'; |
18 |
| - echo '<link type="text/css" rel="stylesheet" href="' . $this->webroot . '/public/css/layout/jquery.cluetip.css" />'; |
19 |
| - echo '<link type="text/css" rel="stylesheet" href="' . $this->webroot . '/public/css/layout/view.css" />'; |
20 |
| - echo '<link type="text/css" rel="stylesheet" href="' . $this->webroot . '/public/css/layout/jquery-ui.css" />'; |
21 |
| - echo '<link type="text/css" rel="stylesheet" href="' . $this->webroot . '/public/css/layout/form.css" />'; |
22 |
| - echo '<link type="text/css" rel="stylesheet" href="' . $this->webroot . '/public/css/layout/loginForm.css" />'; |
23 |
| - echo '<link type="text/css" rel="stylesheet" href="' . $this->webroot . '/public/css/layout/jquery.treeTable.css" />'; |
| 17 | + echo '<link type="text/css" rel="stylesheet" href="' . $this->coreWebroot . '/public/css/layout/main.css" />'; |
| 18 | + echo '<link type="text/css" rel="stylesheet" href="' . $this->coreWebroot . '/public/css/layout/jquery.cluetip.css" />'; |
| 19 | + echo '<link type="text/css" rel="stylesheet" href="' . $this->coreWebroot . '/public/css/layout/view.css" />'; |
| 20 | + echo '<link type="text/css" rel="stylesheet" href="' . $this->coreWebroot . '/public/css/layout/jquery-ui.css" />'; |
| 21 | + echo '<link type="text/css" rel="stylesheet" href="' . $this->coreWebroot . '/public/css/layout/form.css" />'; |
| 22 | + echo '<link type="text/css" rel="stylesheet" href="' . $this->coreWebroot . '/public/css/layout/loginForm.css" />'; |
| 23 | + echo '<link type="text/css" rel="stylesheet" href="' . $this->coreWebroot . '/public/css/layout/jquery.treeTable.css" />'; |
24 | 24 | }
|
25 | 25 | ?>
|
26 | 26 | <!--[if IE]>
|
27 |
| - <?php echo '<link type="text/css" rel="stylesheet" href="' . $this->webroot . '/public/css/layout/mainIE.css" />';?> |
28 |
| - <?php echo '<script type="text/javascript" src="' . $this->webroot . '/public/js/layout/roundCornerIE.js"></script>';?> |
| 27 | + <?php echo '<link type="text/css" rel="stylesheet" href="' . $this->coreWebroot . '/public/css/layout/mainIE.css" />';?> |
| 28 | + <?php echo '<script type="text/javascript" src="' . $this->coreWebroot . '/public/js/layout/roundCornerIE.js"></script>';?> |
29 | 29 | <![endif]-->
|
30 | 30 | <?php echo $this->headLink(); // import the css ?>
|
31 | 31 | <?php echo $this->headStyle(); // import the css ?>
|
|
36 | 36 | <div class="MainDialogContent">
|
37 | 37 | </div>
|
38 | 38 | <div class="MainDialogLoading">
|
39 |
| - <img alt="" src="<?php echo $this->webroot?>/public/images/icons/loading.gif" /> |
| 39 | + <img alt="" src="<?php echo $this->coreWebroot?>/public/images/icons/loading.gif" /> |
40 | 40 | </div>
|
41 | 41 | <input type="hidden" class="DialogContentPage"/>
|
42 | 42 | </div>
|
43 | 43 | <div class="TopDynamicBar">
|
44 | 44 | <div class="TopDynamicClose">
|
45 |
| - <a class="closeButton" href="#" ><span><?php echo $this->t('Close');?></span><img alt="" src="<?php echo $this->webroot?>/public/images/icons/close.png"/> </a> |
| 45 | + <a class="closeButton" href="#" ><span><?php echo $this->t('Close');?></span><img alt="" src="<?php echo $this->coreWebroot?>/public/images/icons/close.png"/> </a> |
46 | 46 | </div>
|
47 | 47 | <div class="TopDynamicContent">
|
48 | 48 | </div>
|
49 | 49 | <div class="TopDynamicLoading">
|
50 |
| - <img alt="" src="<?php echo $this->webroot?>/public/images/icons/loading.gif" /> |
| 50 | + <img alt="" src="<?php echo $this->coreWebroot?>/public/images/icons/loading.gif" /> |
51 | 51 | </div>
|
52 | 52 | <input type="hidden" class="DynamicContentPage"/>
|
53 | 53 | </div>
|
|
70 | 70 | if($this->logged)
|
71 | 71 | {
|
72 | 72 | echo '
|
73 |
| - <b><a id="topUserName" href="'.$this->webroot.'/user/'.$this->userDao->getUserId().'" >'.$this->userDao->getFullName().' <img class="arrowUser" src="'.$this->webroot.'/public/images/icons/arrow-user.gif" alt ="" /> </a> </b> |
| 73 | + <b><a id="topUserName" href="'.$this->webroot.'/user/'.$this->userDao->getUserId().'" >'.$this->userDao->getFullName().' <img class="arrowUser" src="'.$this->coreWebroot.'/public/images/icons/arrow-user.gif" alt ="" /> </a> </b> |
74 | 74 | <ul>
|
75 | 75 | <li onclick="location.replace(\''.$this->webroot.'/user/userpage\');"><a>'.$this->t('My Page').'</a></li>
|
76 | 76 | <li class="myAccountLink"><a>'.$this->t('My Account').'</a></li>
|
|
108 | 108 | <li>
|
109 | 109 | <?php if($this->lang=='fr')
|
110 | 110 | {
|
111 |
| - echo '<a href="'.$this->webroot.'?lang=en"><img src="'.$this->webroot.'/public/images/icons/english.png" alt="English"/>'; |
| 111 | + echo '<a href="'.$this->webroot.'?lang=en"><img src="'.$this->coreWebroot.'/public/images/icons/english.png" alt="English"/>'; |
112 | 112 | }
|
113 | 113 | else
|
114 | 114 | {
|
115 |
| - echo '<a href="'.$this->webroot.'?lang=fr"><img src="'.$this->webroot.'/public/images/icons/french.png" alt="French"/>'; |
| 115 | + echo '<a href="'.$this->webroot.'?lang=fr"><img src="'.$this->coreWebroot.'/public/images/icons/french.png" alt="French"/>'; |
116 | 116 | }
|
117 | 117 | ?>
|
118 | 118 | </a>
|
|
134 | 134 | <div class="HeaderAction">
|
135 | 135 | <ul>
|
136 | 136 | <li class="uploadFile" title="Upload" rel="<?php echo $this->webroot?>/upload/simpleupload">
|
137 |
| - <a href="#"><img src="<?= $this->webroot ?>/public/images/icons/addfile.png" alt="Upload a file"/> |
| 137 | + <a href="#"><img src="<?= $this->coreWebroot ?>/public/images/icons/addfile.png" alt="Upload a file"/> |
138 | 138 | Upload
|
139 | 139 | </a>
|
140 | 140 | </li>
|
|
148 | 148 | <div class="MainContent">
|
149 | 149 | <div class="SideBar">
|
150 | 150 | <ul>
|
151 |
| - <li <?php if($this->activemenu=='feed') {echo 'class="active"';} ?> onclick="location.replace('<?php echo $this->webroot?>/feed');" ><a href="<?php echo $this->webroot?>/feed"><img alt="" src="<?php echo $this->webroot?>/public/images/icons/feed.png" /><span> <?php echo $this->t('Feed');?></span></a></li> |
152 |
| - <li <?php if($this->activemenu=='browse') {echo 'class="active"';} ?> onclick="location.replace('<?php echo $this->webroot?>/browse');" ><a href="<?php echo $this->webroot?>/browse"><img alt="" src="<?php echo $this->webroot?>/public/images/icons/data.png" /><span> <?php echo $this->t('Data');?></span></a></li> |
153 |
| - <li <?php if($this->activemenu=='community') {echo 'class="active"';} ?> onclick="location.replace('<?php echo $this->webroot?>/community');" ><a href="<?php echo $this->webroot?>/community"><img alt="" src="<?php echo $this->webroot?>/public/images/icons/community.png" /><span> <?php echo $this->t('Communities');?></span></a></li> |
154 |
| - <li id="menuUserInfo" <?php if($this->activemenu=='user') {echo 'class="active"';} ?> ><a href="javascript:;"><img alt="" src="<?php echo $this->webroot?>/public/images/icons/upload.png" /><span> <?php echo $this->t('My Uploads');?></span></a></li> |
155 |
| - <li <?php if($this->activemenu=='plugin') {echo 'class="active"';} ?> class="last"><a href="#"><img alt="" src="<?php echo $this->webroot?>/public/images/icons/plugin.png" /><span> <?php echo $this->t('Plugins');?></span></a></li> |
| 151 | + <li <?php if($this->activemenu=='feed') {echo 'class="active"';} ?> onclick="location.replace('<?php echo $this->webroot?>/feed');" ><a href="<?php echo $this->webroot?>/feed"><img alt="" src="<?php echo $this->coreWebroot?>/public/images/icons/feed.png" /><span> <?php echo $this->t('Feed');?></span></a></li> |
| 152 | + <li <?php if($this->activemenu=='browse') {echo 'class="active"';} ?> onclick="location.replace('<?php echo $this->webroot?>/browse');" ><a href="<?php echo $this->webroot?>/browse"><img alt="" src="<?php echo $this->coreWebroot?>/public/images/icons/data.png" /><span> <?php echo $this->t('Data');?></span></a></li> |
| 153 | + <li <?php if($this->activemenu=='community') {echo 'class="active"';} ?> onclick="location.replace('<?php echo $this->webroot?>/community');" ><a href="<?php echo $this->webroot?>/community"><img alt="" src="<?php echo $this->coreWebroot?>/public/images/icons/community.png" /><span> <?php echo $this->t('Communities');?></span></a></li> |
| 154 | + <li id="menuUserInfo" <?php if($this->activemenu=='user') {echo 'class="active"';} ?> ><a href="javascript:;"><img alt="" src="<?php echo $this->coreWebroot?>/public/images/icons/upload.png" /><span> <?php echo $this->t('My Uploads');?></span></a></li> |
| 155 | + <li <?php if($this->activemenu=='plugin') {echo 'class="active"';} ?> class="last"><a href="#"><img alt="" src="<?php echo $this->coreWebroot?>/public/images/icons/plugin.png" /><span> <?php echo $this->t('Plugins');?></span></a></li> |
156 | 156 | </ul>
|
157 | 157 | <hr/>
|
158 | 158 | <?php
|
|
197 | 197 | <?php
|
198 | 198 | if (Zend_Registry::get("configGlobal")->smartoptimizer == 1)
|
199 | 199 | {
|
200 |
| - echo '<script type="text/javascript" src="' . $this->webroot . '/public/js/layout/jquery.js,jquery-ui.js,main.js,jquery.treeTable.js,jquery.cluetip.js"></script>'; |
| 200 | + echo '<script type="text/javascript" src="' . $this->coreWebroot . '/public/js/layout/jquery.js,jquery-ui.js,main.js,jquery.treeTable.js,jquery.cluetip.js"></script>'; |
201 | 201 | }
|
202 | 202 | else
|
203 | 203 | {
|
204 |
| - echo '<script type="text/javascript" src="' . $this->webroot . '/public/js/layout/jquery.js"></script>'; |
205 |
| - echo '<script type="text/javascript" src="' . $this->webroot . '/public/js/layout/jquery.cluetip.js"></script>'; |
206 |
| - echo '<script type="text/javascript" src="' . $this->webroot . '/public/js/layout/jquery-ui.js"></script>'; |
207 |
| - echo '<script type="text/javascript" src="' . $this->webroot . '/public/js/layout/main.js"></script>'; |
208 |
| - echo '<script type="text/javascript" src="' . $this->webroot . '/public/js/layout/jquery.treeTable.js"></script>'; |
| 204 | + echo '<script type="text/javascript" src="' . $this->coreWebroot . '/public/js/layout/jquery.js"></script>'; |
| 205 | + echo '<script type="text/javascript" src="' . $this->coreWebroot . '/public/js/layout/jquery.cluetip.js"></script>'; |
| 206 | + echo '<script type="text/javascript" src="' . $this->coreWebroot . '/public/js/layout/jquery-ui.js"></script>'; |
| 207 | + echo '<script type="text/javascript" src="' . $this->coreWebroot . '/public/js/layout/main.js"></script>'; |
| 208 | + echo '<script type="text/javascript" src="' . $this->coreWebroot . '/public/js/layout/jquery.treeTable.js"></script>'; |
209 | 209 | }
|
210 | 210 | ?>
|
211 | 211 | <?php echo $this->headScript() ?>
|
|
0 commit comments