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

Changeset 5909


Ignore:
Timestamp:
Mar 21, 2008, 2:59:59 AM (13 years ago)
Author:
ebihara
Message:

#333:文字装飾設定を管理画面のメニューに追加した

Location:
OpenPNE/branches/work/ebihara/prj_deco_diary/webapp/modules/admin
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/work/ebihara/prj_deco_diary/webapp/modules/admin/init.inc

    r4933 r5909  
    7070'page_update_c_profile',
    7171'page_update_c_rank',
     72'page_update_deco',
    7273'do_delete_c_banner',
    7374'do_delete_c_cmd',
     
    122123'do_update_skin_theme',
    123124'do_update_top_banner_html',
     125'do_update_c_deco',
    124126),
    125127
     
    193195'page_user_analysis_date_month',
    194196'page_user_analysis_generation',
     197'page_edit_deco',
    195198'do_delete_c_banner',
    196199'do_delete_c_cmd',
     
    258261'do_update_skin_theme',
    259262'do_update_top_banner_html',
     263'do_update_c_deco',
    260264),
    261265);
  • OpenPNE/branches/work/ebihara/prj_deco_diary/webapp/modules/admin/page/edit_deco.php

    r5797 r5909  
    1111        $v = array();
    1212
    13         $v['c_config_decoration_list'] = db_admin_c_config_decoration_list();
     13        $c_config_decoration_list = db_admin_c_config_decoration_list();
     14        foreach ($c_config_decoration_list as $key => $value) {
     15            $c_config_decoration_list[$key]['image_name'] = strtr($value['tagname'], ':', '_');
     16        }
     17        $v['c_config_decoration_list'] = $c_config_decoration_list;
    1418
    1519        $this->set($v);
  • OpenPNE/branches/work/ebihara/prj_deco_diary/webapp/modules/admin/templates/edit_deco.tpl

    r5797 r5909  
    3535<tr>
    3636<th>({$item.c_config_decoration_id})</th>
    37 <td><img src="" /></td>
     37<td><img src="({t_img_url_skin filename=deco_`$item.image_name` w=32 h=32})" alt="({$item.caption})" /></td>
    3838<td>({$item.caption})</td>
    3939<td>({$item.sample|smarty:nodefaults})</td>
  • OpenPNE/branches/work/ebihara/prj_deco_diary/webapp/modules/admin/templates/inc_header.tpl

    r5138 r5909  
    130130<li><a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_cmd')})">CMD設定</a></li>
    131131<li><a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_api')})">API設定</a></li>
     132({if $smarty.const.OPENPNE_USE_DECORATION})
     133<li><a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('edit_deco')})">文字装飾設定</a></li>
     134({/if})
    132135</ul>
    133136</li>
  • OpenPNE/branches/work/ebihara/prj_deco_diary/webapp/modules/admin/templates/inc_subnavi_adminSNSConfig.tpl

    r4216 r5909  
    1414<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_cmd')})">CMD設定</a>&nbsp;|&nbsp;
    1515<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_api')})">API設定</a>&nbsp;|&nbsp;
     16({if $smarty.const.OPENPNE_USE_DECORATION})
     17<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('edit_deco')})">文字装飾設定</a>&nbsp;|&nbsp;
     18({/if})
    1619({/strip})
    1720</div>
Note: See TracChangeset for help on using the changeset viewer.