Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Websites
/
SlimSpots Wiki
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 0dc2544f
authored
2015-02-16 13:22:47 +0100
by
Aleksandar Hristov
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Old title fix, added font size to the tinymce toolbar
1 parent
7be84deb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
html/edit.php
html/edit.php
View file @
0dc2544
...
...
@@ -69,10 +69,8 @@ else
}
else
{
$old_title
=
explode
(
": "
,
$old_title
);
$section_to_edit
=
$old_title
[
1
];
$page_to_edit
=
$old_title
[
0
];
$page_id
=
$db
->
querySingle
(
"SELECT id FROM pages WHERE title = '
$page_to_edit
'"
);
$section_to_edit
=
$old_title
;
$page_id
=
$_POST
[
'page_id'
];
$id
=
$db
->
querySingle
(
"SELECT id FROM sections WHERE page_id = '
$page_id
' AND title = '
$section_to_edit
'"
);
$title
=
$_POST
[
'new_title'
];
$text
=
$db
->
escapeString
(
$_POST
[
'new_text'
]);
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment