summaryrefslogtreecommitdiffstats
path: root/web/template/search_accounts_form.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2012-09-21 08:57:29 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2012-09-24 12:23:04 +0200
commit6102759b7cb9fd23f4e7fa5f12137334ff30a410 (patch)
treefba81fdedea0dd6ca3f1e1bdd260fa55ebc36ee9 /web/template/search_accounts_form.php
parent964ea083e68310ca7c09ca938219f4146f0ca5b9 (diff)
downloadaur-6102759b7cb9fd23f4e7fa5f12137334ff30a410.tar.gz
aur-6102759b7cb9fd23f4e7fa5f12137334ff30a410.tar.xz
Use echo shortcut syntax
Replace all occurrences of "<?php echo" and "<?php print" by "<?=" to reduce noise in templates. Note that as of PHP 5.4.0, "<?=" is always available and no longer requires "short_open_tag" to be set. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/search_accounts_form.php')
-rw-r--r--web/template/search_accounts_form.php38
1 files changed, 19 insertions, 19 deletions
diff --git a/web/template/search_accounts_form.php b/web/template/search_accounts_form.php
index 2fd003aa..202b1aa3 100644
--- a/web/template/search_accounts_form.php
+++ b/web/template/search_accounts_form.php
@@ -1,63 +1,63 @@
<br />
-<form action="<?php echo get_uri('/accounts/'); ?>" method="post">
+<form action="<?= get_uri('/accounts/'); ?>" method="post">
<table>
<tr>
- <td align="left"><?php print __("Username"); ?>:</td>
+ <td align="left"><?= __("Username"); ?>:</td>
<td align="left">
<input type="text" size="30" maxlength="64" name="U" />
</td>
</tr>
<tr>
- <td align="left"><?php print __("Account Type"); ?>:</td>
+ <td align="left"><?= __("Account Type"); ?>:</td>
<td align="left">
<select name="T">
- <option value=""><?php print __("Any type"); ?></option>
- <option value="u"><?php print __("Normal user"); ?></option>
- <option value="t"><?php print __("Trusted user"); ?></option>
- <option value="d"><?php print __("Developer"); ?></option>
+ <option value=""><?= __("Any type"); ?></option>
+ <option value="u"><?= __("Normal user"); ?></option>
+ <option value="t"><?= __("Trusted user"); ?></option>
+ <option value="d"><?= __("Developer"); ?></option>
</select>
</td>
</tr>
<tr>
- <td align="left"><?php print __("Account Suspended"); ?>:</td>
+ <td align="left"><?= __("Account Suspended"); ?>:</td>
<td align="left">
<input type="checkbox" name="S" />
</td>
</tr>
<tr>
- <td align="left"><?php print __("Email Address"); ?>:</td>
+ <td align="left"><?= __("Email Address"); ?>:</td>
<td align="left">
<input type="text" size="30" maxlength="64" name="E" />
</td>
</tr>
<tr>
- <td align="left"><?php print __("Real Name"); ?>:</td>
+ <td align="left"><?= __("Real Name"); ?>:</td>
<td align="left">
<input type="text" size="30" maxlength="32" name="R" />
</td>
</tr>
<tr>
- <td align="left"><?php print __("IRC Nick"); ?>:</td>
+ <td align="left"><?= __("IRC Nick"); ?>:</td>
<td align="left">
<input type="text" size="30" maxlength="32" name="I" />
</td>
</tr>
<tr>
- <td align="left"><?php print __("Sort by"); ?>:</td>
+ <td align="left"><?= __("Sort by"); ?>:</td>
<td align="left">
<select name="SB">
- <option value="u"><?php print __("Username"); ?></option>
- <option value="t"><?php print __("Account Type"); ?></option>
- <option value="r"><?php print __("Real Name"); ?></option>
- <option value="i"><?php print __("IRC Nick"); ?></option>
- <option value="v"><?php print __("Last vote"); ?></option>
+ <option value="u"><?= __("Username"); ?></option>
+ <option value="t"><?= __("Account Type"); ?></option>
+ <option value="r"><?= __("Real Name"); ?></option>
+ <option value="i"><?= __("IRC Nick"); ?></option>
+ <option value="v"><?= __("Last vote"); ?></option>
</select>
</td>
</tr>
@@ -67,8 +67,8 @@
<td align="left">
<br />
<input type="hidden" name="Action" value="SearchAccounts" />
- <input type="submit" class="button" value="<?php print __("Search"); ?>" />
- <input type="reset" class="button" value="<?php print __("Reset"); ?>" />
+ <input type="submit" class="button" value="<?= __("Search"); ?>" />
+ <input type="reset" class="button" value="<?= __("Reset"); ?>" />
</td>
</tr>