@@ -7,8 +7,8 @@ |
||
| 7 | 7 | <?php if ($app->has('url')): ?> |
| 8 | 8 | |
| 9 | 9 | <?php |
| 10 | - $url = urlencode($app['url']); |
|
| 11 | - $bookmarklet = <<<BOOKMARKLET |
|
| 10 | + $url = urlencode($app['url']); |
|
| 11 | + $bookmarklet = <<<BOOKMARKLET |
|
| 12 | 12 | (function () { |
| 13 | 13 | if (document.location.href.indexOf('{$app['url']}') !== 0 || document.location.href.indexOf('{$app->getUrl()}') === 0) { |
| 14 | 14 | alert('This bookmarklet is only valid for \'{$url}\''); |