Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- howto find contents inside files on windows 7 or windows 8
- created by gsavix with notepad++
- on windows7 or windows8 you could find contents of some type of files.
- For example for search all .php files for application weberp to see what of them have
- information about word "wiki" (and do not care about lower case or upper case) you run:
- 1) on menu start run powershell that will start a window with powershell, something like a linux terminal;
- 2) inside windows powershell run: ls | select-string wiki
- this command will show all files that have string wiki lower or upper case.
- see that you will see file name and line number where string occurs.
- See one real example for where weberp version 4.11.3 handle wiki.
- for help with power shell use help ls
- SelectCustomer.php:226: wikiLink('Cliente', $_SESSION['CustomerID']);
- SelectProduct.php:419:wikiLink('Produto', $StockID);
- SelectSupplier.php:177: wikiLink('Supplier', $_SESSION['SupplierID']);
- SystemParameters.php:237: if ($_SESSION['WikiApp'] != $_POST['X_WikiApp'] ) {
- SystemParameters.php:238: $sql[] = "UPDATE config SET confvalue = '". $_POST['X_WikiApp']."' WHERE confname = 'WikiApp'";
- SystemParameters.php:240: if ($_SESSION['WikiPath'] != $_POST['X_WikiPath'] ) {
- SystemParameters.php:241: $sql[] = "UPDATE config SET confvalue = '". $_POST['X_WikiPath']."' WHERE confname = 'WikiPath'";
- SystemParameters.php:901:$WikiApplications = array( _('Disabled'),
- SystemParameters.php:902: _('WackoWiki'),
- SystemParameters.php:903: _('MediaWiki'),
- SystemParameters.php:904: _('DokuWiki') );
- SystemParameters.php:906:echo '<tr style="outline: 1px solid"><td>' . _('Wiki application') . ':</td>
- SystemParameters.php:907: <td><select name="X_WikiApp">';
- SystemParameters.php:908:for ($i=0; $i < sizeof($WikiApplications); $i++ ) {
- SystemParameters.php:909: echo '<option '.($_SESSION['WikiApp'] == $WikiApplications[$i] ? 'selected="selected" ' : '').'value="'.$WikiApplications[$i].'">' . $WikiApplications[$i] . '</option>';
- SystemParameters.php:912: <td>' . _('This feature makes webERP show links to a free form company knowledge base using a wiki. This allows sharing of important company information - about customers, suppliers and products and the set up of work flow menus and/or company procedures documentation') . '</td></tr>';
- SystemParameters.php:914:echo '<tr style="outline: 1px solid"><td>' . _('Wiki Path') . ':</td>
- SystemParameters.php:915: <td><input type="text" name="X_WikiPath" size="40" maxlength="40" value="' . $_SESSION['WikiPath'] . '" /></td>
- SystemParameters.php:916: <td>' . _('The path to the wiki installation to form the basis of wiki URLs - or the full URL of the wiki.') . '</td></tr>';
- WorkOrderEntry.php:596: wikiLink('WorkOrder', $_POST['WO'] . $_POST['OutputItem' .$i]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement