holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[livejournal] r23057: LJSUP-12738: Some improvements for the e...

Committer: akanashin
LJSUP-12738: Some improvements for the editor of layers
U   trunk/cgi-bin/LJ/Widget/LayerEditor.pm
U   trunk/templates/Widgets/layereditor.tmpl
Modified: trunk/cgi-bin/LJ/Widget/LayerEditor.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/LayerEditor.pm	2012-10-05 12:15:19 UTC (rev 23056)
+++ trunk/cgi-bin/LJ/Widget/LayerEditor.pm	2012-10-05 12:22:37 UTC (rev 23057)
@@ -148,6 +148,8 @@
     $params->{errors} = [ $class->error_list ];
     $params->{form_auth} = LJ::form_auth();
 
+    $params->{ljuser} = $u->ljuser_display();
+
     return 1;
 }
 =head2 handle_post

Modified: trunk/templates/Widgets/layereditor.tmpl
===================================================================
--- trunk/templates/Widgets/layereditor.tmpl	2012-10-05 12:15:19 UTC (rev 23056)
+++ trunk/templates/Widgets/layereditor.tmpl	2012-10-05 12:22:37 UTC (rev 23057)
@@ -5,10 +5,14 @@
     <div class="header">
         <h1><TMPL_VAR title></h1>
         <div class="tools">
+            <a href="/customize/options.bml">Options</a>
+            <a href="/customize/advanced/layers.bml">Layers</a>
+            <a href="/customize/advanced/layerbrowse.bml">LayerBrowse</a>
             <a href="<TMPL_VAR s2doc>" target="_blank">Documentation</a>
         </div>
         <input type="submit" value="Save & Compile" class="compilelink" />
         <a href="javascript:void(0);" class="compilelink turbo-mode">Show new editor</a>
+        <TMPL_VAR ljuser>
     </div>
     <div class="main" id="maindiv">
         <div class="maincontainer">

Tags: akanashin, holyandrew, livejournal, pm, tmpl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments