mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 20:21:37 +00:00
Empty commit
This commit is contained in:
parent
0e9cd958de
commit
1f6020cd8a
@ -321,9 +321,9 @@
|
||||
?>
|
||||
<div id="poll_container">
|
||||
<form class="vote_form" name="poll" id="poll">
|
||||
<input type="hidden" name="action" value="poll"/>
|
||||
<input type="hidden" name="action" value="poll" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="large" value="1"/>
|
||||
<input type="hidden" name="large" value="1" />
|
||||
<input type="hidden" name="topicid" value="<?=$ThreadID?>" />
|
||||
<ul style="list-style: none;" id="poll_options">
|
||||
<? foreach($Answers as $i => $Answer) { //for ($i = 1, $il = count($Answers); $i <= $il; $i++) { ?>
|
||||
@ -342,26 +342,26 @@
|
||||
<br />
|
||||
<br />
|
||||
<? } ?>
|
||||
<input type="button" style="float: left;" onclick="ajax.post('index.php','poll',function(response){$('#poll_container').raw().innerHTML = response});" value="Vote">
|
||||
<input type="button" style="float: left;" onclick="ajax.post('index.php','poll',function(response){$('#poll_container').raw().innerHTML = response});" value="Vote" />
|
||||
</form>
|
||||
</div>
|
||||
<? } ?>
|
||||
<? if(check_perms('forums_polls_moderate') && !$RevealVoters) { ?>
|
||||
<? if (!$Featured || $Featured == '0000-00-00 00:00:00') { ?>
|
||||
<form class="manage_form" name="poll" action="forums.php" method="post">
|
||||
<input type="hidden" name="action" value="poll_mod"/>
|
||||
<input type="hidden" name="action" value="poll_mod" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="topicid" value="<?=$ThreadID?>" />
|
||||
<input type="hidden" name="feature" value="1">
|
||||
<input type="submit" style="float: left;" onclick="return confirm('Are you sure you want to feature this poll?');"; value="Feature">
|
||||
<input type="hidden" name="feature" value="1" />
|
||||
<input type="submit" style="float: left;" onclick="return confirm('Are you sure you want to feature this poll?');" value="Feature" />
|
||||
</form>
|
||||
<? } ?>
|
||||
<form class="manage_form" name="poll" action="forums.php" method="post">
|
||||
<input type="hidden" name="action" value="poll_mod"/>
|
||||
<input type="hidden" name="action" value="poll_mod" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="topicid" value="<?=$ThreadID?>" />
|
||||
<input type="hidden" name="close" value="1">
|
||||
<input type="submit" style="float: left;" value="<?=(!$Closed ? 'Close' : 'Open')?>">
|
||||
<input type="hidden" name="close" value="1" />
|
||||
<input type="submit" style="float: left;" value="<?=(!$Closed ? 'Close' : 'Open')?>" />
|
||||
</form>
|
||||
<? } ?>
|
||||
</div>
|
||||
|
@ -28,8 +28,8 @@
|
||||
}
|
||||
|
||||
$DB->query("SELECT Username FROM users_main WHERE ID='$ToID'");
|
||||
list($Username) = $DB->next_record();
|
||||
if(!$Username) {
|
||||
list($ComposeToUsername) = $DB->next_record();
|
||||
if(!$ComposeToUsername) {
|
||||
error(404);
|
||||
}
|
||||
show_header('Compose', 'inbox,bbcode');
|
||||
@ -148,9 +148,7 @@
|
||||
<div class="thin">
|
||||
<div class="header">
|
||||
<h2>
|
||||
Send a message to <a href="user.php?id=<?=$ToID?>
|
||||
"> <?=$Username?>
|
||||
</a>
|
||||
Send a message to <a href="user.php?id=<?=$ToID?>"> <?=$ComposeToUsername?></a>
|
||||
</h2>
|
||||
</div>
|
||||
<form class="send_form" name="message" action="reports.php" method="post" id="messageform">
|
||||
|
@ -32,15 +32,14 @@
|
||||
<td>Country</td>
|
||||
<td>Submit</td>
|
||||
</tr>
|
||||
<tr/>
|
||||
<tr>
|
||||
<form class="add_form" name="countries" method="post">
|
||||
<input type="hidden" name="newcountry" value="1" />
|
||||
<td>
|
||||
<input type="text" name="country"/>
|
||||
<input type="text" name="country" />
|
||||
</td>
|
||||
<td>
|
||||
<input type="submit" value="Add Country"/>
|
||||
<input type="submit" value="Add Country" />
|
||||
</td>
|
||||
</form>
|
||||
</tr>
|
||||
@ -53,14 +52,14 @@
|
||||
<input type="hidden" name="changecountry" value="1" />
|
||||
<input type="hidden" name="id" value="<?=$ID?>" />
|
||||
<td>
|
||||
<input type="text" name="country" value="<?=$Country?>"/>
|
||||
<input type="text" name="country" value="<?=$Country?>" />
|
||||
</td>
|
||||
<td>
|
||||
<input type="submit" name="save" value="Save Country"/>
|
||||
<input type="submit" name="delete" value="Delete Country"/>
|
||||
<input type="submit" name="save" value="Save Country" />
|
||||
<input type="submit" name="delete" value="Delete Country" />
|
||||
</td>
|
||||
</form>
|
||||
</tr>
|
||||
<? }?>
|
||||
</table>
|
||||
<? show_footer(); ?>
|
||||
<? show_footer(); ?>
|
||||
|
Loading…
Reference in New Issue
Block a user