Changeset 851
- Timestamp:
- 12/07/06 02:24:20 (2 years ago)
- Files:
-
- branches/wheeljack/lib/MT/App/CMS.pm (modified) (2 diffs)
- branches/wheeljack/tmpl/cms/upload.tmpl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/wheeljack/lib/MT/App/CMS.pm
r849 r851 9128 9128 $param{extra_paths} = \@extra_paths; 9129 9129 $param{refocus} = 1; 9130 $param{missing_paths} = -d $blog->site_path || -d $blog->archive_path ? 0 : 1; 9130 9131 $app->build_page('upload.tmpl', \%param); 9131 9132 } … … 9176 9177 $root_path = $blog->archive_path; 9177 9178 } 9179 return $app->error($app->translate( 9180 "Before you can upload a file, you need to configure the publishing paths for your weblog." 9181 )) unless $root_path; 9178 9182 $relative_path = $q->param('extra_path'); 9179 9183 $middle_path = $q->param('middle_path') || ''; branches/wheeljack/tmpl/cms/upload.tmpl
r811 r851 12 12 //--> 13 13 </script> 14 15 <TMPL_IF NAME=MISSING_PATHS> 16 <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&blog_id=<TMPL_VAR NAME=BLOG_ID>"> 18 19 <div class="panel-commands"> 20 <form onsubmit="return false" onclick="window.focus();"> 21 <input onclick="closeDialog()" type="button" value="<MT_TRANS phrase="Close">" /> 22 </form> 23 </div> 24 25 <TMPL_ELSE> 14 26 15 27 <form method="post" enctype="multipart/form-data" action="<TMPL_VAR NAME=SCRIPT_URL>"> … … 64 76 <input type="hidden" name="magic_token" value="<TMPL_VAR NAME=MAGIC_TOKEN>" /> 65 77 </form> 78 </TMPL_IF> 66 79 67 80 <TMPL_INCLUDE NAME="footer-dialog.tmpl">
