Ignore:
Timestamp:
Aug 21, 2013, 9:49:36 PM (11 years ago)
Author:
chronos
Message:
  • Modified: Changed some pages names to without .php names.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Dictionary/Dictionary.php

    r557 r569  
    1616  function Start()
    1717  {
    18         $this->System->RegisterPage('dictionary.php', 'PageDictionary');
     18        $this->System->RegisterPage('dictionary', 'PageDictionary');
    1919        $this->System->RegisterMenuItem(array(
    2020                'Name' => 'Dictionary',
    2121        'Title' => 'Slovníček',
    2222        'Hint' => 'Slovník WoW výrazů',
    23         'Link' => $this->System->Link('/dictionary.php'),
     23        'Link' => $this->System->Link('/dictionary/'),
    2424        'Permission' => LICENCE_ANONYMOUS,
    2525        'Icon' => '',
     
    8181  if($User->Licence(LICENCE_USER))
    8282  {
    83     $Output .= '<form action="dictionary.php?action=save" method="post">'.
     83    $Output .= '<form action="?action=save" method="post">'.
    8484        '<fieldset><legend>Vložení nového slova</legend>'.
    8585        '<table><tr><td>'.
     
    161161        'AND (`Entry`='.$DbRow['Entry'].') AND (`Language`= '.$Config['OriginalLanguage'].')');
    162162      $DbRow2 = $DbResult->fetch_assoc();
    163       $Output = '<form action="dictionary.php?action=save" method="post">'.
     163      $Output = '<form action="?action=save" method="post">'.
    164164        '<fieldset><legend>Upravení slova</legend>'.
    165165        '<input type="hidden" name="id"  value="'.$_GET['id'].'"/>'.
     
    213213  global $User, $LanguageList, $Config;
    214214 
    215   $Output = '<form action="dictionary.php" method="get" style="margin: 0px; padding: 0px;">'.
     215  $Output = '<form action="?" method="get" style="margin: 0px; padding: 0px;">'.
    216216  '<table style="width: 100%; height: 100%;">';
    217217
     
    222222    <input type="text" value="'.$Search.'" name="search" size="30" />
    223223    <input type="submit" value="Vyhledat" />';
    224   if($User->Licence(LICENCE_USER)) $Output .= ' <a href="dictionary.php?action=insert">Vložit slovo</a>';
     224  if($User->Licence(LICENCE_USER)) $Output .= ' <a href="?action=insert">Vložit slovo</a>';
    225225           
    226226  $Output .= '</td></tr>'.
Note: See TracChangeset for help on using the changeset viewer.