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: 3 years ago
Size: 2,587 bytes


Class file image Download
// OPDS basic gestion (only add entities and relations, not modify)
// Version: 0.1
// Pierre FAUQUE, <>
// 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)


?><!DOCTYPE html>

<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; }

<table border="0" width="100%">
<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>
<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>

<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>(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>

<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->