admin/categories.php 1 location
|
@@ 932-936 (lines=5) @@
|
| 929 |
|
exit(); |
| 930 |
|
} |
| 931 |
|
|
| 932 |
|
if (!isset($_POST['op'])) { |
| 933 |
|
$op = isset($_GET['op']) ? $_GET['op'] : 'main'; |
| 934 |
|
} else { |
| 935 |
|
$op = $_POST['op']; |
| 936 |
|
} |
| 937 |
|
switch ($op) { |
| 938 |
|
case 'newdatatype': |
| 939 |
|
addDatatype(); |
admin/directories.php 1 location
|
@@ 248-252 (lines=5) @@
|
| 245 |
|
exit(); |
| 246 |
|
} |
| 247 |
|
|
| 248 |
|
if (!isset($_POST['op'])) { |
| 249 |
|
$op = isset($_GET['op']) ? $_GET['op'] : 'dirConfig'; |
| 250 |
|
} else { |
| 251 |
|
$op = $_POST['op']; |
| 252 |
|
} |
| 253 |
|
switch ($op) { |
| 254 |
|
case 'edit': |
| 255 |
|
editDir(); |
admin/editcategories.php 1 location
|
@@ 50-54 (lines=5) @@
|
| 47 |
|
|
| 48 |
|
$eh = new ErrorHandler; //ErrorHandler object |
| 49 |
|
|
| 50 |
|
if (isset($_GET['op'])) { |
| 51 |
|
$op = $_GET['op']; |
| 52 |
|
} elseif (isset($_POST['op'])) { |
| 53 |
|
$op = $_POST['op']; |
| 54 |
|
} |
| 55 |
|
|
| 56 |
|
if (!empty($_POST['submit'])) { |
| 57 |
|
//Get all selectable categories and put the prefix 'selectcat' in front of the catid. |
admin/fieldtypes.php 1 location
|
@@ 278-282 (lines=5) @@
|
| 275 |
|
exit(); |
| 276 |
|
} |
| 277 |
|
|
| 278 |
|
if (!isset($_POST['op'])) { |
| 279 |
|
$op = isset($_GET['op']) ? $_GET['op'] : 'main'; |
| 280 |
|
} else { |
| 281 |
|
$op = $_POST['op']; |
| 282 |
|
} |
| 283 |
|
switch ($op) { |
| 284 |
|
case 'view': |
| 285 |
|
viewFieldtype(); |
admin/main.php 1 location
|
@@ 298-302 (lines=5) @@
|
| 295 |
|
redirect_header('main.php?op=duplicateDataTypes', 2, _MD_SAVED); |
| 296 |
|
} |
| 297 |
|
|
| 298 |
|
if (!isset($_POST['op'])) { |
| 299 |
|
$op = isset($_GET['op']) ? $_GET['op'] : 'main'; |
| 300 |
|
} else { |
| 301 |
|
$op = $_POST['op']; |
| 302 |
|
} |
| 303 |
|
switch ($op) { |
| 304 |
|
case 'approve': |
| 305 |
|
approve(); |
admin/subscriptions.php 1 location
|
@@ 54-60 (lines=7) @@
|
| 51 |
|
|
| 52 |
|
$eh = new ErrorHandler; //ErrorHandler object |
| 53 |
|
|
| 54 |
|
if (isset($_GET['op'])) { |
| 55 |
|
$op = $_GET['op']; |
| 56 |
|
} elseif (isset($_POST['op'])) { |
| 57 |
|
$op = $_POST['op']; |
| 58 |
|
} else { |
| 59 |
|
$op = ''; |
| 60 |
|
} |
| 61 |
|
|
| 62 |
|
//function to list subscription types |
| 63 |
|
function listoffers() |
admin/xdir_migrate.php 1 location
|
@@ 108-112 (lines=5) @@
|
| 105 |
|
} |
| 106 |
|
} |
| 107 |
|
|
| 108 |
|
if (!isset($_POST['op'])) { |
| 109 |
|
$op = isset($_GET['op']) ? $_GET['op'] : 'dirConfig'; |
| 110 |
|
} else { |
| 111 |
|
$op = $_POST['op']; |
| 112 |
|
} |
| 113 |
|
switch ($op) { |
| 114 |
|
|
| 115 |
|
case 'newdir': |
submit.php 1 location
|
@@ 37-41 (lines=5) @@
|
| 34 |
|
|
| 35 |
|
$eh = new ErrorHandler; //ErrorHandler object |
| 36 |
|
|
| 37 |
|
if (isset($_GET['op'])) { |
| 38 |
|
$op = $_GET['op']; |
| 39 |
|
} elseif (isset($_POST['op'])) { |
| 40 |
|
$op = $_POST['op']; |
| 41 |
|
} |
| 42 |
|
|
| 43 |
|
if (empty($xoopsUser) and !$xoopsModuleConfig['anonpost']) { |
| 44 |
|
redirect_header(XOOPS_URL . '/user.php', 2, _MD_MUSTREGFIRST); |
subscriptions.php 1 location
|
@@ 33-39 (lines=7) @@
|
| 30 |
|
$eh = new ErrorHandler; |
| 31 |
|
$subscription = new efqSubscription(); |
| 32 |
|
|
| 33 |
|
if (isset($_GET['op'])) { |
| 34 |
|
$op = $_GET['op']; |
| 35 |
|
} elseif (isset($_POST['op'])) { |
| 36 |
|
$op = $_POST['op']; |
| 37 |
|
} else { |
| 38 |
|
$op = ''; |
| 39 |
|
} |
| 40 |
|
|
| 41 |
|
$moddir = $xoopsModule->getVar('dirname'); |
| 42 |
|
|