Changed the position of the delete icon based on user feedback.
This commit is contained in:
parent
564392cced
commit
24f455c4c5
1 changed files with 2 additions and 2 deletions
|
|
@ -97,17 +97,18 @@ sub page {
|
||||||
if ($session{var}{adminOn}) {
|
if ($session{var}{adminOn}) {
|
||||||
$pageEdit = "\n<br>"
|
$pageEdit = "\n<br>"
|
||||||
.pageIcon()
|
.pageIcon()
|
||||||
|
.deleteIcon('op=deletePage')
|
||||||
.editIcon('op=editPage')
|
.editIcon('op=editPage')
|
||||||
.moveUpIcon('op=movePageUp')
|
.moveUpIcon('op=movePageUp')
|
||||||
.moveDownIcon('op=movePageDown')
|
.moveDownIcon('op=movePageDown')
|
||||||
.cutIcon('op=cutPage')
|
.cutIcon('op=cutPage')
|
||||||
.deleteIcon('op=deletePage')
|
|
||||||
."\n";
|
."\n";
|
||||||
}
|
}
|
||||||
$sth = WebGUI::SQL->read("select * from wobject where pageId=$session{page}{pageId} order by sequenceNumber, wobjectId");
|
$sth = WebGUI::SQL->read("select * from wobject where pageId=$session{page}{pageId} order by sequenceNumber, wobjectId");
|
||||||
while ($wobject = $sth->hashRef) {
|
while ($wobject = $sth->hashRef) {
|
||||||
if ($session{var}{adminOn}) {
|
if ($session{var}{adminOn}) {
|
||||||
$contentHash{${$wobject}{templatePosition}} .= "\n<hr>"
|
$contentHash{${$wobject}{templatePosition}} .= "\n<hr>"
|
||||||
|
.deleteIcon('func=delete&wid='.${$wobject}{wobjectId})
|
||||||
.editIcon('func=edit&wid='.${$wobject}{wobjectId})
|
.editIcon('func=edit&wid='.${$wobject}{wobjectId})
|
||||||
.moveUpIcon('func=moveUp&wid='.${$wobject}{wobjectId})
|
.moveUpIcon('func=moveUp&wid='.${$wobject}{wobjectId})
|
||||||
.moveDownIcon('func=moveDown&wid='.${$wobject}{wobjectId})
|
.moveDownIcon('func=moveDown&wid='.${$wobject}{wobjectId})
|
||||||
|
|
@ -115,7 +116,6 @@ sub page {
|
||||||
.moveBottomIcon('func=moveBottom&wid='.${$wobject}{wobjectId})
|
.moveBottomIcon('func=moveBottom&wid='.${$wobject}{wobjectId})
|
||||||
.copyIcon('func=copy&wid='.${$wobject}{wobjectId})
|
.copyIcon('func=copy&wid='.${$wobject}{wobjectId})
|
||||||
.cutIcon('func=cut&wid='.${$wobject}{wobjectId})
|
.cutIcon('func=cut&wid='.${$wobject}{wobjectId})
|
||||||
.deleteIcon('func=delete&wid='.${$wobject}{wobjectId})
|
|
||||||
.'<br>';
|
.'<br>';
|
||||||
}
|
}
|
||||||
if (${$wobject}{namespace} eq "WobjectProxy") {
|
if (${$wobject}{namespace} eq "WobjectProxy") {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue