Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
Leed-market
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Adrien Dorsaz
Leed-market
Commits
4281e987
Commit
4281e987
authored
Oct 21, 2014
by
Adrien Dorsaz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use button for Read it later
parent
f446ee3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
fleaditlater/fleaditlater.plugin.disabled.php
fleaditlater/fleaditlater.plugin.disabled.php
+1
-2
No files found.
fleaditlater/fleaditlater.plugin.disabled.php
View file @
4281e987
...
...
@@ -13,8 +13,7 @@ function fleaditlater_plugin_AddButton(&$event){
$count
=
mysql_query
(
'SELECT COUNT(id) FROM `'
.
MYSQL_PREFIX
.
'plugin_feaditlater` WHERE event='
.
$eventId
);
$count
=
mysql_fetch_row
(
$count
);
if
(
!
$count
[
0
]){
echo
'<a class="pointer fleaditLaterButton" onclick="fleadItLater('
.
$eventId
.
',\'add\',this);">Lire + Tard</a> '
;
//echo '<div onclick="fleadItLater('.$eventId.',\'add\',this);" class="fleaditLaterButton">Lire + Tard</div>';
echo
'<button onclick="fleadItLater('
.
$eventId
.
',\'add\',this);">Lire + Tard</button> '
;
}
}
...
...
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