Removed trash HTML
This commit is contained in:
parent
67e4272f3e
commit
458aac971d
15 changed files with 1 additions and 31 deletions
|
@ -112,7 +112,7 @@ $(function()
|
||||||
aDom.addClass('inactive');
|
aDom.addClass('inactive');
|
||||||
|
|
||||||
var url = $(this).attr('href') + '?json';
|
var url = $(this).attr('href') + '?json';
|
||||||
$.post(url, {submit: 1}).success(function(data)
|
$.post(url).success(function(data)
|
||||||
{
|
{
|
||||||
if (aDom.hasAttr('data-redirect-url'))
|
if (aDom.hasAttr('data-redirect-url'))
|
||||||
window.location.href = aDom.attr('data-redirect-url');
|
window.location.href = aDom.attr('data-redirect-url');
|
||||||
|
|
|
@ -117,8 +117,6 @@ class TagController
|
||||||
$context->viewName = 'tag-list-wrapper';
|
$context->viewName = 'tag-list-wrapper';
|
||||||
|
|
||||||
Access::assert(new Privilege(Privilege::MassTag));
|
Access::assert(new Privilege(Privilege::MassTag));
|
||||||
if (!InputHelper::get('submit'))
|
|
||||||
return;
|
|
||||||
|
|
||||||
$suppliedOldPage = intval(InputHelper::get('old-page'));
|
$suppliedOldPage = intval(InputHelper::get('old-page'));
|
||||||
$suppliedOldQuery = InputHelper::get('old-query');
|
$suppliedOldQuery = InputHelper::get('old-query');
|
||||||
|
|
|
@ -36,8 +36,6 @@ Assets::addStylesheet('auth.css');
|
||||||
|
|
||||||
<?php \Chibi\View::render('message', $this->context) ?>
|
<?php \Chibi\View::render('message', $this->context) ?>
|
||||||
|
|
||||||
<input type="hidden" name="submit" value="1"/>
|
|
||||||
|
|
||||||
<div class="form-row help">
|
<div class="form-row help">
|
||||||
<label></label>
|
<label></label>
|
||||||
<div>
|
<div>
|
||||||
|
|
|
@ -17,7 +17,6 @@ Assets::addScript('comment-edit.js');
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<input type="hidden" name="post-id" value="<?= $this->context->transport->post->id ?>">
|
<input type="hidden" name="post-id" value="<?= $this->context->transport->post->id ?>">
|
||||||
<input type="hidden" name="submit" value="1"/>
|
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<button name="sender" class="submit" type="submit" value="preview">Preview</button>
|
<button name="sender" class="submit" type="submit" value="preview">Preview</button>
|
||||||
|
|
|
@ -20,8 +20,6 @@ Assets::addScript('comment-edit.js');
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<input type="hidden" name="submit" value="1"/>
|
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<button name="sender" class="submit" type="submit" value="preview">Preview</button>
|
<button name="sender" class="submit" type="submit" value="preview">Preview</button>
|
||||||
<button name="sender" class="submit" type="submit" value="submit">Submit</button>
|
<button name="sender" class="submit" type="submit" value="submit">Submit</button>
|
||||||
|
|
|
@ -119,8 +119,6 @@
|
||||||
</div>
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<input type="hidden" name="submit" value="1"/>
|
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label></label>
|
<label></label>
|
||||||
<button class="submit" type="submit">Submit</button>
|
<button class="submit" type="submit">Submit</button>
|
||||||
|
|
|
@ -114,8 +114,6 @@ Assets::addScript('../lib/tagit/jquery.tagit.js');
|
||||||
<input type="text" name="source" placeholder="where did you get this from? (optional)"/>
|
<input type="text" name="source" placeholder="where did you get this from? (optional)"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<input type="hidden" name="submit" value="1"/>
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -44,11 +44,6 @@
|
||||||
? htmlspecialchars($this->context->massTagQuery)
|
? htmlspecialchars($this->context->massTagQuery)
|
||||||
: '' ?>"/>
|
: '' ?>"/>
|
||||||
|
|
||||||
<input
|
|
||||||
type="hidden"
|
|
||||||
name="submit"
|
|
||||||
value="1"/>
|
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label></label>
|
<label></label>
|
||||||
<button class="submit" type="submit">Tag!</button>
|
<button class="submit" type="submit">Tag!</button>
|
||||||
|
|
|
@ -16,8 +16,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<input type="hidden" name="submit" value="1"/>
|
|
||||||
|
|
||||||
<?php \Chibi\View::render('message', $this->context) ?>
|
<?php \Chibi\View::render('message', $this->context) ?>
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
|
|
|
@ -16,8 +16,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<input type="hidden" name="submit" value="1"/>
|
|
||||||
|
|
||||||
<?php \Chibi\View::render('message', $this->context) ?>
|
<?php \Chibi\View::render('message', $this->context) ?>
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
|
|
|
@ -16,8 +16,6 @@
|
||||||
</div>
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<input type="hidden" name="submit" value="1"/>
|
|
||||||
|
|
||||||
<?php \Chibi\View::render('message', $this->context) ?>
|
<?php \Chibi\View::render('message', $this->context) ?>
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
|
|
|
@ -106,8 +106,6 @@
|
||||||
</div>
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<input type="hidden" name="submit" value="1"/>
|
|
||||||
|
|
||||||
<?php \Chibi\View::render('message', $this->context) ?>
|
<?php \Chibi\View::render('message', $this->context) ?>
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
|
|
|
@ -74,8 +74,6 @@ Assets::setSubTitle('registration form');
|
||||||
|
|
||||||
<?php \Chibi\View::render('message', $this->context) ?>
|
<?php \Chibi\View::render('message', $this->context) ?>
|
||||||
|
|
||||||
<input type="hidden" name="submit" value="1"/>
|
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label></label>
|
<label></label>
|
||||||
<button class="submit" type="submit">Register</button>
|
<button class="submit" type="submit">Register</button>
|
||||||
|
|
|
@ -17,8 +17,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<input type="hidden" name="submit" value="1"/>
|
|
||||||
|
|
||||||
<?php \Chibi\View::render('message', $this->context) ?>
|
<?php \Chibi\View::render('message', $this->context) ?>
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
|
|
|
@ -87,8 +87,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<input type="hidden" name="submit" value="1"/>
|
|
||||||
|
|
||||||
<?php \Chibi\View::render('message', $this->context) ?>
|
<?php \Chibi\View::render('message', $this->context) ?>
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
|
|
Loading…
Reference in a new issue