[dw-free] Site Scheme: More than one way to find it
[commit: http://hg.dwscoalition.org/dw-free/rev/6f27418c36df]
http://bugs.dwscoalition.org/show_bug.cgi?id=3453
Add a pointer to the site skin setting from /customize/.
Patch by
denise.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=3453
Add a pointer to the site skin setting from /customize/.
Patch by
![[staff profile]](https://www.dreamwidth.org/img/silk/identity/user_staff.png)
Files modified:
- cgi-bin/LJ/Setting/SiteScheme.pm
- htdocs/customize/index.bml
- htdocs/customize/index.bml.text
-------------------------------------------------------------------------------- diff -r 40ecd02c514c -r 6f27418c36df cgi-bin/LJ/Setting/SiteScheme.pm --- a/cgi-bin/LJ/Setting/SiteScheme.pm Wed Feb 23 14:30:21 2011 +0800 +++ b/cgi-bin/LJ/Setting/SiteScheme.pm Wed Feb 23 16:20:00 2011 +0800 @@ -32,7 +32,9 @@ sub label { sub label { my $class = shift; - return $class->ml('setting.sitescheme.label'); + my $ret = "<a name='skin'></a>" . $class->ml('setting.sitescheme.label'); + + return $ret; } sub option { diff -r 40ecd02c514c -r 6f27418c36df htdocs/customize/index.bml --- a/htdocs/customize/index.bml Wed Feb 23 14:30:21 2011 +0800 +++ b/htdocs/customize/index.bml Wed Feb 23 16:20:00 2011 +0800 @@ -69,6 +69,9 @@ body<= $ret .= LJ::make_authas_select($remote, { authas => $GET{authas}, label => $ML{'.switcher.label'}, button => $ML{'.switcher.btn'} }); $ret .= "</form>"; + # would you like to set the site skin instead? + $ret .= "<p>" . BML::ml( '.setsiteskin.desc', { aopts => "href='$LJ::SITEROOT/manage/settings/?cat=display#skin'" } ) . "</p>"; + my $current_theme = LJ::Widget::CurrentTheme->new; $headextra .= $current_theme->wrapped_js( page_js_obj => "Customize" ); $ret .= "<div class='theme-current pkg'>"; diff -r 40ecd02c514c -r 6f27418c36df htdocs/customize/index.bml.text --- a/htdocs/customize/index.bml.text Wed Feb 23 14:30:21 2011 +0800 +++ b/htdocs/customize/index.bml.text Wed Feb 23 16:20:00 2011 +0800 @@ -3,6 +3,8 @@ .btn.nextpage=Customize Selected Theme -> .customize_area_feedback=Customize Area Feedback + +.setsiteskin.desc=This will set the look and style of your journal. If you'd like to change the way the main site pages look instead, you can do this at the "Site Skin" option on the <a [[aopts]]>Manage Settings</a> page. .switcher.btn=Go --------------------------------------------------------------------------------