mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-09-06 01:31:09 +02:00
BUGFIX: a lot of methods in this class now passed $params as HTTPRequest object, rather than as a array if the function is called from Ajax or top-level of front-end, some method is called in both manner, ie. called from Ajax and called internally as well, so we need to check $params type and do further process. This is a partial fix of open source ticket #3035 git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65554 467b73ca-7a2a-4603-9d3b-597d59a354a9
37 lines
1.3 KiB
Scheme
Executable File
37 lines
1.3 KiB
Scheme
Executable File
<span id="Translating_Message" class="translatingMessage <% if EditingLang %><% else %>nonTranslating<% end_if %>"></span>
|
|
|
|
<div id="form_actions_right" class="ajaxActions">
|
|
</div>
|
|
|
|
<form class="actionparams" id="action_submit_options" style="display:none" action="admin/submit">
|
|
<fieldset>
|
|
<input type="hidden" name="ID" />
|
|
<div class="field" id="action_submit_options_recipient">
|
|
<label class="left"><% _t('SENDTO','Send to') %></label>
|
|
<span><% _t('LOADING','loading...') %></span>
|
|
</div>
|
|
<div class="field" id="action_submit_options_status">
|
|
<label class="left"><% _t('STATUS','Status') %></label>
|
|
<input type="hidden" name="Status" />
|
|
<span></span>
|
|
</div>
|
|
<p class="label"><% _t('ANYMESSAGE','Do you have any message for your editor?') %></p>
|
|
<textarea name="<% _t('MESSAGE','Message') %>" rows="4" cols="20"></textarea>
|
|
</fieldset>
|
|
|
|
<p class="actions">
|
|
<input type="submit" value="<% _t('SUBMIT','Submit for approval') %>" />
|
|
</p>
|
|
</form>
|
|
<% if EditForm %>
|
|
$EditForm
|
|
<% else %>
|
|
<form id="Form_EditForm" action="admin?executeForm=EditForm" method="post" enctype="multipart/form-data">
|
|
<h1>$ApplicationName</h1>
|
|
|
|
<p><% _t('WELCOMETO','Welcome to') %> $ApplicationName! <% _t('CHOOSEPAGE','Please choose a page from the left.') %></p>
|
|
</form>
|
|
<% end_if %>
|
|
|
|
<p id="statusMessage" style="visibility:hidden"></p>
|