Commit 992c27f6 authored by chibaguy's avatar chibaguy

[FIX] Bootstrappify error ticket warning page (requiring confirming admin...

[FIX] Bootstrappify error ticket warning page (requiring confirming admin action). (A separate issue is that the click doesn't refresh to the originating admin page, but this was happening before the changes in this commit).
parent b0f5b198
{* $Id$ *}<!DOCTYPE html>
<html lang="{if !empty($pageLang)}{$pageLang}{else}{$prefs.language}{/if}">
<head>
{include file='header.tpl'}
</head>
<body{html_body_attributes}>
{* Index we display a wiki page here *}
{if $prefs.feature_bidi eq 'y'}
<table dir="rtl" ><tr><td>
{/if}
<div id="tiki-main">
<div id="tiki-mid">
<table border="0" cellpadding="0" cellspacing="0" id="tikimidtbl">
<tr>
{if $prefs.feature_left_column eq 'y'}
<td id="leftcolumn">
{section name=homeix loop=$left_modules}
{$left_modules[homeix].data}
{/section}
</td>
<head>
{include file='header.tpl'}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body{html_body_attributes}>
<div class="container">
<div class="page-header" id="page-header">
{modulelist zone=top class='row top_modules'}
<div class="topbar row" id="topbar">
{modulelist zone=topbar}
</div>
</div>
<div class="row row-middle" id="row-middle">
{if zone_is_empty('left') and zone_is_empty('right')}
<div class="col-md-12 col1" id="col1" style="padding-top: 15px;">
<div class="panel panel-danger">
<div class="panel-heading">
{icon name='error' alt="{tr}Error{/tr}" style="vertical-align:middle"} {$errortitle|default:"{tr}Error{/tr}"}
</div>
<div class="panel-body">
<p>{$msg}</p>
<form action="{$self}{if $query}?{$query|escape}{/if}" method="post" class="margin-bottom-sm">
{foreach key=k item=i from=$post}
<input type="hidden" name="{$k}" value="{$i|escape}">
{/foreach}
<input type="submit" class="btn btn-success" name="ticket_action_button"
value="{tr}Click here to confirm your action{/tr}">
</form>
{if $prefs.javascript_enabled eq 'y'}
{button href="javascript:history.back()" _text="{tr}Go back{/tr}"}
{/if}
<td id="centercolumn"><div id="tiki-center">
<br>
<div class="panel panel-default">
<div class="panel-heading">{icon name='error' alt="{tr}Error{/tr}" style="vertical-align:middle"} {$errortitle|default:"{tr}Error{/tr}"}
</div>
<div class="panel-body">
<br>{$msg}
<form action="{$self}{if $query}?{$query|escape}{/if}" method="post">
{foreach key=k item=i from=$post}
<input type="hidden" name="{$k}" value="{$i|escape}">
{/foreach}
<input type="submit" class="btn btn-default btn-sm" name="ticket_action_button" value="{tr}Click here to confirm your action{/tr}">
</form><br><br>
{if $prefs.javascript_enabled eq 'y'}{button href="javascript:history.back()" _text="{tr}Go back{/tr}"}<br><br>{/if}
{button href="$prefs.tikiIndex" _text="{tr}Return to home page{/tr}"}
</div>
</div>
</div>
</td>
{if $prefs.feature_right_column eq 'y'}
<td id="rightcolumn">
{section name=homeix loop=$right_modules}
{$right_modules[homeix].data}
{/section}
</td>
{button href="$prefs.tikiIndex" _text="{tr}Return to home page{/tr}"}
</div>
</div>
</div>
{elseif zone_is_empty('left')}
<div class="col-md-9 col1" id="col1" style="padding-top: 15px;">
<div class="panel panel-danger">
<div class="panel-heading">
{icon name='error' alt="{tr}Error{/tr}" style="vertical-align:middle"} {$errortitle|default:"{tr}Error{/tr}"}
</div>
<div class="panel-body">
<p>{$msg}</p>
<form action="{$self}{if $query}?{$query|escape}{/if}" method="post" class="margin-bottom-sm">
{foreach key=k item=i from=$post}
<input type="hidden" name="{$k}" value="{$i|escape}">
{/foreach}
<input type="submit" class="btn btn-success" name="ticket_action_button"
value="{tr}Click here to confirm your action{/tr}">
</form>
{if $prefs.javascript_enabled eq 'y'}
{button href="javascript:history.back()" _text="{tr}Go back{/tr}"}
{/if}
</tr>
</table>
{button href="$prefs.tikiIndex" _text="{tr}Return to home page{/tr}"}
</div>
</div>
</div>
<div class="col-md-3" id="col3">
{modulelist zone=right}
</div>
{elseif zone_is_empty('right')}
<div class="col-md-9 col-md-push-3 col1" id="col1" style="padding-top: 15px;">
<div class="panel panel-danger">
<div class="panel-heading">
{icon name='error' alt="{tr}Error{/tr}" style="vertical-align:middle"} {$errortitle|default:"{tr}Error{/tr}"}
</div>
<div class="panel-body">
<p>{$msg}</p>
<form action="{$self}{if $query}?{$query|escape}{/if}" method="post" class="margin-bottom-sm">
{foreach key=k item=i from=$post}
<input type="hidden" name="{$k}" value="{$i|escape}">
{/foreach}
<input type="submit" class="btn btn-success" name="ticket_action_button"
value="{tr}Click here to confirm your action{/tr}">
</form>
{if $prefs.javascript_enabled eq 'y'}
{button href="javascript:history.back()" _text="{tr}Go back{/tr}"}
{/if}
{button href="$prefs.tikiIndex" _text="{tr}Return to home page{/tr}"}
</div>
</div>
</div>
<div class="col-md-3 col-md-pull-9" id="col2">
{modulelist zone=left}
</div>
{else}
<div class="col-md-8 col-md-push-2 col1" id="col1" style="padding-top: 15px;">
<div class="panel panel-danger">
<div class="panel-heading">
{icon name='error' alt="{tr}Error{/tr}" style="vertical-align:middle"} {$errortitle|default:"{tr}Error{/tr}"}
</div>
<div class="panel-body">
<p>{$msg}</p>
<form action="{$self}{if $query}?{$query|escape}{/if}" method="post" class="margin-bottom-sm">
{foreach key=k item=i from=$post}
<input type="hidden" name="{$k}" value="{$i|escape}">
{/foreach}
<input type="submit" class="btn btn-success" name="ticket_action_button"
value="{tr}Click here to confirm your action{/tr}">
</form>
{if $prefs.javascript_enabled eq 'y'}
{button href="javascript:history.back()" _text="{tr}Go back{/tr}"}
{/if}
{button href="$prefs.tikiIndex" _text="{tr}Return to home page{/tr}"}
</div>
</div>
</div>
<div class="col-md-2 col-md-pull-8" id="col2">
{modulelist zone=left}
</div>
<div class="col-md-2" id="col3">
{modulelist zone=right}
</div>
</div>
{if $prefs.feature_bidi eq 'y'}
</td></tr></table>
{/if}
{include file='footer.tpl'}
</div>
<footer class="footer" id="footer">
<div class="footer_liner">
{modulelist zone=bottom class='row row-sidemargins-zero'}
</div>
</footer>
</div>
{include file='footer.tpl'}
</body>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment