@@ -4,38 +4,38 @@ |
||
4 | 4 | } |
5 | 5 | $logo= '<img src="media/style/default/images/misc/login-logo.png" height="54" width="358" border="0">'; |
6 | 6 | $downloadLinks = array( |
7 | - 0=>array('title'=>$_lang["information"],'link'=>'https://evo.im/'), |
|
8 | - 1=>array('title'=>$_lang["download"],'link'=>'https://github.com/evolution-cms/evolution/releases'), |
|
9 | - 2=>array('title'=>$_lang["previous_releases"],'link'=>'https://modx.com/download/evolution/previous-releases.html'), |
|
10 | - 3=>array('title'=>$_lang["extras"],'link'=>array( |
|
11 | - 'http://extras.evolution-cms.com/', |
|
12 | - 'https://github.com/extras-evolution' |
|
13 | - )), |
|
7 | + 0=>array('title'=>$_lang["information"],'link'=>'https://evo.im/'), |
|
8 | + 1=>array('title'=>$_lang["download"],'link'=>'https://github.com/evolution-cms/evolution/releases'), |
|
9 | + 2=>array('title'=>$_lang["previous_releases"],'link'=>'https://modx.com/download/evolution/previous-releases.html'), |
|
10 | + 3=>array('title'=>$_lang["extras"],'link'=>array( |
|
11 | + 'http://extras.evolution-cms.com/', |
|
12 | + 'https://github.com/extras-evolution' |
|
13 | + )), |
|
14 | 14 | ); |
15 | 15 | |
16 | 16 | $translationLinks = array( |
17 | - 0=>array('title'=>'Evolution CMS','link'=>'https://www.transifex.com/evolutioncms/evolution/'), |
|
18 | - 1=>array('title'=>$_lang["extras"],'link'=>'https://www.transifex.com/evolutioncms/extras/'), |
|
17 | + 0=>array('title'=>'Evolution CMS','link'=>'https://www.transifex.com/evolutioncms/evolution/'), |
|
18 | + 1=>array('title'=>$_lang["extras"],'link'=>'https://www.transifex.com/evolutioncms/extras/'), |
|
19 | 19 | ); |
20 | 20 | |
21 | 21 | function createList($sectionHeader, $linkArr) { |
22 | - $output = '<div class="sectionHeader">'.$sectionHeader.'</div><div class="sectionBody">'."\n"; |
|
23 | - $output .= '<table width="500" border="0" cellspacing="0" cellpadding="0">'."\n"; |
|
24 | - $links = ''; |
|
25 | - foreach($linkArr as $row) { |
|
26 | - if (!is_array($row['link'])) $row['link'] = array($row['link']); |
|
27 | - foreach ($row['link'] as $link) { |
|
28 | - $links .= $links != '' ? '<br/>' : ''; |
|
29 | - $links .= '<a href="' . $link . '" target="_blank">' . $link . '</a>'; |
|
30 | - } |
|
31 | - $output .= ' |
|
22 | + $output = '<div class="sectionHeader">'.$sectionHeader.'</div><div class="sectionBody">'."\n"; |
|
23 | + $output .= '<table width="500" border="0" cellspacing="0" cellpadding="0">'."\n"; |
|
24 | + $links = ''; |
|
25 | + foreach($linkArr as $row) { |
|
26 | + if (!is_array($row['link'])) $row['link'] = array($row['link']); |
|
27 | + foreach ($row['link'] as $link) { |
|
28 | + $links .= $links != '' ? '<br/>' : ''; |
|
29 | + $links .= '<a href="' . $link . '" target="_blank">' . $link . '</a>'; |
|
30 | + } |
|
31 | + $output .= ' |
|
32 | 32 | <tr> |
33 | 33 | <td align="left"><strong>' . $row["title"] . '</strong></td> |
34 | 34 | <td align="left">' . $links . '</td> |
35 | 35 | </tr>'; |
36 | - $links = ''; |
|
37 | - } |
|
38 | - $output .= '</table></div>'."\n"; |
|
36 | + $links = ''; |
|
37 | + } |
|
38 | + $output .= '</table></div>'."\n"; |
|
39 | 39 | return $output; |
40 | 40 | } |
41 | 41 | echo $logo; |
@@ -1,37 +1,37 @@ |
||
1 | 1 | <?php |
2 | -if( ! defined('IN_MANAGER_MODE') || IN_MANAGER_MODE !== true) { |
|
2 | +if (!defined('IN_MANAGER_MODE') || IN_MANAGER_MODE !== true) { |
|
3 | 3 | die("<b>INCLUDE_ORDERING_ERROR</b><br /><br />Please use the EVO Content Manager instead of accessing this file directly."); |
4 | 4 | } |
5 | -$logo= '<img src="media/style/default/images/misc/login-logo.png" height="54" width="358" border="0">'; |
|
5 | +$logo = '<img src="media/style/default/images/misc/login-logo.png" height="54" width="358" border="0">'; |
|
6 | 6 | $downloadLinks = array( |
7 | - 0=>array('title'=>$_lang["information"],'link'=>'https://evo.im/'), |
|
8 | - 1=>array('title'=>$_lang["download"],'link'=>'https://github.com/evolution-cms/evolution/releases'), |
|
9 | - 2=>array('title'=>$_lang["previous_releases"],'link'=>'https://modx.com/download/evolution/previous-releases.html'), |
|
10 | - 3=>array('title'=>$_lang["extras"],'link'=>array( |
|
7 | + 0=>array('title'=>$_lang["information"], 'link'=>'https://evo.im/'), |
|
8 | + 1=>array('title'=>$_lang["download"], 'link'=>'https://github.com/evolution-cms/evolution/releases'), |
|
9 | + 2=>array('title'=>$_lang["previous_releases"], 'link'=>'https://modx.com/download/evolution/previous-releases.html'), |
|
10 | + 3=>array('title'=>$_lang["extras"], 'link'=>array( |
|
11 | 11 | 'http://extras.evolution-cms.com/', |
12 | 12 | 'https://github.com/extras-evolution' |
13 | 13 | )), |
14 | 14 | ); |
15 | 15 | |
16 | 16 | $translationLinks = array( |
17 | - 0=>array('title'=>'Evolution CMS','link'=>'https://www.transifex.com/evolutioncms/evolution/'), |
|
18 | - 1=>array('title'=>$_lang["extras"],'link'=>'https://www.transifex.com/evolutioncms/extras/'), |
|
17 | + 0=>array('title'=>'Evolution CMS', 'link'=>'https://www.transifex.com/evolutioncms/evolution/'), |
|
18 | + 1=>array('title'=>$_lang["extras"], 'link'=>'https://www.transifex.com/evolutioncms/extras/'), |
|
19 | 19 | ); |
20 | 20 | |
21 | -function createList($sectionHeader, $linkArr) { |
|
21 | +function createList($sectionHeader, $linkArr){ |
|
22 | 22 | $output = '<div class="sectionHeader">'.$sectionHeader.'</div><div class="sectionBody">'."\n"; |
23 | 23 | $output .= '<table width="500" border="0" cellspacing="0" cellpadding="0">'."\n"; |
24 | 24 | $links = ''; |
25 | - foreach($linkArr as $row) { |
|
25 | + foreach ($linkArr as $row) { |
|
26 | 26 | if (!is_array($row['link'])) $row['link'] = array($row['link']); |
27 | 27 | foreach ($row['link'] as $link) { |
28 | 28 | $links .= $links != '' ? '<br/>' : ''; |
29 | - $links .= '<a href="' . $link . '" target="_blank">' . $link . '</a>'; |
|
29 | + $links .= '<a href="'.$link.'" target="_blank">'.$link.'</a>'; |
|
30 | 30 | } |
31 | 31 | $output .= ' |
32 | 32 | <tr> |
33 | - <td align="left"><strong>' . $row["title"] . '</strong></td> |
|
34 | - <td align="left">' . $links . '</td> |
|
33 | + <td align="left"><strong>' . $row["title"].'</strong></td> |
|
34 | + <td align="left">' . $links.'</td> |
|
35 | 35 | </tr>'; |
36 | 36 | $links = ''; |
37 | 37 | } |
@@ -18,12 +18,15 @@ |
||
18 | 18 | 1=>array('title'=>$_lang["extras"],'link'=>'https://www.transifex.com/evolutioncms/extras/'), |
19 | 19 | ); |
20 | 20 | |
21 | -function createList($sectionHeader, $linkArr) { |
|
21 | +function createList($sectionHeader, $linkArr) |
|
22 | +{ |
|
22 | 23 | $output = '<div class="sectionHeader">'.$sectionHeader.'</div><div class="sectionBody">'."\n"; |
23 | 24 | $output .= '<table width="500" border="0" cellspacing="0" cellpadding="0">'."\n"; |
24 | 25 | $links = ''; |
25 | 26 | foreach($linkArr as $row) { |
26 | - if (!is_array($row['link'])) $row['link'] = array($row['link']); |
|
27 | + if (!is_array($row['link'])) { |
|
28 | + $row['link'] = array($row['link']); |
|
29 | + } |
|
27 | 30 | foreach ($row['link'] as $link) { |
28 | 31 | $links .= $links != '' ? '<br/>' : ''; |
29 | 32 | $links .= '<a href="' . $link . '" target="_blank">' . $link . '</a>'; |
@@ -7,8 +7,8 @@ |
||
7 | 7 | <div class="sectionHeader">Changelog</div> |
8 | 8 | <div class="sectionBody"> |
9 | 9 | <?php |
10 | - $changeLog = MODX_BASE_PATH . 'assets/docs/changelog.txt'; |
|
11 | - if(is_readable($changeLog)) |
|
12 | - echo str_replace("\n",'<br>',file_get_contents($changeLog)); |
|
10 | + $changeLog = MODX_BASE_PATH . 'assets/docs/changelog.txt'; |
|
11 | + if(is_readable($changeLog)) |
|
12 | + echo str_replace("\n",'<br>',file_get_contents($changeLog)); |
|
13 | 13 | ?> |
14 | 14 | </div> |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -if( ! defined('IN_MANAGER_MODE') || IN_MANAGER_MODE !== true) { |
|
2 | +if (!defined('IN_MANAGER_MODE') || IN_MANAGER_MODE !== true) { |
|
3 | 3 | die("<b>INCLUDE_ORDERING_ERROR</b><br /><br />Please use the EVO Content Manager instead of accessing this file directly."); |
4 | 4 | } |
5 | 5 | ?> |
@@ -7,8 +7,8 @@ discard block |
||
7 | 7 | <div class="sectionHeader">Changelog</div> |
8 | 8 | <div class="sectionBody"> |
9 | 9 | <?php |
10 | - $changeLog = MODX_BASE_PATH . 'assets/docs/changelog.txt'; |
|
11 | - if(is_readable($changeLog)) |
|
12 | - echo str_replace("\n",'<br>',file_get_contents($changeLog)); |
|
10 | + $changeLog = MODX_BASE_PATH.'assets/docs/changelog.txt'; |
|
11 | + if (is_readable($changeLog)) |
|
12 | + echo str_replace("\n", '<br>', file_get_contents($changeLog)); |
|
13 | 13 | ?> |
14 | 14 | </div> |
@@ -8,7 +8,8 @@ |
||
8 | 8 | <div class="sectionBody"> |
9 | 9 | <?php |
10 | 10 | $changeLog = MODX_BASE_PATH . 'assets/docs/changelog.txt'; |
11 | - if(is_readable($changeLog)) |
|
12 | - echo str_replace("\n",'<br>',file_get_contents($changeLog)); |
|
13 | -?> |
|
11 | + if(is_readable($changeLog)) { |
|
12 | + echo str_replace("\n",'<br>',file_get_contents($changeLog)); |
|
13 | + } |
|
14 | + ?> |
|
14 | 15 | </div> |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -if( ! defined('IN_MANAGER_MODE') || IN_MANAGER_MODE !== true) { |
|
2 | +if (!defined('IN_MANAGER_MODE') || IN_MANAGER_MODE !== true) { |
|
3 | 3 | die("<b>INCLUDE_ORDERING_ERROR</b><br /><br />Please use the EVO Content Manager instead of accessing this file directly."); |
4 | 4 | } |
5 | 5 | ?> |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -if( ! defined('IN_MANAGER_MODE') || IN_MANAGER_MODE !== true) { |
|
2 | +if (!defined('IN_MANAGER_MODE') || IN_MANAGER_MODE !== true) { |
|
3 | 3 | die("<b>INCLUDE_ORDERING_ERROR</b><br /><br />Please use the EVO Content Manager instead of accessing this file directly."); |
4 | 4 | } |
5 | 5 | ?> |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -if( ! defined('IN_MANAGER_MODE') || IN_MANAGER_MODE !== true) { |
|
2 | +if (!defined('IN_MANAGER_MODE') || IN_MANAGER_MODE !== true) { |
|
3 | 3 | die("<b>INCLUDE_ORDERING_ERROR</b><br /><br />Please use the EVO Content Manager instead of accessing this file directly."); |
4 | 4 | } |
5 | 5 | ?> |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -if( ! defined('IN_MANAGER_MODE') || IN_MANAGER_MODE !== true) { |
|
2 | +if (!defined('IN_MANAGER_MODE') || IN_MANAGER_MODE !== true) { |
|
3 | 3 | die("<b>INCLUDE_ORDERING_ERROR</b><br /><br />Please use the EVO Content Manager instead of accessing this file directly."); |
4 | 4 | } |
5 | 5 | ?> |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -if( ! defined('IN_MANAGER_MODE') || IN_MANAGER_MODE !== true) { |
|
2 | +if (!defined('IN_MANAGER_MODE') || IN_MANAGER_MODE !== true) { |
|
3 | 3 | die("<b>INCLUDE_ORDERING_ERROR</b><br /><br />Please use the EVO Content Manager instead of accessing this file directly."); |
4 | 4 | } |
5 | 5 | ?> |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -if( ! defined('IN_MANAGER_MODE') || IN_MANAGER_MODE !== true) { |
|
2 | +if (!defined('IN_MANAGER_MODE') || IN_MANAGER_MODE !== true) { |
|
3 | 3 | die("<b>INCLUDE_ORDERING_ERROR</b><br /><br />Please use the EVO Content Manager instead of accessing this file directly."); |
4 | 4 | } |
5 | 5 | ?> |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -if( ! defined('IN_MANAGER_MODE') || IN_MANAGER_MODE !== true) { |
|
2 | +if (!defined('IN_MANAGER_MODE') || IN_MANAGER_MODE !== true) { |
|
3 | 3 | die("<b>INCLUDE_ORDERING_ERROR</b><br /><br />Please use the EVO Content Manager instead of accessing this file directly."); |
4 | 4 | } |
5 | 5 | ?> |