[Cinemaru-svn] cinemaru-svn [172] 動画新規登録の場合に、タイトル、説明部分に文字列が表示される場合があるので、新規登録の場合は常に空白とする様に修正した。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 3月 2日 (月) 01:18:41 JST


Revision: 172
          http://svn.sourceforge.jp/view?root=cinemaru&view=rev&rev=172
Author:   asben
Date:     2009-03-02 01:18:41 +0900 (Mon, 02 Mar 2009)

Log Message:
-----------
動画新規登録の場合に、タイトル、説明部分に文字列が表示される場合があるので、新規登録の場合は常に空白とする様に修正した。

Modified Paths:
--------------
    trunk/cinemaru/templates/movie_form.html

Modified: trunk/cinemaru/templates/movie_form.html
===================================================================
--- trunk/cinemaru/templates/movie_form.html	2009-02-27 16:53:53 UTC (rev 171)
+++ trunk/cinemaru/templates/movie_form.html	2009-03-01 16:18:41 UTC (rev 172)
@@ -81,8 +81,7 @@
       <td class="head"><{$smarty.const._MD_CINEMARU_TITLE}></td>
       <td class="even">
         <input name="title" id="title"
-value="<{if $movie.title != ''
-}><{$movie.title|escape:"html"}><{else}><{$smarty.request.title|escape:"html"}><{/if}>"
+value="<{if $edit==1}><{$movie.title|escape:"html"}><{/if}>"
 type="text"
 size="50" maxlength="90" /><br />
     </td>
@@ -124,8 +123,7 @@
       <{$rich_form}>
 <{else}>
         <textarea name="desc" id="desc" rows="10"
-cols="50"><{if $movie.desc !=
-''}><{$movie.desc|escape:"html"}><{else}><{$smarty.request.desc|escape:"html"}><{/if}></textarea>
+cols="50"><{if $edit==1}><{$movie.desc|escape:"html"}><{/if}></textarea>
 <{/if}>
       </td>
     </tr>




Cinemaru-svn メーリングリストの案内
Back to archive index