public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
fix the rest of the broken image paths [Rimantas Liubertas]

git-svn-id: http://svn.techno-weenie.net/projects/mephisto/trunk@2121 
567b1171-46fb-0310-a4c9-b4bef9110e78
technoweenie (author)
Sat Sep 09 07:07:37 -0700 2006
commit  a29900652b6aa6c1d72b8bb3b3d2d21c01a0982c
tree    a276942c149b613e502b1ea24b23ba6bec8eed02
parent  8d25894b639301b553746217931af082c1130bed
...
12
13
14
15
 
16
17
 
18
19
 
20
21
 
22
23
24
...
12
13
14
 
15
16
 
17
18
 
19
20
 
21
22
23
24
0
@@ -12,13 +12,13 @@ class ApplicationController < ActionController::Base
0
     def asset_image_args_for(asset, thumbnail = :tiny, options = {})
0
       options = options.reverse_merge(:title => "#{asset.title} \n #{asset.tags.join(', ')}")
0
       if asset.movie?
0
- ['/images/icons/video.png', options]
0
+ ['/images/mephisto/icons/video.png', options]
0
       elsif asset.audio?
0
- ['/images/icons/audio.png', options]
0
+ ['/images/mephisto/icons/audio.png', options]
0
       elsif asset.pdf?
0
- ['/images/icons/pdf.png', options]
0
+ ['/images/mephisto/icons/pdf.png', options]
0
       elsif asset.other?
0
- ['/images/icons/doc.png', options]
0
+ ['/images/mephisto/icons/doc.png', options]
0
       elsif asset.thumbnails_count.zero?
0
         [asset.public_filename, options.update(:size => Array.new(2).fill(Asset.attachment_options[:thumbnails][thumbnail].to_i).join('x'))]
0
       else
...
28
29
30
31
 
32
33
34
...
28
29
30
 
31
32
33
34
0
@@ -28,7 +28,7 @@
0
     <div class="tabpanel" id="search-files" style="display:none;">
0
       <label for="q" style="font-weight:bold;padding: 5px 0;">
0
         Search by tag or title
0
- <img id="spinner" src="/images/spinner.gif" alt="spinner" style="display:none;vertical-align: middle" />
0
+ <img id="spinner" src="/images/mephisto/spinner.gif" alt="spinner" style="display:none;vertical-align: middle" />
0
       </label>
0
       <input class="searchbox" type="text" size="30" name="q" id="search-files-q" />
0
       <input type="button" value="Search" onclick="TinyTab.callbacks['search-files']($F('search-files-q'))" />
...
4
5
6
7
 
8
9
10
...
4
5
6
 
7
8
9
10
0
@@ -4,7 +4,7 @@
0
 <%= form_tag(assets_url,:id => 'filesearchform', :method => 'get') %>
0
   <div id="filter">
0
     <ul class="clear" id="type">
0
- <li id="spin"><img style="display:none;" src="/images/spinner.gif" alt="spinner" id="spinner" />&nbsp;</li>
0
+ <li id="spin"><img style="display:none;" src="/images/mephisto/spinner.gif" alt="spinner" id="spinner" />&nbsp;</li>
0
       <li id="faudio"><a href="#" title="Audio">Audio</a></li>
0
       <li id="fmovies"><a href="#" title="Movies">Movies</a></li>
0
       <li id="fpictures"><a href="#" title="Test">Pictures</a></li>
...
36
37
38
39
 
40
41
42
...
36
37
38
 
39
40
41
42
0
@@ -36,7 +36,7 @@
0
     <dt>
0
       <label for="resource">Upload new image</label>
0
       <p class="hint">Upload images to use in your templates</p>
0
- <span style="display:none;" id="upload-spinner"><img src="/images/icons/spinner-black.gif" /> uploading...</span>
0
+ <span style="display:none;" id="upload-spinner"><img src="/images/mephisto/icons/spinner-black.gif" /> uploading...</span>
0
     </dt>
0
     <dd>
0
       1. <%= file_field_tag :resource %><br />
...
297
298
299
300
 
301
302
303
304
305
306
307
 
308
309
310
...
297
298
299
 
300
301
302
303
304
305
306
 
307
308
309
310
0
@@ -297,14 +297,14 @@ var SectionForm = {
0
       link.innerHTML = 'Reorder pages'
0
       link.className = 'reorder';
0
       document.getElementsByClassName('handle', 'pages').each(function(img) {
0
- img.src = "/images/icons/arrow3_e.gif";
0
+ img.src = "/images/mephisto/icons/arrow3_e.gif";
0
       });
0
       this.saveSortable(section_id);
0
     } else {
0
       this.sortable = Sortable.create('pages', {handle:'handle'});
0
       $('pages').className = 'sortable';
0
       document.getElementsByClassName('handle', 'pages').each(function(img) {
0
- img.src = "/images/icons/reorder.gif";
0
+ img.src = "/images/mephisto/icons/reorder.gif";
0
       });
0
       link.className = 'reordering';
0
       link.innerHTML = 'Done Reordering'
...
115
116
117
118
 
119
120
121
...
115
116
117
 
118
119
120
121
0
@@ -115,7 +115,7 @@ blockquote{
0
   float:left;
0
   width:14px;
0
   height:13px;
0
- background:url(../images/icons/search.gif) 0 0 no-repeat;
0
+ background:url(../images/mephisto/icons/search.gif) 0 0 no-repeat;
0
   position:relative;
0
   top:4px;
0
 }
...
123
124
125
126
 
127
128
129
...
123
124
125
 
126
127
128
129
0
@@ -123,7 +123,7 @@ blockquote{
0
         float:left;
0
         width:14px;
0
         height:13px;
0
- background:url(../images/search.gif) 0 0 no-repeat;
0
+ background:url(../images/mephisto/search.gif) 0 0 no-repeat;
0
         position:relative;
0
         top:4px;
0
 }

Comments

    No one has commented yet.