Explorar o código

Dashboard: Fix issue with Ring Group Forward not saving changes.
Misc: Restore/Fix some missing/botched HTML tags.

reliberate %!s(int64=9) %!d(string=hai) anos
pai
achega
68e6a5c412
Modificáronse 2 ficheiros con 5 adicións e 24 borrados
  1. 1 1
      core/user_settings/user_dashboard.php
  2. 4 23
      themes/default/template.php

+ 1 - 1
core/user_settings/user_dashboard.php

@@ -382,7 +382,7 @@
 						if (is_uuid($voicemail_uuid)) {
 							$tr_link = "href='".PROJECT_PATH."/app/voicemails/voicemail_messages.php?id=".$voicemail_uuid."'";
 							$hud[$n]['html'] .= "<tr ".$tr_link." style='cursor: pointer;'>";
-							$hud[$n]['html'] .= "	<td class='".$row_style[$c]." hud_text'><a href='".PROJECT_PATH."/app/voicemails/voicemail_messages.php?id=".$voicemail_uuid."'>".$row['ext']."</td>";
+							$hud[$n]['html'] .= "	<td class='".$row_style[$c]." hud_text'><a href='".PROJECT_PATH."/app/voicemails/voicemail_messages.php?id=".$voicemail_uuid."'>".$row['ext']."</a></td>";
 							$hud[$n]['html'] .= "	<td class='".$row_style[$c]." hud_text' style='text-align: center;'>".$row['new']."</td>";
 							$hud[$n]['html'] .= "	<td class='".$row_style[$c]." hud_text' style='text-align: center;'>".$row['total']."</td>";
 							$hud[$n]['html'] .= "</tr>";

+ 4 - 23
themes/default/template.php

@@ -1921,17 +1921,7 @@
 				</tr>
 			</table>
 			<div id='footer' style='width: 100%; margin-bottom: 60px;'>
-				<span class='footer'>
-				<?php
-				if (isset($_SESSION['theme']['footer']['text'])) {
-					echo $_SESSION['theme']['footer']['text'];
-				}
-				else {
-					echo "					";
-					echo "&copy; ".$text['theme-label-copyright']." 2008 - ".date("Y")."<a href='http://www.fusionpbx.com' class='footer' target='_blank'>fusionpbx.com</a>".$text['theme-label-all_rights_reserved'];
-				}
-				?>
-			</span>
+				<span class='footer'><?php echo (isset($_SESSION['theme']['footer']['text'])) ? $_SESSION['theme']['footer']['text'] : "&copy; ".$text['theme-label-copyright']." 2008 - ".date("Y")."<a href='http://www.fusionpbx.com' class='footer' target='_blank'>fusionpbx.com</a>".$text['theme-label-all_rights_reserved']; ?></span>
 			</div>
 		</div>
 
@@ -1954,17 +1944,8 @@
 				</tr>
 				<tr>
 					<td style='width: 100%; height: 40px; vertical-align: bottom;'>
-						<div id='footer' style='width: 100%;'><span class='footer'>
-							<?php
-							if (isset($_SESSION['theme']['footer']['text'])) {
-								echo $_SESSION['theme']['footer']['text'];
-							}
-							else {
-								echo "							";
-								echo "&copy; ".$text['theme-label-copyright']." 2008 - ".date("Y")."<a href='http://www.fusionpbx.com' class='footer' target='_blank'>fusionpbx.com</a>".$text['theme-label-all_rights_reserved'];
-							}
-							?>
-							</span>
+						<div id='footer' style='width: 100%;'>
+							<span class='footer'><?php echo (isset($_SESSION['theme']['footer']['text'])) ? $_SESSION['theme']['footer']['text'] : "&copy; ".$text['theme-label-copyright']." 2008 - ".date("Y")."<a href='http://www.fusionpbx.com' class='footer' target='_blank'>fusionpbx.com</a>".$text['theme-label-all_rights_reserved']; ?></span>
 						</div>
 					</td>
 				</tr>
@@ -1976,4 +1957,4 @@
 	?>
 
 </body>
-</html>
+</html>