mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-22 02:46:30 +00:00
Add a missing file sip_profile_copy.php to the dev branch.
This commit is contained in:
71
app/script_edit/clipoptions.php
Normal file
71
app/script_edit/clipoptions.php
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
/*
|
||||
FusionPBX
|
||||
Version: MPL 1.1
|
||||
|
||||
The contents of this file are subject to the Mozilla Public License Version
|
||||
1.1 (the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
http://www.mozilla.org/MPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS IS" basis,
|
||||
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
for the specific language governing rights and limitations under the
|
||||
License.
|
||||
|
||||
The Original Code is FusionPBX
|
||||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2012
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
*/
|
||||
include "root.php";
|
||||
require_once "includes/require.php";
|
||||
require_once "includes/checkauth.php";
|
||||
if (permission_exists('script_editor_view')) {
|
||||
//access granted
|
||||
}
|
||||
else {
|
||||
echo "access denied";
|
||||
exit;
|
||||
}
|
||||
require_once "header.php";
|
||||
|
||||
echo "<div align='left'>";
|
||||
echo "<table border='0' style=\"height: 100%; width: 100%;\">\n";
|
||||
echo "<form method='post' name='frm' action=''>";
|
||||
echo "<tr><td colspan='2'><div id='selectedclip'>Selected Clip: <input type='text' name='clip_name' id='clip_name' value=''><input type='hidden' name='clip_uuid' id='clip_uuid' value=''></div></td></tr>\n";
|
||||
echo "</form>";
|
||||
echo "<tr>\n";
|
||||
echo "<td valign='top' width='200' nowrap>";
|
||||
echo " <IFRAME SRC='clipoptionslist.php' style='border: solid 1px #CCCCCC; height: 100%; width: 100%;' WIDTH='100%' TITLE=''>\n";
|
||||
echo " <!-- Clip List: Requires IFRAME support -->\n";
|
||||
echo " </IFRAME>";
|
||||
echo "</td>\n";
|
||||
echo "<td valign='top' style=\"height: 100%;\">";
|
||||
|
||||
echo " <table width='' class='border'>";
|
||||
//echo " <tr><td colspan='1'><img src='images/spacer.gif' width='100%' height='1' style='background-color: #BBBBBB;'></td></tr>\n";
|
||||
//echo " <tr><th>Options</th></tr>\n";
|
||||
//echo " <tr><td colspan='1'><img src='images/spacer.gif' width='100%' height='1' style='background-color: #BBBBBB;'></td></tr>\n";
|
||||
|
||||
echo " <tr><td><input type='button' class='btn' name='' onclick=\"window.location='clipupdate.php?id='+document.getElementById('clip_uuid').value;\" value='Edit Clip'></td></tr>\n";
|
||||
echo " <tr><td><input type='button' class='btn' name='' onclick=\"window.location='clipadd.php'\" value='Add Clip'></td></tr>\n";
|
||||
//echo " <tr><td><input type='button' class='btn' name='' onclick=\"window.location='clipadd.php'\" value=' Search '></td></tr>\n";
|
||||
echo " <tr><td><input type='button' class='btn' name='' onclick=\"if (confirm('Are you sure you want to delete the selected clip?')){ window.location='clipdelete.php?id='+document.getElementById('clip_uuid').value; }\" value=' Delete '></td></tr>\n";
|
||||
echo " <tr><td><br><br><br><br><br><br><br><br><br><br><br></td></tr>\n";
|
||||
|
||||
echo " <tr><td><input type='button' class='btn' name='' onclick='javascript:self.close();' value=' Close '></td></tr>\n";
|
||||
echo " </table>";
|
||||
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "</table>";
|
||||
echo "</div>";
|
||||
|
||||
require_once "footer.php";
|
||||
?>
|
||||
Reference in New Issue
Block a user