GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/zmack/mephisto.git
fix some bad article urls

git-svn-id: http://svn.techno-weenie.net/projects/mephisto/trunk@2145 
567b1171-46fb-0310-a4c9-b4bef9110e78
technoweenie (author)
Sun Sep 10 18:22:35 -0700 2006
commit  f0701ad29f2536db10187a0397ac1555e0ddfdb0
tree    239b1d6eeafcaad4e9e4f9a5b4176a4c19f2236f
parent  6dda40e0efbe3afd6fbaf6f5aca9f3e20277a0db
...
10
11
12
13
 
14
15
16
...
10
11
12
 
13
14
15
16
0
@@ -10,7 +10,7 @@ module Admin::ArticlesHelper
0
   def link_to_article(article)
0
     return '' unless article
0
     article.published? ?
0
- link_to(h(article.title), article_url(article.hash_for_permalink)) :
0
+ link_to(h(article.title), site.permalink_for(article)) :
0
       h(article.title)
0
   end
0
 
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 <div id="page-nav">
0
   <ul id="act-nav" class="clear">
0
     <li><%= link_to "General", '#general' %></li>
0
- <li><%= link_to "Publishing", '#publish' %></li>
0
+ <% if false -%><li><%= link_to "Publishing", '#publish' %></li><% end -%>
0
     <li><%= link_to "Comments", '#spam' %></li>
0
     <% if ActionController::Base.perform_caching -%>
0
     <li><%= link_to 'Caches', :controller => '/admin/cached_pages' %></li>
...
2
3
4
5
 
6
7
8
9
 
10
11
12
...
2
3
4
 
5
6
7
8
 
9
10
11
12
0
@@ -2,11 +2,11 @@
0
    "http://www.w3.org/TR/html4/loose.dtd">
0
 <html>
0
 <head>
0
- <link rel="stylesheet" href="/stylesheets/error.css" type="text/css" />
0
+ <link rel="stylesheet" href="/stylesheets/mephisto/error.css" type="text/css" />
0
 </head>
0
 <body>
0
   <div id="wrapper">
0
- <div id="logo"><a href="/"><img src="/images/mephisto.png" /></a></div>
0
+ <div id="logo"><a href="/"><img src="/images/mephisto/mephisto.png" /></a></div>
0
     <p>These are not the droids you are looking for.</p>
0
     
0
     <p>Need help?</p>
...
2
3
4
5
 
6
7
8
9
 
10
11
12
...
2
3
4
 
5
6
7
8
 
9
10
11
12
0
@@ -2,11 +2,11 @@
0
    "http://www.w3.org/TR/html4/loose.dtd">
0
 <html>
0
 <head>
0
- <link rel="stylesheet" href="/stylesheets/error.css" type="text/css" />
0
+ <link rel="stylesheet" href="/stylesheets/mephisto/error.css" type="text/css" />
0
 </head>
0
 <body>
0
   <div id="wrapper">
0
- <div id="logo"><a href="/"><img src="/images/mephisto.png" /></a></div>
0
+ <div id="logo"><a href="/"><img src="/images/mephisto/mephisto.png" /></a></div>
0
     <p>An error occurred with Mephisto. If you're the administrator, check your production error logs for more info.</p>
0
     
0
     <p>Need help?</p>

Comments

    No one has commented yet.