This repository was archived by the owner on Sep 10, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +42
-16
lines changed Expand file tree Collapse file tree 6 files changed +42
-16
lines changed Original file line number Diff line number Diff line change @@ -247,7 +247,6 @@ function step3Action()
247
247
$ formArray ['description ' ]->setValue ($ applicationConfig ['global ' ]['application.description ' ]);
248
248
$ formArray ['smartoptimizer ' ]->setValue ($ applicationConfig ['global ' ]['smartoptimizer ' ]);
249
249
$ formArray ['timezone ' ]->setValue ($ applicationConfig ['global ' ]['default.timezone ' ]);
250
- $ formArray ['process ' ]->setValue ($ applicationConfig ['global ' ]['processing ' ]);
251
250
252
251
$ assetstrores = $ this ->Assetstore ->getAll ();
253
252
@@ -272,7 +271,6 @@ function step3Action()
272
271
$ applicationConfig ['global ' ]['defaultassetstore.id ' ] = $ assetstrores [0 ]->getKey ();
273
272
$ applicationConfig ['global ' ]['smartoptimizer ' ] = $ form ->getValue ('smartoptimizer ' );
274
273
$ applicationConfig ['global ' ]['default.timezone ' ] = $ form ->getValue ('timezone ' );
275
- $ applicationConfig ['global ' ]['processing ' ] = $ form ->getValue ('process ' );
276
274
277
275
$ this ->Component ->Utility ->createInitFile (BASE_PATH .'/core/configs/application.local.ini ' , $ applicationConfig );
278
276
$ this ->_redirect ("/admin?checkRecentItem=true#tabs-modules " );
Original file line number Diff line number Diff line change @@ -130,16 +130,40 @@ echo $this->doctype()
130
130
<a href="#" > <?= $ this ->t ('Help ' ) ?> </a>
131
131
</li>
132
132
<li>
133
- <?php if ($ this ->lang =='fr ' )
134
- {
135
- echo '<a href=" ' .$ this ->webroot .'?lang=en"><img src=" ' .$ this ->coreWebroot .'/public/images/icons/english.png" alt="English"/> ' ;
136
- }
137
- else
138
- {
139
- echo '<a href=" ' .$ this ->webroot .'?lang=fr"><img src=" ' .$ this ->coreWebroot .'/public/images/icons/french.png" alt="French"/> ' ;
140
- }
133
+
134
+ <a href="#" style="margin-right: 20px">
135
+
136
+ <?php
137
+ echo $ this ->t ('My Language ' );
141
138
?>
142
- </a>
139
+ <img class="languageIcon" src="<?php echo $ this ->coreWebroot ?> /public/images/icons/language.png" alt ="" />
140
+ </a>
141
+ <ul>
142
+ <li>
143
+ <?php
144
+ if ($ this ->lang =='en ' )
145
+ {
146
+ echo '<a href="#"><b>English</b></a> ' ;
147
+ }
148
+ else
149
+ {
150
+ echo '<a href=" ' .$ this ->webroot .'?lang=en">English</a> ' ;
151
+ }
152
+ ?>
153
+ </li>
154
+ <li>
155
+ <?php
156
+ if ($ this ->lang =='fr ' )
157
+ {
158
+ echo '<a href="#"><b>Français</b></a> ' ;
159
+ }
160
+ else
161
+ {
162
+ echo '<a href=" ' .$ this ->webroot .'?lang=fr">Français</a> ' ;
163
+ }
164
+ ?>
165
+ </li>
166
+ </ul>
143
167
</li>
144
168
</ul>
145
169
</div>
Original file line number Diff line number Diff line change @@ -549,6 +549,13 @@ div.TopbarRight img.arrowUser{
549
549
position : relative;
550
550
top : 1px ;
551
551
}
552
+
553
+ div .TopbarRight img .languageIcon {
554
+ position : absolute;
555
+ right : 0px ;
556
+ top : 0px ;
557
+ }
558
+
552
559
div .TopbarRight li li {
553
560
display : block;
554
561
float : none;
Original file line number Diff line number Diff line change @@ -251,4 +251,5 @@ Add in group;Ajouter au groupe
251
251
Set as moderator;Promouvoir en tant que mod�rateur
252
252
Remove from community;Retirer de la communaut�
253
253
Remove from group;Retirer du groupe
254
- Add Metadata;Ajouter M�tadonn�e
254
+ Add Metadata;Ajouter M�tadonn�e
255
+ My Language;Ma Langue
Original file line number Diff line number Diff line change @@ -41,10 +41,6 @@ PURPOSE. See the above copyright notices for more information.
41
41
<div class='installEnvironment'>
42
42
<label for='environment'>Environment</label>
43
43
{$ this ->form ['environment ' ]}
44
- </div>
45
- <div class='installProcess'>
46
- <label for='process'>Select process type</label>
47
- {$ this ->form ['process ' ]}
48
44
</div>
49
45
<div class='installTimezone'>
50
46
<label for='environment'>Timezone</label>
You can’t perform that action at this time.
0 commit comments