mirror of
https://github.com/friendica/friendica
synced 2025-09-06 06:39:27 +02:00
group drop
This commit is contained in:
parent
eb6b2677cb
commit
f4e634ad52
8 changed files with 43 additions and 14 deletions
|
@ -7,7 +7,7 @@ function group_select($selname,$selclass,$preselected = false,$size = 4) {
|
|||
|
||||
$o .= "<select name=\"{$selname}[]\" class=\"$selclass\" multiple=\"multiple\" size=\"$size\" />\r\n";
|
||||
|
||||
$r = q("SELECT * FROM `group` WHERE `uid` = %d ORDER BY `name` ASC",
|
||||
$r = q("SELECT * FROM `group` WHERE `deleted` = 0 AND `uid` = %d ORDER BY `name` ASC",
|
||||
$_SESSION['uid']
|
||||
);
|
||||
|
||||
|
|
1
view/group_drop.tpl
Normal file
1
view/group_drop.tpl
Normal file
|
@ -0,0 +1 @@
|
|||
<div class="group-delete-wrapper" id="group-delete-wrapper-$id" ><a href="group/drop/$id" onclick="return confirmDelete();" ><img src="images/b_drophide.gif" alt="$delete" title="$delete" id="group-delete-icon-$id" class="group-delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a></div><div class="group-delete-end"></div>
|
|
@ -13,6 +13,7 @@
|
|||
$selector
|
||||
|
||||
</div>
|
||||
$drop
|
||||
<div id="group_members_select_end"></div>
|
||||
<div id="group-edit-submit-wrapper" >
|
||||
<input type="submit" name="submit" value="Submit" >
|
||||
|
|
|
@ -1404,3 +1404,7 @@ input#dfrn-url {
|
|||
margin-left: 200px;
|
||||
}
|
||||
|
||||
.group-delete-wrapper {
|
||||
float: right;
|
||||
margin-right: 50px;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue