Removed trash HTML

This commit is contained in:
Marcin Kurczewski 2014-05-04 16:32:30 +02:00
parent 67e4272f3e
commit 458aac971d
15 changed files with 1 additions and 31 deletions

View file

@ -112,7 +112,7 @@ $(function()
aDom.addClass('inactive');
var url = $(this).attr('href') + '?json';
$.post(url, {submit: 1}).success(function(data)
$.post(url).success(function(data)
{
if (aDom.hasAttr('data-redirect-url'))
window.location.href = aDom.attr('data-redirect-url');

View file

@ -117,8 +117,6 @@ class TagController
$context->viewName = 'tag-list-wrapper';
Access::assert(new Privilege(Privilege::MassTag));
if (!InputHelper::get('submit'))
return;
$suppliedOldPage = intval(InputHelper::get('old-page'));
$suppliedOldQuery = InputHelper::get('old-query');

View file

@ -36,8 +36,6 @@ Assets::addStylesheet('auth.css');
<?php \Chibi\View::render('message', $this->context) ?>
<input type="hidden" name="submit" value="1"/>
<div class="form-row help">
<label></label>
<div>

View file

@ -17,7 +17,6 @@ Assets::addScript('comment-edit.js');
</div>
<input type="hidden" name="post-id" value="<?= $this->context->transport->post->id ?>">
<input type="hidden" name="submit" value="1"/>
<div class="form-row">
<button name="sender" class="submit" type="submit" value="preview">Preview</button>&nbsp;

View file

@ -20,8 +20,6 @@ Assets::addScript('comment-edit.js');
</div>
</div>
<input type="hidden" name="submit" value="1"/>
<div class="form-row">
<button name="sender" class="submit" type="submit" value="preview">Preview</button>&nbsp;
<button name="sender" class="submit" type="submit" value="submit">Submit</button>

View file

@ -119,8 +119,6 @@
</div>
<?php endif ?>
<input type="hidden" name="submit" value="1"/>
<div class="form-row">
<label></label>
<button class="submit" type="submit">Submit</button>

View file

@ -114,8 +114,6 @@ Assets::addScript('../lib/tagit/jquery.tagit.js');
<input type="text" name="source" placeholder="where did you get this from? (optional)"/>
</div>
</div>
<input type="hidden" name="submit" value="1"/>
</form>
</div>
</div>

View file

@ -44,11 +44,6 @@
? htmlspecialchars($this->context->massTagQuery)
: '' ?>"/>
<input
type="hidden"
name="submit"
value="1"/>
<div class="form-row">
<label></label>
<button class="submit" type="submit">Tag!</button>

View file

@ -16,8 +16,6 @@
</div>
</div>
<input type="hidden" name="submit" value="1"/>
<?php \Chibi\View::render('message', $this->context) ?>
<div class="form-row">

View file

@ -16,8 +16,6 @@
</div>
</div>
<input type="hidden" name="submit" value="1"/>
<?php \Chibi\View::render('message', $this->context) ?>
<div class="form-row">

View file

@ -16,8 +16,6 @@
</div>
<?php endif ?>
<input type="hidden" name="submit" value="1"/>
<?php \Chibi\View::render('message', $this->context) ?>
<div class="form-row">

View file

@ -106,8 +106,6 @@
</div>
<?php endif ?>
<input type="hidden" name="submit" value="1"/>
<?php \Chibi\View::render('message', $this->context) ?>
<div class="form-row">

View file

@ -74,8 +74,6 @@ Assets::setSubTitle('registration form');
<?php \Chibi\View::render('message', $this->context) ?>
<input type="hidden" name="submit" value="1"/>
<div class="form-row">
<label></label>
<button class="submit" type="submit">Register</button>

View file

@ -17,8 +17,6 @@
</div>
</div>
<input type="hidden" name="submit" value="1"/>
<?php \Chibi\View::render('message', $this->context) ?>
<div class="form-row">

View file

@ -87,8 +87,6 @@
</div>
</div>
<input type="hidden" name="submit" value="1"/>
<?php \Chibi\View::render('message', $this->context) ?>
<div class="form-row">