diff options
| author | Lester Caine <lester@lsces.co.uk> | 2006-10-13 12:45:17 +0000 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2006-10-13 12:45:17 +0000 |
| commit | 2a07c3e37395d357db792ba112f77f66502896e5 (patch) | |
| tree | 2762a1416e211ec28f618fb0cd7fd7b016ce37ae | |
| parent | 6c446acd89048aff0c63fc60ff60e3bd45e1e2f9 (diff) | |
| download | liberty-2a07c3e37395d357db792ba112f77f66502896e5.tar.gz liberty-2a07c3e37395d357db792ba112f77f66502896e5.tar.bz2 liberty-2a07c3e37395d357db792ba112f77f66502896e5.zip | |
phpDoc corrections
| -rw-r--r-- | LibertyContent.php | 4 | ||||
| -rw-r--r-- | calculate_max_upload_inc.php | 12 | ||||
| -rw-r--r-- | content_permissions.php | 9 | ||||
| -rw-r--r-- | content_permissions_inc.php | 5 | ||||
| -rw-r--r-- | plugins/format.markdown.php | 8 |
5 files changed, 32 insertions, 6 deletions
diff --git a/LibertyContent.php b/LibertyContent.php index 6fc5fb0..f7d673c 100644 --- a/LibertyContent.php +++ b/LibertyContent.php @@ -3,7 +3,7 @@ * Management of Liberty content * * @package liberty -* @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertyContent.php,v 1.157 2006/09/22 17:51:36 sylvieg Exp $ +* @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertyContent.php,v 1.158 2006/10/13 12:44:59 lsces Exp $ * @author spider <spider@steelsun.com> */ @@ -1727,7 +1727,7 @@ class LibertyContent extends LibertyBase { * Special parsing for multipage articles * * Temporarily remove <pre>...</pre> sections to protect - * from broke <pre> tags and leave well known <pre> + * from broke <pre>pre</pre> tags and leave well known <pre>pre</pre> * behaviour (i.e. type all text inside AS IS w/o * any interpretation) * @param string Data to process diff --git a/calculate_max_upload_inc.php b/calculate_max_upload_inc.php index bfe1674..6bece9e 100644 --- a/calculate_max_upload_inc.php +++ b/calculate_max_upload_inc.php @@ -1,5 +1,11 @@ <?php -// settings that are useful to know about at upload time +/** + * @version $Revision: 1.4 $ + * @package liberty + * @subpackage functions + * + * settings that are useful to know about at upload time + */ $postMax = str_replace( 'M', '', ini_get( 'post_max_size' )); $uploadMax = str_replace( 'M', '', ini_get( 'upload_max_filesize' ) ); @@ -7,7 +13,9 @@ if( $postMax < $uploadMax ) { $uploadMax = $postMax; } -// calculate user quota +/** + * calculate user quota + */ if( $gBitSystem->isPackageActive( 'quota' ) ) { require_once( QUOTA_PKG_PATH.'calculate_quota_inc.php' ); } diff --git a/content_permissions.php b/content_permissions.php index d45eefb..3e60a9a 100644 --- a/content_permissions.php +++ b/content_permissions.php @@ -1,4 +1,13 @@ <?php +/** + * @version $Revision: 1.2 $ + * @package liberty + * @subpackage functions + */ + +/** + * bit setup + */ require_once( '../bit_setup_inc.php' ); require_once( LIBERTY_PKG_PATH.'content_permissions_inc.php' ); diff --git a/content_permissions_inc.php b/content_permissions_inc.php index 39891fa..05a96d3 100644 --- a/content_permissions_inc.php +++ b/content_permissions_inc.php @@ -1,4 +1,9 @@ <?php +/** + * @version $Revision: 1.2 $ + * @package liberty + * @subpackage functions + */ if( !empty( $verify_permission ) ) { $gBitSystem->verifyPermission( $verify_permission ); } else { diff --git a/plugins/format.markdown.php b/plugins/format.markdown.php index 8cf88e2..15efce1 100644 --- a/plugins/format.markdown.php +++ b/plugins/format.markdown.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.8 $ + * @version $Revision: 1.9 $ * @package liberty * @subpackage plugins_format */ @@ -184,7 +184,11 @@ function smarty_modifier_markdown($text) { if (strcasecmp(substr(__FILE__, -16), "classTextile.php") == 0) { # Try to include PHP SmartyPants. Should be in the same directory. @include_once 'smartypants.php'; - # Fake Textile class. It calls Markdown instead. + /** + * Fake Textile class. It calls Markdown instead. + * @package liberty + * @subpackage plugins_format + */ class Textile { function TextileThis($text, $lite='', $encode='', $noimage='', $strict='') { if ($lite == '' && $encode == '') $text = Markdown($text); |
