Go to the source code of this file.
Classes | |
| class | breadcrumb |
| A simplistic breadcrumb class - used by the breadcrumbs class. More... | |
| class | breadcrumbs |
| A simplistic class for handling breadcrumb trails. More... | |
| class | confirmDeleteDialog |
| The confirmDeleteDialog class, which creates and manages a dialog used to confirm the deletion of an item. More... | |
Functions | |
| globalIDtoBreadcrumb ($globalID, $baseLevel=0) | |
| renderNavigator ($entryCount, $currentPage, $lowerBound, $upperBound, $entriesPerPage) | |
| formatTime ($timestamp) | |
| renderCustomBox ($title, $text, $class, $page_data=true) | |
| renderInformationBox ($title, $text, $page_data=true) | |
| renderWarningBox ($title, $text, $page_data=true) | |
| renderErrorBox ($title, $text, $page_data=true) | |
| renderQuestionBox ($title, $text, $page_data=true) | |
| formatTime | ( | $ | timestamp | ) |
Takes a timestamp, and returns a formatted string containing a time
| timestamp | A timestamp in integer format (normal UNIX time) |
Definition at line 172 of file shared-pretties.php.
References $systemOptions, currentUser(), and i18n().
Referenced by subscriptionsManager::handle(), profilemodule_discuss(), eventsMonth::render(), render(), discussThread::renderBlock(), discussForum::renderBlock(), blogger_entry::renderBlock(), commentHandler::renderCommentsActual(), commentHandler::renderCommentsAdder(), renderEditor(), blogger_entry::renderFull(), blogger_entry::renderTiny(), and renderUpdates().

| globalIDtoBreadcrumb | ( | $ | globalID, | |
| $ | baseLevel = 0 | |||
| ) |
Translates a global ID into an instance of the breadcrumbs class
| globalID | The global ID to translate into a breadcrumbs trail | |
| baseLevel | How deep in you wish to start showing the breadcrumbs. |
Definition at line 104 of file shared-pretties.php.
References globalIDtoURL().

| renderCustomBox | ( | $ | title, | |
| $ | text, | |||
| $ | class, | |||
| $ | page_data = true | |||
| ) |
Draws a customised information box (supports setting a class)
| title | String containing the translated title for the information box | |
| text | String containing the translated contents for the information box | |
| class | String containing the class you wish to set in place of information | |
| page_data | Boolean defining wether the text should be parsed as page_data. Default is true |
Definition at line 202 of file shared-pretties.php.
References parse_page_data().
Referenced by renderErrorBox(), renderInformationBox(), renderQuestionBox(), and renderWarningBox().

| renderErrorBox | ( | $ | title, | |
| $ | text, | |||
| $ | page_data = true | |||
| ) |
Draws an error box
| title | String containing the translated title for the information box | |
| text | String containing the translated contents for the information box | |
| page_data | Boolean defining wether the text should be parsed as page_data. Default is true |
Definition at line 255 of file shared-pretties.php.
References renderCustomBox().
Referenced by blogger_entryEditor::render().

| renderInformationBox | ( | $ | title, | |
| $ | text, | |||
| $ | page_data = true | |||
| ) |
Draws an information box
| title | String containing the translated title for the information box | |
| text | String containing the translated contents for the information box | |
| page_data | Boolean defining wether the text should be parsed as page_data. Default is true |
Definition at line 227 of file shared-pretties.php.
References renderCustomBox().
Referenced by discussThread::discussThread(), drawProfileHint(), modulesetup_convention(), modulesetup_discuss(), modulesetup_documents(), modulesetup_gallery2(), parse_gallery2(), parse_userlists(), profilemodule_discuss(), SimpleListEditor::render(), render(), discussThread::render(), discussForum::render(), Member::render(), Convention::render(), blogger_userOptions::render(), blogger_entries::render(), SimpleListEditor::renderAdd(), commentHandler::renderCommentsAdder(), SimpleListEditor::renderEdit(), renderEditor(), Member::renderEditor(), Hotel::renderEditor(), Event::renderEditor(), Convention::renderEditor(), blogger_user::renderEditor(), discussForum::renderNewThread(), renderUpdates(), and discussThread::save().

| renderNavigator | ( | $ | entryCount, | |
| $ | currentPage, | |||
| $ | lowerBound, | |||
| $ | upperBound, | |||
| $ | entriesPerPage | |||
| ) |
renderNavigator will create a navigation bar for pagination...
| $entryCount | int the total amount of entries | |
| $currentPage | int the current page | |
| $lowerBound | int the number of the first entry on the page | |
| $upperBound | int the number of the last entry on the page | |
| $entriesPerPage | int the amount of entries per page |
Definition at line 140 of file shared-pretties.php.
References i18n(), and thisPageURL().
Referenced by blogger_entries::render(), and renderUpdates().

| renderQuestionBox | ( | $ | title, | |
| $ | text, | |||
| $ | page_data = true | |||
| ) |
Draws a question box
| title | String containing the translated title for the information box | |
| text | String containing the translated contents for the information box | |
| page_data | Boolean defining wether the text should be parsed as page_data. Default is true |
Definition at line 269 of file shared-pretties.php.
References renderCustomBox().
Referenced by confirmDeleteDialog::render(), and commentHandler::renderCommentsDelete().

| renderWarningBox | ( | $ | title, | |
| $ | text, | |||
| $ | page_data = true | |||
| ) |
Draws an warning box
| title | String containing the translated title for the information box | |
| text | String containing the translated contents for the information box | |
| page_data | Boolean defining wether the text should be parsed as page_data. Default is true |
Definition at line 241 of file shared-pretties.php.
References renderCustomBox().
Referenced by blogger_entryEditor::render(), and blogger_entry::renderEditor().

1.5.5