diff --git a/app/ring_groups/ring_group_edit.php b/app/ring_groups/ring_group_edit.php index 60141a9f5c..9a0e431378 100644 --- a/app/ring_groups/ring_group_edit.php +++ b/app/ring_groups/ring_group_edit.php @@ -580,7 +580,6 @@ echo $text['description']."\n"; echo "

\n"; - echo "\n"; echo "\n"; diff --git a/app/streams/stream_edit.php b/app/streams/stream_edit.php index fc341645e9..cdc036c005 100644 --- a/app/streams/stream_edit.php +++ b/app/streams/stream_edit.php @@ -17,16 +17,16 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2018 + Portions created by the Initial Developer are Copyright (C) 2018-2020 the Initial Developer. All Rights Reserved. */ //includes require_once "root.php"; require_once "resources/require.php"; + require_once "resources/check_auth.php"; //check permissions - require_once "resources/check_auth.php"; if (permission_exists('stream_add') || permission_exists('stream_edit')) { //access granted } @@ -155,27 +155,29 @@ $object = new token; $token = $object->create($_SERVER['PHP_SELF']); -//show the header +//include the header $document['title'] = $text['title-stream']; require_once "resources/header.php"; //show the content - echo "
\n"; + echo "\n"; + + echo "
\n"; + echo "
".$text['title-stream']."
\n"; + echo "
\n"; + echo button::create(['type'=>'button','label'=>$text['button-back'],'icon'=>$_SESSION['theme']['button_icon_back'],'link'=>'streams.php']); + echo button::create(['type'=>'submit','label'=>$text['button-save'],'icon'=>$_SESSION['theme']['button_icon_save'],'style'=>'margin-left: 15px;']); + echo "
\n"; + echo "
\n"; + echo "
\n"; + echo "
\n"; echo "\n"; - echo "\n"; - echo "\n"; - echo "\n"; - - echo "\n"; - echo "\n"; - echo "\n"; echo "\n"; @@ -254,18 +256,15 @@ echo "\n"; echo "\n"; - echo " \n"; - echo " \n"; - echo " "; echo "
".$text['title-stream']."

\n"; - echo " "; - echo " "; - echo "
\n"; + echo "\n"; echo " ".$text['label-stream_name']."\n"; echo "\n"; + echo "\n"; echo " \n"; echo "
\n"; echo $text['description-stream_name']."\n"; @@ -187,7 +189,7 @@ echo " ".$text['label-stream_location']."\n"; echo "
\n"; - echo " \n"; + echo " \n"; echo "
\n"; echo $text['description-stream_location']."\n"; echo "
\n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo "
"; - echo ""; echo "

"; + echo "\n"; + echo "\n"; + + echo ""; + //include the footer require_once "resources/footer.php"; -?> +?> \ No newline at end of file