mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
알림 수신관련 팝업시 작업을 완료하고 창을 닫도록 수정
This commit is contained in:
parent
c3f2b678ea
commit
579beca876
5 changed files with 33 additions and 10 deletions
|
|
@ -274,15 +274,30 @@ class ncenterliteController extends ncenterlite
|
|||
return $output;
|
||||
}
|
||||
}
|
||||
|
||||
$this->setMessage('success_updated');
|
||||
|
||||
if (Context::get('success_return_url'))
|
||||
if(Context::get('is_popup') != 'Y')
|
||||
{
|
||||
$this->setRedirectUrl(Context::get('success_return_url'));
|
||||
if (Context::get('success_return_url'))
|
||||
{
|
||||
$this->setRedirectUrl(Context::get('success_return_url'));
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->setRedirectUrl(getNotEncodedUrl('act', 'dispNcenterliteUnsubscribeList', 'member_srl', $this->user->member_srl));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->setRedirectUrl(getNotEncodedUrl('act', 'dispNcenterliteUnsubscribeList', 'member_srl', $this->user->member_srl));
|
||||
if (Context::get('success_return_url'))
|
||||
{
|
||||
$this->setRedirectUrl(Context::get('success_return_url'));
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->setRedirectUrl(getNotEncodedUrl('act', 'dispNcenterliteUnsubscribeList', 'target_srl', $obj->target_srl, 'unsubscribe_type', $obj->unsubscribe_type));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,9 @@
|
|||
<load target="../../../member/skins/default/css/member.css" />
|
||||
<div class="xm">
|
||||
|
||||
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/ncenterlite/skins/default_bottom/unsubscribe/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
<form ruleset="insertConfig" action="./" method="post" class="form-horizontal" id="fo_ncenterlite">
|
||||
<input type="hidden" name="module" value="ncenterlite" />
|
||||
<input type="hidden" name="act" value="procNcenterliteInsertUnsubscribe" />
|
||||
<input type="hidden" name="xe_validator_id" value="modules/ncenterlite/skins/default_bottom/unsubscribe/1" />
|
||||
<input type="hidden" name="xe_validator_id" value="modules/ncenterlite/skins/default/unsubscribe/1" />
|
||||
<!--@if($unsubscribeData)-->
|
||||
<input type="hidden" name="target_srl" value="{$unsubscribeData->target_srl}" />
|
||||
<input type="hidden" name="unsubscribe_srl" value="{$unsubscribeData->unsubscribe_srl}" />
|
||||
|
|
@ -17,7 +13,8 @@
|
|||
<input type="hidden" name="unsubscribe_srl" value="{$unsubscribe_srl}" />
|
||||
<input type="hidden" name="unsubscribe_type" value="{$unsubscribe_type}" />
|
||||
<!--@end-->
|
||||
|
||||
<input type="hidden" name="success_return_url" value="{getUrl('', 'act', $act, 'target_srl', $target_srl, 'unsubscribe_type', $unsubscribe_type)}" />
|
||||
<input type="hidden" name="is_popup" value="Y" />
|
||||
<div class="x_modal-header">
|
||||
<h1>{$lang->ncenterlite_cmd_unsubscribe_settings}</h1>
|
||||
</div>
|
||||
|
|
@ -59,3 +56,7 @@
|
|||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<script cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/ncenterlite/skins/default/unsubscribe/1'">
|
||||
alert("{$XE_VALIDATOR_MESSAGE}");
|
||||
window.close();
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
<input type="hidden" name="target_srl" value="{$val->target_srl}" />
|
||||
<input type="hidden" name="unsubscribe_type" value="{$val->unsubscribe_type}" />
|
||||
<input type="hidden" name="unsubscribe_srl" value="{$val->unsubscribe_srl}" />
|
||||
<input type="hidden" name="is_popup" value="N" />
|
||||
<select name="value" style="width:175px;">
|
||||
<option value="Y">{$lang->ncenterlite_to_unsubscribe}</option>
|
||||
<option value="N">{$lang->ncenterlite_subscribe}</option>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,8 @@
|
|||
<input type="hidden" name="unsubscribe_srl" value="{$unsubscribe_srl}" />
|
||||
<input type="hidden" name="unsubscribe_type" value="{$unsubscribe_type}" />
|
||||
<!--@end-->
|
||||
|
||||
<input type="hidden" name="success_return_url" value="{getUrl('', 'act', $act, 'target_srl', $target_srl, 'unsubscribe_type', $unsubscribe_type)}" />
|
||||
<input type="hidden" name="is_popup" value="Y" />
|
||||
<div class="x_modal-header">
|
||||
<h1>{$lang->ncenterlite_cmd_unsubscribe_settings}</h1>
|
||||
</div>
|
||||
|
|
@ -59,3 +60,7 @@
|
|||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<script cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/ncenterlite/skins/default_bottom/unsubscribe/1'">
|
||||
alert("{$XE_VALIDATOR_MESSAGE}");
|
||||
window.close();
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
<input type="hidden" name="target_srl" value="{$val->target_srl}" />
|
||||
<input type="hidden" name="unsubscribe_type" value="{$val->unsubscribe_type}" />
|
||||
<input type="hidden" name="unsubscribe_srl" value="{$val->unsubscribe_srl}" />
|
||||
<input type="hidden" name="is_popup" value="N" />
|
||||
<select name="value" style="width:175px;">
|
||||
<option value="Y">{$lang->ncenterlite_to_unsubscribe}</option>
|
||||
<option value="N">{$lang->ncenterlite_subscribe}</option>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue