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

Changeset 6706


Ignore:
Timestamp:
Apr 23, 2008, 6:12:10 PM (12 years ago)
Author:
ebihara
Message:

#2027:小窓キャスターを登録・編集・削除できるようにした

Location:
OpenPNE/trunk
Files:
9 added
4 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/public_html/modules/admin/default.css

    r6580 r6706  
    174174#admin_page_edit_c_holiday li#adminSNSConfig a.tab ,
    175175#admin_page_list_c_rank li#adminSNSConfig a.tab ,
     176#admin_page_list_c_cmd_caster li#adminSNSConfig a.tab ,
    176177
    177178#admin_page_list_c_admin_user li#adminAdminConfig a.tab ,
     
    221222#admin_page_list_c_rank li#adminSNSConfig ul.pull ,
    222223#admin_page_edit_deco li#adminSNSConfig ul.pull ,
     224#admin_page_list_c_cmd_caster li#adminSNSConfig ul.pull ,
    223225
    224226#admin_page_list_c_admin_user li#adminAdminConfig ul.pull ,
     
    15281530#admin_page_edit_album_limit div#limitForm input {width:5em;}
    15291531
     1532/** admin_page_edit_album_limit **/
     1533#admin_page_list_c_cmd_caster input.url {width: 450px;}
     1534
    15301535/*********** footer ***********/
    15311536.footer { margin-top: 20px; padding: 10px 0; text-align: center;}
  • OpenPNE/trunk/webapp/modules/admin/lib/db_admin.php

    r6630 r6706  
    31123112    return $c_image_album_list;
    31133113}
     3114
     3115function db_admin_get_c_cmd_caster_list()
     3116{
     3117    $sql = 'SELECT * FROM c_cmd_caster ORDER BY c_cmd_caster_id ASC';
     3118    return db_get_all($sql);
     3119}
     3120
     3121function db_admin_insert_c_cmd_caster($url)
     3122{
     3123    $data = array(
     3124        'url' => $url,
     3125    );
     3126    return db_insert('c_cmd_caster', $data);
     3127}
     3128
     3129function db_admin_delete_c_cmd_caster($c_cmd_caster_id)
     3130{
     3131    $sql = 'DELETE FROM c_cmd_caster WHERE c_cmd_caster_id = ?';
     3132    return db_query($sql, array($c_cmd_caster_id));
     3133}
     3134
     3135function db_admin_update_c_cmd_caster($c_cmd_caster_id, $url)
     3136{
     3137    $data = array(
     3138        'url' => $url,
     3139    );
     3140    $where = array(
     3141        'c_cmd_caster_id' => $c_cmd_caster_id,
     3142    );
     3143    return db_update('c_cmd_caster', $data, $where);
     3144}
     3145
    31143146?>
  • OpenPNE/trunk/webapp/modules/admin/templates/inc_header.tpl

    r6563 r6706  
    135135<li><a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('limit_domain')})">招待メールドメイン制限</a></li>
    136136<li><a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_cmd')})">CMD設定</a></li>
     137<li><a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_cmd_caster')})">CMDキャスター設定</a></li>
    137138<li><a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_api')})">API設定</a></li>
    138139({if $smarty.const.OPENPNE_USE_DECORATION})
  • OpenPNE/trunk/webapp/modules/admin/templates/inc_subnavi_adminSNSConfig.tpl

    r6555 r6706  
    1414<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('limit_domain')})">招待メールドメイン制限</a>&nbsp;|&nbsp;
    1515<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_cmd')})">CMD設定</a>&nbsp;|&nbsp;
     16<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_cmd_caster')})">CMDキャスター設定</a>&nbsp;|&nbsp;
    1617<a href="?m=({$module_name})&amp;a=page_({$hash_tbl->hash('list_c_api')})">API設定</a>&nbsp;|&nbsp;
    1718({if $smarty.const.OPENPNE_USE_DECORATION})
Note: See TracChangeset for help on using the changeset viewer.