PHP Classes

File: gestion/doc_help4.php

Recommend this page to a friend!
  Classes of Pierre FAUQUE   OPDS PHP Ebook Publisher Class   gestion/doc_help4.php   Download  
File: gestion/doc_help4.php
Role: Application script
Content type: text/plain
Description: Script of application
Class: OPDS PHP Ebook Publisher Class
Publish and distribute ebooks for download
Author: By
Last change:
Date: 4 years ago
Size: 2,587 bytes
 

Contents

Class file image Download
<?php
/*
// OPDS basic gestion (only add entities and relations, not modify)
// Version: 0.1
// Pierre FAUQUE, <pierre@fauque.net>
// Script: 2014, Script->Class: 2019, Gestion: may 2020
// Encoding: UTF-8
// Text editor: GNU/Linux Debian Vi
// File: doc_help4.php (v0.1)
// Role: Documentation, help page 4 (hide or not categories, documents)
*/

require("init.php");
require(
"lib_lddocs.php");

?><!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<title>OPDS help, active or not</title>
<link rel="stylesheet" href="opds.css" type="text/css" />
<style type="text/css">
.c { margin-left:1.5em; }
.sc { margin-left:3em; }
sup { font-size:0.7em; }
</style>
</head>

<body>
<table border="0" width="100%">
<tr>
<td class="cmen">
<?php menu(); ?></td>
<td class="cont">
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<h1>DOC : Help - active or not</h1>
<div style="width:800px">
<div class="smen"><?php require("menu_help.php"); ?></div>
<p>Some entities (documents, categories, sub-categories) can be active (visible) or not (hidden)</p>
<p>Visibility is done in descending order : categories, sub-categories, documents.</p>
<ul>
<li> Category (active), subcategory (active), document (active) : document = visible</li>
<li> Category (active), subcategory (active), document (inactive) : document = hidden</li>
<li> Category (active), subcategory (inactive), document (active or not) : subcategory, document = hidden</li>
<li> Category (inactive), subcategory (active or not), document (active or not) :<br/>&nbsp; &nbsp; &nbsp; category, subcategory, document = hidden</li>
</ul>

<p>You can thus register an ebook that you will put in the catalog later. When it is finished, you will make the document (and possibly the category and/or the subcategory) active<sup>(1)</sup>. This gives you the possibility of putting a document in the catalog for a few hours, the time of a provisional distribution for various reasons which will be yours.</p>

<p>&nbsp;<p>
<p>(1) Not with this application. On the mysql command line (active : set to 1, inactive : set to 0) or with phpMyAdmin. Maybe, it would be possible in a future version to modify the already recorded data. But regarding the modifications, the priorities will go to the class rather than to the application<p>

</div>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
</td>
</tr>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
</body>

</html>