Commit 1bfb21a1 authored by jerry wham's avatar jerry wham
Browse files

Change menu item by ul item

parent 605a4f5a
......@@ -163,14 +163,14 @@
$slide = file_get_contents(MS5E_SLIDES_PATH.'content'.DS.$file);
$number = str_replace('.txt','',$file);
$SLIDES .= '
<div id="edit-'.$number.'" class="editor" contextmenu="menu-'.$number.'">
<menu type="context" id="menu-'.$number.'">
<menuitem type="checkbox" disabled>Make S-5 Easy</menuitem>
<menuitem type="checkbox" id="add-'.$number.'" class="add">'.L_ADD_SLIDE.'</menuitem>
<menuitem type="checkbox" id="duplicate-'.$number.'" class="duplicate" title="'.L_CONFIRM_DUPLICATE.'">'.L_DUPLICATE_SLIDE.'</menuitem>
<menuitem type="checkbox" id="rename-'.$number.'" class="rename" title="'.L_ADD_NUMBER.(intval(nextId(MS5E_SLIDES_PATH.'content'))-1).'">'.L_RENAME_SLIDE.'</menuitem>
<menuitem type="checkbox" id="remove-'.$number.'" class="remove" title="'.L_CONFIRM_DELETE.'">'.L_REMOVE_SLIDE.'</menuitem>
</menu>
<div id="edit-'.$number.'" class="editor contextmenu" oncontextmenu="return monmenu(this)">
<ul type="context" id="menu-'.$number.'" class="menu">
<li class="menutitle">Make S-5 Easy</li>
<li id="add-'.$number.'" class="add menuitem">'.L_ADD_SLIDE.'</li>
<li id="duplicate-'.$number.'" class="duplicate menuitem" title="'.L_CONFIRM_DUPLICATE.'">'.L_DUPLICATE_SLIDE.'</li>
<li id="rename-'.$number.'" class="rename menuitem" title="'.L_ADD_NUMBER.(intval(nextId(MS5E_SLIDES_PATH.'content'))-1).'">'.L_RENAME_SLIDE.'</li>
<li id="remove-'.$number.'" class="remove menuitem" title="'.L_CONFIRM_DELETE.'">'.L_REMOVE_SLIDE.'</li>
</ul>
<div class="box">
<h1 class="slide-number" id="slide-'.$number.'">'.intval($number).'</h1>
<div class="thumb">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment