Changeset 936

Show
Ignore:
Timestamp:
12/16/06 00:08:57 (2 years ago)
Author:
gboggs
Message:

Fixed error message wording (and added -d to the fall-through failsafe condition in CMS.pm). BugId: 45692

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/wheeljack/lib/MT/App/CMS.pm

    r935 r936  
    93089308    } 
    93099309    return $app->error($app->translate( 
    9310         "Before you can upload a file, you need to configure the publishing paths for your weblog." 
    9311     )) unless $root_path; 
     9310        "Before you can upload a file, you need to publish your weblog." 
     9311    )) unless -d $root_path; 
    93129312    $relative_path = $q->param('extra_path'); 
    93139313    $middle_path = $q->param('middle_path') || ''; 
  • branches/wheeljack/tmpl/cms/upload.tmpl

    r899 r936  
    1515<TMPL_IF NAME=MISSING_PATHS> 
    1616<h2><span class="weblog-title-highlight"><MT_TRANS phrase="You need to configure your weblog."></span></h2> 
    17 <MT_TRANS phrase="Before you can upload a file, you need to configure the publishing paths for your weblog. <a href="javascript:void(0);" onclick="closeDialog('[_1]');">Click here</a> to configure your weblog's publishing paths." params="<TMPL_VAR NAME=SCRIPT_URL>?__mode=cfg_archives&amp;blog_id=<TMPL_VAR NAME=BLOG_ID>"> 
     17<MT_TRANS phrase="Before you can upload a file, you need to publish your weblog. <a href="javascript:void(0);" onclick="closeDialog('[_1]');">Click here</a> to configure your weblog's publishing paths and rebuild your weblog." params="<TMPL_VAR NAME=SCRIPT_URL>?__mode=cfg_archives&amp;blog_id=<TMPL_VAR NAME=BLOG_ID>"> 
    1818 
    1919<div class="panel-commands">