ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 3079


Ignore:
Timestamp:
May 21, 2007, 8:13:42 PM (12 years ago)
Author:
ogawa
Message:

#836:フリーページの容量拡張ができていない

Location:
OpenPNE/branches/2.8.x/webapp/modules/admin
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/2.8.x/webapp/modules/admin/do/insert_c_free_page.php

    r2015 r3079  
    88class admin_do_insert_c_free_page extends OpenPNE_Action
    99{
     10    function handleError($errors)
     11    {
     12        admin_client_redirect('list_c_free_page', array_shift($errors));
     13    }
     14
    1015    function execute($requests)
    1116    {
  • OpenPNE/branches/2.8.x/webapp/modules/admin/do/update_c_free_page.php

    r2015 r3079  
    88class admin_do_update_c_free_page extends OpenPNE_Action
    99{
     10    function handleError($errors)
     11    {
     12        admin_client_redirect('update_c_free_page', array_shift($errors), 'c_free_page_id='.$this->requests['c_free_page_id']);
     13    }
     14
    1015    function execute($requests)
    1116    {
  • OpenPNE/branches/2.8.x/webapp/modules/admin/templates/list_c_free_page.tpl

    r2969 r3079  
    7575({foreachelse})
    7676<tr>
    77 <td colspan="3" class="empty">フリーページが登録されていません</td>
     77<td colspan="6" class="empty">フリーページが登録されていません</td>
    7878</tr>
    7979({****})
  • OpenPNE/branches/2.8.x/webapp/modules/admin/templates/update_c_free_page.tpl

    r3023 r3079  
    2525<tr>
    2626<th>ページタイトル</th>
    27 <td><input type="text" name="title" value="({$c_free_page.title})" size="({$cols|default:72})" /></td>
     27<td><input class="basic" type="text" name="title" value="({$c_free_page.title})" size="({$cols|default:72})" /></td>
    2828</tr>
    2929<tr>
    3030<th>ページ内容</th>
    3131<td>
    32 <textarea name="body" cols="({$cols|default:60})" rows="({$rows|default:10})">({$c_free_page.body})</textarea>
     32<textarea class="basic" name="body" cols="({$cols|default:60})" rows="({$rows|default:10})">({$c_free_page.body})</textarea>
    3333</td>
    3434</tr>
  • OpenPNE/branches/2.8.x/webapp/modules/admin/validate/do/insert_c_free_page.ini

    r2015 r3079  
    11[title]
    22type = "string"
    3 default = ""
     3required = 1
     4caption = "ページタイトル"
    45
    56[body]
    67type = "string"
    7 default = ""
     8required = 1
     9caption = "ページ内容"
     10pre_filter = "ntrim"
    811
    912[auth]
    10 type = "int"
     13type = "bool"
    1114default = 1
     15caption = "SNS認証"
    1216
    1317[type]
    14 type = "string"
     18type = "regexp"
    1519default = "pc"
     20regexp = "/^(pc|ktai)$/"
     21caption = "対象ブラウザ"
  • OpenPNE/branches/2.8.x/webapp/modules/admin/validate/do/update_c_free_page.ini

    r2015 r3079  
    55[title]
    66type = "string"
    7 default = ""
     7required = 1
     8caption = "ページタイトル"
    89
    910[body]
    1011type = "string"
    11 default = ""
     12required = 1
     13caption = "ページ内容"
     14pre_filter = "ntrim"
    1215
    1316[auth]
    14 type = "int"
     17type = "bool"
    1518default = 1
     19caption = "SNS認証"
    1620
    1721[type]
    18 type = "string"
     22type = "regexp"
    1923default = "pc"
     24regexp = "/^(pc|ktai)$/"
     25caption = "対象ブラウザ"
Note: See TracChangeset for help on using the changeset viewer.