| CODENOTIFIER | HelpYou are not signed inSign in |
Project: Movable Type
Revision: 3063
Author: bsmith
Date: 25 Sep 2008 16:32:38
Changes:bugzid:82172 - add default when page has not title
Files:| ... | ...@@ -129,7 +129,7 @@ | |
| 129 | 129 | <mt:if name="has_edit_access"> |
| 130 | 130 | <mt:if name="is_power_edit"> |
| 131 | 131 | <mt:if name="title"> |
| 132 | <input name="title_<$mt:var name="id"$>" value="<$mt:var name="title" escape="html"$>" /> | |
| 132 | <input name="title_<$mt:var name="id"$>" value="<$mt:var name="title" escape="html" default="..."$>" /> | |
| 133 | 133 | <mt:else> |
| 134 | 134 | <input type="hidden" name="title_<$mt:var name="id"$>" value="" /> |
| 135 | 135 | <input name="no_title_<$mt:var name="id"$>" style="color:#999;" value="<$mt:var name="title_short" escape="html"$>" onfocus="if(this.value=='<$mt:var name="title_short" escape="js"$>'){this.value=''; this.style.color='#000';};" onblur="if((this.value=='<$mt:var name="title_short" escape="js"$>') || (this.value=='')){ this.value = '<$mt:var name="title_short" escape="js"$>'; this.style.color='#999'; }else{ title_<$mt:var name="id"$>.value=this.value; };" /> |
| ... | ...@@ -138,7 +138,7 @@ | |
| 138 | 138 | <a href="<$mt:var name="script_url"$>?__mode=view&_type=<mt:var name="object_type">&id=<$mt:var name="id"$>&blog_id=<$mt:var name="blog_id"$>"><$mt:var name="title" escape="html" default="..."$></a> |
| 139 | 139 | </mt:if> |
| 140 | 140 | <mt:else> |
| 141 | <$mt:var name="title" escape="html"$> | |
| 141 | <$mt:var name="title" escape="html" default="..."$> | |
| 142 | 142 | </mt:if> |
| 143 | 143 | </mt:if> |
| 144 | 144 | </td> |