Changeset 8895
- Timestamp:
- Oct 30, 2008, 8:23:33 PM (12 years ago)
- Location:
- OpenPNE/branches/stable-2.10.x/webapp/modules/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/branches/stable-2.10.x/webapp/modules/admin/page/edit_c_admin_config.php
r1856 r8895 13 13 $v['DAILY_NEWS_DAY'] = explode(',', DAILY_NEWS_DAY); 14 14 $this->set($v); 15 16 //外部ログインフォーム用HTML内のアドレス生成 17 //PC版ログインフォーム 18 $absolute = true ; 19 $login_url = openpne_gen_url_head('pc', 'do_o_login', $absolute); 20 $this->set('login_url', $login_url); 15 21 return 'success'; 16 22 } -
OpenPNE/branches/stable-2.10.x/webapp/modules/admin/templates/edit_c_admin_config.tpl
r8884 r8895 366 366 <p class="info">通常のログインページ以外の外部ログインページを設定する場合は、以下のHTMLを使ってログイン用フォームを作成してください。</p> 367 367 ({capture name=html_form}) 368 <form action="({ t_url _html=0 _absolute=1})" method="post">368 <form action="({$login_url})" method="post"> 369 369 <input type="hidden" name="m" value="pc" /> 370 370 <input type="hidden" name="a" value="do_o_login" />
Note: See TracChangeset
for help on using the changeset viewer.