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

Changeset 5005


Ignore:
Timestamp:
Jan 22, 2008, 7:36:21 PM (12 years ago)
Author:
ebihara
Message:

#1703:NoImage画像を[デフォルトに戻す]場合のプレフィックスをdefault_skin_からskin_default_に変更した

Location:
OpenPNE/trunk/webapp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/lib/db/etc.php

    r5003 r5005  
    760760    }
    761761
    762     $filename = sprintf('default_skin_%s_%s.%s', $skinname, time(), $ext);
     762    $filename = sprintf('skin_default_%s_%s.%s', $skinname, time(), $ext);
    763763    $res = db_image_insert_c_image2($filename, $path);
    764764    return db_replace_c_skin_filename($skinname, $filename);
  • OpenPNE/trunk/webapp/modules/admin/templates/edit_skin_image.tpl

    r5003 r5005  
    391391<dt><strong>no_image</strong></dt>
    392392<dd class="image">({assign var=skinname value=no_image})<img src="({t_img_url_skin filename=$skinname w=180 h=180})"></dd>
    393 <dd class="default">({if $skin_list[$skinname] != "skin_$skinname.gif" && substr($skin_list[$skinname], 0, 12) != "default_skin"})[<a href="?m=({$module_name})&amp;a=do_({$hash_tbl->hash('delete_skin_image','do')})&amp;skinname=({$skinname})&amp;sessid=({$PHPSESSID})">デフォルトに戻す</a>]({/if})</dd>
     393<dd class="default">({if $skin_list[$skinname] != "skin_$skinname.gif" && substr($skin_list[$skinname], 0, 12) != "skin_default"})[<a href="?m=({$module_name})&amp;a=do_({$hash_tbl->hash('delete_skin_image','do')})&amp;skinname=({$skinname})&amp;sessid=({$PHPSESSID})">デフォルトに戻す</a>]({/if})</dd>
    394394<dd class="submit">
    395395<form action="./" method="post" enctype="multipart/form-data" >
     
    404404<dt><strong>no_logo</strong></dt>
    405405<dd class="image">({assign var=skinname value=no_logo})<img src="({t_img_url_skin filename=$skinname w=180 h=180})"></dd>
    406 <dd class="default">({if $skin_list[$skinname] != "skin_$skinname.gif" && substr($skin_list[$skinname], 0, 12) != "default_skin"})[<a href="?m=({$module_name})&amp;a=do_({$hash_tbl->hash('delete_skin_image','do')})&amp;skinname=({$skinname})&amp;sessid=({$PHPSESSID})">デフォルトに戻す</a>]({/if})</dd>
     406<dd class="default">({if $skin_list[$skinname] != "skin_$skinname.gif" && substr($skin_list[$skinname], 0, 12) != "skin_default"})[<a href="?m=({$module_name})&amp;a=do_({$hash_tbl->hash('delete_skin_image','do')})&amp;skinname=({$skinname})&amp;sessid=({$PHPSESSID})">デフォルトに戻す</a>]({/if})</dd>
    407407<dd class="submit">
    408408<form action="./" method="post" enctype="multipart/form-data" >
     
    417417<dt><strong>no_logo_small</strong></dt>
    418418<dd class="image">({assign var=skinname value=no_logo_small})<img src="({t_img_url_skin filename=$skinname w=76 h=76})"></dd>
    419 <dd class="default">({if $skin_list[$skinname] != "skin_$skinname.gif" && substr($skin_list[$skinname], 0, 12) != "default_skin"})[<a href="?m=({$module_name})&amp;a=do_({$hash_tbl->hash('delete_skin_image','do')})&amp;skinname=({$skinname})&amp;sessid=({$PHPSESSID})">デフォルトに戻す</a>]({/if})</dd>
     419<dd class="default">({if $skin_list[$skinname] != "skin_$skinname.gif" && substr($skin_list[$skinname], 0, 12) != "skin_default"})[<a href="?m=({$module_name})&amp;a=do_({$hash_tbl->hash('delete_skin_image','do')})&amp;skinname=({$skinname})&amp;sessid=({$PHPSESSID})">デフォルトに戻す</a>]({/if})</dd>
    420420<dd class="submit">
    421421<form action="./" method="post" enctype="multipart/form-data" >
Note: See TracChangeset for help on using the changeset viewer.