Changeset 884 for trunk/Application
- Timestamp:
- Apr 8, 2020, 7:27:09 PM (5 years ago)
- Location:
- trunk/Application
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/Core.php
r883 r884 150 150 function Link($Target) 151 151 { 152 $Remaining = substr($Target, strlen($this->BaseURL)); 152 if (substr($Target, 0, strlen($this->BaseURL)) == $this->BaseURL) 153 $Remaining = substr($Target, strlen($this->BaseURL)); 154 else $Remaining = $Target; 153 155 $TargetParts = explode('/', $Remaining); 154 if ((count($TargetParts) > 0) and ($TargetParts[0] == '')) 156 if ((count($TargetParts) > 0) and ($TargetParts[0] == '')) 155 157 array_splice($TargetParts, 0, 1); 156 158 if (count($TargetParts) > 0) -
trunk/Application/Version.php
r883 r884 7 7 8 8 $Version = '1.0'; 9 $Revision = 88 3; // Subversion revision9 $Revision = 884; // Subversion revision 10 10 $DatabaseRevision = 873; // Database structure revision 11 11 $ReleaseDate = strtotime('2020-04-08'); -
trunk/Application/View.php
r881 r884 40 40 foreach ($this->System->Bars['Top'] as $BarItem) 41 41 $Bar .= call_user_func($BarItem); 42 42 if (trim($Bar) != '') $Output .= $Bar; 43 43 else $Output .= ' '; 44 44 … … 54 54 '<div class="verticalmenu"><ul>'; 55 55 foreach ($this->System->Menu as $MenuItem) 56 { 56 57 if (!isset($this->System->User) or $this->System->User->Licence($MenuItem['Permission'])) 57 58 { … … 63 64 $MenuItem['Link'].'"'.$OnClick.'>'.$MenuItem['Title'].'</a></li>'; 64 65 } 65 $Output .= '</ul></div>'; 66 return $Output; 66 } 67 $Output .= '</ul></div>'; 68 return $Output; 67 69 } 68 70 … … 101 103 foreach ($this->System->Bars['Left'] as $BarItem) 102 104 $Bar .= call_user_func($BarItem); 103 105 if (trim($Bar) != '') $Output .= $Bar; 104 106 else $Output .= ' '; 105 107
Note:
See TracChangeset
for help on using the changeset viewer.