✏️ Edit: options.php
Path:
/home/thiqat5/admincrud.thiqatech.com/sql/modules/options.php
Size: 799 B · Modified: 2023-08-20 10:31:19 · Perm: 0644 · Writable
← Back to directory
👁 View
⬇ Download
<?php /** * This file is a part of MyWebSQL package * * @file: modules/options.php * @author Samnan ur Rehman * @copyright (c) 2008-2014 Samnan ur Rehman * @web http://mywebsql.net * @license http://mywebsql.net/license */ function processRequest(&$db) { $p = v($_REQUEST["p"], 'ui'); $pages = array( 'results' => __('Results'), 'editing' => __('Record Editing'), 'misc' => __('Miscellaneous') ); // for mysql there are some extra options if ($db->name() == 'mysql') { $pages = array('ui' => __('Interface')) + $pages; } if ( !array_key_exists($p, $pages) ) $p = key($pages); $content = view("options/$p"); $replace = array('CONTENT' => $content); echo view('options', $replace, array('pages' => $pages, 'page' => $p) ); } ?>
💾 Save
Cancel
Save as UTF-8, newlines normalized to LF