Changeset 945
- Timestamp:
- 11/15/08 16:05:16 (4 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 8 edited
-
common/email.php (modified) (1 diff)
-
scripts/fs-benchmark (added)
-
scripts/link-task-forum (modified) (2 diffs)
-
scripts/send-newsletter (modified) (2 diffs)
-
www/config.php (modified) (1 diff)
-
www/controllers/textblock.php (modified) (2 diffs)
-
www/static/css/screen.css (modified) (1 diff)
-
www/views/header.php (modified) (1 diff)
-
www/views/textblock_diff.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/common/email.php
r852 r945 33 33 34 34 // headers 35 $headers = 'From: ' . $from . "\r\n" . 36 'Reply-To: ' . $reply_to . "\r\n" . 35 $headers = 'From: ' . $from . "\n" . 36 'Reply-To: ' . $reply_to . "\n" . 37 "Content-type: text/plain\n" . 37 38 'X-Mailer: infoarena/newsletter'; 38 39 -
trunk/scripts/link-task-forum
r943 r945 100 100 continue; 101 101 } 102 $str2 = strtoupper(($task['order']-1).$ page['title']);102 $str2 = strtoupper(($task['order']-1).$task['title']); 103 103 104 104 if ($task['order'] <= 10) { … … 123 123 log_warn('Numarul pentru problema "'.$task['id'].'" este gresit! Am cautat '.$str1.' si '.$str2); 124 124 $str1 = strtoupper($task['id']); 125 $str2 = strtoupper($ page['title']);125 $str2 = strtoupper($task['title']); 126 126 for ($i = count($topics)-1; $i >= 0; --$i) { 127 127 if (match($topics[$i]['subject'], $str1) || match($topics[$i]['subject'], $str2)) { -
trunk/scripts/send-newsletter
r905 r945 26 26 function list_valid_ids() { 27 27 $valid = array( 28 'all', 'admins', 'rated', 'test' 28 'all', 'admins', 'rated', 'test', 'tinytest' 29 29 ); 30 30 return $valid; … … 56 56 $usernames = array('wickedman', 'fluffy', 'domino', 'silviug', 57 57 'Cosmin', 'wick3dman'); 58 $query = "SELECT * FROM ia_user 59 WHERE username IN ('".join("', '", $usernames)."') 60 ORDER BY full_name"; 61 return db_fetch_all($query); 62 63 case 'tinytest': 64 $usernames = array('wickedman', 'wick3dman'); 58 65 $query = "SELECT * FROM ia_user 59 66 WHERE username IN ('".join("', '", $usernames)."') -
trunk/www/config.php
r941 r945 16 16 17 17 // maximum attachment size for wiki pages 18 define("IA_ATTACH_MAXSIZE", 20*1024*1024);18 define("IA_ATTACH_MAXSIZE", 60*1024*1024); 19 19 20 20 // maximum jobs to reeval -
trunk/www/controllers/textblock.php
r943 r945 92 92 $diff_title = diff_inline(array($revfrom['title'], $revto['title'])); 93 93 $diff_content = diff_inline(array($revfrom['text'], $revto['text'])); 94 $diff_security = diff_inline(array($revfrom['security'], $revto['security'])); 94 95 95 96 $view = array(); … … 100 101 $view['diff_title'] = $diff_title; 101 102 $view['diff_content'] = $diff_content; 103 $view['diff_security'] = $diff_security; 102 104 execute_view_die('views/textblock_diff.php', $view); 103 105 } -
trunk/www/static/css/screen.css
r919 r945 1423 1423 } 1424 1424 1425 .picture-box { 1426 font-size: .85em; 1427 padding: 5px; 1428 border: 1px solid gray; 1429 margin: 0 1em 1em 0; 1430 float: left; 1431 } 1432 1433 .picture-box img { 1434 border: 1px solid silver; 1435 display: block; 1436 margin-bottom: 5px; 1437 } 1438 1439 /* OKRs */ 1440 1441 ul.okr > li:before { 1442 content: "O: "; 1443 font-weight: bold; 1444 } 1445 1446 ul.okr > li li:before { 1447 content: "KR: "; 1448 font-weight: bold; 1449 } 1450 1451 ul.okr li { 1452 list-style: none; 1453 } 1454 1455 ul.okr .comment { 1456 display: block; 1457 margin: 0 0 0 2em; 1458 color: gray; 1459 } 1460 -
trunk/www/views/header.php
r938 r945 68 68 <li><a href="<?= html_escape(url_home()) ?>">Home</a></li> 69 69 <li><?= format_link_access(url_textblock('arhiva'), "Arhiva de probleme", 'a') ?></li> 70 <li><a href="<?= html_escape(url_textblock('arhiva-educationala')) ?>">Arhiva educationala</a></li> 70 71 <li><a href="<?= html_escape(url_textblock('concursuri')) ?>">Concursuri</a></li> 71 72 <li><a href="<?= html_escape(url_textblock('clasament-rating')) ?>">Clasament</a></li> -
trunk/www/views/textblock_diff.php
r934 r945 66 66 ?> 67 67 68 <?php 69 if (empty($view['diff_security'])) { 70 echo "<h3>Nu exista diferente intre securitate.</h3>"; 71 } 72 else { 73 echo "<h3>Diferente intre securitate:</h3>"; 74 print_diff($view['diff_security']); 75 } 76 ?> 77 68 78 <?php include('footer.php'); ?>
Note: See TracChangeset
for help on using the changeset viewer.
![[infoarena] development](/chrome/site/logo.png)