File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 160
160
<tr><th><div>Value</div></th><th><div> </div></th><th><div> </div></th></tr>
161
161
162
162
<?php foreach ($ values as $ value ) {
163
- $ display_value = $ redis ->exists ($ value ) ? '<a href="view.php?s= ' . $ server ['id ' ] . '&key= ' . urlencode ($ value ) . '"> ' . $ value . '</a> ' : nl2br (format_html ($ value ));
163
+ $ display_value = $ redis ->exists ($ value ) ? '<a href="view.php?s= ' . $ server ['id ' ]. '&key= ' . urlencode ($ value ). '"> ' . nl2br ( format_html ( $ value)). '</a> ' : nl2br (format_html ($ value ));
164
164
?>
165
165
<tr <?php echo $ alt ? 'class="alt" ' : '' ?> ><td><div><?php echo $ display_value ?> </div></td><td><div>
166
166
<a href="edit.php?s=<?php echo $ server ['id ' ]?> &type=set&key=<?php echo urlencode ($ _GET ['key ' ])?> &value=<?php echo urlencode ($ value )?> "><img src="images/edit.png" width="16" height="16" title="Edit" alt="[E]"></a>
180
180
<tr><th><div>Score</div></th><th><div>Value</div></th><th><div> </div></th><th><div> </div></th></tr>
181
181
182
182
<?php foreach ($ values as $ value ) {
183
- $ score = $ redis ->zScore ($ _GET ['key ' ], $ value );
184
- $ display_value = $ redis ->exists ($ value ) ? '<a href="view.php?s= ' . $ server ['id ' ] . '&key= ' . urlencode ($ value ) . '"> ' . $ value . '</a> ' : nl2br (format_html ($ value ));
183
+ $ score = $ redis ->zScore ($ _GET ['key ' ], $ value );
184
+ $ display_value = $ redis ->exists ($ value ) ? '<a href="view.php?s= ' . $ server ['id ' ]. '&key= ' . urlencode ($ value ). '"> ' . nl2br ( format_html ( $ value)). '</a> ' : nl2br (format_html ($ value ));
185
185
?>
186
186
<tr <?php echo $ alt ? 'class="alt" ' : '' ?> ><td><div><?php echo $ score?> </div></td><td><div><?php echo $ display_value ?> </div></td><td><div>
187
187
<a href="edit.php?s=<?php echo $ server ['id ' ]?> &type=zset&key=<?php echo urlencode ($ _GET ['key ' ])?> &score=<?php echo $ score?> &value=<?php echo urlencode ($ value )?> "><img src="images/edit.png" width="16" height="16" title="Edit" alt="[E]"></a>
You can’t perform that action at this time.
0 commit comments