瀏覽代碼

Turning som FIXMEs into one-liners.

Fredrik Jervfors 15 年之前
父節點
當前提交
0949a2e2c8

+ 1 - 10
templates/default/read_menubar_buttons.tpl

@@ -62,16 +62,7 @@
 /** extract template variables **/
 /** extract template variables **/
 extract($t);
 extract($t);
 
 
-/*FIXME: This is a place where Marc's idea for putting all the buttons and 
-         links and other widgets into an array is sorely needed instead of
-         hard-coding everything.  Whomever implements that, PLEASE, PLEASE
-         look at how the preview pane plugin code is used in this same template
-         file for the *default_advanced* set to change some links and buttons 
-         and make sure your implementation can support it (tip: it may or may 
-         not be OK to let a plugin do the modification of the widgets, since 
-         a template set can turn on the needed plugin, but that might not be 
-         the most clear way to solve said issue).*/
-
+/*FIXME: This is a place where Marc's idea for putting all the buttons and links and other widgets into an array is sorely needed instead of hard-coding everything.  Whomever implements that, PLEASE, PLEASE look at how the preview pane plugin code is used in this same template file for the *default_advanced* set to change some links and buttons and make sure your implementation can support it (tip: it may or may not be OK to let a plugin do the modification of the widgets, since a template set can turn on the needed plugin, but that might not be the most clear way to solve said issue).*/
 
 
 /** Begin template **/
 /** Begin template **/
 if ($nav_on_top) {
 if ($nav_on_top) {

+ 1 - 10
templates/default/read_menubar_nav.tpl

@@ -49,16 +49,7 @@
 /** extract template variables **/
 /** extract template variables **/
 extract($t);
 extract($t);
 
 
-/*FIXME: This is a place where Marc's idea for putting all the buttons and
-         links and other widgets into an array is sorely needed instead of
-         hard-coding everything.  Whomever implements that, PLEASE, PLEASE
-         look at how the preview pane plugin code is used in this same template 
-         file for the *default_advanced* set to change some links and buttons 
-         and make sure your implementation can support it (tip: it may or may 
-         not be OK to let a plugin do the modification of the widgets, since 
-         a template set can turn on the needed plugin, but that might not be 
-         the most clear way to solve said issue).*/
-
+/*FIXME: This is a place where Marc's idea for putting all the buttons and links and other widgets into an array is sorely needed instead of hard-coding everything.  Whomever implements that, PLEASE, PLEASE look at how the preview pane plugin code is used in this same template file for the *default_advanced* set to change some links and buttons and make sure your implementation can support it (tip: it may or may not be OK to let a plugin do the modification of the widgets, since a template set can turn on the needed plugin, but that might not be the most clear way to solve said issue).*/
 
 
 /** Begin template **/
 /** Begin template **/
 
 

+ 1 - 9
templates/default_advanced/read_menubar_buttons.tpl

@@ -63,15 +63,7 @@
 extract($t);
 extract($t);
 
 
 
 
-/*FIXME: This is a place where Marc's idea for putting all the buttons and 
-         links and other widgets into an array is sorely needed instead of
-         hard-coding everything.  Whomever implements that, PLEASE, PLEASE
-         look at how the preview pane plugin code is used here to change
-         some links and buttons and make sure your implementation can support
-         it (tip: it may or may not be OK to let a plugin do the modification
-         of the widgets, since a template set can turn on the needed plugin,
-         but that might not be the most clear way to solve said issue).*/
-
+/*FIXME: This is a place where Marc's idea for putting all the buttons and links and other widgets into an array is sorely needed instead of hard-coding everything.  Whomever implements that, PLEASE, PLEASE look at how the preview pane plugin code is used here to change some links and buttons and make sure your implementation can support it (tip: it may or may not be OK to let a plugin do the modification of the widgets, since a template set can turn on the needed plugin, but that might not be the most clear way to solve said issue).*/
 
 
 /** preview pane prep */
 /** preview pane prep */
 global $data_dir, $username, $base_uri;
 global $data_dir, $username, $base_uri;

+ 1 - 9
templates/default_advanced/read_menubar_nav.tpl

@@ -50,15 +50,7 @@
 extract($t);
 extract($t);
 
 
 
 
-/*FIXME: This is a place where Marc's idea for putting all the buttons and 
-         links and other widgets into an array is sorely needed instead of
-         hard-coding everything.  Whomever implements that, PLEASE, PLEASE
-         look at how the preview pane plugin code is used here to change
-         some links and buttons and make sure your implementation can support
-         it (tip: it may or may not be OK to let a plugin do the modification
-         of the widgets, since a template set can turn on the needed plugin,
-         but that might not be the most clear way to solve said issue).*/
-
+/*FIXME: This is a place where Marc's idea for putting all the buttons and links and other widgets into an array is sorely needed instead of hard-coding everything.  Whomever implements that, PLEASE, PLEASE look at how the preview pane plugin code is used here to change some links and buttons and make sure your implementation can support it (tip: it may or may not be OK to let a plugin do the modification of the widgets, since a template set can turn on the needed plugin, but that might not be the most clear way to solve said issue).*/
 
 
 /** preview pane prep */
 /** preview pane prep */
 global $data_dir, $username, $base_uri;
 global $data_dir, $username, $base_uri;