Changeset 4625
- Timestamp:
- 08/02/07 00:18:20 (6 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/branches/2.3/amp_conf/htdocs/admin/common/mainstyle.css
r4624 r4625 297 297 #nav li.disabled a, #nav li.disabled a:hover { /* disabled item */ 298 298 cursor: default; 299 color: #072966; 300 background-image: url('../images/modules1.png'); /* repeat these just to override :hover style */ 301 background-repeat: repeat-y; 302 background-position: right; 303 } 304 305 #nav ul li.disabled { /* menu links */ 306 border-bottom: 2px solid #ABC9FF; 307 padding: 2px 0px 2px 10px; 308 height: 21px; 309 width: 180px; 310 text-decoration:none; 311 font-size: 14px; 312 font-style: italic; 313 font-weight: normal; 314 white-space: nowrap; 315 overflow: hidden; 299 316 color: gray; 300 background-image: url('../images/modules1.png'); /* repeat these just to override :hover style */317 background-image: url('../images/modules1.png'); 301 318 background-repeat: repeat-y; 302 319 background-position: right; freepbx/branches/2.3/amp_conf/htdocs/admin/views/freepbx_admin.php
r4624 r4625 89 89 $li_classes[] = 'current'; 90 90 } 91 if ( $row['disabled']) {91 if (isset($row['disabled']) && $row['disabled']) { 92 92 $li_classes[] = 'disabled'; 93 93 } 94 94 95 95 echo "\t<li class=\"".implode(' ',$li_classes)."\">"; 96 if ( $row['disabled']) {96 if (isset($row['disabled']) && $row['disabled']) { 97 97 echo _($row['name']); 98 98 } else { freepbx/branches/2.3/amp_conf/htdocs/admin/views/menuitem_disabled.php
r4623 r4625 1 1 <?php 2 2 3 echo "<h3>".sprintf(_("[WARNING]: Menu Item: %s is disabled because asterisk is not running"),$name)."</h3><br><br><br><br>"; 3 echo "<br><h3>".sprintf(_("[WARNING]: Menu Item: %s is disabled because asterisk is not running"),$name)."</h3><br><br>"; 4 echo "<h5>"._("Restart Asterisk and then refresh the browser in order to try accessing this menu item again.")."</h5><br><br>"; 4 5 5 6 ?>
