Dmitry M. created event.js model

This commit is contained in:
Serghey Rodin 2012-09-28 12:35:41 +03:00
commit ac2aa3c1ce
23 changed files with 329 additions and 726 deletions

View file

@ -47,28 +47,6 @@
}
?>
<script type="text/javascript">
$(function(){
$('#delete_dialog_<?php echo "$i" ?>').dialog({
modal: true,
autoOpen: false,
width: 360,
buttons: {
"Ok": function(event, ui) {
location.href = '/delete/user/?user=<?php echo "$key" ?>';
},
"Cancel": function() {
$(this).dialog("close");
}
}
});
$('#delete_link_<?php echo "$i" ?>').click(function(){
$('#delete_dialog_<?php echo "$i" ?>').dialog('open');
return false;
});
});
</script>
<tr class="data-row">
<td class="data-dotted" style="padding: 0px 10px 0px 0px">
<table class="data-col1">
@ -81,7 +59,7 @@
<table width="830px">
<tr>
<td></td>
<td class="data-controls" width="50px"><img src="/images/edit.png" width="8px" height="8px"><a href="/edit/user/?user=<?php echo "$key" ?>"> edit</a></td>
<td class="data-controls" width="50px"><a href="/edit/user/?user=<?php echo "$key" ?>"><img src="/images/edit.png" width="8px" height="8px"> edit</a></td>
</tr>
</table>