? .DS_Store
? .svn
? front_t_fix.patch
Index: front_page.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/front/front_page.module,v
retrieving revision 1.35
diff -u -p -r1.35 front_page.module
--- front_page.module	28 Oct 2006 15:46:12 -0000	1.35
+++ front_page.module	3 Jan 2008 11:54:56 -0000
@@ -38,7 +38,7 @@ function front_page_help($section) { 
         }
        $special_note .=  '</fieldset>';
       }
-      return t('<P>Setup custom front pages for your site. Click on the option to expand the form and customise your settings.</p><P><em>Anonymous User</em> = visitor not logged in  | <em>Authenticated User</em> = visitor who is logged in</p>'. $special_note .'</p>'); 
+      return t('<p>Setup custom front pages for your site. Click on the option to expand the form and customise your settings.</p><P><em>Anonymous User</em> = visitor not logged in  | <em>Authenticated User</em> = visitor who is logged in</p>!special_note</p>', array('!special_note' => $special_note)); 
    } 
 }
 /** 
@@ -84,7 +84,7 @@ function front_page_admin() {
   $roles = user_roles();
   foreach (element_children($roles) as $role) {
   $rolename = $roles[$role];
-  $form[$role] = array('#type' => 'fieldset', '#collapsible' => TRUE, '#collapsed' => TRUE, '#title' => t('Front Page for '. $rolename .''));
+  $form[$role] = array('#type' => 'fieldset', '#collapsible' => TRUE, '#collapsed' => TRUE, '#title' => t('Front Page for %rolename', array('%rolename' => $rolename)));
   $form[$role]['front_'. $role .'_text'] = array('#type' => 'textarea', '#title' => t('Body'), '#default_value' => variable_get('front_'. $role .'_text', ''), '#cols' => 60, '#rows' => 20, '#description' => t('Paste your HTML or TEXT here for visitors to your site who are already logged in. <br><br>You can paste in the full HTML code for a complete page and include a different style sheet in the HEAD of the document if you want a completely different layout and style to the rest of your site.'));
   if ($role ==2) {$form[$role]['front_'. $role .'_type'] = array('#type' => 'select', '#title' => t('Select type'), '#default_value' => variable_get('front_'. $role .'_type','themed'), '#options' => array('themed' => t('themed'), 'full' => t('full'), 'redirect' => t('redirect'),'same' => t('same'),), '#description' => t('<P><strong>THEMED</strong> means your default layout, theme and stylesheet will be loaded with your custom front_page. <br><strong>FULL</strong> allows you to have a completely different layout, style sheet etc.<br><strong>REDIRECT</strong> will automatically redirect visitors already logged in to a specific page specified in the REDIRECT TO box.<br><strong>SAME</strong> will display the same content as for Anonymous (not logged in) users.</p>'),);}
   else {$form[$role]['front_'. $role .'_type'] = array('#type' => 'select', '#title' => t('Select type'), '#default_value' => variable_get('front_'. $role .'_type','themed'), '#options' => array('themed' => t('themed'), 'full' => t('full'), 'redirect' => t('redirect'),), '#description' => t('<P><strong>THEMED</strong> means your default layout, theme and stylesheet will be loaded with your custom front_page. <br><strong>FULL</strong> allows you to have a completely different layout, style sheet etc.<br><strong>REDIRECT</strong> will automatically redirect visitors already logged in to a specific page specified in the REDIRECT TO box.</p>'),);}
