Changeset 736

Show
Ignore:
Timestamp:
10/03/2007 05:56:11 AM (3 years ago)
Author:
JavaWoman
Message:

Cleanup

  • All line endings now UNIX (a lot were still Windows/DOS or even Mixed - no thanks to Eclipse)
  • (where I spotted it) removed double role of # EOL comment and ticket number
  • (minor) whitespace
Location:
trunk/actions
Files:
40 modified

Legend:

Unmodified
Added
Removed
  • trunk/actions/backlinks/backlinks.php

    r369 r736  
    1 <?php 
     1<?php 
    22/** 
    33 * Display the pages linking to the current page. 
    4  *  
    5  * If there is at least one other page in the wiki, which links to  
    6  * the current page, the name(s) are shown as a simple list,  
     4 * 
     5 * If there is at least one other page in the wiki, which links to 
     6 * the current page, the name(s) are shown as a simple list, 
    77 * ordered alphabetically. 
    8  *  
     8 * 
    99 * @package             Actions 
    1010 * @version             $Id$ 
    11  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
     11 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    1212 * @filesource 
    13  *  
     13 * 
    1414 * @output      a list of the pages linking to the page 
    1515 * @uses        Wakka::Link() 
  • trunk/actions/calendar/calendar.php

    r369 r736  
    1616 * This action was inspired mainly by the "Calendar Menu" code written by 
    1717 * {@link http://www.blazonry.com/about.php Marcus Kazmierczak} 
    18  * (© 1998-2002 Astonish Inc.) which we traced back as being the ultimate origin of this code 
     18 * (© 1998-2002 Astonish Inc.) which we traced back as being the ultimate origin of this code 
    1919 * although our starting point was actually a (probably second-hand) variant found on the web which 
    2020 * did not contain any attribution. 
  • trunk/actions/category/category.php

    r633 r736  
    1 <?php 
     1<?php 
    22/** 
    33 * Shows the pages and subcategories belonging to a category. 
  • trunk/actions/color/color.php

    r583 r736  
    1 <?php 
     1<?php 
    22/** 
    33* Render a string as colored text. 
     
    4949                if (!defined ('PATTERN_VALID_HEX_COLOR')) define('PATTERN_VALID_HEX_COLOR', '#(?>[\da-f]{3}){1,2}'); 
    5050                if (!defined ('PATTERN_VALID_RGB_COLOR')) define('PATTERN_VALID_RGB_COLOR', 'rgb\(\s*\d+((?>\.\d*)?%)?\s*(?>,\s*\d+(?(1)(\.\d*)?%)\s*){2}\)'); 
    51                 $htlm_color_names = array('aliceblue', 'antiquewhite', 'aqua', 'aquamarine', 'azure', 'beige', 'bisque', 'black', 'blanchedalmond', 'blue', 
     51                $html_color_names = array('aliceblue', 'antiquewhite', 'aqua', 'aquamarine', 'azure', 'beige', 'bisque', 'black', 'blanchedalmond', 'blue', 
    5252                'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflower', 'cornsilk', 'crimson', 'cyan', 
    5353                'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 
     
    6767                'threeddarkshadow', 'threedface', 'threedhighlight', 'threedlightshadow', 'threedshadow', 'window', 'windowframe', 'windowtext'); 
    6868                $syntax = trim(strtolower($syntax)); 
    69                 if (in_array($syntax, $htlm_color_names)) 
     69                if (in_array($syntax, $html_color_names)) 
    7070                { 
    7171                        return($syntax); 
     
    8787if (is_array($vars)) 
    8888{ 
    89         foreach ($vars as $param => $value)  
     89        foreach ($vars as $param => $value) 
    9090        { 
    9191                if ($param == 'text') 
  • trunk/actions/colour/colour.php

    r684 r736  
    1 <?php  
     1<?php 
    22/** 
    33 * Synonym for color.php. 
    4  *  
     4 * 
    55 * @see                 color.php 
    6  *  
     6 * 
    77 * @package             Actions 
    88 * @version             $Id:colour.php 369 2007-03-01 14:38:59Z DarTar $ 
    9  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
     9 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    1010 * @filesource 
    1111 */ 
  • trunk/actions/contact/contact.php

    r369 r736  
    1 <?php 
     1<?php 
    22/** 
    3  * Print a spam-safe mailto: link to the administrator's email address.  
    4  *  
     3 * Print a spam-safe mailto: link to the administrator's email address. 
     4 * 
    55 * @package             Actions 
    66 * @version             $Id$ 
    7  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
     7 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    88 * @filesource 
    9  *  
     9 * 
    1010 * @uses        Wakka::GetConfigValue() 
    1111 */ 
     
    1515// print spam-safe mailto link 
    1616$patterns = array("'@'", "'\.'"); 
    17 $replace = array("[at]", "[dot]");  
     17$replace = array("[at]", "[dot]"); 
    1818echo '<a href="mailto:'.preg_replace($patterns, $replace, $email).'" title="'.SEND_FEEDBACK_LINK_TITLE.'">'.SEND_FEEDBACK_LINK_TEXT.'</a>'; 
    1919 
  • trunk/actions/countcomments/countcomments.php

    r531 r736  
    1 <?php 
     1<?php 
    22/** 
    33 * Print total number of comments in this wiki. 
    4  *  
     4 * 
    55 * @package             Actions 
    66 * @version     $Id$ 
    7  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
     7 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    88 * @filesource 
    9  *  
     9 * 
    1010 * @uses        Wakka::getCount() 
    1111 */ 
  • trunk/actions/countowned/countowned.php

    r616 r736  
    1 <?php 
     1<?php 
    22/** 
    33 * Print number of pages owned by the current user. 
    4  *  
     4 * 
    55 * @package             Actions 
    66 * @version             $Id$ 
    77 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    88 * @filesource 
    9  *  
     9 * 
    1010 * @uses        Wakka::GetUserName() 
    1111 * @uses        Wakka::getCount() 
  • trunk/actions/countpages/countpages.php

    r531 r736  
    1 <?php 
    2 /**  
     1<?php 
     2/** 
    33 * Print the total number of pages in this wiki. 
    4  *  
     4 * 
    55 * @package             Actions 
    66 * @version             $Id$ 
    7  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
     7 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    88 * @filesource 
    9  *  
     9 * 
    1010 * @uses        Wakka::getCount() 
    1111 * @uses        Wakka::Link() 
  • trunk/actions/countusers/countusers.php

    r531 r736  
    1 <?php 
     1<?php 
    22/** 
    33 * Print number of registered users. 
    4  *  
     4 * 
    55 * @package             Actions 
    66 * @version             $Id$ 
    7  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
     7 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    88 * @filesource 
    9  *  
     9 * 
    1010 * @uses        Wakka::getCount() 
    11  */  
     11 */ 
    1212 
    1313echo $this->getCount('users'); 
  • trunk/actions/emailpassword/emailpassword.php

    r700 r736  
    1 <?php 
    2 /**  
     1<?php 
     2/** 
    33 * Send the user a reminder with the md5 checksum of his or her password via email. 
    4  *  
     4 * 
    55 * @package             Actions 
    66 * @version             $Id:emailpassword.php 369 2007-03-01 14:38:59Z DarTar $ 
    7  * @license http://comawiki.martignier.net/LizenzenUndBedingungen 
    8  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
     7 * @license             http://comawiki.martignier.net/LizenzenUndBedingungen 
     8 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    99 * @filesource 
    10  *   
     10 * 
    1111 * @author      {@link http://comawiki.martignier.net Costal Martignier} initial action 
    1212 * @author      {@link http://wikkawiki.org/NilsLindenberg Nils Lindenberg} rewritten 
    1313 * @author      {@link http://wikkawiki.org/DarTar Dario Taraborelli} further cleanup, error styling and improved logical structure 
    14  *  
     14 * 
    1515 * @uses        Wakka::Format() 
    1616 * @uses        Wakka::loadUserData() 
    1717 * @uses        Wakka::FormOpen() 
    1818 * @uses        Wakka::FormClose() 
    19  */  
     19 */ 
    2020 
    2121/** 
     
    4040        #$user = $this->LoadUser($input); 
    4141        $user = $this->loadUserData($input); 
    42          
     42 
    4343        switch(TRUE) 
    4444        { 
     
    6363                                $output .= $this->Format(sprintf(USERSETTINGS_REF,$usersettings_wlink)); 
    6464                        } 
    65                         else  
     65                        else 
    6666                        { 
    6767                                $output .= '<em class="error">'.ERROR_MAIL_NOT_SENT.'</em><br />'."\n"; 
     
    8181        $output .= '<input type="submit" value="'.BUTTON_SEND_PW.'" />'."\n"; 
    8282        $output .= '</fieldset>'."\n"; 
    83         $output .= $this->FormClose();    
     83        $output .= $this->FormClose(); 
    8484} 
    8585 
  • trunk/actions/files/files.php

    r719 r736  
    22/** 
    33 * Display a form with file attachments to the current page. 
    4  *  
    5  * This actions displays a form allowing users to download files uploaded to wiki pages. By default only  
     4 * 
     5 * This actions displays a form allowing users to download files uploaded to wiki pages. By default only 
    66 * wiki admins can upload and delete files. If the intranet mode option is enabled, any user with write access 
    7  * to the current page can upload or remove file attachments. If the optional download parameter is set, a simple  
     7 * to the current page can upload or remove file attachments. If the optional download parameter is set, a simple 
    88 * download link is displayed for the specified file. 
    99 * 
     
    1212 * @package             Actions 
    1313 * @version             $Id:files.php 369 2007-03-01 14:38:59Z DarTar $ 
    14  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
     14 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    1515 * @filesource 
    16  *  
     16 * 
    1717 * @author Victor Manuel Varela (original code) 
    1818 * @author {@link http://wikkawiki.org/CryDust CryDust} (code overhaul, stylesheet) 
    1919 * @author {@link http://wikkawiki.org/DarTar Dario Taraborelli} (code cleanup, defaults, i18n, added intranet mode) 
    2020 * @author {@link http://wikkawiki.org/NilsLindenberg Nils Lindenberg} (i18n) 
    21  *  
     21 * 
    2222 * @input       string  $download       optional: prints a link to the file specified in the string 
    2323 *                      string  $text           optional: a text for the link provided with the download parameter 
     
    3232 * @todo security: check file type, not only extension 
    3333 * @todo use buttons instead of links for file deletion; #72 comment 7 
    34  * @todo similarly replace download link with POST form button -> files handler  
     34 * @todo similarly replace download link with POST form button -> files handler 
    3535 *               can then use only $_POST instead of $_GET 
    3636 * @todo replace $_REQUEST in files handler with $_POST / $_GET; #72, #312 
     
    4141 * @todo add support for file versioning; 
    4242 * @todo add (AJAX-powered?) confirmation check on file deletion; 
    43  * @todo integrate file table in page template, à la Wacko; 
     43 * @todo integrate file table in page template, a la Wacko; 
    4444 */ 
    4545 
     
    5757if(!defined('MAX_UPLOAD_SIZE')) define('MAX_UPLOAD_SIZE', 2097152); 
    5858/** Pipe-separated list of allowed file extensions */ 
    59 if(!defined('ALLOWED_FILE_EXTENSIONS')) define('ALLOWED_FILE_EXTENSIONS', 'gif|jpeg|jpg|jpe|png|doc|xls|csv|ppt|ppz|pps|pot|pdf|asc|txt|zip|gtar|gz|bz2|tar|rar|vpp|mpp|vsd|mm|htm|html'); #34 
     59if(!defined('ALLOWED_FILE_EXTENSIONS')) define('ALLOWED_FILE_EXTENSIONS', 'gif|jpeg|jpg|jpe|png|doc|xls|csv|ppt|ppz|pps|pot|pdf|asc|txt|zip|gtar|gz|bz2|tar|rar|vpp|mpp|vsd|mm|htm|html'); # #34 
    6060/** Displayed date format */ 
    61 if(!defined('UPLOAD_DATE_FORMAT')) define('UPLOAD_DATE_FORMAT', 'Y-m-d H:i'); //TODO use general config settings for date format  
     61if(!defined('UPLOAD_DATE_FORMAT')) define('UPLOAD_DATE_FORMAT', 'Y-m-d H:i'); //TODO use general config settings for date format 
    6262/** Sort routines */ 
    6363if(!defined('SORT_BY_FILENAME')) define('SORT_BY_FILENAME', 'filename'); 
     
    9393        { 
    9494                global $wakka; 
    95                 switch(TRUE)  
     95                switch(TRUE) 
    9696                { 
    9797                        case ($wakka->IsAdmin()): 
     
    113113        function mkdir_r ($dir) 
    114114        { 
    115                 if (strlen($dir) == 0)  
     115                if (strlen($dir) == 0) 
    116116                { 
    117117                        return 0; 
    118118                } 
    119                 if (is_dir($dir))  
     119                if (is_dir($dir)) 
    120120                { 
    121121                        return 1; 
     
    170170        $this->SetConfigValue('upload_path','files'); 
    171171} 
    172 $upload_path = $this->GetConfigValue('upload_path').DIRECTORY_SEPARATOR.$this->tag; #89 
     172$upload_path = $this->GetConfigValue('upload_path').DIRECTORY_SEPARATOR.$this->tag; # #89 
    173173 
    174174// 1. check if main upload path is writable 
     
    185185if (isset($vars['download'])) 
    186186{ 
    187         if (file_exists($upload_path.DIRECTORY_SEPARATOR.$vars['download'])) #89 
     187        if (file_exists($upload_path.DIRECTORY_SEPARATOR.$vars['download'])) # #89 
    188188        { 
    189189                if (!isset($vars['text'])) 
     
    220220        // get upload results 
    221221        #if ($is_writable && isset($_POST['action']) && $_POST['action'] == 'upload' && userCanUpload()) #38 
    222         if ($is_writable && isset($_POST['upload']) && $_POST['upload'] == 'Upload' && userCanUpload()) #38 #i18n 
     222        if ($is_writable && isset($_POST['upload']) && $_POST['upload'] == 'Upload' && userCanUpload()) # #38 #i18n 
    223223        { 
    224224                switch ($_FILES['file']['error']) 
     
    261261                        case UPLOAD_ERR_INI_SIZE: 
    262262                        case UPLOAD_ERR_FORM_SIZE: 
    263                                 $error_msg = sprintf(ERROR_FILE_TOO_BIG, bytesToHumanReadableUsage($max_upload_size));  
     263                                $error_msg = sprintf(ERROR_FILE_TOO_BIG, bytesToHumanReadableUsage($max_upload_size)); 
    264264                                break; 
    265265                        case UPLOAD_ERR_PARTIAL: 
     
    284284// 4. display attached files table 
    285285if (is_readable($upload_path)) 
    286 {  
     286{ 
    287287        $is_readable = TRUE; 
    288288        $dir = opendir($upload_path); 
     
    313313                $sortby = $_GET['sortby']; 
    314314        } 
    315         switch($sortby)  
    316         { 
    317                 case SORT_BY_DATE :  
     315        switch($sortby) 
     316        { 
     317                case SORT_BY_DATE : 
    318318                        array_multisort($dateArr, SORT_ASC, SORT_NUMERIC, $filenameArr, $sizeArr); 
    319319                        break; 
    320                 case SORT_BY_SIZE :  
     320                case SORT_BY_SIZE : 
    321321                        array_multisort($sizeArr, SORT_ASC, SORT_NUMERIC, $filenameArr, $dateArr); 
    322322                        break; 
    323                 case SORT_BY_FILENAME:  
     323                case SORT_BY_FILENAME: 
    324324                default: 
    325325                        array_multisort($filenameArr, SORT_ASC, SORT_STRING, $dateArr, $sizeArr); 
     
    343343                $download_link = '<a href="' .$this->Href('files.xml',$this->tag,'action=download&amp;file='.rawurlencode($file)) 
    344344                        .'" title="'.sprintf(DOWNLOAD_LINK_TITLE, $file).'">'.urldecode($file).'</a>'; 
    345                 $size = bytesToHumanReadableUsage($filesize); #89 
    346                 $date = date(UPLOAD_DATE_FORMAT, $filedate); #89 
     345                $size = bytesToHumanReadableUsage($filesize); # #89 
     346                $date = date(UPLOAD_DATE_FORMAT, $filedate); # #89 
    347347 
    348348                $output_files .= '<tr>'."\n"; 
     
    383383else 
    384384{ 
    385         echo '<div class="alertbox">'.sprintf(ERROR_UPLOAD_DIRECTORY_NOT_READABLE, '<tt>'.$upload_path.'</tt>').'</div>'; #89 
     385        echo '<div class="alertbox">'.sprintf(ERROR_UPLOAD_DIRECTORY_NOT_READABLE, '<tt>'.$upload_path.'</tt>').'</div>'; # #89 
    386386 
    387387} 
  • trunk/actions/flash/flash.php

    r639 r736  
    1 <?php 
     1<?php 
    22/** 
    33 * Embed a Flash object in a wiki page. 
    4  *  
     4 * 
    55 * Example: {{flash url="http://example.com/example.swf" [width=x] [height=x]}} 
    66 * 
     
    1010 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    1111 * @filesource 
    12  *  
     12 * 
    1313 * @uses                Wakka::cleanUrl() 
    1414 * @uses                Wakka::StaticHref() 
  • trunk/actions/geshiversion/geshiversion.php

    r685 r736  
    1 <?php 
     1<?php 
    22/** 
    33 * Display current GeSHi version. 
     
    55 * @package             Actions 
    66 * @version             $Id$ 
    7  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
     7 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    88 * @filesource 
    99 * 
  • trunk/actions/googleform/googleform.php

    r717 r736  
    1 <?php 
     1<?php 
    22/** 
    33 * Display a searchbox for searching google. 
     
    3737 
    3838// *** param section *** 
    39 if (is_array($vars))  
     39if (is_array($vars)) 
    4040{ 
    41         foreach ($vars as $param => $value)  
     41        foreach ($vars as $param => $value) 
    4242        { 
    4343                if ($param == 'q') 
     
    6161?> 
    6262<form action="http://www.google.com/search" method="get" target="_blank"> 
    63         <input type="text" value="<?php echo $query; ?>" name="q" size="30" maxlength="2048" class="WBselectonfocus" />  
     63        <input type="text" value="<?php echo $query; ?>" name="q" size="30" maxlength="2048" class="WBselectonfocus" /> 
    6464        <input name="btnG" type="submit" value="<?php echo GOOGLE_BUTTON;?>" /> 
    6565<?php echo $this->FormClose(); ?> 
  • trunk/actions/highscores/highscores.php

    r641 r736  
    1 <?php 
     1<?php 
    22/** 
    33 * Displays a list of users, ranked after their ownership of pages in the wiki. 
    4  *  
     4 * 
    55 * @package             Actions 
    66 * @version             $Id$ 
    7  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
     7 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    88 * @filesource 
    99 * 
    1010 * @author      Chris Tessmer (19 Dec 2002) 
    11  *  
     11 * 
    1212 * @uses        Wakka::Query() 
    1313 * @uses        Wakka::getCount() 
     
    3030$i = 0; 
    3131while($row = mysql_fetch_array($rankQuery)) 
    32 {  
    33     $i++; 
    34     $str = '<tr>'; 
    35     $str .= "<td>$i.&nbsp;</td>"; 
    36     $str .= '<td>'.$this->Link($row["name"]).'</td>'; 
    37     $str .= '<td> </td>'; 
    38     $str .= '<td> &nbsp;&nbsp;&nbsp;</td>'; 
    39     $str .= '<td>'.$row["cnt"].'</td>'; 
    40     $str .= '<td> &nbsp;&nbsp;&nbsp;</td>'; 
    41     $str .= '<td>'.round(($row["cnt"]/$total)*100, 2).'% </td>'; 
    42     $str .= '</tr>'; 
    43     print($str); 
     32{ 
     33        $i++; 
     34        $str = '<tr>'; 
     35        $str .= "<td>$i.&nbsp;</td>"; 
     36        $str .= '<td>'.$this->Link($row["name"]).'</td>'; 
     37        $str .= '<td> </td>'; 
     38        $str .= '<td> &nbsp;&nbsp;&nbsp;</td>'; 
     39        $str .= '<td>'.$row["cnt"].'</td>'; 
     40        $str .= '<td> &nbsp;&nbsp;&nbsp;</td>'; 
     41        $str .= '<td>'.round(($row["cnt"]/$total)*100, 2).'% </td>'; 
     42        $str .= '</tr>'; 
     43        print($str); 
    4444} 
    4545print("</table></blockquote>"); 
  • trunk/actions/image/image.php

    r642 r736  
    1 <?php 
     1<?php 
    22/** 
    33 * Display an image. 
    4  *  
     4 * 
    55 * @package             Actions 
    66 * @version             $Id$ 
    7  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
     7 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    88 * @filesource 
    9  *  
     9 * 
    1010 * @uses        Wakka::Link() 
    1111 * @uses        Wakka::ReturnSafeHTML() 
     
    2929if (is_array($vars)) 
    3030{ 
    31     foreach ($vars as $param => $value) 
    32     { 
    33         if ($param == 'src' and $vars['url'] == '') {$vars['url']=$value;} 
    34         if ($param == 'title') {$title = $this->htmlspecialchars_ent($vars['title']);} 
    35         if ($param == 'class') {$class = $this->htmlspecialchars_ent($vars['class']);} 
    36         if ($param == 'alt') {$alt = $this->htmlspecialchars_ent($vars['alt']);} 
    37         if ($param == 'link') {$link = $this->htmlspecialchars_ent($vars['link']);} 
     31        foreach ($vars as $param => $value) 
     32        { 
     33                if ($param == 'src' and $vars['url'] == '') {$vars['url']=$value;} 
     34                if ($param == 'title') {$title = $this->htmlspecialchars_ent($vars['title']);} 
     35                if ($param == 'class') {$class = $this->htmlspecialchars_ent($vars['class']);} 
     36                if ($param == 'alt') {$alt = $this->htmlspecialchars_ent($vars['alt']);} 
     37                if ($param == 'link') {$link = $this->htmlspecialchars_ent($vars['link']);} 
    3838        } 
    3939} 
  • trunk/actions/include/include.php

    r623 r736  
    1 <?php 
     1<?php 
    22/** 
    33 * Include another wikipage. 
    4  *  
     4 * 
    55 * Circular references are detected and prevented. This action sets a value $this->_included_page 
    66 * which holds the name of the page being included. If such page, when formatted, needs the name 
     
    1616 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    1717 * @filesource 
    18  *  
     18 * 
    1919 * @uses        Wakka::HasAccess() 
    2020 * @uses        Wakka::LoadPage() 
     
    5353if (!in_array($page, $this->included_pages)) 
    5454{ 
    55         if ($this->HasAccess('read', $page))  
     55        if ($this->HasAccess('read', $page)) 
    5656        { 
    5757                $this->included_pages[] = $page; 
     
    6262                unset($this->_included_page); 
    6363        } 
    64 }  
     64} 
    6565else 
    6666{ 
  • trunk/actions/interwikilist/interwikilist.php

    r369 r736  
    1 <?php 
     1<?php 
    22/** 
    33 * Echos the list of InterWiki shortcuts. 
    4  *  
     4 * 
    55 * @package             Actions 
    66 * @version             $Id$ 
    77 * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    88 * @filesource 
    9  *  
     9 * 
    1010 * @uses                Wakka::Format 
    1111 */ 
  • trunk/actions/lastedit/lastedit.php

    r700 r736  
    1 <?php 
     1<?php 
    22/** 
    33 * Display a box with information on the last edit. 
     
    55 * @package             Actions 
    66 * @version             $Id:lastedit.php 369 2007-03-01 14:38:59Z DarTar $ 
    7  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
     7 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    88 * @filesource 
    99 * 
     
    2525 * @uses        Wakka::htmlspecialchars_ent() 
    2626 * @uses        Wakka::FormatUser() 
    27  *  
     27 * 
    2828 * @todo                make date/time format system-configurable; 
    2929 */ 
     
    4040define('LASTEDIT_NOTES', 'lastedit_notes'); 
    4141 
    42 if (!isset($show))  
     42if (!isset($show)) 
    4343{ 
    4444        $show = DEFAULT_SHOW; 
    4545} 
    4646 
    47 if ($this->handler == 'show')  
     47if ($this->handler == 'show') 
    4848{ 
    4949        $page = $this->page; 
     
    6868                $this->htmlspecialchars_ent($page['note']).'</span>' : ''; 
    6969 
    70                 default:         
     70                default: 
    7171        } 
    7272        echo '<div class="'.LASTEDIT_BOX.'">'.sprintf(LASTEDIT_DESC, $user).$note.'<br /> '.$dateformatted.' '.$timeformatted.$difflink.'</div>'; 
  • trunk/actions/lastusers/lastusers.php

    r686 r736  
    1 <?php 
     1<?php 
    22/** 
    33 * Display a list of newly registered users. 
    4  *  
     4 * 
    55 * @package             Actions 
    66 * @version             $Id:lastusers.php 369 2007-03-01 14:38:59Z DarTar $ 
    77 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    88 * @filesource 
    9  *  
     9 * 
    1010 * @uses        Wakka::LoadAll() 
    1111 * @uses        Wakka::getCount() 
    1212 * @uses        Wakka::Link() 
    13  *  
     13 * 
    1414 * @todo        document usage and parameters 
    1515 * @todo        needs to be rewritten following coding guidelines; 
     
    3232  "<caption>".LASTUSERS_CAPTION."</caption>"."\n". 
    3333  "  <tr>\n". 
    34     "    <th>".NAME_TH."</th>\n". 
    35     "    <th>".OWNED_PAGES_TH."</th>\n". 
    36     "    <th>".SIGNUP_DATE_TIME_TH."</th>\n". 
     34        "    <th>".NAME_TH."</th>\n". 
     35        "    <th>".OWNED_PAGES_TH."</th>\n". 
     36        "    <th>".SIGNUP_DATE_TIME_TH."</th>\n". 
    3737  "  </tr>\n"; 
    3838 
  • trunk/actions/license/license.php

    r685 r736  
    33 * Display the full text of a license. 
    44 * 
    5  * This action displays the full text of a number of licenses. The license type  
     5 * This action displays the full text of a number of licenses. The license type 
    66 * can be specified through a $type action parameter. 
    77 * 
     
    1111 * @since               Wikka 1.1.7 
    1212 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    13  * @filesource  
     13 * @filesource 
    1414 *  * 
    1515 * @uses                Wakka::Format() 
     
    6262        $license_text = LGPL_FULL_TEXT; 
    6363        break; 
    64                  
     64 
    6565        default: 
    6666        case 'GPL': 
  • trunk/actions/mindmap/mindmap.php

    r685 r736  
    1 <?php 
     1<?php 
    22/** 
    33 * Embed a mindmap in the current page. 
    4  *  
     4 * 
    55 * @package             Actions 
    66 * @version             $Id$ 
    7  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
     7 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    88 * @filesource 
    9  *  
     9 * 
    1010 * @uses        Wakka::cleanUrl() 
    1111 * @uses        Wakka::htmlspecialchars_ent() 
     
    4141 
    4242// output 
    43 if ($mindmap_url)  
     43if ($mindmap_url) 
    4444{ 
    4545        // set up template variables 
    4646        $jre_download_link = '<a href="'.WIKKA_JRE_DOWNLOAD_URL.'">'.WIKKA_JRE_LINK_DESC.'</a>'; 
    4747        $jre_install_req = sprintf(MM_JRE_INSTALL_REQ,$jre_download_link); 
    48         $jre_install_req_js = str_replace(array('\\', '\'', "\r", "\n"), array('\\\\', '\\\'', '', '\\n'), $jre_install_req);    
     48        $jre_install_req_js = str_replace(array('\\', '\'', "\r", "\n"), array('\\\\', '\\\'', '', '\\n'), $jre_install_req); 
    4949        $freemind_link = '<a href="'.FREEMIND_PROJECT_URL.'">Freemind</a>'; 
    5050 
     
    8989        // display template 
    9090        echo $mm_template; 
    91 }  
    92 else  
     91} 
     92else 
    9393{ 
    9494        echo '<em class="error">'.ERROR_INVALID_MM_SYNTAX.'<br />'.sprintf(PROPER_USAGE_MM_SYNTAX,SAMPLE_SYNTAX1,SAMPLE_SYNTAX2).'</em>'; 
  • trunk/actions/mychanges/mychanges.php

    r700 r736  
    1 <?php 
     1<?php 
    22/** 
    33 * Display a list of pages edited by the current user. 
    4  *  
    5  * If the current user is logged-in and has edited at least one page, a list of pages edited by the current user  
     4 * 
     5 * If the current user is logged-in and has edited at least one page, a list of pages edited by the current user 
    66 * is displayed, ordered alphabetically or by date and time (last edit first). 
    7  *  
     7 * 
    88 * @package             Actions 
    99 * @version             $Id:mychanges.php 369 2007-03-01 14:38:59Z DarTar $ 
    1010 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    1111 * @filesource 
    12  *  
     12 * 
    1313 * @author      {@link http://web.archive.org/web/20040616194824/http://www.wakkawiki.com/CarloZottmann Carlo Zottmann} 
    1414 * @author      {@link http://wikkawiki.org/NilsLindenberg Nils Lindenberg} (rewrite, i18n) 
    15  *  
     15 * 
    1616 * @uses        Wakka::existsUser() 
    1717 * @uses        Wakka::GetUserName() 
     
    6060                        AND latest = 'Y' 
    6161                ORDER BY ".$order; 
    62          
     62 
    6363        if ($pages = $this->LoadAll($query)) 
    6464        { 
    6565                $current = ''; 
    66                  
     66 
    6767                // build the list of pages 
    68                 foreach ($pages as $page)  
     68                foreach ($pages as $page) 
    6969                { 
    7070                        // order alphabetically 
     
    7777                                } 
    7878 
    79                                 if ($firstChar != $current)  
     79                                if ($firstChar != $current) 
    8080                                { 
    8181                                        if ($current) $output .= "<br />\n"; 
  • trunk/actions/mypages/mypages.php

    r700 r736  
    1 <?php 
     1<?php 
    22/** 
    33 * Display a list of pages owned by the current user. 
    4  *  
     4 * 
    55 * If the current user is logged-in and owns at least one page, a list of pages owned by the current user 
    66 * is displayed, ordered alphabetically or by date and time (last edit first). 
     
    1616 * @uses        Wakka::existsUser() 
    1717 * @uses        Wakka::LoadPagesByOwner() 
    18  * @uses        Wakka::GetUserName()  
     18 * @uses        Wakka::GetUserName() 
    1919 * @uses        Wakka::Link() 
    2020 * @todo        fix RE (#104 etc.); also lose the comma in there! 
     
    3434                foreach ($pages as $page) 
    3535                { 
    36                         //if ($this->GetUserName() == $page["owner"])  
     36                        //if ($this->GetUserName() == $page["owner"]) 
    3737                        //{ 
    3838                                $firstChar = strtoupper($page["tag"][0]); 
     
    4242                                } 
    4343 
    44                                 if ($firstChar != $curChar)  
     44                                if ($firstChar != $curChar) 
    4545                                { 
    4646                                        if ($curChar) print("<br />\n"); 
     
    5050 
    5151                                echo $this->Link($page['tag'])."<br />\n"; 
    52                                  
     52 
    5353                        //} 
    5454                } 
    55                  
     55 
    5656        } 
    5757        else 
  • trunk/actions/mysqlversion/mysqlversion.php

    r369 r736  
    1 <?php 
     1<?php 
    22/** 
    33 * Display current MySQL version. 
    4  *  
     4 * 
    55 * @package     Actions 
    66 * @version     $Id$ 
  • trunk/actions/newpage/newpage.php

    r507 r736  
    22/** 
    33 * Display a form to create a new page. 
    4  *  
    5  * @package Actions 
     4 * 
     5 * @package     Actions 
    66 * @version     $Id:newpage.php 369 2007-03-01 14:38:59Z DarTar $ 
    7  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
     7 * @license     http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    88 * @filesource 
    9  *  
     9 * 
    1010 * @author      {@link http://www.comawiki.org/CoMa.php?CoMa=Costal_Martignier Costal Martignier} (initial version) 
    1111 * @author      {@link http://wikkawiki.org/JsnX JsnX} (modified 2005-1-17) 
    1212 * @author      {@link http://wikkawiki.org/JavaWoman JavaWoman} (modified 2005-1-17) 
    13  *  
     13 * 
    1414 * @uses        Wakka::Redirect() 
    1515 * @uses        Wakka::FormOpen() 
    1616 * @uses        Wakka::FormClose() 
    1717 * @filesource 
    18  *  
     18 * 
    1919 * @todo user central regex library #34 
    2020 */ 
     
    2626        $pagename = $_POST['pagename']; 
    2727 
    28         if (!(preg_match("/^[A-ZÄÖÜ]+[a-zßäöü]+[A-Z0-9ÄÖÜ][A-Za-z0-9ÄÖÜßäöü]*$/s", $pagename))) #34 (use !IsWikiName())  
     28        if (!(preg_match("/^[A-ZÄÖÜ]+[a-zßäöü]+[A-Z0-9ÄÖÜ][A-Za-z0-9ÄÖÜßäöü]*$/s", $pagename))) #34 (use !IsWikiName()) 
    2929        { 
    3030                echo '<em class="error">'.sprintf(WIKKA_ERROR_INVALID_PAGE_NAME, $pagename).'</em>'; 
     
    3232        else if ($this->ExistsPage($pagename)) 
    3333        { 
    34                 echo '<em class="error">'.WIKKA_ERROR_PAGE_ALREADY_EXIST.'</em>';                
     34                echo '<em class="error">'.WIKKA_ERROR_PAGE_ALREADY_EXIST.'</em>'; 
    3535        } 
    36         else  
     36        else 
    3737        { 
    3838                $url = $this->Href('edit', $pagename); 
     
    4646        <?php echo $this->FormOpen(); ?> 
    4747                <fieldset class="newpage"><legend><?php echo NEWPAGE_CREATE_LEGEND; ?></legend> 
    48                 <input type="text" name="pagename" size="40" value="<?php echo $pagename; ?>" />   
     48                <input type="text" name="pagename" size="40" value="<?php echo $pagename; ?>" /> 
    4949                <input type="submit" value="<?php echo NEWPAGE_CREATE_BUTTON; ?>" /> 
    5050                </fieldset> 
    51         <?php echo $this->FormClose();  
    52 }  
     51        <?php echo $this->FormClose(); 
     52} 
    5353?> 
  • trunk/actions/nocomments/nocomments.php

    r614 r736  
    1 <?php  
     1<?php 
    22/** 
    33 * Disable comments on the current page. 
    4  *  
     4 * 
    55 * @package     Actions 
    66 * @version     $Id$ 
    7  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
     7 * @license     http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    88 * @filesource 
    99 */ 
  • trunk/actions/orphanedpages/orphanedpages.php

    r645 r736  
    22/** 
    33 * Display a list of orphaned pages, i.e. pages with no links from other pages. 
    4  *  
    5  * @package Actions 
     4 * 
     5 * @package     Actions 
    66 * @version     $Id$ 
    77 * @license     http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    88 * @filesource 
    9  *  
     9 * 
    1010 * @uses        Wakka::LoadOrphanedPages() 
    1111 * @uses        Wakka::Link() 
  • trunk/actions/ownedpages/ownedpages.php

    r700 r736  
    22/** 
    33 * Display the number and percentage of pages owned by the current user. 
    4  *  
    5  * @package Actions 
     4 * 
     5 * @package     Actions 
    66 * @version     $Id$ 
    7  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
     7 * @license     http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    88 * @filesource 
    9  *  
     9 * 
    1010 * @author      {@link http://web.archive.org/web/20040820215257/http://www.wakkawiki.com/ChrisTessmer Chris Tessmer} 
    11  *  
     11 * 
    1212 * @uses        Wakka::reg_username 
    1313 * @uses        Wakka::existsUser() 
  • trunk/actions/pageindex/pageindex.php

    r634 r736  
    1010 *      default if no page title can be generated) 
    1111 * 
    12  * @package    Actions 
    13  * @version     $Id:pageindex.php 369 2007-03-01 14:38:59Z DarTar $ 
    14  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
     12 * @package             Actions 
     13 * @version             $Id:pageindex.php 369 2007-03-01 14:38:59Z DarTar $ 
     14 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    1515 * @filesource 
    1616 * 
    17  * @author    {@link http://wikkawiki.org/GiorgosKontopoulos GiorgosKontopoulos} (added ACL check, first code cleanup) 
    18  * @author    {@link http://wikkawiki.org/DarTar DarTar} (adding doc header, minor code and layout refinements, i18n) 
    19  * @author    {@link http://wikkawiki.org/BrianKoontz BrianKoontz} (added showpagetitle option) 
    20  *  
     17 * @author      {@link http://wikkawiki.org/GiorgosKontopoulos GiorgosKontopoulos} (added ACL check, first code cleanup) 
     18 * @author      {@link http://wikkawiki.org/DarTar DarTar} (adding doc header, minor code and layout refinements, i18n) 
     19 * @author      {@link http://wikkawiki.org/BrianKoontz BrianKoontz} (added showpagetitle option) 
     20 * 
    2121 * @uses                Wakka::LoadPageTitles() 
    2222 * @uses                Wakka::GetUserName() 
     
    4141{ 
    4242        // filter by letter 
    43         $requested_letter = (isset($_GET['letter'])) ? $_GET['letter'] : ''; #312  
     43        $requested_letter = (isset($_GET['letter'])) ? $_GET['letter'] : ''; # #312 
    4444        if (!$requested_letter && isset($letter)) 
    4545        { 
     
    7474                        $firstChar = '#'; 
    7575                } 
    76                 if ($firstChar != $current_character)  
     76                if ($firstChar != $current_character) 
    7777                { 
    7878                        $alpha_bar .= '<a href="'.$link.$firstChar.'">'.$firstChar.'</a>&nbsp;'."\n"; 
     
    8080                        $character_changed = TRUE; 
    8181                } 
    82                 if ($requested_letter == '' || $firstChar == $requested_letter)  
     82                if ($requested_letter == '' || $firstChar == $requested_letter) 
    8383                { 
    84                         if ($character_changed)  
     84                        if ($character_changed) 
    8585                        { 
    8686                                $index_output .= "<br />\n<strong>$firstChar</strong><br />\n"; 
     
    9393                                $index_output .= "<span class=\"pagetitle\">[".$this->PageTitle($page['tag'])."]</span>"; 
    9494                        } 
    95                         if ($cached_username == $page_owner)  
     95                        if ($cached_username == $page_owner) 
    9696                        { 
    9797                                $index_output .= '*'; 
    9898                                $user_owns_pages = TRUE; 
    99                         }  
     99                        } 
    100100                        elseif ($page_owner != '(Public)' && $page_owner != '') 
    101101                        { 
     
    111111                $index_caption .= '---'.PAGEINDEX_OWNED_PAGES_CAPTION; 
    112112        } 
    113         echo $this->Format('===='.PAGEINDEX_HEADING.'==== --- <<'.$index_caption.'<< ::c:: ---');  
     113        echo $this->Format('===='.PAGEINDEX_HEADING.'==== --- <<'.$index_caption.'<< ::c:: ---'); 
    114114        echo "\n<strong>".$alpha_bar."</strong><br />\n"; 
    115115        echo $index_output; 
    116 }  
    117 else  
     116} 
     117else 
    118118{ 
    119119        echo WIKKA_NO_PAGES_FOUND; 
  • trunk/actions/phpversion/phpversion.php

    r369 r736  
    22/** 
    33 * Print current PHP version. 
    4  *  
     4 * 
    55 * @package     Actions 
    66 * @version     $Id$ 
  • trunk/actions/recentlycommented/recentlycommented.php

    r700 r736  
    77 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    88 * @filesource 
    9  *  
     9 * 
    1010 * @author              {@link http://wikkawiki.org/DarTar Dario Taraborelli} (preliminary code cleanup, ACL check) 
    1111 * 
     
    1515 * @uses        Wakka::HasAccess() 
    1616 * @uses        Wakka::FormatUser() 
    17  *  
     17 * 
    1818 * @todo        make datetime format configurable; 
    1919 */ 
  • trunk/actions/rss/rss.php

    r683 r736  
    22/** 
    33 * Cache and display an RSS feed. 
    4  *  
     4 * 
    55 * Usage: 
    66 *              {{rss http://domain.com/feed.xml}} or 
    77 *              {{rss url="http://domain.com/feed.xml" cachetime="30"}} 
    8  * NOTE 1 : in Onyx-RSS default is "debugMode" which results in all errors being printed 
     8 * NOTE 1: in Onyx-RSS default is "debugMode" which results in all errors being printed 
    99 * this could be suppressed by turning debug mode off, but then we'd never have a 
    1010 * clue about the cause of any error. 
     
    1414 * find the cause of any problem. 
    1515 * NOTE 2: no solution for timeout problems with non-existing feeds yet... 
    16  *  
     16 * 
    1717 * @package             Actions 
    1818 * @version             $Id$ 
    1919 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    2020 * @filesource 
    21  *  
     21 * 
    2222 * @input               string  $url    mandatory: URL of the feed 
    2323 * @input               integer $cachetime      optional: time in minutes to cache the feed 
     
    2626 * @uses                Wakka::ReturnSafeHTML() 
    2727 * @todo                internationalization (#i18n marker) 
    28  * @todo                should use makeList to generate the list;  
     28 * @todo                should use makeList to generate the list; 
    2929 * @todo                maybe better convert to using Magpie first; 
    3030 */ 
  • trunk/actions/table/table.php

    r369 r736  
    22/** 
    33 * Display a data table. 
    4  *  
    5  * @package     Actions 
    6  * @version $Id$ 
    7  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
     4 * 
     5 * @package             Actions 
     6 * @version             $Id$ 
     7 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    88 * @filesource 
    99 * 
    1010 * @input       string $cells mandatory: string with all cells, separated by ';' and '###' for empty cells 
    11  * @input       integer $cellpadding optional: padding within cells in pixels; default: 1  
     11 * @input       integer $cellpadding optional: padding within cells in pixels; default: 1 
    1212 * @input       string $style optional: in-line style for the table. 
    1313 * @input       integer $columns optional:      number of columns for the table; default: 1 
     
    3030        foreach ($vars as $param => $value) 
    3131        { 
    32                 if ($param == 'style') {$style=$value;}    
    33                 if ($param == 'columns') {$columns=$value;}      
     32                if ($param == 'style') {$style=$value;} 
     33                if ($param == 'columns') {$columns=$value;} 
    3434                if ($param == 'cellpadding') 
    3535                { 
    36                         $cellpadding=$value; 
    37                         $border=$value; 
    38                 }              
     36                        $cellpadding = $value; 
     37                        $border = $value; 
     38                } 
    3939                if ($param == 'cells') $cells = split($delimiter, $value); 
    4040        } 
     
    5353        } 
    5454        $cached_output .= "</table>"; 
    55         echo $this->ReturnSafeHTML($cached_output);      
     55        echo $this->ReturnSafeHTML($cached_output); 
    5656} 
    5757 
  • trunk/actions/textsearch/textsearch.php

    r666 r736  
    11<?php 
    2 /**   
     2/** 
    33 * Search wiki pages for a phrase. 
    4  *  
     4 * 
    55 * @package     Actions 
    66 * @version $Id$ 
    77 * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    88 * @filesource 
    9  *  
     9 * 
    1010 * @uses        Wakka::FormClose() 
    1111 * @uses        Wakka::FormOpen() 
     
    1515 * @uses        Wakka::CheckMySQLVersion() 
    1616 * @uses        Wakka::htmlspecialchars_ent() 
    17  *  
    18  * @todo        [accesibility] make form accessible  
     17 * 
     18 * @todo        [accesibility] make form accessible 
    1919 * @todo        replace $_REQUEST with either $_GET or $_POST (or both if really 
    20  *                      necessary) - #312   
    21  * @todo        i18n search button text   
     20 *                      necessary) - #312 
     21 * @todo        i18n search button text 
    2222 */ 
    2323 
     
    3131// display form 
    3232// TODO i18n 
    33 ?>               
     33?> 
    3434<?php echo $this->FormOpen('', '', 'get'); ?> 
    3535<fieldset><legend><?php echo SEARCH_FOR; ?></legend> 
     
    3939 
    4040<?php 
    41 // strange construct here  
     41// strange construct here 
    4242// also inconsistent behavior: 
    4343// if 'phrase' is empty, search tips would be displayed 
    4444// if 'phrase' is empty after trimming and removing slashes, search tips NOT displayed 
    4545 
    46 // process search request   
     46// process search request 
    4747#if (isset($_REQUEST['phrase']) && ($phrase = $_REQUEST['phrase'])) 
    4848if ('' !== $phrase) 
    4949{ 
    50         #$phrase_re = stripslashes(trim($phrase));  
     50        #$phrase_re = stripslashes(trim($phrase)); 
    5151        #if (!$phrase_re) return; 
    5252        #$results = $this->FullTextSearch($phrase_re); 
     
    9090#if ($this->CheckMySQLVersion(4,00,01)) // DONE replace with version_compare 
    9191if ($this->CheckMySQLVersion('4.00.01')) 
    92 {        
     92{ 
    9393        // define variables for template 
    9494        $search_tips     = SEARCH_TIPS; 
  • trunk/actions/wantedpages/wantedpages.php

    r649 r736  
    33 * Display a list of nonexisting pages to which other pages are linking to. 
    44 * 
    5  * <p>This action lists all pagenames that don't exist but are referred to by other pages on the wiki. By default, the  
     5 * <p>This action lists all pagenames that don't exist but are referred to by other pages on the wiki. By default, the 
    66 * WikkaInstaller creates a page named WantedPages that uses this action.</p> 
    7  * <p>Those non-existing pages are listed as one line per wanted pages. Each line is composed of 2 parts : The name of  
     7 * <p>Those non-existing pages are listed as one line per wanted pages. Each line is composed of 2 parts : The name of 
    88 * the wanted page in a form of a link: Clicking on this link will let you create the page and start editing its content. 
    99 * Then in brackets, you see the number of pages linking to the wanted page. This number is also in a form of a link: 
     
    4545                        if (in_array($_GET['ob'.$i], $sorting_fields)) 
    4646                        { 
    47                                 if ($sort)  
     47                                if ($sort) 
    4848                                { 
    4949                                        $sort .= ','; 
  • trunk/actions/wikkachanges/wikkachanges.php

    r417 r736  
    22/** 
    33 * Print information on the current release. 
    4  *  
    5  * @package     Actions 
    6  * @version $Id$ 
    7  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
     4 * 
     5 * @package             Actions 
     6 * @version             $Id$ 
     7 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    88 * @filesource 
    9  *  
     9 * 
    1010 * @uses        Wakka::Format() 
    1111 * @todo        should be a default page, not an action 
  • trunk/actions/wikkaname/wikkaname.php

    r650 r736  
    22/** 
    33 * Print the name of this WikkaWiki. 
    4  *  
     4 * 
    55 * @package     Actions 
    66 * @version     $Id$ 
    77 * @license     http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    88 * @filesource 
    9  *  
     9 * 
    1010 * @uses        Wakka::GetConfigValue() 
    1111 * @uses        Config::$wakka_name 
  • trunk/actions/wikkaversion/wikkaversion.php

    r369 r736  
    22/** 
    33 * Print current Wikka version. 
    4  *  
    5  * @package     Actions 
    6  * @version $Id$ 
    7  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
     4 * 
     5 * @package             Actions 
     6 * @version             $Id$ 
     7 * @license             http://www.gnu.org/copyleft/gpl.html GNU General Public License 
    88 * @filesource 
    99 */