
ADDED : ADD GROUP OPTION ADDED : MANAGE GROUPS ADDED : ADMIN MEMBER SEARCH UPDATE : MASS EMAIL ADDED : ADMIN GROUPS search ADDED : ADD MEMBER FUNCTION ADDED : ClipBucket News ADDED : Private Notes ADDED : Quick actions ADDED : NEW PAGING SYSTEM
50 lines
No EOL
1.1 KiB
JavaScript
50 lines
No EOL
1.1 KiB
JavaScript
//include('popup_image.js');
|
|
var page = baseurl+'/actions/admin.php';
|
|
function ShowHint(text){
|
|
return fixedtooltip('<table bgcolor="#f1f1f1" width="400px" class="des_table"><tr><td>'+text+'</td></tr></table>', this, event, '0px');
|
|
}
|
|
|
|
|
|
function add_note(noteId)
|
|
{
|
|
var note = $(noteId).val();
|
|
if(!note)
|
|
alert("Please enter something");
|
|
else
|
|
{
|
|
$.post(page,
|
|
{
|
|
mode : 'add_note',
|
|
note : note,
|
|
},
|
|
function(data)
|
|
{
|
|
$("#no_note").css("display","none");
|
|
var the_note = '<div class="item" id="note-'+data.id+'"><img src="'+imageurl+'/cross.png" class="delete_note" onclick="delete_note(\''+data.id+'\');" />'+data.note+'</div>';
|
|
$("#the_notes").append(the_note);
|
|
$(noteId).val('');
|
|
},'json');
|
|
}
|
|
}
|
|
function delete_note(id)
|
|
{
|
|
$.post(page,
|
|
{
|
|
mode : 'delete_note',
|
|
id : id,
|
|
},
|
|
function(data)
|
|
{
|
|
$("#note-"+id).slideUp();
|
|
},'text');
|
|
}
|
|
|
|
|
|
function toggle_search(id)
|
|
{
|
|
$('#'+id).slideToggle();
|
|
if($.cookie("show_"+id+"_search")=="show")
|
|
$.cookie("show_"+id+"_search","hide")
|
|
else
|
|
$.cookie("show_"+id+"_search","show")
|
|
} |