Added a heading "editing page" in page editor for visual appeal; removed use of alternate <?= ?> syntax in installer as it was causing problems on Win2k3 + PHP/FastCGI. (Experimentally using TortoiseHG's hgtk to commit)
authorDan
Sat, 02 Feb 2008 22:44:05 -0500
changeset 397 06415d243d09
parent 396 3289e4dcb4b8
child 398 7aa9370830f8
Added a heading "editing page" in page editor for visual appeal; removed use of alternate <?= ?> syntax in installer as it was causing problems on Win2k3 + PHP/FastCGI. (Experimentally using TortoiseHG's hgtk to commit)
includes/clientside/static/editor.js
install/includes/stages/confirm.php
install/includes/stages/login.php
language/english/core.json
--- a/includes/clientside/static/editor.js	Sat Feb 02 22:32:09 2008 -0500
+++ b/includes/clientside/static/editor.js	Sat Feb 02 22:44:05 2008 -0500
@@ -109,6 +109,9 @@
   // BUILD EDITOR
   //
   
+  var heading = document.createElement('h3');
+  heading.appendChild(document.createTextNode($lang.get('editor_msg_editor_heading')));
+  
   // Plaintext/wikitext toggler
   // Only build the editor if using TinyMCE is allowed. THIS IS WEAK
   // AND CANNOT BE MADE ANY STRONGER.
@@ -369,6 +372,7 @@
   }
   
   // Put it all together...
+  form.appendChild(heading);
   if ( allow_wysiwyg )
     form.appendChild(toggler);
   form.appendChild(preview_anchor);
--- a/install/includes/stages/confirm.php	Sat Feb 02 22:32:09 2008 -0500
+++ b/install/includes/stages/confirm.php	Sat Feb 02 22:44:05 2008 -0500
@@ -39,6 +39,6 @@
 ?>
 
               <div style="text-align: center;">
-                <input type="submit" name="_cont" value="<?= $lang->get('confirm_btn_install_enano'); ?>" />
+                <input type="submit" name="_cont" value="<?php echo $lang->get('confirm_btn_install_enano'); ?>" />
               </div>
             </form>
--- a/install/includes/stages/login.php	Sat Feb 02 22:32:09 2008 -0500
+++ b/install/includes/stages/login.php	Sat Feb 02 22:44:05 2008 -0500
@@ -223,6 +223,6 @@
   </table>
   
   <div style="text-align: center;">
-    <input type="submit" name="_cont" value="<?= $lang->get('meta_btn_continue'); ?>" />
+    <input type="submit" name="_cont" value="<?php echo $lang->get('meta_btn_continue'); ?>" />
   </div>
 </form>
--- a/language/english/core.json	Sat Feb 02 22:32:09 2008 -0500
+++ b/language/english/core.json	Sat Feb 02 22:44:05 2008 -0500
@@ -311,6 +311,7 @@
       err_page_protected: 'This page is protected, and you do not have permission to edit protected pages.',
       err_captcha_wrong: 'The confirmation code you entered is incorrect.',
       
+      msg_editor_heading: 'Editing page',
       msg_saved: 'Your changes to this page have been saved.',
       msg_revert_confirm: 'Do you really want to revert your changes?',
       msg_discard_confirm: 'Do you really want to discard your changes?',