Changeset 1784
- Timestamp:
- 04/22/2011 08:44:18 PM (2 years ago)
- Location:
- trunk
- Files:
-
- 20 modified
- 39 copied
-
. (modified) (1 prop)
-
actions/license (copied) (copied from branches/1.3.1/actions/license)
-
actions/license/inc (copied) (copied from branches/1.3.1/actions/license/inc)
-
actions/license/inc/.htaccess (copied) (copied from branches/1.3.1/actions/license/inc/.htaccess)
-
actions/license/inc/badges (copied) (copied from branches/1.3.1/actions/license/inc/badges)
-
actions/license/inc/badges/CC-BY-NC-ND.png (copied) (copied from branches/1.3.1/actions/license/inc/badges/CC-BY-NC-ND.png)
-
actions/license/inc/badges/CC-BY-NC-SA.png (copied) (copied from branches/1.3.1/actions/license/inc/badges/CC-BY-NC-SA.png)
-
actions/license/inc/badges/CC-BY-NC.png (copied) (copied from branches/1.3.1/actions/license/inc/badges/CC-BY-NC.png)
-
actions/license/inc/badges/CC-BY-ND.png (copied) (copied from branches/1.3.1/actions/license/inc/badges/CC-BY-ND.png)
-
actions/license/inc/badges/CC-BY-SA.png (copied) (copied from branches/1.3.1/actions/license/inc/badges/CC-BY-SA.png)
-
actions/license/inc/badges/CC-BY.png (copied) (copied from branches/1.3.1/actions/license/inc/badges/CC-BY.png)
-
actions/license/inc/badges/GPL.png (copied) (copied from branches/1.3.1/actions/license/inc/badges/GPL.png)
-
actions/license/inc/badges/GPL2.png (copied) (copied from branches/1.3.1/actions/license/inc/badges/GPL2.png)
-
actions/license/inc/badges/LGPL.png (copied) (copied from branches/1.3.1/actions/license/inc/badges/LGPL.png)
-
actions/license/inc/badges/PD.png (copied) (copied from branches/1.3.1/actions/license/inc/badges/PD.png)
-
actions/license/inc/buttons (copied) (copied from branches/1.3.1/actions/license/inc/buttons)
-
actions/license/inc/buttons/AGPL.png (copied) (copied from branches/1.3.1/actions/license/inc/buttons/AGPL.png)
-
actions/license/inc/buttons/CC-BY-NC-ND.png (copied) (copied from branches/1.3.1/actions/license/inc/buttons/CC-BY-NC-ND.png)
-
actions/license/inc/buttons/CC-BY-NC-SA.png (copied) (copied from branches/1.3.1/actions/license/inc/buttons/CC-BY-NC-SA.png)
-
actions/license/inc/buttons/CC-BY-NC.png (copied) (copied from branches/1.3.1/actions/license/inc/buttons/CC-BY-NC.png)
-
actions/license/inc/buttons/CC-BY-ND.png (copied) (copied from branches/1.3.1/actions/license/inc/buttons/CC-BY-ND.png)
-
actions/license/inc/buttons/CC-BY-SA.png (copied) (copied from branches/1.3.1/actions/license/inc/buttons/CC-BY-SA.png)
-
actions/license/inc/buttons/CC-BY.png (copied) (copied from branches/1.3.1/actions/license/inc/buttons/CC-BY.png)
-
actions/license/inc/buttons/GPL.png (copied) (copied from branches/1.3.1/actions/license/inc/buttons/GPL.png)
-
actions/license/inc/buttons/LGPL.png (copied) (copied from branches/1.3.1/actions/license/inc/buttons/LGPL.png)
-
actions/license/inc/buttons/PD.png (copied) (copied from branches/1.3.1/actions/license/inc/buttons/PD.png)
-
actions/license/inc/fulltext (copied) (copied from branches/1.3.1/actions/license/inc/fulltext)
-
actions/license/inc/fulltext/AGPL.htm (copied) (copied from branches/1.3.1/actions/license/inc/fulltext/AGPL.htm)
-
actions/license/inc/fulltext/CC-BY-NC-ND.htm (copied) (copied from branches/1.3.1/actions/license/inc/fulltext/CC-BY-NC-ND.htm)
-
actions/license/inc/fulltext/CC-BY-NC-SA.htm (copied) (copied from branches/1.3.1/actions/license/inc/fulltext/CC-BY-NC-SA.htm)
-
actions/license/inc/fulltext/CC-BY-NC.htm (copied) (copied from branches/1.3.1/actions/license/inc/fulltext/CC-BY-NC.htm)
-
actions/license/inc/fulltext/CC-BY-ND.htm (copied) (copied from branches/1.3.1/actions/license/inc/fulltext/CC-BY-ND.htm)
-
actions/license/inc/fulltext/CC-BY-SA.htm (copied) (copied from branches/1.3.1/actions/license/inc/fulltext/CC-BY-SA.htm)
-
actions/license/inc/fulltext/CC-BY.htm (copied) (copied from branches/1.3.1/actions/license/inc/fulltext/CC-BY.htm)
-
actions/license/inc/fulltext/GFDL.htm (copied) (copied from branches/1.3.1/actions/license/inc/fulltext/GFDL.htm)
-
actions/license/inc/fulltext/GPL.htm (copied) (copied from branches/1.3.1/actions/license/inc/fulltext/GPL.htm)
-
actions/license/inc/fulltext/GPL2.htm (copied) (copied from branches/1.3.1/actions/license/inc/fulltext/GPL2.htm)
-
actions/license/inc/fulltext/LGPL.htm (copied) (copied from branches/1.3.1/actions/license/inc/fulltext/LGPL.htm)
-
actions/license/inc/fulltext/PD.htm (copied) (copied from branches/1.3.1/actions/license/inc/fulltext/PD.htm)
-
actions/license/license.php (copied) (copied from branches/1.3.1/actions/license/license.php)
-
actions/recentcomments/recentcomments.php (modified) (1 prop)
-
actions/recentlycommented/recentlycommented.php (modified) (1 prop)
-
actions/usersettings/usersettings.php (modified) (1 diff)
-
docs/CHANGES.htm (modified) (2 diffs)
-
docs/CHANGES.txt (modified) (1 diff)
-
docs/README.txt (modified) (1 diff)
-
docs/thirdparty.txt (modified) (1 diff)
-
formatters/wakka.php (modified) (1 diff)
-
handlers/clone/clone.php (modified) (8 diffs)
-
handlers/recentchanges.xml/recentchanges.xml.php (modified) (1 prop)
-
lang/en/en.inc.php (modified) (2 diffs)
-
libs/Wakka.class.php (modified) (4 diffs)
-
setup/default.php (modified) (1 diff)
-
setup/install.php (modified) (4 diffs)
-
setup/test (modified) (1 prop)
-
templates/default/css/wikka.css (modified) (1 diff)
-
templates/kubrick/css/kubrick.css (modified) (1 diff)
-
templates/light/css/light.css (modified) (4 diffs)
-
wikka.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/1.3.1 (added) merged: 1765-1780,1782
- Property svn:mergeinfo changed
-
trunk/actions/recentcomments/recentcomments.php
- Property svn:mergeinfo changed
/branches/1.3.1/actions/recentcomments/recentcomments.php (added) merged: 1778
- Property svn:mergeinfo changed
-
trunk/actions/recentlycommented/recentlycommented.php
- Property svn:mergeinfo changed
/branches/1.3.1/actions/recentlycommented/recentlycommented.php (added) merged: 1778
- Property svn:mergeinfo changed
-
trunk/actions/usersettings/usersettings.php
r1752 r1784 162 162 $revisioncount = $user['revisioncount']; 163 163 $changescount = $user['changescount']; 164 $usertheme = ( $user['theme']!= '')? $user['theme'] : $this->GetConfigValue('theme');164 $usertheme = (isset($user['theme']) && $user['theme']!= '')? $user['theme'] : $this->GetConfigValue('theme'); 165 165 } 166 166 -
trunk/docs/CHANGES.htm
r1474 r1784 3 3 <html> 4 4 <head> 5 <title>Wikka Release Notes for Version 1. 2 (Released 01Sep2009)</title>5 <title>Wikka Release Notes for Version 1.3.1 (Released 31Mar2011)</title> 6 6 <meta http-equiv="Content-Type" content="text/html; 7 7 charset=iso-8859-1" /> … … 9 9 <body> 10 10 11 <h3>Wikka Release Notes for Version 1. 2 (Released 01Sep2009)</h3>12 For the latest WikkaWiki 1. 2 release notes, please visit <a href="http://docs.wikkawiki.org/WikkaReleaseNotes12">http://docs.wikkawiki.org/WikkaReleaseNotes12</a>11 <h3>Wikka Release Notes for Version 1.3.1 (Released 31Mar2011)</h3> 12 For the latest WikkaWiki 1.3.1 release notes, please visit <a href="http://docs.wikkawiki.org/WikkaReleaseNotes131">http://docs.wikkawiki.org/WikkaReleaseNotes131</a> 13 13 </body> 14 14 </html> -
trunk/docs/CHANGES.txt
r1554 r1784 1 **Wikka Release Notes for Version 1.3 (Released XX XXX XXXX)**1 **Wikka Release Notes for Version 1.3.1 (Released 31Mar2011)** 2 2 3 For the latest WikkaWiki 1.3 release notes, please visit4 http://docs.wikkawiki.org/WikkaReleaseNotes13 3 For the latest WikkaWiki 1.3.1 release notes, please visit 4 http://docs.wikkawiki.org/WikkaReleaseNotes131 5 5 -
trunk/docs/README.txt
r1325 r1784 26 26 - Tormod Haugen 27 27 - Olivier Borowski 28 - Yuxuan "fishy" Wang 29 - EmeraldIsland 30 - Krzysztof Trybowski 28 31 29 32 Wikka Hall of Fame -
trunk/docs/thirdparty.txt
r999 r1784 62 62 the WayBack Machine; start here: 63 63 http://web.archive.org/web/20030601150132/www.readinged.com/onyx/rss/ 64 65 Name : WikkaEdit 66 Bundled : unknown version 67 Description: Wiki editor 68 For Wikka : Featured wiki editor 69 License : GNU General Public License (GPL) 70 Home page : http://wikkawiki.org/WikkaEdit 71 Author : Olivier Borowski 72 olivier.borowski [at] wikkawiki [dot] org 73 74 Name : FeedCreator 75 Bundled : Version 1.7.2-ppt 76 Description: Flexible news feed generator 77 For Wikka : Provides feed generation functionality 78 License : GNU Lesser General Public License (LGPL) 79 Home page : unknown 80 Author : Scott Reynen (and others) 81 scott [at] randomchaos [dot] com -
trunk/formatters/wakka.php
r1752 r1784 574 574 } 575 575 // urls (see RFC 1738 <http://www.ietf.org/rfc/rfc1738.txt>) 576 elseif (preg_match("/^([a-z]+:\/\/[[:alnum:]\/?;:@&=\. -]+[[:alnum:]\/])(.*)$/", $thing, $matches))576 elseif (preg_match("/^([a-z]+:\/\/[[:alnum:]\/?;:@&=\._-]+[[:alnum:]\/])(.*)$/", $thing, $matches)) 577 577 { 578 578 $url = $matches[1]; -
trunk/handlers/clone/clone.php
r1752 r1784 10 10 * If the "Edit after creation" option is selected, the user is redirected to the 11 11 * target page for editing immediately after its creation. 12 * If the "Clone ACL" option is selected, ACL settings are copied to the target page, 13 * otherwise default ACL are applied to the new page. 12 14 * 13 15 * @package Handlers … … 16 18 * @author {@link http://wikkawiki.org/ChristianBarthelemy Christian Barthelemy} - original idea and code. 17 19 * @author {@link http://wikkawiki.org/DarTar Dario Taraborelli} - bugs fixed, code improved, removed popup alerts. 20 * @author {@link http://wikkawiki.org/BrianKoontz Brian Koontz} - clone ACL option 18 21 * @since Wikka 1.1.6.0 19 22 * … … 30 33 * 31 34 * @input string $to required: the page to be created 32 * must be a non existing page and current user must be authorized35 * must be a non existing page and current user must have privs 33 36 * to create it 34 37 * default is source page name … … 38 41 * editing on creation 39 42 * default is FALSE (to allow multiple cloning of the same source) 43 * @input boolean $cloneaclsoption optional: if true, ACLs are copied from the source page to the new page; default is false 40 44 * 41 45 * @todo Use central regex library for valid pagenames. … … 50 54 $note = sprintf(T_("Cloned from %s"), $from); 51 55 $editoption = ''; 52 $box = T_("Please fill in a valid target <tt>PageName</tt> and an (optional) edit note"); 56 $cloneaclsoption = ''; 57 $box = PLEASE_FILL_VALID_TARGET; 53 58 54 59 echo '<div id="content">'."\n"; … … 79 84 $note = isset($_POST['note']) && $_POST['note'] ? $this->GetSafeVar('note', 'post') : $note; 80 85 $editoption = (isset($_POST['editoption'])) ? ' checked="checked"' : ''; 86 $cloneaclsoption = (isset($_POST['cloneaclsoption']))? 'checked="checked"' : ''; 87 81 88 // 3. Check user's write access 82 89 if (!$this->HasAccess('write', $to)) … … 99 106 { 100 107 // 6. Valid request - proceed to page cloning 101 $thepage = $this->LoadPage($from); # load the source page 102 if ($thepage) $pagecontent = $thepage['body']; # get its content 103 $this->SavePage($to, $pagecontent, $note); #create target page 108 $thepage=$this->LoadPage($from); 109 if ($thepage) $pagecontent = $thepage['body']; 110 $this->SavePage($to, $pagecontent, $note); 111 // Clone ACLs if requested 112 if ($cloneaclsoption == 'checked="checked"') 113 { 114 echo $from; 115 $acl = $this->LoadAllACLs($from, 0); 116 var_dump($acl); 117 $this->SaveACL($to, 'read', $this->TrimACLs($acl['read_acl'])); 118 $this->SaveACL($to, 'write', $this->TrimACLs($acl['write_acl'])); 119 $this->SaveACL($to, 'comment_read', $this->TrimACLs($acl['comment_read_acl'])); 120 $this->SaveACL($to, 'comment_post', $this->TrimACLs($acl['comment_post_acl'])); 121 } 122 123 // Open editor if requested 104 124 if ($editoption == ' checked="checked"') 105 125 { … … 130 150 '<td></td>'."\n". 131 151 '<td>'."\n". 132 '<input type="checkbox" name="editoption"'.$editoption.' id="editoption" /><label for="editoption">'.T_(" Edit after creation ").'</label>'."\n". 133 '<input type="submit" name="create" value="'.T_("Clone").'" />'."\n". 152 '<input type="checkbox" name="editoption"'.$editoption.' id="editoption" /><label for="editoption">'.LABEL_EDIT_OPTION.'</label>'."\n". 153 '<input type="checkbox" name="cloneaclsoption" '.$cloneaclsoption.' id="cloneaclsoption" /><label for="cloneaclsoption">'.LABEL_ACL_OPTION.'</label>'."\n". 154 '</tr>'."\n". 155 '<tr>'."\n". 156 '<td></td>'."\n". 157 '<td>'."\n". 158 '<input type="submit" name="create" value="'.LABEL_CLONE.'" />'."\n". 134 159 '</td>'."\n". 135 160 '</tr>'."\n". -
trunk/handlers/recentchanges.xml/recentchanges.xml.php
- Property svn:mergeinfo changed
/branches/1.3.1/handlers/recentchanges.xml/recentchanges.xml.php (added) merged: 1779
- Property svn:mergeinfo changed
-
trunk/lang/en/en.inc.php
r1725 r1784 792 792 if(!defined('SEARCH_EXPANDED_LINK_DESC')) define('SEARCH_EXPANDED_LINK_DESC', 'Expanded Text Search'); // search link description 793 793 if(!defined('SEARCH_TRY_EXPANDED')) define('SEARCH_TRY_EXPANDED', 'Try the %s which shows surrounding text.'); // %s expanded search link 794 /* 795 if(!defined('SEARCH_TIPS')) define('SEARCH_TIPS', "<br /><br /><hr /><br /><strong>Search Tips:</strong><br /><br />" 796 ."<div class=\"indent\"><tt>apple banana</tt></div>" 797 ."Find pages that contain at least one of the two words. <br />" 798 ."<br />" 799 ."<div class=\"indent\"><tt>+apple +juice</tt></div>" 800 ."Find pages that contain both words. <br />" 801 ."<br />" 802 ."<div class=\"indent\"><tt>+apple -macintosh</tt></div>" 803 ."Find pages that contain the word 'apple' but not 'macintosh'. <br />" 804 ."<br />" 805 ."<div class=\"indent\"><tt>apple*</tt></div>" 806 ."Find pages that contain words such as apple, apples, applesauce, or applet. <br />" 807 ."<br />" 808 ."<div class=\"indent\"><tt>\"some words\"</tt></div>" 809 ."Find pages that contain the exact phrase 'some words' (for example, pages that contain 'some words of wisdom' <br />" 810 ."but not 'some noise words'). <br />"); 811 */ 794 812 if(!defined('SEARCH_MYSQL_IDENTICAL_CHARS')) define('SEARCH_MYSQL_IDENTICAL_CHARS', 'aàáâã,eèéêë,iìîï,oòóôõ,uùúû,cç,nñ,yý'); 795 813 if(!defined('SEARCH_WORD_1')) define('SEARCH_WORD_1', 'apple'); … … 1038 1056 if(!defined('EDIT_NOTE')) define('EDIT_NOTE', 'Edit note:'); 1039 1057 if(!defined('ERROR_ACL_READ')) define('ERROR_ACL_READ', 'You are not allowed to read the source of this page.'); 1040 if(!defined('ERROR_INVALID_PAGENAME')) define('ERROR_INVALID_PAGENAME', 'This page name is invalid. Valid page names must not contain the characters | ? = < > / \' " % or &.');1058 if(!defined('ERROR_INVALID_PAGENAME')) define('ERROR_INVALID_PAGENAME', 'This page name is invalid. Valid page names must not contain the characters: [ ] { } % + | ? = < > \' " / #x00-#x1f #x7f or ,'); 1041 1059 if(!defined('ERROR_PAGE_ALREADY_EXIST')) define('ERROR_PAGE_ALREADY_EXIST', 'Sorry, the destination page already exists'); 1042 1060 if(!defined('ERROR_PAGE_NOT_EXIST')) define('ERROR_PAGE_NOT_EXIST', ' Sorry, page %s does not exist.'); 1043 1061 if(!defined('LABEL_CLONE')) define('LABEL_CLONE', 'Clone'); 1044 1062 if(!defined('LABEL_EDIT_OPTION')) define('LABEL_EDIT_OPTION', ' Edit after creation '); 1063 if (!defined('LABEL_ACL_OPTION')) define('LABEL_ACL_OPTION', ' Clone 1064 ACL'); 1045 1065 if(!defined('PLEASE_FILL_VALID_TARGET')) define('PLEASE_FILL_VALID_TARGET', 'Please fill in a valid target <tt>PageName</tt> and an (optional) edit note.'); 1046 1066 /**#@-*/ -
trunk/libs/Wakka.class.php
r1752 r1784 2435 2435 * Check if a given string contains prohibited characters. 2436 2436 * Currently, these prohibited characters are: 2437 * | ? = < > ' " &2437 * [ ] { } % + | ? = < > ' " / 0x00-0x1f 0x7f , 2438 2438 * 2439 2439 * @param string $text mandatory: … … 2444 2444 function IsWikiName($text) 2445 2445 { 2446 $result = preg_match("/[\ |\?=<>\'\"&\/%]/", $text);2446 $result = preg_match("/[\[\]\{\}%\+\|\?=<>\'\"\/\\x00-\\x1f\\x7f,]/", html_entity_decode($text)); 2447 2447 return !$result; 2448 2448 } … … 2617 2617 if ($user = $this->GetUser()) 2618 2618 { 2619 $theme = ( $user['theme']!='')? $user['theme'] : $this->GetConfigValue('theme');2619 $theme = (isset($user['theme']) && $user['theme']!='')? $user['theme'] : $this->GetConfigValue('theme'); 2620 2620 } 2621 2621 else … … 4116 4116 function TrimACLs($list) 4117 4117 { 4118 $trimmed_list = ''; 4118 4119 foreach (explode("\n", $list) as $line) 4119 4120 { -
trunk/setup/default.php
r1754 r1784 202 202 <tr><td align="right" nowrap="nowrap">Meta Description:</td><td><input type="text" size="50" name="config[meta_description]" value="<?php if(isset($wakkaConfig["meta_description"])) echo $wakkaConfig["meta_description"] ?>" /></td></tr> 203 203 <tr><td></td><td>Choose the <em>look and feel</em> of your wiki (you'll be able to change this later).</td></tr> 204 <tr><td align="right" nowrap="nowrap">Theme:</td><td><?php SelectTheme($wakkaConfig["theme"]); /* refs #1025 */?></td></tr>205 <tr><td align="right" nowrap="nowrap">Language pack:</td><td><?php Language_selectbox($wakkaConfig["default_lang"]); /* refs #1025 */?></td></tr>204 <tr><td align="right" nowrap="nowrap">Theme:</td><td><?php SelectTheme($wakkaConfig["theme"]); ?></td></tr> 205 <tr><td align="right" nowrap="nowrap">Language pack:</td><td><?php Language_selectbox($wakkaConfig["default_lang"]); ?></td></tr> 206 206 207 207 <?php -
trunk/setup/install.php
r1754 r1784 239 239 @mysql_query('delete from '.$config['table_prefix'].'users where name = \''.$config['admin_users'].'\'', $dblink); 240 240 test(__('Adding admin user').'...', 241 @mysql_query("insert into ".$config["table_prefix"]."users 242 set name = '".$config["admin_users"]."', password = '".$pass_val."', email = '".$config["admin_email"]."', signuptime = now(), challenge='".$challenge."'", $dblink), "Hmm!", 0); 241 @mysql_query("insert into ".$config["table_prefix"]."users set name = '".$config["admin_users"]."', password = '".$pass_val."', email = '".$config["admin_email"]."', signuptime = now(), challenge='".$challenge."'", $dblink), "Hmm!", 0); 243 242 244 243 // Auto-login wiki admin … … 457 456 'WikkaConfig'), $dblink, $config, $lang_defaults_path, $lang_defaults_fallback_path, $upgrade_note); 458 457 case "1.3": 458 case "1.3.1": 459 459 // Converting DB UTF-8 (but data remains 460 460 // unchanged -- this is handled by a standalone script) … … 539 539 test('Copying existing comment_acls to new fields...', 540 540 @mysql_query("update ".$config['table_prefix']."acls as a inner join(select page_tag, comment_acl from ".$config['table_prefix']."acls) as b on a.page_tag = b.page_tag set a.comment_read_acl=b.comment_acl, a.comment_post_acl=b.comment_acl", $dblink), __('Failed').'. ?', 1); 541 test('Drop old comment acl...', 542 @mysql_query("alter table ".$config['table_prefix']."acls drop comment_acl", $dblink), __('Failed').'. ?', 1); 541 543 test(__('Creating index on owner column').'...', 542 544 @mysql_query('alter table '.$config['table_prefix'].'pages add index `idx_owner` (`owner`)', $dblink), __('Already done? OK!'), 0); … … 571 573 brute_copy("config/options_menu.user.inc", 572 574 "config/options_menu.user.inc.prev"); 575 test(__('Adding challenge field').'...', 576 @mysql_query("ALTER TABLE ".$config['table_prefix']."users ADD challenge VARCHAR( 8 ) NOT NULL default ''", $dblink), __('Already done? OK!'), 0); 573 577 } 574 578 -
trunk/setup/test
- Property svn:mergeinfo changed
/branches/1.3.1/setup/test (added) merged: 1779
- Property svn:mergeinfo changed
-
trunk/templates/default/css/wikka.css
r1668 r1784 201 201 text-decoration: none; 202 202 color: #333; 203 }204 205 #content h1:hover:after,206 #content h2:hover:after,207 #content h3:hover:after,208 #content h4:hover:after,209 #content h5:hover:after,210 #content h6:hover:after {211 color: #aaa; content: "\0020\0020\00b6";212 203 } 213 204 -
trunk/templates/kubrick/css/kubrick.css
r1702 r1784 192 192 a.keys { 193 193 text-decoration: none; 194 }195 196 #content h1:hover:after,197 #content h2:hover:after,198 #content h3:hover:after,199 #content h4:hover:after,200 #content h5:hover:after,201 #content h6:hover:after {202 color: #aaa; content: "\0020\0020\00b6";203 194 } 204 195 -
trunk/templates/light/css/light.css
r1755 r1784 235 235 } 236 236 237 #content h1:hover:after,238 #content h2:hover:after,239 #content h3:hover:after,240 #content h4:hover:after,241 #content h5:hover:after,242 #content h6:hover:after {243 color: #aaa; content: "\0020\0020\00b6";244 }245 246 237 #content a.heading { 247 238 line-height: inherit; … … 383 374 384 375 #content h1 { 385 font: normal 18pt/20pt Arial, "DejaVu Sans", Helvetica, Verdana, sans-serif;376 font: normal 18pt/20pt Arial, "DejaVu Sans", Helvetica, Verdana, sans-serif; 386 377 margin: 0pt; 387 378 color: #666; … … 392 383 393 384 #content h2 { 394 font: normal 16pt/18pt Arial, "DejaVu Sans", Helvetica, Verdana, sans-serif;385 font: normal 16pt/18pt Arial, "DejaVu Sans", Helvetica, Verdana, sans-serif; 395 386 margin: 0pt; 396 387 color: #666; … … 529 520 border-left: 1px solid #AAC; 530 521 border-bottom: none; 531 font-family: Verdana, Arial, "DejaVu Sans", Helvetica, sans-serif;522 font-family: Arial, Verdana, "DejaVu Sans", Helvetica, sans-serif; 532 523 font-size: 100%; 533 524 padding: 0 3px; -
trunk/wikka.php
r1752 r1784 35 35 36 36 // ---------------------- DEBUGGING AND ERROR REPORTING ----------------------- 37 error_reporting(E_ALL); 38 //error_reporting (E_ALL & E_NOTICE & E_DEPRECATED); 37 if(version_compare(phpversion(),'5.3','<')) 38 error_reporting(E_ALL); 39 else 40 error_reporting(E_ALL & !E_DEPRECATED); 39 41 // ---------------------- END DEBUGGING AND ERROR REPORTING ------------------- 40 42 … … 482 484 483 485 // is authentification given? 486 $ask = false; 484 487 if (isset($_SERVER["PHP_AUTH_USER"])) { 485 488 if (!(($_SERVER["PHP_AUTH_USER"] == "admin") && ($_SERVER["PHP_AUTH_PW"] == $lockpw))) { 486 $ask = 1;489 $ask = true; 487 490 } 488 491 } else { 489 $ask = 1;492 $ask = true; 490 493 } 491 494