equal
deleted
inserted
replaced
50 global $db, $session, $paths, $template, $plugins; // Common objects |
50 global $db, $session, $paths, $template, $plugins; // Common objects |
51 global $lang; |
51 global $lang; |
52 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
52 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
53 { |
53 { |
54 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
54 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
55 echo '<h3>' . $lang->get('admin_err_not_auth_title') . '</h3>'; |
55 echo '<h3>' . $lang->get('adm_err_not_auth_title') . '</h3>'; |
56 echo '<p>' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
56 echo '<p>' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
57 return; |
57 return; |
58 } |
58 } |
59 |
59 |
60 // Basic information |
60 // Basic information |
61 echo RenderMan::render( |
61 echo RenderMan::render( |
120 global $db, $session, $paths, $template, $plugins; // Common objects |
120 global $db, $session, $paths, $template, $plugins; // Common objects |
121 global $lang; |
121 global $lang; |
122 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
122 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
123 { |
123 { |
124 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
124 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
125 echo '<h3>' . $lang->get('admin_err_not_auth_title') . '</h3>'; |
125 echo '<h3>' . $lang->get('adm_err_not_auth_title') . '</h3>'; |
126 echo '<p>' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
126 echo '<p>' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
127 return; |
127 return; |
128 } |
128 } |
129 |
129 |
130 if(isset($_POST['submit']) && !defined('ENANO_DEMO_MODE') ) |
130 if(isset($_POST['submit']) && !defined('ENANO_DEMO_MODE') ) |
131 { |
131 { |
519 global $db, $session, $paths, $template, $plugins; // Common objects |
519 global $db, $session, $paths, $template, $plugins; // Common objects |
520 global $lang; |
520 global $lang; |
521 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
521 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
522 { |
522 { |
523 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
523 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
524 echo '<h3>' . $lang->get('admin_err_not_auth_title') . '</h3>'; |
524 echo '<h3>' . $lang->get('adm_err_not_auth_title') . '</h3>'; |
525 echo '<p>' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
525 echo '<p>' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
526 return; |
526 return; |
527 } |
527 } |
528 |
528 |
529 if(isset($_POST['save'])) |
529 if(isset($_POST['save'])) |
530 { |
530 { |
639 global $db, $session, $paths, $template, $plugins; // Common objects |
639 global $db, $session, $paths, $template, $plugins; // Common objects |
640 global $lang; |
640 global $lang; |
641 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
641 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
642 { |
642 { |
643 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
643 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
644 echo '<h3>' . $lang->get('admin_err_not_auth_title') . '</h3>'; |
644 echo '<h3>' . $lang->get('adm_err_not_auth_title') . '</h3>'; |
645 echo '<p>' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
645 echo '<p>' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
646 return; |
646 return; |
647 } |
647 } |
648 |
648 |
649 if(isset($_GET['action'])) |
649 if(isset($_GET['action'])) |
650 { |
650 { |
783 global $db, $session, $paths, $template, $plugins; // Common objects |
783 global $db, $session, $paths, $template, $plugins; // Common objects |
784 global $lang; |
784 global $lang; |
785 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
785 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
786 { |
786 { |
787 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
787 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
788 echo '<h3>' . $lang->get('admin_err_not_auth_title') . '</h3>'; |
788 echo '<h3>' . $lang->get('adm_err_not_auth_title') . '</h3>'; |
789 echo '<p>' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
789 echo '<p>' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
790 return; |
790 return; |
791 } |
791 } |
792 |
792 |
793 global $mime_types, $mimetype_exps, $mimetype_extlist; |
793 global $mime_types, $mimetype_exps, $mimetype_extlist; |
794 if(isset($_POST['save']) && !defined('ENANO_DEMO_MODE')) |
794 if(isset($_POST['save']) && !defined('ENANO_DEMO_MODE')) |
849 global $db, $session, $paths, $template, $plugins; // Common objects |
849 global $db, $session, $paths, $template, $plugins; // Common objects |
850 global $lang; |
850 global $lang; |
851 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
851 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
852 { |
852 { |
853 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
853 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
854 echo '<h3>' . $lang->get('admin_err_not_auth_title') . '</h3>'; |
854 echo '<h3>' . $lang->get('adm_err_not_auth_title') . '</h3>'; |
855 echo '<p>' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
855 echo '<p>' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
856 return; |
856 return; |
857 } |
857 } |
858 |
858 |
859 ?> |
859 ?> |
860 <h2>Editing and managing the Enano sidebar</h2> |
860 <h2>Editing and managing the Enano sidebar</h2> |
909 global $db, $session, $paths, $template, $plugins; // Common objects |
909 global $db, $session, $paths, $template, $plugins; // Common objects |
910 global $lang; |
910 global $lang; |
911 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
911 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
912 { |
912 { |
913 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
913 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
914 echo '<h3>' . $lang->get('admin_err_not_auth_title') . '</h3>'; |
914 echo '<h3>' . $lang->get('adm_err_not_auth_title') . '</h3>'; |
915 echo '<p>' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
915 echo '<p>' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
916 return; |
916 return; |
917 } |
917 } |
918 |
918 |
919 if ( isset($_GET['src']) && $_GET['src'] == 'get' && !empty($_GET['user']) ) |
919 if ( isset($_GET['src']) && $_GET['src'] == 'get' && !empty($_GET['user']) ) |
920 { |
920 { |
1182 global $db, $session, $paths, $template, $plugins; // Common objects |
1182 global $db, $session, $paths, $template, $plugins; // Common objects |
1183 global $lang; |
1183 global $lang; |
1184 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
1184 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
1185 { |
1185 { |
1186 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
1186 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
1187 echo '<h3>' . $lang->get('admin_err_not_auth_title') . '</h3>'; |
1187 echo '<h3>' . $lang->get('adm_err_not_auth_title') . '</h3>'; |
1188 echo '<p>' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
1188 echo '<p>' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
1189 return; |
1189 return; |
1190 } |
1190 } |
1191 |
1191 |
1192 if(isset($_POST['do_create_stage1'])) |
1192 if(isset($_POST['do_create_stage1'])) |
1193 { |
1193 { |
1544 global $db, $session, $paths, $template, $plugins; // Common objects |
1544 global $db, $session, $paths, $template, $plugins; // Common objects |
1545 global $lang; |
1545 global $lang; |
1546 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
1546 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
1547 { |
1547 { |
1548 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
1548 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
1549 echo '<h3>' . $lang->get('admin_err_not_auth_title') . '</h3>'; |
1549 echo '<h3>' . $lang->get('adm_err_not_auth_title') . '</h3>'; |
1550 echo '<p>' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
1550 echo '<p>' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
1551 return; |
1551 return; |
1552 } |
1552 } |
1553 |
1553 |
1554 echo '<h2>Background information</h2>'; |
1554 echo '<h2>Background information</h2>'; |
1555 echo '<p> |
1555 echo '<p> |
1620 global $db, $session, $paths, $template, $plugins; // Common objects |
1620 global $db, $session, $paths, $template, $plugins; // Common objects |
1621 global $lang; |
1621 global $lang; |
1622 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
1622 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
1623 { |
1623 { |
1624 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
1624 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
1625 echo '<h3>' . $lang->get('admin_err_not_auth_title') . '</h3>'; |
1625 echo '<h3>' . $lang->get('adm_err_not_auth_title') . '</h3>'; |
1626 echo '<p>' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
1626 echo '<p>' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
1627 return; |
1627 return; |
1628 } |
1628 } |
1629 |
1629 |
1630 |
1630 |
1631 echo '<h2>Page management</h2>'; |
1631 echo '<h2>Page management</h2>'; |
1819 global $db, $session, $paths, $template, $plugins; // Common objects |
1819 global $db, $session, $paths, $template, $plugins; // Common objects |
1820 global $lang; |
1820 global $lang; |
1821 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
1821 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
1822 { |
1822 { |
1823 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
1823 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
1824 echo '<h3>' . $lang->get('admin_err_not_auth_title') . '</h3>'; |
1824 echo '<h3>' . $lang->get('adm_err_not_auth_title') . '</h3>'; |
1825 echo '<p>' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
1825 echo '<p>' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
1826 return; |
1826 return; |
1827 } |
1827 } |
1828 |
1828 |
1829 |
1829 |
1830 echo '<h2>Edit page content</h2>'; |
1830 echo '<h2>Edit page content</h2>'; |
1922 global $db, $session, $paths, $template, $plugins; // Common objects |
1922 global $db, $session, $paths, $template, $plugins; // Common objects |
1923 global $lang; |
1923 global $lang; |
1924 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
1924 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
1925 { |
1925 { |
1926 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
1926 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
1927 echo '<h3>' . $lang->get('admin_err_not_auth_title') . '</h3>'; |
1927 echo '<h3>' . $lang->get('adm_err_not_auth_title') . '</h3>'; |
1928 echo '<p>' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
1928 echo '<p>' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
1929 return; |
1929 return; |
1930 } |
1930 } |
1931 |
1931 |
1932 |
1932 |
1933 // Get the list of styles in the themes/ dir |
1933 // Get the list of styles in the themes/ dir |
2188 global $db, $session, $paths, $template, $plugins; // Common objects |
2188 global $db, $session, $paths, $template, $plugins; // Common objects |
2189 global $lang; |
2189 global $lang; |
2190 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
2190 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
2191 { |
2191 { |
2192 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
2192 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
2193 echo '<h3>' . $lang->get('admin_err_not_auth_title') . '</h3>'; |
2193 echo '<h3>' . $lang->get('adm_err_not_auth_title') . '</h3>'; |
2194 echo '<p>' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
2194 echo '<p>' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
2195 return; |
2195 return; |
2196 } |
2196 } |
2197 |
2197 |
2198 if(isset($_GET['action']) && $_GET['action'] == 'delete' && isset($_GET['id']) && $_GET['id'] != '') |
2198 if(isset($_GET['action']) && $_GET['action'] == 'delete' && isset($_GET['id']) && $_GET['id'] != '') |
2199 { |
2199 { |
2303 global $db, $session, $paths, $template, $plugins; // Common objects |
2303 global $db, $session, $paths, $template, $plugins; // Common objects |
2304 global $lang; |
2304 global $lang; |
2305 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
2305 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
2306 { |
2306 { |
2307 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
2307 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
2308 echo '<h3>' . $lang->get('admin_err_not_auth_title') . '</h3>'; |
2308 echo '<h3>' . $lang->get('adm_err_not_auth_title') . '</h3>'; |
2309 echo '<p>' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
2309 echo '<p>' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
2310 return; |
2310 return; |
2311 } |
2311 } |
2312 |
2312 |
2313 global $enano_config; |
2313 global $enano_config; |
2314 if ( isset($_POST['do_send']) && !defined('ENANO_DEMO_MODE') ) |
2314 if ( isset($_POST['do_send']) && !defined('ENANO_DEMO_MODE') ) |
2522 global $db, $session, $paths, $template, $plugins; // Common objects |
2522 global $db, $session, $paths, $template, $plugins; // Common objects |
2523 global $lang; |
2523 global $lang; |
2524 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
2524 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
2525 { |
2525 { |
2526 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
2526 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
2527 echo '<h3>' . $lang->get('admin_err_not_auth_title') . '</h3>'; |
2527 echo '<h3>' . $lang->get('adm_err_not_auth_title') . '</h3>'; |
2528 echo '<p>' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
2528 echo '<p>' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
2529 return; |
2529 return; |
2530 } |
2530 } |
2531 |
2531 |
2532 if(isset($_GET['submitting']) && $_GET['submitting'] == 'yes' && defined('ENANO_DEMO_MODE') ) |
2532 if(isset($_GET['submitting']) && $_GET['submitting'] == 'yes' && defined('ENANO_DEMO_MODE') ) |
2533 { |
2533 { |
2629 global $db, $session, $paths, $template, $plugins; // Common objects |
2629 global $db, $session, $paths, $template, $plugins; // Common objects |
2630 global $lang; |
2630 global $lang; |
2631 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
2631 if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) |
2632 { |
2632 { |
2633 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
2633 $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); |
2634 echo '<h3>' . $lang->get('admin_err_not_auth_title') . '</h3>'; |
2634 echo '<h3>' . $lang->get('adm_err_not_auth_title') . '</h3>'; |
2635 echo '<p>' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
2635 echo '<p>' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '</p>'; |
2636 return; |
2636 return; |
2637 } |
2637 } |
2638 |
2638 |
2639 $session->logout(USER_LEVEL_ADMIN); |
2639 $session->logout(USER_LEVEL_ADMIN); |
2640 echo '<h3>You have now been logged out of the administration panel.</h3><p>You will continue to be logged into the website, but you will need to re-authenticate before you can access the administration panel again.</p><p>Return to the <a href="'.makeUrl(getConfig('main_page')).'">Main Page</a>.</p>'; |
2640 echo '<h3>You have now been logged out of the administration panel.</h3><p>You will continue to be logged into the website, but you will need to re-authenticate before you can access the administration panel again.</p><p>Return to the <a href="'.makeUrl(getConfig('main_page')).'">Main Page</a>.</p>'; |