Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
fusiondirectory
Commits
ee7e6d40
Commit
ee7e6d40
authored
7 years ago
by
Côme Chilliet
Browse files
Options
Download
Patches
Plain Diff
fix(smarty) Removed unused attributes from smarty plugins
issue
#5831
parent
feca7f20
dev
6342-update-the-locales-for-1-5
6344-template-issue-when-creating-a-template-with-empty-password-error-message-should-not-be-seen
6365-core-locking-mechanism-is-not-changing-the-mail-ressource-it-does-lock-the-mail-account
6365-core-when-lock-mechanism-is-trigger-the-user-should-not-be-editable-if-not-unlock
6378-orcid-test-method-is-wrong-and-break-orcid-saving
core-php8
master
fusiondirectory-1.5
fusiondirectory-1.4
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
contrib/smarty/plugins/block.render.php
+1
-1
contrib/smarty/plugins/block.render.php
contrib/smarty/plugins/function.filePath.php
+1
-1
contrib/smarty/plugins/function.filePath.php
contrib/smarty/plugins/function.iconPath.php
+1
-1
contrib/smarty/plugins/function.iconPath.php
contrib/smarty/plugins/function.msgPool.php
+1
-1
contrib/smarty/plugins/function.msgPool.php
with
4 additions
and
4 deletions
+4
-4
contrib/smarty/plugins/block.render.php
+
1
−
1
View file @
ee7e6d40
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
*/
function
smarty_block_render
(
$params
,
$text
,
&
$smarty
)
function
smarty_block_render
(
$params
,
$text
)
{
{
/* Skip closing tag </render> */
/* Skip closing tag </render> */
if
(
empty
(
$text
))
{
if
(
empty
(
$text
))
{
...
...
This diff is collapsed.
Click to expand it.
contrib/smarty/plugins/function.filePath.php
+
1
−
1
View file @
ee7e6d40
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
along with this program; if not, write to the Free Software
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
*/
function
smarty_function_filePath
(
$params
,
&
$smarty
)
function
smarty_function_filePath
(
$params
,
Smarty_Internal_Template
$smarty
)
{
{
$config
=
session
::
global_get
(
'config'
);
$config
=
session
::
global_get
(
'config'
);
$default_theme
=
'breezy'
;
$default_theme
=
'breezy'
;
...
...
This diff is collapsed.
Click to expand it.
contrib/smarty/plugins/function.iconPath.php
+
1
−
1
View file @
ee7e6d40
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
along with this program; if not, write to the Free Software
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
*/
function
smarty_function_iconPath
(
$params
,
&
$smarty
)
function
smarty_function_iconPath
(
$params
)
{
{
$config
=
session
::
global_get
(
'config'
);
$config
=
session
::
global_get
(
'config'
);
...
...
This diff is collapsed.
Click to expand it.
contrib/smarty/plugins/function.msgPool.php
+
1
−
1
View file @
ee7e6d40
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
along with this program; if not, write to the Free Software
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
*/
function
smarty_function_msgPool
(
$params
,
&
$smarty
)
function
smarty_function_msgPool
(
$params
)
{
{
if
(
class_available
(
'msgPool'
)
&&
isset
(
$params
[
'type'
]))
{
if
(
class_available
(
'msgPool'
)
&&
isset
(
$params
[
'type'
]))
{
$parameter
=
array
();
$parameter
=
array
();
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets