Lines 115-126
sub HandleShelfNumber {
Link Here
|
115 |
sub HandleSelectedShelf { |
115 |
sub HandleSelectedShelf { |
116 |
if($authorized= ShelfPossibleAction( $loggedinuser, $selectedshelf, 'add')){ |
116 |
if($authorized= ShelfPossibleAction( $loggedinuser, $selectedshelf, 'add')){ |
117 |
#adding to specific shelf |
117 |
#adding to specific shelf |
118 |
my ($singleshelf, $singleshelfname, $singlecategory)= GetShelf($query->param('selectedshelf')); |
118 |
my ($singleshelf, $singleshelfname)= GetShelf($query->param('selectedshelf')); |
119 |
$template->param( |
119 |
$template->param( |
120 |
singleshelf => 1, |
120 |
singleshelf => 1, |
121 |
shelfnumber => $singleshelf, |
121 |
shelfnumber => $singleshelf, |
122 |
shelfname => $singleshelfname, |
122 |
shelfname => $singleshelfname, |
123 |
"category$singlecategory" => 1 |
|
|
124 |
); |
123 |
); |
125 |
} |
124 |
} |
126 |
} |
125 |
} |