Changeset 1132

Show
Ignore:
Timestamp:
06/05/2008 05:59:39 AM (2 years ago)
Author:
DotMG
Message:

refs #598, porting [836] to trunk

Location:
trunk
Files:
9 modified

Legend:

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

    r1021 r1132  
    129129                if ($my_edits_count == 0) 
    130130                { 
    131                         $output .= '<em>'.STATUS_NO_PAGES_EDITED.'</em>'; 
     131                        $output .= '<em class="error">'.STATUS_NO_PAGES_EDITED.'</em>'; 
    132132                } 
    133133        } 
    134134        else 
    135135        { 
    136                 $output .= '<em>'.WIKKA_NO_PAGES_FOUND.'</em>'; 
     136                $output .= '<em class="error">'.WIKKA_NO_PAGES_FOUND.'</em>'; 
    137137        } 
    138138} 
    139139else 
    140140{ 
    141         $output .= '<em>'.MYCHANGES_NOT_LOGGED_IN.'</em>'; 
     141        $output .= '<em class="error">'.MYCHANGES_NOT_LOGGED_IN.'</em>'; 
    142142} 
    143143 
  • trunk/actions/mypages/mypages.php

    r1027 r1132  
    6868        else 
    6969        { 
    70                 echo '<em>'.OWNED_NO_PAGES.'</em>'; 
     70                echo '<em class="error">'.OWNED_NO_PAGES.'</em>'; 
    7171        } 
    7272} 
    7373else 
    7474{ 
    75         echo '<em>'.OWNED_NOT_LOGGED_IN.'</em>'; 
     75        echo '<em class="error">'.OWNED_NOT_LOGGED_IN.'</em>'; 
    7676} 
    7777?> 
  • trunk/actions/orphanedpages/orphanedpages.php

    r736 r1132  
    2222else 
    2323{ 
    24         print '<em>'.NO_ORPHANED_PAGES.'</em>'; 
     24        print '<em class="error">'.NO_ORPHANED_PAGES.'</em>'; 
    2525} 
    2626?> 
  • trunk/actions/recentchanges/recentchanges.php

    r1107 r1132  
    120120        if ($readable == 0) 
    121121        { 
    122                 echo '<em>'.RECENTCHANGES_NONE_ACCESSIBLE.'</em>'; 
     122                echo '<em class="error">'.RECENTCHANGES_NONE_ACCESSIBLE.'</em>'; 
    123123        } 
    124124        echo '</ul>'."\n"; 
     
    136136else 
    137137{ 
    138         echo '<em>'.RECENTCHANGES_NONE_FOUND.'</em>'; 
     138        echo '<em class="error">'.RECENTCHANGES_NONE_FOUND.'</em>'; 
    139139} 
    140140?> 
  • trunk/actions/recentcomments/recentcomments.php

    r907 r1132  
    6565        if ($readable == 0) 
    6666        { 
    67                 echo '<em>'.RECENTCOMMENTS_NONE_ACCESSIBLE.'</em>'; 
     67                echo '<em class="error">'.RECENTCOMMENTS_NONE_ACCESSIBLE.'</em>'; 
    6868        } 
    6969} 
    7070else 
    7171{ 
    72         echo '<em>'.RECENTCOMMENTS_NONE_FOUND.'</em>'; 
     72        echo '<em class="error">'.RECENTCOMMENTS_NONE_FOUND.'</em>'; 
    7373} 
    7474?> 
  • trunk/actions/recentlycommented/recentlycommented.php

    r736 r1132  
    8686        if ($readable == 0) 
    8787        { 
    88                 echo '<em>'.RECENTLYCOMMENTED_NONE_ACCESSIBLE.'</em>'; 
     88                echo '<em class="error">'.RECENTLYCOMMENTED_NONE_ACCESSIBLE.'</em>'; 
    8989        } 
    9090} 
    9191else 
    9292{ 
    93         echo '<em>'.RECENTLYCOMMENTED_NONE_FOUND.'</em>'; 
     93        echo '<em class="error">'.RECENTLYCOMMENTED_NONE_FOUND.'</em>'; 
    9494} 
    9595 
  • trunk/actions/wantedpages/wantedpages.php

    r736 r1132  
    106106else 
    107107{ 
    108         print '<em>'.NO_WANTED_PAGES.'</em>'; 
     108        print '<em class="error">'.NO_WANTED_PAGES.'</em>'; 
    109109} 
    110110 
  • trunk/handlers/edit/edit.php

    r1109 r1132  
    8585<?php 
    8686if (!(preg_match(VALID_PAGENAME_PATTERN, $this->tag))) { //TODO use central regex library or (better!) IsWikiName() 
    87         echo '<em>'.sprintf(WIKKA_ERROR_INVALID_PAGENAME,$this->tag).'</em>'; 
     87        echo '<em class="error">'.sprintf(WIKKA_ERROR_INVALID_PAGENAME,$this->tag).'</em>'; 
    8888} 
    8989elseif ($this->HasAccess("write") && $this->HasAccess("read")) 
     
    287287else 
    288288{ 
    289         $message = '<em>'.$this->Format(ERROR_NO_WRITE_ACCESS).'</em><br />'."\n<br />\n"; 
     289        $message = '<em class="error">'.$this->Format(ERROR_NO_WRITE_ACCESS).'</em><br />'."\n<br />\n"; 
    290290        if ($this->ExistsPage($this->tag)) $message .= '<a href="'.$this->Href('showcode').'" title="'.SHOWCODE_LINK_TITLE.'">'.SHOWCODE_LINK.'</a>'."<br />\n"; 
    291291        echo $message; 
  • trunk/handlers/mindmap_fullscreen/mindmap_fullscreen.php

    r738 r1132  
    135135 
    136136} else { 
    137         echo '<span class="error"><em>'.ERROR_INVALID_MM_SYNTAX.'<br />'.sprintf(PROPER_USAGE_MM_SYNTAX,SAMPLE_SYNTAX1,SAMPLE_SYNTAX2).'</em></span>'; 
     137        echo '<em class="error">'.ERROR_INVALID_MM_SYNTAX.'<br />'.sprintf(PROPER_USAGE_MM_SYNTAX,SAMPLE_SYNTAX1,SAMPLE_SYNTAX2).'</em>'; 
    138138} 
    139139