Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel CAZAL
co2
Commits
2599c950
Commit
2599c950
authored
Jul 18, 2018
by
Raph El
Browse files
Modif network
parent
6f63f3db
Changes
3
Hide whitespace changes
Inline
Side-by-side
NetworkModule.php
View file @
2599c950
...
...
@@ -46,8 +46,12 @@ class NetworkModule extends CWebModule {
$this
->
setImport
(
array
(
'citizenToolKit.models.*'
,
'ressources.models.*'
,
'classifieds.models.*'
,
//'classifieds.models.*'
'eco.models.*'
,
'places.models.*'
,
'chat.models.*'
,
'interop.models.*'
,
'survey.models.*'
,
$this
->
id
.
'.models.*'
,
$this
->
id
.
'.components.*'
,
$this
->
id
.
'.messages.*'
,
...
...
views/custom/init.php
View file @
2599c950
...
...
@@ -57,7 +57,7 @@ if( @$_GET["el"] || @$custom )
$c
=
array_merge
(
$c
,
$el
[
"custom"
]
);
if
(
@
$el
[
"custom"
][
"logo"
])
$c
[
"logo"
]
=
Yii
::
app
()
->
getModule
(
$el
[
"custom"
][
"module"
])
->
getAssetsUrl
(
true
)
.
$el
[
"custom"
][
"logo"
];
$c
[
"logo"
]
=
Yii
::
app
()
->
getModule
(
$el
[
"custom"
][
"module"
])
->
getAssetsUrl
(
true
)
.
$el
[
"custom"
][
"logo"
];
else
if
(
@
$el
[
"profilImageUrl"
]
)
{
$c
[
"logo"
]
=
$el
[
"profilImageUrl"
];
$el
[
"custom"
][
"logo"
]
=
$el
[
"profilImageUrl"
];
...
...
views/custom/test.php
View file @
2599c950
<h1>
TEST Custom sur orga
</h1>
<div
class=
"container col-xs-12"
>
<img
src=
"
<?php
echo
Yii
::
app
()
->
getModule
(
"co2"
)
->
assetsUrl
.
"/images/custom/hva/banniere.jpg"
;
?>
"
class=
"loadingPageImg"
height=
"200"
width=
"100%"
>
<iframe
src=
"http://127.0.0.1/ph/network/default/index/?src=HVAorga"
></iframe>
</div>
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment