Needs to have the get_base_href() first.
This commit is contained in:
parent
46960eed48
commit
ce303d4fe3
1 changed files with 3 additions and 2 deletions
|
@ -58,8 +58,9 @@ class NotesTheme extends Themelet {
|
|||
// check action POST on form
|
||||
public function display_note_system(Page $page, $image_id, $recovered_notes, $adminOptions)
|
||||
{
|
||||
$page->add_html_header("<script src='$base_href/contrib/notes/jquery.qimgareaselect-0.4.js' type='text/javascript'></script>", 100);
|
||||
$page->add_html_header("<script src='$base_href/contrib/notes/jquery.rimgnotes-0.2.js' type='text/javascript'></script>", 101);
|
||||
$data_href = get_base_href();
|
||||
$page->add_html_header("<script src='$data_href/contrib/notes/jquery.qimgareaselect-0.4.js' type='text/javascript'></script>", 100);
|
||||
$page->add_html_header("<script src='$data_href/contrib/notes/jquery.rimgnotes-0.2.js' type='text/javascript'></script>", 101);
|
||||
|
||||
$html = "<script type='text/javascript'>
|
||||
|
||||
|
|
Reference in a new issue