-
-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Index page (index.php) for #2972 #2997
Conversation
* Adding a composer configuration file for the project, with no defined dependencies. * Rquire autoload file Signed-off-by: Euan Torano <euantorano@gmail.com> * Removing global.php from files to autoload
* Initial admin routing setup * Adding a basic layout for the ACP
* Starting work on moving front end to Twig This marks the start of integrating Twig into the front end. There are two global variables shared with all views - mybb and lang. Signed-off-by: Euan Torano <euantorano@gmail.com> * Starting the long process of template translation Not much to show yet, but this is a first step towards seeing that key variables such as $mybb, $lang and $theme can be accessed. Need to sort out loading of stylesheets still to make things look decent. Signed-off-by: Euan Torano <euantorano@gmail.com> * Changing how language is registered There is a new LangExtension that provides a `trans` function along with the `lang` global. Signed-off-by: Euan Torano <euantorano@gmail.com> * Showing drafts by adding drafts to an array Moved setting of theme global to theme extension. Need to fix the use of |raw in some places - we should generate the HTML inside the views themselves instead… Signed-off-by: Euan Torano <euantorano@gmail.com> * Finished the majority of work on the drafts page Signed-off-by: Euan Torano <euantorano@gmail.com> * Add return type hints Signed-off-by: Euan Torano <euantorano@gmail.com> * Fixing trow usage currently following 1.8 standard Signed-off-by: Euan Torano <euantorano@gmail.com>
…2975) * Working on #2972 Template Conversion to Twig Format (warnings.php) Part 1 - User warning log * Coding standards * Working on #2972 Template Conversion to Twig Format (warnings.php) Part 2 - Warning details * Working on #2972 Template Conversion to Twig Format (warnings.php) Part 3 - Warning a user
* Starting work on translatig subscribed threads Signed-off-by: Euan Torano <euantorano@gmail.com> * Finish subscriptions page in UCP Signed-off-by: Euan Torano <euantorano@gmail.com> * Use `&` rather than `&` in URL. Signed-off-by: Euan Torano <euantorano@gmail.com> * Move HTML out of PHP into view Also use `threadprefix` as `raw` as it can contain HTML.
…2984) * Working on #2972 Template Conversion to Twig Format (calendar.php) Part 1 - Adding an event * Working on #2972 Template Conversion to Twig Format (calendar.php) Part 2 - Editing an event * Working on #2972 Template Conversion to Twig Format (calendar.php) Part 3 - Moving event * Working on #2972 Template Conversion to Twig Format (calendar.php) Part 4 - Viewing an event * Working on #2972 Template Conversion to Twig Format (calendar.php) Part 5 - Day view * Working on #2972 Template Conversion to Twig Format (calendar.php) Part 6 - Week view * Working on #2972 Template Conversion to Twig Format (calendar.php) Part 7 - Calendar * Moved gobutton to inline * Code updates -Added selected and checked HTML to templates -Move day select options to array * More code updates - Moved month select options to array - Split bottom calendar jump/month jump into seperate Twig file - Converted user stars to Twig
…ing on PHP 7.2 (#2995) * [FIX] string to array conversation causing Illegal string offset warning on PHP 7.2 * Use 4 spaces instead of tab
Signed-off-by: Euan Torano <euantorano@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good so far, just a minor comment about indentation.
inc/views/base/index/boardstats.twig
Outdated
<tr> | ||
<td class="tfoot" style="text-align: right"> | ||
<span class="smalltext"> | ||
{% if mybb.user.uid != 0 %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation here looks a little bit weird.
@euantorano I had to remove forumbit templates from my todo list in this PR. They are too complex and time consuming and I can't handle them now. |
@Matslom No problem. I'm going to leave this open for now then until the forum bit templates are done - otherwise it might make it hard to test other PRs without an index page to navigate into forums and threads 😉 |
It may stay open, but I've add forums raw html, so they are rendered from old templates. |
FOR #2972
templates;
index