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

Changeset 5797


Ignore:
Timestamp:
Mar 16, 2008, 12:13:39 AM (13 years ago)
Author:
ebihara
Message:

#333:文字装飾設定を追加

Location:
OpenPNE/branches/work/ebihara/prj_deco_diary
Files:
5 added
3 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/work/ebihara/prj_deco_diary/webapp/lib/OpenPNE/Config.php

    r5568 r5797  
    5252            'OPENPNE_IS_SET_KTAI_FONT_SIZE',
    5353            'OPENPNE_USE_RANKING',
     54            'OPENPNE_USE_DECORATION',
    5455        );
    5556    }
     
    147148            'OPENPNE_SKIN_THEME' => '005_openpne_blue',
    148149            'OPENPNE_IS_SET_KTAI_FONT_SIZE' => 1,
     150            'OPENPNE_USE_DECORATION' => 1,
    149151        // config.php
    150152            'OPENPNE_RSS_CACHE_DIR' => OPENPNE_VAR_DIR . '/rss_cache',
  • OpenPNE/branches/work/ebihara/prj_deco_diary/webapp/modules/admin/lib/db_admin.php

    r5089 r5797  
    28542854}
    28552855
     2856function db_admin_c_config_decoration_list()
     2857{
     2858    $sql = 'SELECT * FROM c_config_decoration';
     2859    $c_config_decoration_list = db_get_all($sql);
     2860
     2861    return $c_config_decoration_list;
     2862}
     2863
     2864function db_admin_update_c_config_decoration($c_config_decoration_id, $is_enabled)
     2865{
     2866    $data = array(
     2867        'is_enabled' => $is_enabled,
     2868    );
     2869    $where = array('c_config_decoration_id' => $c_config_decoration_id);
     2870    return db_update('c_config_decoration', $data, $where);
     2871}
     2872
    28562873?>
  • OpenPNE/branches/work/ebihara/prj_deco_diary/webapp/modules/admin/templates/edit_c_admin_config.tpl

    r5106 r5797  
    211211</select></td>
    212212</tr>
    213 
     213<tr>
     214<th colspan="2">文字装飾使用設定</th>
     215<td>
     216<span class="info">文字装飾機能を有効にするかどうかを設定します</span><br />
     217<select class="basic" name="OPENPNE_USE_DECORATION">
     218<option value="1"({if $smarty.const.OPENPNE_USE_DECORATION}) selected="selected"({/if})>使用する</option>
     219<option value="0"({if !$smarty.const.OPENPNE_USE_DECORATION}) selected="selected"({/if})>使用しない</option>
     220</select></td>
     221</tr>
    214222<tr class="cell20">
    215223<th colspan="2">cmdタグ使用設定</th>
Note: See TracChangeset for help on using the changeset viewer.