Move display_error_block() to footer.html

This commit is contained in:
Flat 2016-07-02 20:19:26 +09:00
commit d1b1f97ff4
55 changed files with 78 additions and 224 deletions

View file

@ -38,16 +38,13 @@
</select>
</div>
<input type="submit" class="l-sort-toolbar__filter-apply" value=""/>
</div>
</td>
</tr>
</table>
<!-- -->
</div>
<!-- /.l-sort -->
</div>
<? display_error_block() ?>
<!-- /.l-sort -->
</div>
<div class="l-separator"></div>
@ -120,9 +117,9 @@
}
?>
<div class="l-unit <? if($data[$key]['SUSPENDED'] == 'yes') echo 'l-unit--suspended'; if($_SESSION['favourites']['WEB'][$key] == 1) echo ' l-unit--starred'; ?>" v_section="web" v_unit_id="<?=$key?>"
id="web-unit-<?=$i?>" sort-ip="<?=str_replace('.', '', $data[$key]['IP'])?>"
sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>"
<div class="l-unit <? if($data[$key]['SUSPENDED'] == 'yes') echo 'l-unit--suspended'; if($_SESSION['favourites']['WEB'][$key] == 1) echo ' l-unit--starred'; ?>" v_section="web" v_unit_id="<?=$key?>"
id="web-unit-<?=$i?>" sort-ip="<?=str_replace('.', '', $data[$key]['IP'])?>"
sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>"
sort-name="<?=$key?>" sort-bandwidth="<?=$data[$key]['U_BANDWIDTH']?>" sort-disk="<?=$data[$key]['U_DISK']?>" sort-star="<? if($_SESSION['WEB'][$key] == 1) echo '1'; else echo '0';?>">
<div class="l-unit-toolbar clearfix">
<div class="l-unit-toolbar__col l-unit-toolbar__col--left">
@ -210,7 +207,7 @@ sort-name="<?=$key?>" sort-bandwidth="<?=$data[$key]['U_BANDWIDTH']?>" sort-dis
</div>
</td>
<td>
<?php if (!empty($_SESSION['PROXY_SYSTEM'])) { echo ""; ?>
<?php if (!empty($_SESSION['PROXY_SYSTEM'])) { echo ""; ?>
<? if($proxy_support == 'no'){ ?>
<div class="l-unit__stat-cols clearfix disabled last"><?=__('Proxy Support')?></div>
<? } else {?>
@ -222,7 +219,7 @@ sort-name="<?=$key?>" sort-bandwidth="<?=$data[$key]['U_BANDWIDTH']?>" sort-dis
</div>
<? } ?>
<? } ?>
<?php if (!empty($_SESSION['WEB_BACKEND'])) { echo ""; ?>
<?php if (!empty($_SESSION['WEB_BACKEND'])) { echo ""; ?>
<? if($backend_support == 'no'){ ?>
<div class="l-unit__stat-cols clearfix disabled last"><?=__('Backend Support')?></div>
<? } else {?>
@ -251,7 +248,7 @@ sort-name="<?=$key?>" sort-bandwidth="<?=$data[$key]['U_BANDWIDTH']?>" sort-dis
<? } ?>
</td>
<td>
<?php if (!empty($_SESSION['PROXY_SYSTEM'])) { echo ""; ?>
<?php if (!empty($_SESSION['PROXY_SYSTEM'])) { echo ""; ?>
<div class="l-unit__stat-cols clearfix last">
<div class="l-unit__stat-col l-unit__stat-col--left"><?=__('Proxy Template')?>:</div>
<div class="l-unit__stat-col l-unit__stat-col--right">
@ -259,7 +256,7 @@ sort-name="<?=$key?>" sort-bandwidth="<?=$data[$key]['U_BANDWIDTH']?>" sort-dis
</div>
</div>
<? } ?>
<?php if (!empty($_SESSION['WEB_BACKEND'])) { echo ""; ?>
<?php if (!empty($_SESSION['WEB_BACKEND'])) { echo ""; ?>
<div class="l-unit__stat-cols clearfix last">
<div class="l-unit__stat-col l-unit__stat-col--left"><?=__('Backend Template')?>:</div>
<div class="l-unit__stat-col l-unit__stat-col--right">