Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Adrien Dorsaz
Leed-market
Commits
cb940330
Commit
cb940330
authored
Oct 21, 2014
by
Adrien Dorsaz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[themeswitcher] Fixe le bug #79 et incrémente la version
parent
a0869fb0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
themeswitcher/themeswitcher.plugin.disabled.php
themeswitcher/themeswitcher.plugin.disabled.php
+4
-1
No files found.
themeswitcher/themeswitcher.plugin.disabled.php
View file @
cb940330
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
@author Simounet <contact@simounet.net>
@author Simounet <contact@simounet.net>
@link http://www.simounet.net
@link http://www.simounet.net
@licence CC BY-SA
@licence CC BY-SA
@version 1.0.
0
@version 1.0.
1
@description Le plugin ThemeSwitcher permet de changer de thème via la page de gestion.
@description Le plugin ThemeSwitcher permet de changer de thème via la page de gestion.
*/
*/
...
@@ -34,6 +34,9 @@ function themeswitcher_plugin_AddForm(){
...
@@ -34,6 +34,9 @@ function themeswitcher_plugin_AddForm(){
}
}
function
themeswitcher_plugin_change
(){
function
themeswitcher_plugin_change
(){
$myUser
=
(
isset
(
$_SESSION
[
'currentUser'
])
?
unserialize
(
$_SESSION
[
'currentUser'
])
:
false
);
if
(
$myUser
===
false
)
exit
(
_t
(
'P_THEMESWITCHER_CONNECTION_ERROR'
));
$fileName
=
'constant.php'
;
$fileName
=
'constant.php'
;
$searchfor
=
'marigolds'
;
$searchfor
=
'marigolds'
;
$file
=
file_get_contents
(
$fileName
);
$file
=
file_get_contents
(
$fileName
);
...
...
Write
Preview
Markdown
is supported
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