| 1 | <?php |
||||
| 2 | if(\OC::$server->getCache()->hasKey($_['tmpkey'])) { |
||||
| 3 | |||||
| 4 | $imgurl=''; |
||||
| 5 | ?> |
||||
| 6 | <img id="cropbox" src="<?php print_unescaped($imgurl);?>" /> |
||||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||||
| 7 | <form id="cropform" |
||||
| 8 | class="coords" |
||||
| 9 | method="post" |
||||
| 10 | enctype="multipart/form-data" |
||||
| 11 | target="crop_target" |
||||
| 12 | action="<?php print_unescaped(\OC::$server->getURLGenerator()->linkToRoute('audioplayer.photo.saveCropPhoto')); ?>"> |
||||
| 13 | |||||
| 14 | <input type="hidden" id="id" name="id" value="<?php p($_['id']); ?>" /> |
||||
|
0 ignored issues
–
show
The function
p was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||
| 15 | <input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']); ?>"> |
||||
| 16 | <input type="hidden" id="tmpkey" name="tmpkey" value="<?php p($_['tmpkey']); ?>" /> |
||||
| 17 | <fieldset id="coords"> |
||||
| 18 | <input type="hidden" id="x1" name="x1" value="" /> |
||||
| 19 | <input type="hidden" id="y1" name="y1" value="" /> |
||||
| 20 | <input type="hidden" id="x2" name="x2" value="" /> |
||||
| 21 | <input type="hidden" id="y2" name="y2" value="" /> |
||||
| 22 | <input type="hidden" id="w" name="w" value="" /> |
||||
| 23 | <input type="hidden" id="h" name="h" value="" /> |
||||
| 24 | </fieldset> |
||||
| 25 | <iframe name="crop_target" id="crop_target" src=""></iframe> |
||||
| 26 | </form> |
||||
| 27 | |||||
| 28 | <?php |
||||
| 29 | } else { |
||||
| 30 | p($l->t('The temporary image has been removed from cache.')); |
||||
| 31 | } |
||||
| 32 |