Example #1
0
                print __("Suspended");
            } else {
                print __("Active");
            }
            ?>
					</td>
					<td><?php 
            $row["RealName"] ? print htmlspecialchars($row["RealName"], ENT_QUOTES) : (print "&nbsp;");
            ?>
</td>
					<td><?php 
            $row["IRCNick"] ? print htmlspecialchars($row["IRCNick"], ENT_QUOTES) : (print "&nbsp;");
            ?>
</td>
					<td><?php 
            $row["PGPKey"] ? print html_format_pgp_fingerprint($row["PGPKey"]) : (print "&nbsp;");
            ?>
</td>
					<td>
					<?php 
            if (can_edit_account($row)) {
                ?>
					<a href="<?php 
                echo get_user_uri($row["Username"]) . "edit/";
                ?>
"><?php 
                echo __("Edit");
                ?>
</a>
					<?php 
            } else {
Example #2
0
echo __("IRC Nick");
?>
:</label>
			<input type="text" size="30" maxlength="32" name="I" id="id_irc" value="<?php 
echo htmlspecialchars($I, ENT_QUOTES);
?>
" />
		</p>

		<p>
			<label for="id_pgp"><?php 
echo __("PGP Key Fingerprint");
?>
:</label>
			<input type="text" size="30" maxlength="50" name="K" id="id_pgp" value="<?php 
echo html_format_pgp_fingerprint($K);
?>
" />
		</p>

		<p>
			<label for="id_language"><?php 
echo __("Language");
?>
:</label>
			<select name="L" id="id_language">
<?php 
reset($SUPPORTED_LANGS);
while (list($code, $lang) = each($SUPPORTED_LANGS)) {
    if ($L == $code) {
        print "<option value=\"" . $code . "\" selected=\"selected\"> " . $lang . "</option>" . "\n";
Example #3
0
					<th><?php 
echo __("IRC Nick") . ":";
?>
</th>
					<td><?php 
echo htmlspecialchars($row["IRCNick"], ENT_QUOTES);
?>
</td>
				</tr>
				<tr>
					<th><?php 
echo __("PGP Key Fingerprint") . ":";
?>
</th>
					<td><?php 
echo html_format_pgp_fingerprint($row["PGPKey"]);
?>
</td>
				</tr>
				<tr>
					<th><?php 
echo __("Status") . ":";
?>
</th>
					<td>
					<?php 
echo $row["InactivityTS"] ? __("Inactive since") . ' ' . date("Y-m-d H:i", $row["InactivityTS"]) : __("Active");
?>
					</td>
				</tr>
				<?php