Remove unused use statements for App
This commit is contained in:
parent
fff140ad43
commit
5f7482d081
61 changed files with 36 additions and 115 deletions
|
@ -6,7 +6,6 @@
|
|||
* Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
|
||||
*/
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Hook;
|
||||
use Friendica\DI;
|
||||
|
||||
|
@ -16,7 +15,7 @@ function calc_install() {
|
|||
|
||||
function calc_app_menu(array &$b)
|
||||
{
|
||||
$b['app_menu'][] = '<div class="app-title"><a href="calc">Calculator</a></div>';
|
||||
$b['app_menu'][] = '<div class="app-title"><a href="calc">Calculator</a></div>';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -296,7 +295,7 @@ $o .= <<< EOT
|
|||
<h3>Calculator</h3>
|
||||
<br /><br />
|
||||
<table>
|
||||
<tbody><tr><td>
|
||||
<tbody><tr><td>
|
||||
<table bgcolor="#af9999" border="1">
|
||||
<tbody><tr><td>
|
||||
<table border="1" cellpadding="2" cellspacing="2">
|
||||
|
@ -323,7 +322,7 @@ $o .= <<< EOT
|
|||
<td><input name="multiplication" value=" * " onclick="multiplyNumbers()" type="button"></td>
|
||||
</tr><tr align="left" valign="middle">
|
||||
<td><input name="zero" value=" 0 " onclick="addDisplay(0)" type="button"></td>
|
||||
<td><input name="pi" value=" Pi " onclick="addDisplay(Math.PI)" type="button"> </td>
|
||||
<td><input name="pi" value=" Pi " onclick="addDisplay(Math.PI)" type="button"> </td>
|
||||
<td><input name="dot" value=" . " onclick='addDisplay(".")' type="button"></td>
|
||||
<td><input name="division" value=" / " onclick="divideNumbers()" type="button"></td>
|
||||
</tr><tr align="left" valign="middle">
|
||||
|
@ -345,13 +344,13 @@ $o .= <<< EOT
|
|||
</form>
|
||||
|
||||
<!--
|
||||
<TD VALIGN=top>
|
||||
<TD VALIGN=top>
|
||||
<B>NOTE:</B> All sine and cosine calculations are
|
||||
<br>done in radians. Remember to convert first
|
||||
<br>if using degrees.
|
||||
</TD>
|
||||
-->
|
||||
|
||||
|
||||
</td></tr></tbody></table>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue