Skip to content

Commit

Permalink
Styling toggle action links. bugid:105995
Browse files Browse the repository at this point in the history
  • Loading branch information
kaminogoya committed Apr 11, 2011
1 parent b93329f commit a0d87b4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tmpl/cms/dashboard.tmpl
Expand Up @@ -72,15 +72,15 @@
</mt:if>
<mt:unless name="has_uploads_path">
<div id="permission-error" class="msg msg-info">
<p class="msg-text"><__trans phrase="The support directory is not writable."> <a href="#" class="detail-link"><__trans phrase="Details"></a></p>
<p class="msg-text"><__trans phrase="The support directory is not writable."> <a href="#" class="detail-link toggle-link"><__trans phrase="Details"></a></p>
<div class="detail">
<p class="msg-text"><__trans phrase="Movable Type was unable to write to its 'support' directory. Please create a directory at this location: [_1], and assign permissions that will allow the web server write access to it." params="<mt:var name="support_path">"></p>
</div>
</div>
</mt:unless>
<mt:unless name="can_use_userpic">
<div id="userpic" class="permission-error msg msg-info">
<p class="msg-text"><__trans phrase="ImageDriver is not configured."> <a href="#" class="detail-link"><__trans phrase="Details"></a></p>
<p class="msg-text"><__trans phrase="ImageDriver is not configured."> <a href="#" class="detail-link toggle-link"><__trans phrase="Details"></a></p>
<div class="detail">
<p class="msg-text"><__trans phrase="An image processing toolkit, often specified by the ImageDriver configuration directive, is not present on your server or is configured incorrectly. A toolkit must be installed to ensure proper operation of the userpics feature. Please install Image::Magick, NetPBM, GD, or Imager, then set the ImageDriver configuration directive accordingly."></p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion tmpl/cms/edit_author.tmpl
Expand Up @@ -263,7 +263,7 @@ TC.attachLoadEvent(init);
<mtapp:setting
id="show_password"
label="<__trans phrase="Password">">
<a href="#" id="change-password-link"><__trans phrase="Change Password"></a>
<a href="#" id="change-password-link" class="toggle-link"><__trans phrase="Change Password"></a>
</mtapp:setting>
</mt:unless>
<div id="password-fields"<mt:unless name="new_object"> style="display: none;"</mt:unless>>
Expand Down
4 changes: 2 additions & 2 deletions tmpl/cms/edit_entry.tmpl
Expand Up @@ -568,8 +568,8 @@
<div id="category-field"<mt:unless name="disp_prefs_show_category"> class="hidden"</mt:unless>>
<mt:if name="object_type" eq="entry">
<mt:setvarblock name="header_action">
<a href="javascript:void(0)" class="category-toggle-link" id="open-category-selector1" mt:command="open-category-selector" mt:close-el="close-category-selector1" title="<__trans phrase="Add category">"><__trans phrase="edit"/></a>
<a href="javascript:void(0)" class="category-toggle-link hidden" mt:command="close-category-selector" id="close-category-selector1"><__trans phrase="close"></a>
<a href="javascript:void(0)" class="category-toggle-link toggle-link" id="open-category-selector1" mt:command="open-category-selector" mt:close-el="close-category-selector1" title="<__trans phrase="Add category">"><__trans phrase="edit"/></a>
<a href="javascript:void(0)" class="category-toggle-link toggle-link hidden" mt:command="close-category-selector" id="close-category-selector1"><__trans phrase="close"></a>
</mt:setvarblock>
<mtapp:widget
id="entry-category-widget"
Expand Down
3 changes: 2 additions & 1 deletion tmpl/cms/include/asset_upload.tmpl
Expand Up @@ -177,7 +177,8 @@ function is_valid_path(path_){
<option value="<mt:if name="enable_archive_paths">0<mt:else>1</mt:if>" middle_path="<mt:var name="path" escape="html">"<mt:if name="selected"> selected="selected"</mt:if>><mt:var name="label" escape="html"></option>
</mt:loop>
</mt:if>
</select> / <input type="text" name="extra_path" id="extra_path" class="text path" value="<mt:var name="extra_path" escape="html">" /> <a href="javascript:void(0);" mt:command="open-folder-selector"><__trans phrase="Choose Folder"></a>
</select> / <input type="text" name="extra_path" id="extra_path" class="text path" value="<mt:var name="extra_path" escape="html">" />
<a href="javascript:void(0);" mt:command="open-folder-selector" class="toggle-link"><__trans phrase="Choose Folder"></a>
</mtapp:setting>
</mt:if>

Expand Down

0 comments on commit a0d87b4

Please sign in to comment.